Fix missing location decoration for structures put directly on input/output interfaces
Spec for decorating the OpVariable: "The remaining variables listed by OpEntryPoint with the Input or Output storage class form the user-defined variable interface. These variables must be identified with a Location decoration" Spec for decorating struct type: "The layout of a structure type used as an Input or Output depends on whether it is also a Block (i.e. has a Block decoration). If it is a not a Block, then the structure type must have a Location decoration"
This commit is contained in:
@@ -65,6 +65,8 @@ Linked vertex stage:
|
||||
MemberDecorate 60(SS) 0 Flat
|
||||
MemberDecorate 60(SS) 1 Flat
|
||||
MemberDecorate 60(SS) 2 Flat
|
||||
Decorate 60(SS) Location 0
|
||||
Decorate 62(var) Location 0
|
||||
MemberDecorate 63(MS) 0 Location 17
|
||||
Decorate 63(MS) Block
|
||||
2: TypeVoid
|
||||
|
||||
Reference in New Issue
Block a user