rt(d3d9): search "global" namespace for register assignments

This commit is contained in:
chyyran 2024-08-12 01:38:29 -04:00 committed by Ronny Chan
parent 5ef0055e05
commit d1e49b7eb4

View file

@ -87,6 +87,11 @@ impl HlslBufferAssignments {
}
}
// Sometimes SPIRV-cross will assign variables to "global"
if Self::find_mangled_name("global", uniform_name, mangled_name) {
return true;
}
return false;
}
}