rt(d3d9): search "global" namespace for register assignments
This commit is contained in:
parent
5ef0055e05
commit
d1e49b7eb4
|
@ -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;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue