summaryrefslogtreecommitdiff
path: root/src/shader_recompiler
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-04-22 20:32:38 -0300
committerGravatar ameerj2021-07-22 21:51:29 -0400
commit155be4a8d3992abc25ee0a887212e33c2cc17155 (patch)
tree2cdfaaa1db37a7a6175936d65f3be8929ac13588 /src/shader_recompiler
parentshader: Remove identity removal pass for better build times (diff)
downloadyuzu-155be4a8d3992abc25ee0a887212e33c2cc17155.tar.gz
yuzu-155be4a8d3992abc25ee0a887212e33c2cc17155.tar.xz
yuzu-155be4a8d3992abc25ee0a887212e33c2cc17155.zip
shader: Increase the maximum number of storage buffers
Compute shaders spill uniform buffers on storage buffers, increasing the expected number.
Diffstat (limited to 'src/shader_recompiler')
-rw-r--r--src/shader_recompiler/shader_info.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.h
index 0f28ae07b..cb1969b3a 100644
--- a/src/shader_recompiler/shader_info.h
+++ b/src/shader_recompiler/shader_info.h
@@ -107,7 +107,7 @@ using ImageDescriptors = boost::container::small_vector<ImageDescriptor, 4>;
107 107
108struct Info { 108struct Info {
109 static constexpr size_t MAX_CBUFS{18}; 109 static constexpr size_t MAX_CBUFS{18};
110 static constexpr size_t MAX_SSBOS{16}; 110 static constexpr size_t MAX_SSBOS{32};
111 111
112 bool uses_workgroup_id{}; 112 bool uses_workgroup_id{};
113 bool uses_local_invocation_id{}; 113 bool uses_local_invocation_id{};