Explorar el Código

shader: Increase the maximum number of storage buffers

Compute shaders spill uniform buffers on storage buffers, increasing the
expected number.
ReinUsesLisp hace 5 años
padre
commit
155be4a8d3
Se han modificado 1 ficheros con 1 adiciones y 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{};