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

@@ -38,15 +38,8 @@ Linked fragment stage:
Name 60 "sampler"
Name 64 "coord"
Name 70 "constructed"
Decorate 18 ArrayStride 24
Decorate 18 ArrayStride 24
Decorate 33 ArrayStride 24
Decorate 18 ArrayStride 24
Decorate 18 ArrayStride 24
Decorate 55(gl_FragColor) BuiltIn FragColor
Decorate 64(coord) Smooth
Decorate 68 ArrayStride 8
Decorate 68 ArrayStride 8
2: TypeVoid
3: TypeFunction 2
7: TypeInt 32 1