summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/shader_info.h
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-02-20 03:30:13 -0300
committerGravatar ameerj2021-07-22 21:51:22 -0400
commite2bc05b17d91854cbb9c0ce3647141bf7d33143e (patch)
tree96769db006b6015cd536483db98ee0697aee4992 /src/shader_recompiler/shader_info.h
parentspirv: Add lower fp16 to fp32 pass (diff)
downloadyuzu-e2bc05b17d91854cbb9c0ce3647141bf7d33143e.tar.gz
yuzu-e2bc05b17d91854cbb9c0ce3647141bf7d33143e.tar.xz
yuzu-e2bc05b17d91854cbb9c0ce3647141bf7d33143e.zip
shader: Add denorm flush support
Diffstat (limited to 'src/shader_recompiler/shader_info.h')
-rw-r--r--src/shader_recompiler/shader_info.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h
index f49a79368..8766bf13e 100644
--- a/src/shader_recompiler/shader_info.h
+++ b/src/shader_recompiler/shader_info.h
@@ -31,14 +31,15 @@ struct Info {
31 bool uses_local_invocation_id{}; 31 bool uses_local_invocation_id{};
32 bool uses_fp16{}; 32 bool uses_fp16{};
33 bool uses_fp64{}; 33 bool uses_fp64{};
34 bool uses_fp16_denorms_flush{};
35 bool uses_fp16_denorms_preserve{};
36 bool uses_fp32_denorms_flush{};
37 bool uses_fp32_denorms_preserve{};
34 38
35 u32 constant_buffer_mask{}; 39 u32 constant_buffer_mask{};
36 40
37 std::array<ConstantBufferDescriptor*, MAX_CBUFS> constant_buffers{};
38 boost::container::static_vector<ConstantBufferDescriptor, MAX_CBUFS> 41 boost::container::static_vector<ConstantBufferDescriptor, MAX_CBUFS>
39 constant_buffer_descriptors; 42 constant_buffer_descriptors;
40
41 std::array<StorageBufferDescriptor*, MAX_SSBOS> storage_buffers{};
42 boost::container::static_vector<StorageBufferDescriptor, MAX_SSBOS> storage_buffers_descriptors; 43 boost::container::static_vector<StorageBufferDescriptor, MAX_SSBOS> storage_buffers_descriptors;
43}; 44};
44 45