summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/glsl/var_alloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/backend/glsl/var_alloc.h')
-rw-r--r--src/shader_recompiler/backend/glsl/var_alloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/glsl/var_alloc.h b/src/shader_recompiler/backend/glsl/var_alloc.h
index be21a87ea..ed936f8dc 100644
--- a/src/shader_recompiler/backend/glsl/var_alloc.h
+++ b/src/shader_recompiler/backend/glsl/var_alloc.h
@@ -57,7 +57,7 @@ static_assert(sizeof(Id) == sizeof(u32));
class VarAlloc {
public:
- static constexpr size_t NUM_VARS = 511;
+ static constexpr size_t NUM_VARS = 1023;
struct UseTracker {
size_t num_used{};
std::bitset<NUM_VARS> var_use{};