SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2.

This commit is contained in:
John Kessenich 2015-11-15 21:33:39 -07:00
parent 1c77f3a8d2
commit 55e7d11ce8
117 changed files with 6740 additions and 5997 deletions

View file

@ -3,16 +3,16 @@ spv.prepost.frag
Linked fragment stage:
// Module Version 99
// Generated by (magic number): 51a00bb
// Id's are bound by 96
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 94
Source GLSL 140
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main"
ExecutionMode 4 OriginLowerLeft
Source GLSL 140
Name 4 "main"
Name 8 "index"
Name 14 "s"
@ -23,8 +23,7 @@ Linked fragment stage:
Name 61 "y"
Name 66 "z"
Name 73 "v"
Name 92 "gl_FragColor"
Decorate 92(gl_FragColor) BuiltIn FragColor
Name 90 "gl_FragColor"
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
@ -47,8 +46,12 @@ Linked fragment stage:
74: 10(float) Constant 1077936128
75: 10(float) Constant 1082130432
76: 71(fvec4) ConstantComposite 28 19 74 75
91: TypePointer Output 71(fvec4)
92(gl_FragColor): 91(ptr) Variable Output
77: 11(int) Constant 2
81: 11(int) Constant 1
83: 11(int) Constant 3
87: 11(int) Constant 0
89: TypePointer Output 71(fvec4)
90(gl_FragColor): 89(ptr) Variable Output
4(main): 2 Function None 3
5: Label
8(index): 7(ptr) Variable Function
@ -124,27 +127,21 @@ Linked fragment stage:
70: 10(float) FMul 67 68
Store 66(z) 70
Store 73(v) 76
77: 71(fvec4) Load 73(v)
78: 10(float) CompositeExtract 77 2
79: 10(float) FSub 78 28
80: 71(fvec4) Load 73(v)
81: 71(fvec4) CompositeInsert 79 80 2
Store 73(v) 81
82: 71(fvec4) Load 73(v)
83: 71(fvec4) CompositeInsert 78 82 1
Store 73(v) 83
84: 71(fvec4) Load 73(v)
85: 10(float) CompositeExtract 84 3
78: 20(ptr) AccessChain 73(v) 77
79: 10(float) Load 78
80: 10(float) FSub 79 28
Store 78 80
82: 20(ptr) AccessChain 73(v) 81
Store 82 79
84: 20(ptr) AccessChain 73(v) 83
85: 10(float) Load 84
86: 10(float) FSub 85 28
87: 71(fvec4) Load 73(v)
88: 71(fvec4) CompositeInsert 86 87 3
Store 73(v) 88
89: 71(fvec4) Load 73(v)
90: 71(fvec4) CompositeInsert 86 89 0
Store 73(v) 90
93: 10(float) Load 66(z)
94: 71(fvec4) Load 73(v)
95: 71(fvec4) VectorTimesScalar 94 93
Store 92(gl_FragColor) 95
Store 84 86
88: 20(ptr) AccessChain 73(v) 87
Store 88 86
91: 10(float) Load 66(z)
92: 71(fvec4) Load 73(v)
93: 71(fvec4) VectorTimesScalar 92 91
Store 90(gl_FragColor) 93
Return
FunctionEnd