diff options
| author | 2021-04-22 20:32:38 -0300 | |
|---|---|---|
| committer | 2021-07-22 21:51:29 -0400 | |
| commit | 155be4a8d3992abc25ee0a887212e33c2cc17155 (patch) | |
| tree | 2cdfaaa1db37a7a6175936d65f3be8929ac13588 /src | |
| parent | shader: Remove identity removal pass for better build times (diff) | |
| download | yuzu-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')
| -rw-r--r-- | src/shader_recompiler/shader_info.h | 2 |
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 | ||
| 108 | struct Info { | 108 | struct 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{}; |