diff options
Diffstat (limited to 'src/shader_recompiler/shader_info.h')
| -rw-r--r-- | src/shader_recompiler/shader_info.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h index 81097bf1a..ee6252bb5 100644 --- a/src/shader_recompiler/shader_info.h +++ b/src/shader_recompiler/shader_info.h | |||
| @@ -29,6 +29,16 @@ enum class TextureType : u32 { | |||
| 29 | }; | 29 | }; |
| 30 | constexpr u32 NUM_TEXTURE_TYPES = 9; | 30 | constexpr u32 NUM_TEXTURE_TYPES = 9; |
| 31 | 31 | ||
| 32 | enum class TexturePixelFormat : u32 { | ||
| 33 | A8B8G8R8_SNORM, | ||
| 34 | R8_SNORM, | ||
| 35 | R8G8_SNORM, | ||
| 36 | R16G16B16A16_SNORM, | ||
| 37 | R16G16_SNORM, | ||
| 38 | R16_SNORM, | ||
| 39 | OTHER | ||
| 40 | }; | ||
| 41 | |||
| 32 | enum class ImageFormat : u32 { | 42 | enum class ImageFormat : u32 { |
| 33 | Typeless, | 43 | Typeless, |
| 34 | R8_UINT, | 44 | R8_UINT, |
| @@ -117,6 +127,7 @@ struct Info { | |||
| 117 | bool uses_workgroup_id{}; | 127 | bool uses_workgroup_id{}; |
| 118 | bool uses_local_invocation_id{}; | 128 | bool uses_local_invocation_id{}; |
| 119 | bool uses_invocation_id{}; | 129 | bool uses_invocation_id{}; |
| 130 | bool uses_invocation_info{}; | ||
| 120 | bool uses_sample_id{}; | 131 | bool uses_sample_id{}; |
| 121 | bool uses_is_helper_invocation{}; | 132 | bool uses_is_helper_invocation{}; |
| 122 | bool uses_subgroup_invocation_id{}; | 133 | bool uses_subgroup_invocation_id{}; |
| @@ -182,6 +193,7 @@ struct Info { | |||
| 182 | bool uses_shadow_lod{}; | 193 | bool uses_shadow_lod{}; |
| 183 | bool uses_rescaling_uniform{}; | 194 | bool uses_rescaling_uniform{}; |
| 184 | bool uses_cbuf_indirect{}; | 195 | bool uses_cbuf_indirect{}; |
| 196 | bool uses_render_area{}; | ||
| 185 | 197 | ||
| 186 | IR::Type used_constant_buffer_types{}; | 198 | IR::Type used_constant_buffer_types{}; |
| 187 | IR::Type used_storage_buffer_types{}; | 199 | IR::Type used_storage_buffer_types{}; |