summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/modifiers.h
diff options
context:
space:
mode:
authorGravatar liamwhite2023-08-22 11:30:08 -0400
committerGravatar GitHub2023-08-22 11:30:08 -0400
commitb8bab551a4852395de473412bfc9d3f02f4cc01c (patch)
tree139b2b722b7e7f28aadf994f4f4bf87c2ccd9219 /src/shader_recompiler/frontend/ir/modifiers.h
parentMerge pull request #11346 from t895/ktlint-fix (diff)
parentShader Recomnpiler: implement textuzreGrad 3D emulation constant propagation (diff)
downloadyuzu-b8bab551a4852395de473412bfc9d3f02f4cc01c.tar.gz
yuzu-b8bab551a4852395de473412bfc9d3f02f4cc01c.tar.xz
yuzu-b8bab551a4852395de473412bfc9d3f02f4cc01c.zip
Merge pull request #11316 from FernandoS27/stop-premature-christmas-decorating
Shader Recompiler: implement textureGrad 3D
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/frontend/ir/modifiers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/modifiers.h b/src/shader_recompiler/frontend/ir/modifiers.h
index 69035d462..1e9e8c8f5 100644
--- a/src/shader_recompiler/frontend/ir/modifiers.h
+++ b/src/shader_recompiler/frontend/ir/modifiers.h
@@ -42,6 +42,7 @@ union TextureInstInfo {
42 BitField<23, 2, u32> gather_component; 42 BitField<23, 2, u32> gather_component;
43 BitField<25, 2, u32> num_derivates; 43 BitField<25, 2, u32> num_derivates;
44 BitField<27, 3, ImageFormat> image_format; 44 BitField<27, 3, ImageFormat> image_format;
45 BitField<30, 1, u32> ndv_is_active;
45}; 46};
46static_assert(sizeof(TextureInstInfo) <= sizeof(u32)); 47static_assert(sizeof(TextureInstInfo) <= sizeof(u32));
47 48