shader_decode: Implement LDG and basic cbuf tracking

This commit is contained in:
ReinUsesLisp 2018-12-29 02:44:54 -03:00
parent ba38d91fe2
commit 3b84e04af1
7 changed files with 240 additions and 10 deletions

View file

@ -208,6 +208,8 @@ enum class UniformType : u64 {
SignedShort = 3,
Single = 4,
Double = 5,
Quad = 6,
UnsignedQuad = 7,
};
enum class StoreType : u64 {
@ -784,6 +786,12 @@ union Instruction {
BitField<44, 2, u64> unknown;
} st_l;
union {
BitField<48, 3, UniformType> type;
BitField<46, 2, u64> cache_mode;
BitField<20, 24, s64> immediate_offset;
} ldg;
union {
BitField<0, 3, u64> pred0;
BitField<3, 3, u64> pred3;