1
0
Fork 0
forked from suyu/suyu

Merge pull request #1943 from ReinUsesLisp/fixup-texs

shader_bytecode: Fixup TEXS.F16 encoding
This commit is contained in:
bunnei 2018-12-26 15:49:41 -05:00 committed by GitHub
commit 46b8b03015
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1049,7 +1049,7 @@ union Instruction {
BitField<49, 1, u64> nodep_flag; BitField<49, 1, u64> nodep_flag;
BitField<50, 3, u64> component_mask_selector; BitField<50, 3, u64> component_mask_selector;
BitField<53, 4, u64> texture_info; BitField<53, 4, u64> texture_info;
BitField<60, 1, u64> fp32_flag; BitField<59, 1, u64> fp32_flag;
TextureType GetTextureType() const { TextureType GetTextureType() const {
// The TEXS instruction has a weird encoding for the texture type. // The TEXS instruction has a weird encoding for the texture type.