diff options
author | Liam <byteslice@airmail.cc> | 2022-03-17 18:30:21 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-03-17 18:30:21 +0100 |
commit | e228a40db807c20a2484169bd0a1447a081ea1ce (patch) | |
tree | cd69df019ebf505189e5ee897ae042f9bc131119 /src/shader_recompiler/ir_opt | |
parent | Address review comments (diff) | |
download | yuzu-e228a40db807c20a2484169bd0a1447a081ea1ce.tar yuzu-e228a40db807c20a2484169bd0a1447a081ea1ce.tar.gz yuzu-e228a40db807c20a2484169bd0a1447a081ea1ce.tar.bz2 yuzu-e228a40db807c20a2484169bd0a1447a081ea1ce.tar.lz yuzu-e228a40db807c20a2484169bd0a1447a081ea1ce.tar.xz yuzu-e228a40db807c20a2484169bd0a1447a081ea1ce.tar.zst yuzu-e228a40db807c20a2484169bd0a1447a081ea1ce.zip |
Diffstat (limited to 'src/shader_recompiler/ir_opt')
-rw-r--r-- | src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp index 1a50dd382..b54894a9b 100644 --- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp +++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp @@ -30,6 +30,8 @@ void AddConstantBufferDescriptor(Info& info, u32 index, u32 count) { } void AddRegisterIndexedLdc(Info& info) { + info.uses_cbuf_indirect = true; + // The shader can use any possible constant buffer info.constant_buffer_mask = (1 << Info::MAX_CBUFS) - 1; |