Update known-good spirv-tools.
Optimizations used in HLSL legalization now sweep away unused types.
This commit is contained in:
@@ -2,7 +2,7 @@ hlsl.flattenSubset.frag
|
||||
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 72
|
||||
// Id's are bound by 66
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
@@ -11,23 +11,7 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 15 "S0"
|
||||
MemberName 15(S0) 0 "x"
|
||||
MemberName 15(S0) 1 "y"
|
||||
MemberName 15(S0) 2 "ss"
|
||||
Name 16 "S1"
|
||||
MemberName 16(S1) 0 "b"
|
||||
MemberName 16(S1) 1 "samplerState"
|
||||
MemberName 16(S1) 2 "s0"
|
||||
MemberName 16(S1) 3 "a"
|
||||
Name 21 "samp"
|
||||
Name 25 "S2"
|
||||
MemberName 25(S2) 0 "a1"
|
||||
MemberName 25(S2) 1 "a2"
|
||||
MemberName 25(S2) 2 "a3"
|
||||
MemberName 25(S2) 3 "a4"
|
||||
MemberName 25(S2) 4 "a5"
|
||||
MemberName 25(S2) 5 "resources"
|
||||
Name 33 "tex"
|
||||
Name 47 "vpos"
|
||||
Name 50 "@entryPointOutput"
|
||||
@@ -40,12 +24,8 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
|
||||
6: TypeFloat 32
|
||||
7: TypeVector 6(float) 4
|
||||
13: TypeSampler
|
||||
14: TypeInt 32 1
|
||||
15(S0): TypeStruct 14(int) 14(int) 13
|
||||
16(S1): TypeStruct 6(float) 13 15(S0) 14(int)
|
||||
20: TypePointer UniformConstant 13
|
||||
21(samp): 20(ptr) Variable UniformConstant
|
||||
25(S2): TypeStruct 14(int) 14(int) 14(int) 14(int) 14(int) 16(S1)
|
||||
31: TypeImage 6(float) 2D sampled format:Unknown
|
||||
32: TypePointer UniformConstant 31
|
||||
33(tex): 32(ptr) Variable UniformConstant
|
||||
|
||||
Reference in New Issue
Block a user