2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

glsl: Increase NUM_VARS that can be allocated

needed for HW:AoC.
This commit is contained in:
ameerj 2021-06-03 19:16:25 -04:00
parent 8d8ce24f20
commit a68fabf6d5

View file

@ -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{};