Explorar o código

shader: Increase the maximum number of storage buffers

Compute shaders spill uniform buffers on storage buffers, increasing the
expected number.
ReinUsesLisp %!s(int64=5) %!d(string=hai) anos
pai
achega
155be4a8d3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/shader_recompiler/shader_info.h

+ 1 - 1
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{};