Update known-good spirv-tools.

Optimizations used in HLSL legalization now sweep away unused types.
This commit is contained in:
David Neto
2018-01-12 11:24:37 -05:00
parent e22e347395
commit 0e58bbd5aa
9 changed files with 3 additions and 75 deletions

View File

@@ -2,7 +2,7 @@ hlsl.partialFlattenMixed.vert
WARNING: AST will form illegal SPIR-V; need to transform to legalize
// Module Version 10000
// Generated by (magic number): 80003
// Id's are bound by 45
// Id's are bound by 36
Capability Shader
1: ExtInstImport "GLSL.std.450"
@@ -10,10 +10,6 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
EntryPoint Vertex 4 "main" 32 35
Source HLSL 500
Name 4 "main"
Name 18 "Packed"
MemberName 18(Packed) 0 "a"
MemberName 18(Packed) 1 "membTex"
MemberName 18(Packed) 2 "b"
Name 32 "pos"
Name 35 "@entryPointOutput"
Decorate 32(pos) Location 0
@@ -22,12 +18,6 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
3: TypeFunction 2
6: TypeFloat 32
7: TypeVector 6(float) 4
13: TypeInt 32 1
14: TypeImage 6(float) 2D sampled format:Unknown
15: TypeInt 32 0
16: 15(int) Constant 2
17: TypeArray 14 16
18(Packed): TypeStruct 13(int) 17 13(int)
31: TypePointer Input 7(fvec4)
32(pos): 31(ptr) Variable Input
34: TypePointer Output 7(fvec4)