Browse Source

glsl: Increase NUM_VARS that can be allocated

needed for HW:AoC.
nce_cpp
ameerj 5 years ago
parent
commit
dfa7abe1e7
  1. 2
      src/shader_recompiler/backend/glsl/var_alloc.h

2
src/shader_recompiler/backend/glsl/var_alloc.h

@ -57,7 +57,7 @@ static_assert(sizeof(Id) == sizeof(u32));
class VarAlloc { class VarAlloc {
public: public:
static constexpr size_t NUM_VARS = 511;
static constexpr size_t NUM_VARS = 1023;
struct UseTracker { struct UseTracker {
size_t num_used{}; size_t num_used{};
std::bitset<NUM_VARS> var_use{}; std::bitset<NUM_VARS> var_use{};

Loading…
Cancel
Save