summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-06-04 01:16:25 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:37 +0200
commita68fabf6d5847e36bfa72edc149a8c7420868583 (patch)
tree8b1cc92568083e28a7551e3edd4826926fffbe12 /src/shader_recompiler/backend
parentglsl: Implement Load/WriteGlobal (diff)
downloadyuzu-a68fabf6d5847e36bfa72edc149a8c7420868583.tar
yuzu-a68fabf6d5847e36bfa72edc149a8c7420868583.tar.gz
yuzu-a68fabf6d5847e36bfa72edc149a8c7420868583.tar.bz2
yuzu-a68fabf6d5847e36bfa72edc149a8c7420868583.tar.lz
yuzu-a68fabf6d5847e36bfa72edc149a8c7420868583.tar.xz
yuzu-a68fabf6d5847e36bfa72edc149a8c7420868583.tar.zst
yuzu-a68fabf6d5847e36bfa72edc149a8c7420868583.zip
Diffstat (limited to 'src/shader_recompiler/backend')
-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{};