HLSL Legalization: Add scalar replacement
This allow for propagation through structs with dynamically indexed arrays. This supports recent removal of non-io struct flattening.
Showing
- SPIRV/GlslangToSpv.cpp 2 additions, 0 deletionsSPIRV/GlslangToSpv.cpp
- Test/baseLegalResults/hlsl.aliasOpaque.frag.out 0 additions, 3 deletionsTest/baseLegalResults/hlsl.aliasOpaque.frag.out
- Test/baseLegalResults/hlsl.flattenSubset.frag.out 1 addition, 1 deletionTest/baseLegalResults/hlsl.flattenSubset.frag.out
- Test/baseLegalResults/hlsl.flattenSubset2.frag.out 0 additions, 4 deletionsTest/baseLegalResults/hlsl.flattenSubset2.frag.out
- Test/baseLegalResults/hlsl.partialFlattenLocal.vert.out 24 additions, 39 deletionsTest/baseLegalResults/hlsl.partialFlattenLocal.vert.out
- Test/baseLegalResults/hlsl.partialFlattenMixed.vert.out 1 addition, 5 deletionsTest/baseLegalResults/hlsl.partialFlattenMixed.vert.out
- Test/baseResults/hlsl.y-negate-3.vert.out 5 additions, 5 deletionsTest/baseResults/hlsl.y-negate-3.vert.out
Loading
Please register or sign in to comment