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

@ -46,16 +46,11 @@ Linked fragment stage:
Name 131 "foo"
Name 132 "foo2"
Name 134 "uFloatArray"
Decorate 35 ArrayStride 4
Decorate 41(coord) Smooth
Decorate 46 ArrayStride 4
Decorate 35 ArrayStride 4
Decorate 35 ArrayStride 4
Decorate 95(color) Smooth
Decorate 105(gl_FragColor) BuiltIn FragColor
Decorate 131(foo) NoStaticUse
Decorate 132(foo2) NoStaticUse
Decorate 35 ArrayStride 4
Decorate 134(uFloatArray) NoStaticUse
2: TypeVoid
3: TypeFunction 2