SPV: Tighten up number of struct-types declared based on decoration.
Takes some pressure off of issue #304. Structures don't inherit locations and then explicitly decorate members with them, so removed this reason to have another instance of a structure type.
This commit is contained in:
@@ -31,7 +31,6 @@ Linked fragment stage:
|
||||
Decorate 3805 DescriptorSet 0
|
||||
Decorate 3869 DescriptorSet 0
|
||||
MemberDecorate 1032 1 BuiltIn FragDepth
|
||||
MemberDecorate 1033 1 BuiltIn FragDepth
|
||||
Decorate 4045 Location 0
|
||||
8: TypeVoid
|
||||
1282: TypeFunction 8
|
||||
@@ -130,8 +129,7 @@ Linked fragment stage:
|
||||
138: 13(float) Constant 1065353216
|
||||
1284: 29(fvec4) ConstantComposite 138 138 138 138
|
||||
650: TypePointer Function 13(float)
|
||||
1033: TypeStruct 29(fvec4) 13(float)
|
||||
1670: TypePointer Output 1033(struct)
|
||||
1670: TypePointer Output 1032(struct)
|
||||
4045: 1670(ptr) Variable Output
|
||||
5663: 8 Function None 1282
|
||||
24915: Label
|
||||
|
||||
Reference in New Issue
Block a user