summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/shader_info.h
diff options
context:
space:
mode:
authorGravatar Fernando S2022-03-18 00:36:31 +0100
committerGravatar GitHub2022-03-18 00:36:31 +0100
commitcb86e7941b87c28491114c80cf2cd3cafd316c72 (patch)
treeecd031fac28e0bfe9c2d10855c74e01379654a4f /src/shader_recompiler/shader_info.h
parentMerge pull request #8030 from liamwhite/s8d24-conversion (diff)
parentAddress review comments (diff)
downloadyuzu-cb86e7941b87c28491114c80cf2cd3cafd316c72.tar.gz
yuzu-cb86e7941b87c28491114c80cf2cd3cafd316c72.tar.xz
yuzu-cb86e7941b87c28491114c80cf2cd3cafd316c72.zip
Merge pull request #8024 from liamwhite/const-indexing
Add shader support for const buffer indirect addressing
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/shader_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h
index 9f375c30e..9d36bd9eb 100644
--- a/src/shader_recompiler/shader_info.h
+++ b/src/shader_recompiler/shader_info.h
@@ -173,9 +173,11 @@ struct Info {
173 bool uses_atomic_image_u32{}; 173 bool uses_atomic_image_u32{};
174 bool uses_shadow_lod{}; 174 bool uses_shadow_lod{};
175 bool uses_rescaling_uniform{}; 175 bool uses_rescaling_uniform{};
176 bool uses_cbuf_indirect{};
176 177
177 IR::Type used_constant_buffer_types{}; 178 IR::Type used_constant_buffer_types{};
178 IR::Type used_storage_buffer_types{}; 179 IR::Type used_storage_buffer_types{};
180 IR::Type used_indirect_cbuf_types{};
179 181
180 u32 constant_buffer_mask{}; 182 u32 constant_buffer_mask{};
181 std::array<u32, MAX_CBUFS> constant_buffer_used_sizes{}; 183 std::array<u32, MAX_CBUFS> constant_buffer_used_sizes{};