diff options
| author | 2021-03-09 17:14:57 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:23 -0400 | |
| commit | 3a63fa0477ea8297c80133d35494e1dfdc012f95 (patch) | |
| tree | 3cd8b9be6f91cb1628b0d47513b7adb88df5f7b2 /src/shader_recompiler/shader_info.h | |
| parent | shader: Initial support for textures and TEX (diff) | |
| download | yuzu-3a63fa0477ea8297c80133d35494e1dfdc012f95.tar.gz yuzu-3a63fa0477ea8297c80133d35494e1dfdc012f95.tar.xz yuzu-3a63fa0477ea8297c80133d35494e1dfdc012f95.zip | |
shader: Partial implementation of LDC
Diffstat (limited to '')
| -rw-r--r-- | src/shader_recompiler/shader_info.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h index 103a2f0b4..adc1d9a64 100644 --- a/src/shader_recompiler/shader_info.h +++ b/src/shader_recompiler/shader_info.h | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | #include <array> | 7 | #include <array> |
| 8 | 8 | ||
| 9 | #include "common/common_types.h" | 9 | #include "common/common_types.h" |
| 10 | #include "shader_recompiler/frontend/ir/type.h" | ||
| 10 | 11 | ||
| 11 | #include <boost/container/small_vector.hpp> | 12 | #include <boost/container/small_vector.hpp> |
| 12 | #include <boost/container/static_vector.hpp> | 13 | #include <boost/container/static_vector.hpp> |
| @@ -61,10 +62,15 @@ struct Info { | |||
| 61 | bool uses_fp16_denorms_preserve{}; | 62 | bool uses_fp16_denorms_preserve{}; |
| 62 | bool uses_fp32_denorms_flush{}; | 63 | bool uses_fp32_denorms_flush{}; |
| 63 | bool uses_fp32_denorms_preserve{}; | 64 | bool uses_fp32_denorms_preserve{}; |
| 65 | bool uses_int8{}; | ||
| 66 | bool uses_int16{}; | ||
| 67 | bool uses_int64{}; | ||
| 64 | bool uses_image_1d{}; | 68 | bool uses_image_1d{}; |
| 65 | bool uses_sampled_1d{}; | 69 | bool uses_sampled_1d{}; |
| 66 | bool uses_sparse_residency{}; | 70 | bool uses_sparse_residency{}; |
| 67 | 71 | ||
| 72 | IR::Type used_constant_buffer_types{}; | ||
| 73 | |||
| 68 | u32 constant_buffer_mask{}; | 74 | u32 constant_buffer_mask{}; |
| 69 | 75 | ||
| 70 | boost::container::static_vector<ConstantBufferDescriptor, MAX_CBUFS> | 76 | boost::container::static_vector<ConstantBufferDescriptor, MAX_CBUFS> |