瀏覽代碼

shader: Increase the maximum number of storage buffers

Compute shaders spill uniform buffers on storage buffers, increasing the
expected number.
ReinUsesLisp 5 年之前
父節點
當前提交
155be4a8d3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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{};