[GPU] Dynamic r# count via shader modifications + refactoring
This commit is contained in:
@@ -136,7 +136,7 @@ void DxbcShaderTranslator::ExportToMemory() {
|
||||
DxbcOpIf(true, DxbcSrc::R(control_temp, DxbcSrc::kXXXX));
|
||||
// control_temp.x is now free.
|
||||
|
||||
for (uint32_t i = 0; i < kMaxMemExports; ++i) {
|
||||
for (uint32_t i = 0; i < Shader::kMaxMemExports; ++i) {
|
||||
uint32_t eA_temp = system_temps_memexport_address_[i];
|
||||
if (eA_temp == UINT32_MAX) {
|
||||
// Export not used.
|
||||
|
||||
Reference in New Issue
Block a user