summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/shader_info.h
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2022-03-18 00:36:31 +0100
committerGitHub <noreply@github.com>2022-03-18 00:36:31 +0100
commitcb86e7941b87c28491114c80cf2cd3cafd316c72 (patch)
treeecd031fac28e0bfe9c2d10855c74e01379654a4f /src/shader_recompiler/shader_info.h
parenta616f498645d237eecf9759aea715fef20e54b44 (diff)
parent3009d0bd7d30b341a8697d85d9d42a9ee4910d19 (diff)
Merge pull request #8024 from liamwhite/const-indexing
Add shader support for const buffer indirect addressing
Diffstat (limited to 'src/shader_recompiler/shader_info.h')
-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 {
bool uses_atomic_image_u32{};
bool uses_shadow_lod{};
bool uses_rescaling_uniform{};
+ bool uses_cbuf_indirect{};
IR::Type used_constant_buffer_types{};
IR::Type used_storage_buffer_types{};
+ IR::Type used_indirect_cbuf_types{};
u32 constant_buffer_mask{};
std::array<u32, MAX_CBUFS> constant_buffer_used_sizes{};