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.
This commit is contained in:
parent
1e4a721cef
commit
735d7e56a6
26 changed files with 52 additions and 48 deletions
|
|
@ -813,7 +813,7 @@ gl_FragCoord origin is upper left
|
|||
Decorate 20(g_sSamp) DescriptorSet 0
|
||||
Decorate 20(g_sSamp) Binding 0
|
||||
MemberDecorate 26($Global) 0 Offset 0
|
||||
MemberDecorate 26($Global) 1 Offset 4
|
||||
MemberDecorate 26($Global) 1 Offset 8
|
||||
MemberDecorate 26($Global) 2 Offset 16
|
||||
MemberDecorate 26($Global) 3 Offset 32
|
||||
Decorate 26($Global) Block
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue