|
@@ -507,6 +507,8 @@ private:
|
|
|
|
|
|
|
|
/// Build the GLSL register list.
|
|
/// Build the GLSL register list.
|
|
|
void BuildRegisterList() {
|
|
void BuildRegisterList() {
|
|
|
|
|
+ regs.reserve(Register::NumRegisters);
|
|
|
|
|
+
|
|
|
for (size_t index = 0; index < Register::NumRegisters; ++index) {
|
|
for (size_t index = 0; index < Register::NumRegisters; ++index) {
|
|
|
regs.emplace_back(index, suffix);
|
|
regs.emplace_back(index, suffix);
|
|
|
}
|
|
}
|