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,12 +26,10 @@ Linked fragment stage:
Name 40 "alpha"
Name 45 "gl_FragColor"
Name 49 "foo"
Decorate 18 ArrayStride 16
Decorate 20(gl_TexCoord) Smooth
Decorate 35(color) Smooth
Decorate 40(alpha) Smooth
Decorate 45(gl_FragColor) BuiltIn FragColor
Decorate 47 ArrayStride 16
Decorate 49(foo) Smooth
2: TypeVoid
3: TypeFunction 2