SPV: Only decorate array and matrix strides for transparent types requiring explicit layouts.

This commit is contained in:
John Kessenich
2015-09-09 17:51:38 -06:00
parent 874b1f8858
commit 31ed4830d1
25 changed files with 27 additions and 117 deletions

View File

@@ -26,19 +26,14 @@ Linked geometry stage:
MemberName 17(gl_PerVertex) 0 "gl_Position"
MemberName 17(gl_PerVertex) 1 "gl_ClipDistance"
Name 21 "gl_in"
Decorate 11 ArrayStride 4
MemberDecorate 12(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 12(gl_PerVertex) 1 BuiltIn ClipDistance
Decorate 12(gl_PerVertex) Block
Decorate 12(gl_PerVertex) Stream 0
Decorate 14 Stream 0
Decorate 11 ArrayStride 4
MemberDecorate 17(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 17(gl_PerVertex) 1 BuiltIn ClipDistance
Decorate 17(gl_PerVertex) Block
Decorate 19 ArrayStride 16
Decorate 11 ArrayStride 4
Decorate 11 ArrayStride 4
2: TypeVoid
3: TypeFunction 2
7: TypeFloat 32