shader: Implement TEXS

This commit is contained in:
ReinUsesLisp 2021-03-15 04:54:43 -03:00 committed by ameerj
parent 71f96fa636
commit 17a82b56d7
8 changed files with 287 additions and 7 deletions

View file

@ -36,7 +36,8 @@ union TextureInstInfo {
u32 raw;
BitField<0, 8, TextureType> type;
BitField<8, 1, u32> has_bias;
BitField<16, 1, u32> has_lod_clamp;
BitField<9, 1, u32> has_lod_clamp;
BitField<10, 1, u32> relaxed_precision;
};
static_assert(sizeof(TextureInstInfo) <= sizeof(u32));