aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/shader_info.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-04-22 20:32:38 -0300
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:29 -0400
commit155be4a8d3992abc25ee0a887212e33c2cc17155 (patch)
tree2cdfaaa1db37a7a6175936d65f3be8929ac13588 /src/shader_recompiler/shader_info.h
parentfe25f42403493dc4b5e801f78d7f4ec5372aa538 (diff)
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/shader_info.h')
-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 0f28ae07b8..cb1969b3a1 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>;
struct Info {
static constexpr size_t MAX_CBUFS{18};
- static constexpr size_t MAX_SSBOS{16};
+ static constexpr size_t MAX_SSBOS{32};
bool uses_workgroup_id{};
bool uses_local_invocation_id{};