summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/modifiers.h
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-03-15 04:54:43 -0300
committerGravatar ameerj2021-07-22 21:51:23 -0400
commit17a82b56d74afcebaad78ce4754d8ee99ea66f93 (patch)
tree5a4a29a65ee09599daa3b9c4a005070286d6b901 /src/shader_recompiler/frontend/ir/modifiers.h
parentshader: Implement CAL inlining function calls (diff)
downloadyuzu-17a82b56d74afcebaad78ce4754d8ee99ea66f93.tar.gz
yuzu-17a82b56d74afcebaad78ce4754d8ee99ea66f93.tar.xz
yuzu-17a82b56d74afcebaad78ce4754d8ee99ea66f93.zip
shader: Implement TEXS
Diffstat (limited to 'src/shader_recompiler/frontend/ir/modifiers.h')
-rw-r--r--src/shader_recompiler/frontend/ir/modifiers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/ir/modifiers.h b/src/shader_recompiler/frontend/ir/modifiers.h
index ad07700ae..308c00153 100644
--- a/src/shader_recompiler/frontend/ir/modifiers.h
+++ b/src/shader_recompiler/frontend/ir/modifiers.h
@@ -36,7 +36,8 @@ union TextureInstInfo {
36 u32 raw; 36 u32 raw;
37 BitField<0, 8, TextureType> type; 37 BitField<0, 8, TextureType> type;
38 BitField<8, 1, u32> has_bias; 38 BitField<8, 1, u32> has_bias;
39 BitField<16, 1, u32> has_lod_clamp; 39 BitField<9, 1, u32> has_lod_clamp;
40 BitField<10, 1, u32> relaxed_precision;
40}; 41};
41static_assert(sizeof(TextureInstInfo) <= sizeof(u32)); 42static_assert(sizeof(TextureInstInfo) <= sizeof(u32));
42 43