Another change on GS

This commit is contained in:
CamilleLaVey
2026-09-26 21:38:39 -04:00
parent 7d61946b7c
commit b8d9f44421
@@ -242,7 +242,7 @@ u32 GetOutputTopologyVertices(OutputTopology output_topology) {
} }
std::optional<IR::Reg> FindFreeRegister(const IR::Program& program) { std::optional<IR::Reg> FindFreeRegister(const IR::Program& program) {
std::bitset<IR::NUM_USER_REGS> used; std::bitset<IR::NUM_REGS> used;
for (IR::Block* const block : program.blocks) { for (IR::Block* const block : program.blocks) {
for (const IR::Inst& inst : block->Instructions()) { for (const IR::Inst& inst : block->Instructions()) {
const IR::Opcode opcode{inst.GetOpcode()}; const IR::Opcode opcode{inst.GetOpcode()};