mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-26 05:16:24 -05:00
glsl: Increase NUM_VARS that can be allocated
needed for HW:AoC.
This commit is contained in:
parent
8d8ce24f20
commit
a68fabf6d5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue