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

@@ -20,8 +20,6 @@ Linked fragment stage:
Name 36 "alpha"
Name 47 "gl_FragColor"
Name 52 "texSampler2D"
Decorate 13 ArrayStride 16
Decorate 34 ArrayStride 4
Decorate 47(gl_FragColor) BuiltIn FragColor
Decorate 52(texSampler2D) NoStaticUse
2: TypeVoid