shader_ir: Implement STG, keep track of global memory usage and flush

This commit is contained in:
ReinUsesLisp 2019-02-07 00:05:41 -03:00
parent 1f4dfb3998
commit 5c280e6ff0
11 changed files with 186 additions and 89 deletions

View file

@ -791,6 +791,12 @@ union Instruction {
BitField<20, 24, s64> immediate_offset;
} ldg;
union {
BitField<48, 3, UniformType> type;
BitField<46, 2, u64> cache_mode;
BitField<20, 24, s64> immediate_offset;
} stg;
union {
BitField<0, 3, u64> pred0;
BitField<3, 3, u64> pred3;