diff options
Diffstat (limited to 'src/shader_recompiler/shader_info.h')
| -rw-r--r-- | src/shader_recompiler/shader_info.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h index e4b5ba567..a479e105e 100644 --- a/src/shader_recompiler/shader_info.h +++ b/src/shader_recompiler/shader_info.h | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | 5 | ||
| 6 | #include <array> | 6 | #include <array> |
| 7 | #include <bitset> | 7 | #include <bitset> |
| 8 | #include <map> | ||
| 8 | 9 | ||
| 9 | #include "common/common_types.h" | 10 | #include "common/common_types.h" |
| 10 | #include "shader_recompiler/frontend/ir/type.h" | 11 | #include "shader_recompiler/frontend/ir/type.h" |
| @@ -61,8 +62,10 @@ struct TextureBufferDescriptor { | |||
| 61 | bool has_secondary; | 62 | bool has_secondary; |
| 62 | u32 cbuf_index; | 63 | u32 cbuf_index; |
| 63 | u32 cbuf_offset; | 64 | u32 cbuf_offset; |
| 65 | u32 shift_left; | ||
| 64 | u32 secondary_cbuf_index; | 66 | u32 secondary_cbuf_index; |
| 65 | u32 secondary_cbuf_offset; | 67 | u32 secondary_cbuf_offset; |
| 68 | u32 secondary_shift_left; | ||
| 66 | u32 count; | 69 | u32 count; |
| 67 | u32 size_shift; | 70 | u32 size_shift; |
| 68 | }; | 71 | }; |
| @@ -85,8 +88,10 @@ struct TextureDescriptor { | |||
| 85 | bool has_secondary; | 88 | bool has_secondary; |
| 86 | u32 cbuf_index; | 89 | u32 cbuf_index; |
| 87 | u32 cbuf_offset; | 90 | u32 cbuf_offset; |
| 91 | u32 shift_left; | ||
| 88 | u32 secondary_cbuf_index; | 92 | u32 secondary_cbuf_index; |
| 89 | u32 secondary_cbuf_offset; | 93 | u32 secondary_cbuf_offset; |
| 94 | u32 secondary_shift_left; | ||
| 90 | u32 count; | 95 | u32 count; |
| 91 | u32 size_shift; | 96 | u32 size_shift; |
| 92 | }; | 97 | }; |
| @@ -123,6 +128,8 @@ struct Info { | |||
| 123 | VaryingState stores; | 128 | VaryingState stores; |
| 124 | VaryingState passthrough; | 129 | VaryingState passthrough; |
| 125 | 130 | ||
| 131 | std::map<IR::Attribute, IR::Attribute> legacy_stores_mapping; | ||
| 132 | |||
| 126 | bool loads_indexed_attributes{}; | 133 | bool loads_indexed_attributes{}; |
| 127 | 134 | ||
| 128 | std::array<bool, 8> stores_frag_color{}; | 135 | std::array<bool, 8> stores_frag_color{}; |