Move to revision 31 of SPIR-V.

This commit is contained in:
John Kessenich
2015-08-06 22:53:06 -06:00
parent e24a74c320
commit 5e4b1242bf
77 changed files with 6050 additions and 5450 deletions

47
Test/baseResults/spv.nonSquare.vert.out Normal file → Executable file
View File

@@ -8,9 +8,10 @@ Linked vertex stage:
// Id's are bound by 91
Source GLSL 120
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4
EntryPoint Vertex 4 "main"
Name 4 "main"
Name 10 "a"
Name 13 "v3"
@@ -20,25 +21,25 @@ Linked vertex stage:
Name 29 "gl_Position"
Name 56 "v4"
Decorate 29(gl_Position) BuiltIn Position
Decorate 75 NoStaticUse
Decorate 79 NoStaticUse
Decorate 90 NoStaticUse
Decorate 75 NoStaticUse
Decorate 79 NoStaticUse
Decorate 90 NoStaticUse
2: TypeVoid
3: TypeFunction 2
3: TypeFunction 2
7: TypeFloat 32
8: TypeVector 7(float) 2
9: TypePointer Function 8(fvec2)
11: TypeVector 7(float) 3
12: TypePointer Input 11(fvec3)
13(v3): 12(ptr) Variable Input
13(v3): 12(ptr) Variable Input
15: TypeMatrix 11(fvec3) 2
16: TypePointer Function 15
21: TypeMatrix 8(fvec2) 3
22: TypePointer UniformConstant 21
23(m32): 22(ptr) Variable UniformConstant
23(m32): 22(ptr) Variable UniformConstant
27: TypeVector 7(float) 4
28: TypePointer Output 27(fvec4)
29(gl_Position): 28(ptr) Variable Output
29(gl_Position): 28(ptr) Variable Output
32: TypeMatrix 11(fvec3) 3
36: 7(float) Constant 0
41: TypeMatrix 27(fvec4) 4
@@ -56,7 +57,7 @@ Linked vertex stage:
53: 27(fvec4) ConstantComposite 51 52 36 36
54: 41 ConstantComposite 44 47 50 53
55: TypePointer Input 27(fvec4)
56(v4): 55(ptr) Variable Input
56(v4): 55(ptr) Variable Input
60: 7(float) Constant 1112014848
61: 7(float) Constant 1121714176
62: 7(float) Constant 1126825984
@@ -87,33 +88,33 @@ Linked vertex stage:
90: 80 ConstantComposite 83 85 86 89
4(main): 2 Function None 3
5: Label
10(a): 9(ptr) Variable Function
17(m23): 16(ptr) Variable Function
20(b): 9(ptr) Variable Function
14: 11(fvec3) Load 13(v3)
18: 15 Load 17(m23)
10(a): 9(ptr) Variable Function
17(m23): 16(ptr) Variable Function
20(b): 9(ptr) Variable Function
14: 11(fvec3) Load 13(v3)
18: 15 Load 17(m23)
19: 8(fvec2) VectorTimesMatrix 14 18
Store 10(a) 19
24: 21 Load 23(m32)
25: 11(fvec3) Load 13(v3)
Store 10(a) 19
24: 21 Load 23(m32)
25: 11(fvec3) Load 13(v3)
26: 8(fvec2) MatrixTimesVector 24 25
Store 20(b) 26
30: 15 Load 17(m23)
31: 21 Load 23(m32)
Store 20(b) 26
30: 15 Load 17(m23)
31: 21 Load 23(m32)
33: 32 MatrixTimesMatrix 30 31
34: 11(fvec3) Load 13(v3)
34: 11(fvec3) Load 13(v3)
35: 11(fvec3) MatrixTimesVector 33 34
37: 7(float) CompositeExtract 35 0
38: 7(float) CompositeExtract 35 1
39: 7(float) CompositeExtract 35 2
40: 27(fvec4) CompositeConstruct 37 38 39 36
57: 27(fvec4) Load 56(v4)
57: 27(fvec4) Load 56(v4)
58: 27(fvec4) MatrixTimesVector 54 57
59: 27(fvec4) FAdd 40 58
65: 27(fvec4) FAdd 59 64
69: 27(fvec4) FAdd 65 68
74: 27(fvec4) FAdd 69 73
Store 29(gl_Position) 74
Store 29(gl_Position) 74
Branch 6
6: Label
Return