Browse Source

shader: Increase the maximum number of storage buffers

Compute shaders spill uniform buffers on storage buffers, increasing the
expected number.
nce_cpp
ReinUsesLisp 5 years ago
committed by ameerj
parent
commit
763adf56a6
  1. 2
      src/shader_recompiler/shader_info.h

2
src/shader_recompiler/shader_info.h

@ -107,7 +107,7 @@ using ImageDescriptors = boost::container::small_vector<ImageDescriptor, 4>;
struct Info { struct Info {
static constexpr size_t MAX_CBUFS{18}; 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_workgroup_id{};
bool uses_local_invocation_id{}; bool uses_local_invocation_id{};

Loading…
Cancel
Save