SPV: Reduce spurious type generation by removing intermediate types in the middle of access chains.
This generally simplifies access chain generation, with far fewer type conversions. It is particularly important to future SPIR-V changes where there is less aggregate type uniqueness due to carrying different layout information with the type.
Showing
- SPIRV/GlslangToSpv.cpp 26 additions, 24 deletionsSPIRV/GlslangToSpv.cpp
- SPIRV/SpvBuilder.cpp 29 additions, 22 deletionsSPIRV/SpvBuilder.cpp
- SPIRV/SpvBuilder.h 10 additions, 8 deletionsSPIRV/SpvBuilder.h
- Test/baseResults/spv.310.comp.out 52 additions, 56 deletionsTest/baseResults/spv.310.comp.out
- Test/baseResults/spv.Operations.frag.out 5 additions, 5 deletionsTest/baseResults/spv.Operations.frag.out
- Test/baseResults/spv.accessChain.frag.out 12 additions, 12 deletionsTest/baseResults/spv.accessChain.frag.out
- Test/baseResults/spv.double.comp.out 4 additions, 4 deletionsTest/baseResults/spv.double.comp.out
- Test/baseResults/spv.forLoop.frag.out 6 additions, 6 deletionsTest/baseResults/spv.forLoop.frag.out
Loading
Please register or sign in to comment