Răsfoiți Sursa

shader: Increase the maximum number of storage buffers

Compute shaders spill uniform buffers on storage buffers, increasing the
expected number.
ReinUsesLisp 5 ani în urmă
părinte
comite
155be4a8d3
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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{};