Address part A of #982: $Global will use std140 instead of HLSL offsets.
From comment about this: Adjust alignment for HLSL rules TODO: make this consistent in early phases of code: adjusting this late means inconsistencies with earlier code, which for reflection is an issue. Until reflection is brought in sync with these adjustments, don't apply to $Global, which is the most likely to rely on reflection, and least likely to rely implicit layouts.
Showing
- SPIRV/GlslangToSpv.cpp 6 additions, 2 deletionsSPIRV/GlslangToSpv.cpp
- Test/baseResults/hlsl.amend.frag.out 3 additions, 3 deletionsTest/baseResults/hlsl.amend.frag.out
- Test/baseResults/hlsl.gatherRGBA.array.dx10.frag.out 1 addition, 1 deletionTest/baseResults/hlsl.gatherRGBA.array.dx10.frag.out
- Test/baseResults/hlsl.gatherRGBA.basic.dx10.frag.out 1 addition, 1 deletionTest/baseResults/hlsl.gatherRGBA.basic.dx10.frag.out
- Test/baseResults/hlsl.gatherRGBA.offset.dx10.frag.out 2 additions, 2 deletionsTest/baseResults/hlsl.gatherRGBA.offset.dx10.frag.out
- Test/baseResults/hlsl.gatherRGBA.offsetarray.dx10.frag.out 2 additions, 2 deletionsTest/baseResults/hlsl.gatherRGBA.offsetarray.dx10.frag.out
- Test/baseResults/hlsl.gathercmpRGBA.offset.dx10.frag.out 1 addition, 1 deletionTest/baseResults/hlsl.gathercmpRGBA.offset.dx10.frag.out
- Test/baseResults/hlsl.getdimensions.rw.dx10.frag.out 2 additions, 2 deletionsTest/baseResults/hlsl.getdimensions.rw.dx10.frag.out
- Test/baseResults/hlsl.implicitBool.frag.out 2 additions, 2 deletionsTest/baseResults/hlsl.implicitBool.frag.out
- Test/baseResults/hlsl.isfinite.frag.out 1 addition, 1 deletionTest/baseResults/hlsl.isfinite.frag.out
- Test/baseResults/hlsl.load.2dms.dx10.frag.out 2 additions, 2 deletionsTest/baseResults/hlsl.load.2dms.dx10.frag.out
- Test/baseResults/hlsl.load.array.dx10.frag.out 2 additions, 2 deletionsTest/baseResults/hlsl.load.array.dx10.frag.out
- Test/baseResults/hlsl.load.basic.dx10.frag.out 2 additions, 2 deletionsTest/baseResults/hlsl.load.basic.dx10.frag.out
- Test/baseResults/hlsl.load.basic.dx10.vert.out 2 additions, 2 deletionsTest/baseResults/hlsl.load.basic.dx10.vert.out
- Test/baseResults/hlsl.load.buffer.dx10.frag.out 2 additions, 2 deletionsTest/baseResults/hlsl.load.buffer.dx10.frag.out
- Test/baseResults/hlsl.load.buffer.float.dx10.frag.out 2 additions, 2 deletionsTest/baseResults/hlsl.load.buffer.float.dx10.frag.out
- Test/baseResults/hlsl.load.offset.dx10.frag.out 2 additions, 2 deletionsTest/baseResults/hlsl.load.offset.dx10.frag.out
- Test/baseResults/hlsl.load.offsetarray.dx10.frag.out 2 additions, 2 deletionsTest/baseResults/hlsl.load.offsetarray.dx10.frag.out
- Test/baseResults/hlsl.load.rwbuffer.dx10.frag.out 2 additions, 2 deletionsTest/baseResults/hlsl.load.rwbuffer.dx10.frag.out
- Test/baseResults/hlsl.load.rwtexture.array.dx10.frag.out 2 additions, 2 deletionsTest/baseResults/hlsl.load.rwtexture.array.dx10.frag.out
Loading
Please register or sign in to comment