diff options
| author | 2022-03-06 19:54:40 +0100 | |
|---|---|---|
| committer | 2022-10-06 21:00:52 +0200 | |
| commit | ba34cf0a691bc73ae6b2d8db6019b1f10d22dde5 (patch) | |
| tree | defc91f25d4430b62bdf45af4933edbf46171f93 /src/shader_recompiler/shader_info.h | |
| parent | Shader Decompiler: Fix dangerous behavior of invalid iterator insertion. (diff) | |
| download | yuzu-ba34cf0a691bc73ae6b2d8db6019b1f10d22dde5.tar.gz yuzu-ba34cf0a691bc73ae6b2d8db6019b1f10d22dde5.tar.xz yuzu-ba34cf0a691bc73ae6b2d8db6019b1f10d22dde5.zip | |
Shader Decompiler: Check for shift when deriving composite samplers.
Diffstat (limited to 'src/shader_recompiler/shader_info.h')
| -rw-r--r-- | src/shader_recompiler/shader_info.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h index f5690805c..cc596da4f 100644 --- a/src/shader_recompiler/shader_info.h +++ b/src/shader_recompiler/shader_info.h | |||
| @@ -61,8 +61,10 @@ struct TextureBufferDescriptor { | |||
| 61 | bool has_secondary; | 61 | bool has_secondary; |
| 62 | u32 cbuf_index; | 62 | u32 cbuf_index; |
| 63 | u32 cbuf_offset; | 63 | u32 cbuf_offset; |
| 64 | u32 shift_left; | ||
| 64 | u32 secondary_cbuf_index; | 65 | u32 secondary_cbuf_index; |
| 65 | u32 secondary_cbuf_offset; | 66 | u32 secondary_cbuf_offset; |
| 67 | u32 secondary_shift_left; | ||
| 66 | u32 count; | 68 | u32 count; |
| 67 | u32 size_shift; | 69 | u32 size_shift; |
| 68 | }; | 70 | }; |
| @@ -85,8 +87,10 @@ struct TextureDescriptor { | |||
| 85 | bool has_secondary; | 87 | bool has_secondary; |
| 86 | u32 cbuf_index; | 88 | u32 cbuf_index; |
| 87 | u32 cbuf_offset; | 89 | u32 cbuf_offset; |
| 90 | u32 shift_left; | ||
| 88 | u32 secondary_cbuf_index; | 91 | u32 secondary_cbuf_index; |
| 89 | u32 secondary_cbuf_offset; | 92 | u32 secondary_cbuf_offset; |
| 93 | u32 secondary_shift_left; | ||
| 90 | u32 count; | 94 | u32 count; |
| 91 | u32 size_shift; | 95 | u32 size_shift; |
| 92 | }; | 96 | }; |