diff options
| author | 2021-03-15 04:54:43 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:23 -0400 | |
| commit | 17a82b56d74afcebaad78ce4754d8ee99ea66f93 (patch) | |
| tree | 5a4a29a65ee09599daa3b9c4a005070286d6b901 /src/shader_recompiler/frontend/ir/modifiers.h | |
| parent | shader: Implement CAL inlining function calls (diff) | |
| download | yuzu-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.h | 3 |
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 | }; |
| 41 | static_assert(sizeof(TextureInstInfo) <= sizeof(u32)); | 42 | static_assert(sizeof(TextureInstInfo) <= sizeof(u32)); |
| 42 | 43 | ||