HLSL Legalization: Add scalar replacement
This allow for propagation through structs with dynamically indexed arrays. This supports recent removal of non-io struct flattening.
This commit is contained in:
parent
3b2dc1a756
commit
e0639287df
7 changed files with 33 additions and 57 deletions
|
|
@ -2,7 +2,7 @@ hlsl.flattenSubset.frag
|
|||
WARNING: AST will form illegal SPIR-V; need to transform to legalize
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80003
|
||||
// Id's are bound by 66
|
||||
// Id's are bound by 72
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue