SPV: Require desktop 140 or ES 310 or above.

This commit is contained in:
John Kessenich 2016-01-22 17:47:22 -07:00
parent 4bfeed5fe8
commit f6eae2a54a
102 changed files with 357 additions and 313 deletions

View file

@ -1,4 +1,6 @@
spv.100ops.frag
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
Linked fragment stage:
@ -12,7 +14,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 36
ExecutionMode 4 OriginLowerLeft
Source ESSL 100
Source ESSL 310
Name 4 "main"
Name 8 "foo("
Name 11 "face1"
@ -20,13 +22,13 @@ Linked fragment stage:
Name 17 "z"
Name 21 "low"
Name 26 "high"
Name 36 "gl_FragColor"
Name 36 "Color"
Decorate 11(face1) RelaxedPrecision
Decorate 13(face2) RelaxedPrecision
Decorate 17(z) RelaxedPrecision
Decorate 21(low) RelaxedPrecision
Decorate 26(high) RelaxedPrecision
Decorate 36(gl_FragColor) RelaxedPrecision
Decorate 36(Color) RelaxedPrecision
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -47,7 +49,7 @@ Linked fragment stage:
28: TypeBool
34: TypeVector 6(float) 4
35: TypePointer Output 34(fvec4)
36(gl_FragColor): 35(ptr) Variable Output
36(Color): 35(ptr) Variable Output
4(main): 2 Function None 3
5: Label
17(z): 16(ptr) Variable Function
@ -75,7 +77,7 @@ Linked fragment stage:
42: 6(float) FunctionCall 8(foo()
43: 34(fvec4) CompositeConstruct 42 42 42 42
44: 34(fvec4) FAdd 41 43
Store 36(gl_FragColor) 44
Store 36(Color) 44
Return
FunctionEnd
8(foo(): 6(float) Function None 7

View file

@ -1,5 +1,5 @@
spv.130.frag
WARNING: 0:34: '#extension' : extension is only partially supported: GL_ARB_gpu_shader5
WARNING: 0:31: '#extension' : extension is only partially supported: GL_ARB_gpu_shader5
Linked fragment stage:
@ -7,14 +7,14 @@ Linked fragment stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 214
// Id's are bound by 213
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 17 68 79 99 173 184 185 186 187
EntryPoint Fragment 4 "main" 17 68 79 99 173 184 185 186
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
SourceExtension "GL_ARB_gpu_shader5"
SourceExtension "GL_ARB_shader_texture_lod"
SourceExtension "GL_ARB_shading_language_420pack"
@ -50,21 +50,20 @@ Linked fragment stage:
Name 184 "fflat"
Name 185 "fsmooth"
Name 186 "fnop"
Name 187 "gl_Color"
Name 194 "bounds"
Name 195 "s2D"
Name 196 "s2DR"
Name 200 "s2DRS"
Name 204 "s1D"
Name 205 "s2DS"
Name 207 "f"
Name 209 "v2"
Name 211 "v3"
Name 213 "v4"
Name 193 "bounds"
Name 194 "s2D"
Name 195 "s2DR"
Name 199 "s2DRS"
Name 203 "s1D"
Name 204 "s2DS"
Name 206 "f"
Name 208 "v2"
Name 210 "v3"
Name 212 "v4"
Decorate 173(gl_ClipDistance) BuiltIn ClipDistance
Decorate 184(fflat) Flat
Decorate 186(fnop) NoPerspective
Decorate 194(bounds) Binding 0
Decorate 193(bounds) Binding 0
2: TypeVoid
3: TypeFunction 2
14: TypeFloat 32
@ -155,33 +154,32 @@ Linked fragment stage:
184(fflat): 128(ptr) Variable Input
185(fsmooth): 128(ptr) Variable Input
186(fnop): 128(ptr) Variable Input
187(gl_Color): 78(ptr) Variable Input
188: 96(int) Constant 3
189: TypeArray 26(int) 188
190: 26(int) Constant 10
191: 26(int) Constant 23
192: 26(int) Constant 32
193: 189 ConstantComposite 190 191 192
194(bounds): 20(ptr) Variable UniformConstant
195(s2D): 20(ptr) Variable UniformConstant
196(s2DR): 46(ptr) Variable UniformConstant
197: TypeImage 14(float) Rect depth sampled format:Unknown
198: TypeSampledImage 197
199: TypePointer UniformConstant 198
200(s2DRS): 199(ptr) Variable UniformConstant
201: TypeImage 14(float) 1D sampled format:Unknown
202: TypeSampledImage 201
203: TypePointer UniformConstant 202
204(s1D): 203(ptr) Variable UniformConstant
205(s2DS): 54(ptr) Variable UniformConstant
206: TypePointer UniformConstant 14(float)
207(f): 206(ptr) Variable UniformConstant
208: TypePointer UniformConstant 23(fvec2)
209(v2): 208(ptr) Variable UniformConstant
210: TypePointer UniformConstant 39(fvec3)
211(v3): 210(ptr) Variable UniformConstant
212: TypePointer UniformConstant 15(fvec4)
213(v4): 212(ptr) Variable UniformConstant
187: 96(int) Constant 3
188: TypeArray 26(int) 187
189: 26(int) Constant 10
190: 26(int) Constant 23
191: 26(int) Constant 32
192: 188 ConstantComposite 189 190 191
193(bounds): 20(ptr) Variable UniformConstant
194(s2D): 20(ptr) Variable UniformConstant
195(s2DR): 46(ptr) Variable UniformConstant
196: TypeImage 14(float) Rect depth sampled format:Unknown
197: TypeSampledImage 196
198: TypePointer UniformConstant 197
199(s2DRS): 198(ptr) Variable UniformConstant
200: TypeImage 14(float) 1D sampled format:Unknown
201: TypeSampledImage 200
202: TypePointer UniformConstant 201
203(s1D): 202(ptr) Variable UniformConstant
204(s2DS): 54(ptr) Variable UniformConstant
205: TypePointer UniformConstant 14(float)
206(f): 205(ptr) Variable UniformConstant
207: TypePointer UniformConstant 23(fvec2)
208(v2): 207(ptr) Variable UniformConstant
209: TypePointer UniformConstant 39(fvec3)
210(v3): 209(ptr) Variable UniformConstant
211: TypePointer UniformConstant 15(fvec4)
212(v4): 211(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
168: 165 Load 167(sampC)

View file

@ -1,33 +1,38 @@
spv.300BuiltIns.vert
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
Linked vertex stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 40
// Id's are bound by 49
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 11 23 25 33 39
Source ESSL 300
EntryPoint Vertex 4 "main" 11 24 27 48
Source ESSL 310
Name 4 "main"
Name 8 "i"
Name 11 "gl_VertexID"
Name 16 "j"
Name 23 "gl_Position"
Name 25 "ps"
Name 33 "gl_PointSize"
Name 39 "gl_InstanceID"
Name 22 "gl_PerVertex"
MemberName 22(gl_PerVertex) 0 "gl_Position"
MemberName 22(gl_PerVertex) 1 "gl_PointSize"
Name 24 ""
Name 27 "ps"
Name 48 "gl_InstanceID"
Decorate 8(i) RelaxedPrecision
Decorate 11(gl_VertexID) BuiltIn VertexId
Decorate 16(j) RelaxedPrecision
Decorate 23(gl_Position) Invariant
Decorate 23(gl_Position) BuiltIn Position
Decorate 25(ps) RelaxedPrecision
Decorate 33(gl_PointSize) BuiltIn PointSize
Decorate 39(gl_InstanceID) BuiltIn InstanceId
MemberDecorate 22(gl_PerVertex) 0 Invariant
MemberDecorate 22(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 22(gl_PerVertex) 1 BuiltIn PointSize
Decorate 22(gl_PerVertex) Block
Decorate 27(ps) RelaxedPrecision
Decorate 48(gl_InstanceID) BuiltIn InstanceId
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
@ -38,13 +43,16 @@ Linked vertex stage:
14: 6(int) Constant 10
20: TypeFloat 32
21: TypeVector 20(float) 4
22: TypePointer Output 21(fvec4)
23(gl_Position): 22(ptr) Variable Output
24: TypePointer Input 20(float)
25(ps): 24(ptr) Variable Input
32: TypePointer Output 20(float)
33(gl_PointSize): 32(ptr) Variable Output
39(gl_InstanceID): 10(ptr) Variable Input
22(gl_PerVertex): TypeStruct 21(fvec4) 20(float)
23: TypePointer Output 22(gl_PerVertex)
24: 23(ptr) Variable Output
25: 6(int) Constant 0
26: TypePointer Input 20(float)
27(ps): 26(ptr) Variable Input
30: TypePointer Output 21(fvec4)
38: 6(int) Constant 1
40: TypePointer Output 20(float)
48(gl_InstanceID): 10(ptr) Variable Input
4(main): 2 Function None 3
5: Label
8(i): 7(ptr) Variable Function
@ -57,20 +65,26 @@ Linked vertex stage:
18: 6(int) IMul 9 17
19: 6(int) ISub 18 14
Store 16(j) 19
26: 20(float) Load 25(ps)
27: 21(fvec4) CompositeConstruct 26 26 26 26
Store 23(gl_Position) 27
28: 6(int) Load 8(i)
29: 20(float) ConvertSToF 28
30: 21(fvec4) Load 23(gl_Position)
31: 21(fvec4) VectorTimesScalar 30 29
Store 23(gl_Position) 31
34: 20(float) Load 25(ps)
Store 33(gl_PointSize) 34
35: 6(int) Load 16(j)
36: 20(float) ConvertSToF 35
37: 20(float) Load 33(gl_PointSize)
38: 20(float) FMul 37 36
Store 33(gl_PointSize) 38
28: 20(float) Load 27(ps)
29: 21(fvec4) CompositeConstruct 28 28 28 28
31: 30(ptr) AccessChain 24 25
Store 31 29
32: 6(int) Load 8(i)
33: 20(float) ConvertSToF 32
34: 30(ptr) AccessChain 24 25
35: 21(fvec4) Load 34
36: 21(fvec4) VectorTimesScalar 35 33
37: 30(ptr) AccessChain 24 25
Store 37 36
39: 20(float) Load 27(ps)
41: 40(ptr) AccessChain 24 38
Store 41 39
42: 6(int) Load 16(j)
43: 20(float) ConvertSToF 42
44: 40(ptr) AccessChain 24 38
45: 20(float) Load 44
46: 20(float) FMul 45 43
47: 40(ptr) AccessChain 24 38
Store 47 46
Return
FunctionEnd

View file

@ -1,4 +1,6 @@
spv.300layout.frag
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
Linked fragment stage:
@ -12,7 +14,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 9 11 15 26 29
ExecutionMode 4 OriginLowerLeft
Source ESSL 300
Source ESSL 310
Name 4 "main"
Name 9 "c"
Name 11 "color"

View file

@ -1,4 +1,6 @@
spv.300layout.vert
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
Linked vertex stage:
@ -11,7 +13,7 @@ Linked vertex stage:
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 9 11 99 101 109 121 129 163 164
Source ESSL 300
Source ESSL 310
Name 4 "main"
Name 9 "pos"
Name 11 "p"

View file

@ -1,4 +1,6 @@
spv.300layoutp.vert
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
Linked vertex stage:
@ -11,7 +13,7 @@ Linked vertex stage:
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 9 11 51 53 61 73 81 115 116
Source ESSL 300
Source ESSL 310
Name 4 "main"
Name 9 "pos"
Name 11 "p"

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 21 59
ExecutionMode 4 OriginLowerLeft
Source GLSL 110
Source GLSL 140
Name 4 "main"
Name 9 "white"
Name 12 "black"

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 21 38
ExecutionMode 4 OriginLowerLeft
Source GLSL 110
Source GLSL 140
Name 4 "main"
Name 9 "white"
Name 12 "black"

View file

@ -1,24 +1,31 @@
spv.branch-return.vert
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
Linked vertex stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 35
// Id's are bound by 39
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 8 19 34
Source ESSL 300
EntryPoint Vertex 4 "main" 8 20 38
Source ESSL 310
Name 4 "main"
Name 8 "gl_InstanceID"
Name 19 "gl_Position"
Name 34 "gl_VertexID"
Name 18 "gl_PerVertex"
MemberName 18(gl_PerVertex) 0 "gl_Position"
MemberName 18(gl_PerVertex) 1 "gl_PointSize"
Name 20 ""
Name 38 "gl_VertexID"
Decorate 8(gl_InstanceID) BuiltIn InstanceId
Decorate 19(gl_Position) BuiltIn Position
Decorate 34(gl_VertexID) BuiltIn VertexId
MemberDecorate 18(gl_PerVertex) 0 BuiltIn Position
MemberDecorate 18(gl_PerVertex) 1 BuiltIn PointSize
Decorate 18(gl_PerVertex) Block
Decorate 38(gl_VertexID) BuiltIn VertexId
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
@ -26,15 +33,18 @@ Linked vertex stage:
8(gl_InstanceID): 7(ptr) Variable Input
16: TypeFloat 32
17: TypeVector 16(float) 4
18: TypePointer Output 17(fvec4)
19(gl_Position): 18(ptr) Variable Output
20: 16(float) Constant 0
21: 17(fvec4) ConstantComposite 20 20 20 20
26: 16(float) Constant 1039918957
27: TypeInt 32 0
28: 27(int) Constant 0
29: TypePointer Output 16(float)
34(gl_VertexID): 7(ptr) Variable Input
18(gl_PerVertex): TypeStruct 17(fvec4) 16(float)
19: TypePointer Output 18(gl_PerVertex)
20: 19(ptr) Variable Output
21: 6(int) Constant 0
22: 16(float) Constant 0
23: 17(fvec4) ConstantComposite 22 22 22 22
24: TypePointer Output 17(fvec4)
30: 16(float) Constant 1039918957
31: TypeInt 32 0
32: 31(int) Constant 0
33: TypePointer Output 16(float)
38(gl_VertexID): 7(ptr) Variable Input
4(main): 2 Function None 3
5: Label
9: 6(int) Load 8(gl_InstanceID)
@ -47,17 +57,18 @@ Linked vertex stage:
10: Label
Return
11: Label
Store 19(gl_Position) 21
25: 24(ptr) AccessChain 20 21
Store 25 23
Branch 14
12: Label
Return
13: Label
Return
14: Label
30: 29(ptr) AccessChain 19(gl_Position) 28
31: 16(float) Load 30
32: 16(float) FAdd 31 26
33: 29(ptr) AccessChain 19(gl_Position) 28
Store 33 32
34: 33(ptr) AccessChain 20 21 32
35: 16(float) Load 34
36: 16(float) FAdd 35 30
37: 33(ptr) AccessChain 20 21 32
Store 37 36
Return
FunctionEnd

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 39 53 157 322 446 448 450 452 454
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 8 "b"
Name 11 "u_i"

View file

@ -1,6 +1,4 @@
spv.dataOut.frag
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
@ -14,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 12 16
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 12 "gl_FragData"
Name 16 "Color"

View file

@ -1,6 +1,4 @@
spv.dataOutIndirect.frag
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
@ -14,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 12 18
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 12 "gl_FragData"
Name 15 "i"

View file

@ -1,6 +1,5 @@
spv.dataOutIndirect.vert
WARNING: 0:3: attribute deprecated in version 130; may be removed in future release
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
Linked vertex stage:
@ -8,21 +7,23 @@ Linked vertex stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 40
// Id's are bound by 41
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 25 28 34 39
Source GLSL 130
EntryPoint Vertex 4 "main" 25 28 34 39 40
Source GLSL 140
Name 4 "main"
Name 8 "i"
Name 25 "colorOut"
Name 28 "color"
Name 34 "gl_Position"
Name 39 "gl_VertexID"
Name 40 "gl_InstanceID"
Decorate 34(gl_Position) BuiltIn Position
Decorate 39(gl_VertexID) BuiltIn VertexId
Decorate 40(gl_InstanceID) BuiltIn InstanceId
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
@ -44,6 +45,7 @@ Linked vertex stage:
35: 6(int) Constant 2
38: TypePointer Input 6(int)
39(gl_VertexID): 38(ptr) Variable Input
40(gl_InstanceID): 38(ptr) Variable Input
4(main): 2 Function None 3
5: Label
8(i): 7(ptr) Variable Function

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 21 59
ExecutionMode 4 OriginLowerLeft
Source GLSL 110
Source GLSL 140
Name 4 "main"
Name 9 "white"
Name 12 "black"

View file

@ -1,4 +1,6 @@
spv.do-simple.vert
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
Linked vertex stage:
@ -11,7 +13,7 @@ Linked vertex stage:
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 22 23
Source ESSL 300
Source ESSL 310
Name 4 "main"
Name 8 "i"
Name 22 "gl_VertexID"

View file

@ -1,4 +1,6 @@
spv.do-while-continue-break.vert
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
Linked vertex stage:
@ -11,7 +13,7 @@ Linked vertex stage:
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 44 45
Source ESSL 300
Source ESSL 310
Name 4 "main"
Name 8 "i"
Name 14 "A"

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 11 33
ExecutionMode 4 OriginLowerLeft
Source GLSL 110
Source GLSL 140
Name 4 "main"
Name 9 "color"
Name 11 "BaseColor"

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 11 18 107
ExecutionMode 4 OriginLowerLeft
Source GLSL 110
Source GLSL 140
Name 4 "main"
Name 9 "color"
Name 11 "BaseColor"

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 11 18 37
ExecutionMode 4 OriginLowerLeft
Source GLSL 120
Source GLSL 140
Name 4 "main"
Name 9 "color"
Name 11 "BaseColor"

View file

@ -1,4 +1,6 @@
spv.for-continue-break.vert
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
Linked vertex stage:
@ -11,7 +13,7 @@ Linked vertex stage:
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 46 47
Source ESSL 300
Source ESSL 310
Name 4 "main"
Name 8 "i"
Name 19 "A"

View file

@ -1,4 +1,6 @@
spv.for-simple.vert
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
Linked vertex stage:
@ -11,7 +13,7 @@ Linked vertex stage:
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 25 26
Source ESSL 300
Source ESSL 310
Name 4 "main"
Name 8 "i"
Name 19 "j"

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 11 37 105
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 9 "color"
Name 11 "BaseColor"

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 20 30
ExecutionMode 4 OriginLowerLeft
Source ESSL 100
Source GLSL 140
Name 4 "main"
Name 6 "bar("
Name 10 "unreachableReturn("
@ -25,12 +25,6 @@ Linked fragment stage:
Name 30 "gl_FragColor"
Name 36 "d"
Name 60 "bigColor"
Decorate 18(color) RelaxedPrecision
Decorate 20(BaseColor) RelaxedPrecision
Decorate 27(f) RelaxedPrecision
Decorate 30(gl_FragColor) RelaxedPrecision
Decorate 36(d) RelaxedPrecision
Decorate 60(bigColor) RelaxedPrecision
2: TypeVoid
3: TypeFunction 2
8: TypeFloat 32

View file

@ -1,6 +1,4 @@
spv.functionCall.frag
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
@ -14,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 58 69
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 11 "foo(vf4;"
Name 10 "bar"

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 14 26
ExecutionMode 4 OriginLowerLeft
Source GLSL 120
Source GLSL 140
Name 4 "main"
Name 9 "t"
Name 14 "v"

View file

@ -1,7 +1,4 @@
spv.localAggregates.frag
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
WARNING: 0:5: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
@ -15,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 40 98 108
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 8 "s1"
MemberName 8(s1) 0 "i"

View file

@ -1,6 +1,4 @@
spv.loops.frag
WARNING: 0:14: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
@ -14,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 11 616
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 9 "color"
Name 11 "BaseColor"

View file

@ -1,6 +1,4 @@
spv.loopsArtificial.frag
WARNING: 0:14: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
@ -14,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 11 141
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 9 "color"
Name 11 "BaseColor"

View file

@ -5,13 +5,13 @@ Linked vertex stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 96
// Id's are bound by 97
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 72 76 95
Source GLSL 130
EntryPoint Vertex 4 "main" 72 76 95 96
Source GLSL 140
Name 4 "main"
Name 14 "xf(mf33;vf3;"
Name 12 "m"
@ -31,8 +31,10 @@ Linked vertex stage:
Name 84 "param"
Name 86 "param"
Name 95 "gl_VertexID"
Name 96 "gl_InstanceID"
Decorate 72(gl_Position) BuiltIn Position
Decorate 95(gl_VertexID) BuiltIn VertexId
Decorate 96(gl_InstanceID) BuiltIn InstanceId
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -63,6 +65,7 @@ Linked vertex stage:
83(m3): 82(ptr) Variable UniformConstant
94: TypePointer Input 33(int)
95(gl_VertexID): 94(ptr) Variable Input
96(gl_InstanceID): 94(ptr) Variable Input
4(main): 2 Function None 3
5: Label
77(param): 18(ptr) Variable Function

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 12 14 28 140 148 166
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 10 "sum34"
Name 12 "m1"

View file

@ -1,17 +1,20 @@
spv.nonSquare.vert
WARNING: 0:3: attribute deprecated in version 130; may be removed in future release
WARNING: 0:4: attribute deprecated in version 130; may be removed in future release
Linked vertex stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 90
// Id's are bound by 94
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 12 28 55
Source GLSL 120
EntryPoint Vertex 4 "main" 12 28 55 92 93
Source GLSL 140
Name 4 "main"
Name 9 "a"
Name 12 "v3"
@ -20,7 +23,11 @@ Linked vertex stage:
Name 22 "m32"
Name 28 "gl_Position"
Name 55 "v4"
Name 92 "gl_VertexID"
Name 93 "gl_InstanceID"
Decorate 28(gl_Position) BuiltIn Position
Decorate 92(gl_VertexID) BuiltIn VertexId
Decorate 93(gl_InstanceID) BuiltIn InstanceId
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -83,6 +90,10 @@ Linked vertex stage:
87: 6(float) Constant 1090519040
88: 7(fvec2) ConstantComposite 86 87
89: 79 ConstantComposite 82 84 85 88
90: TypeInt 32 1
91: TypePointer Input 90(int)
92(gl_VertexID): 91(ptr) Variable Input
93(gl_InstanceID): 91(ptr) Variable Input
4(main): 2 Function None 3
5: Label
9(a): 8(ptr) Variable Function

View file

@ -1,4 +1,6 @@
spv.precision.frag
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
Linked fragment stage:
@ -12,7 +14,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 23 59 61 73
ExecutionMode 4 OriginLowerLeft
Source ESSL 300
Source ESSL 310
Name 4 "main"
Name 12 "foo(vf3;"
Name 11 "mv3"

View file

@ -1,6 +1,4 @@
spv.simpleFunctionCall.frag
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
Linked fragment stage:

View file

@ -1,6 +1,4 @@
spv.structAssignment.frag
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
@ -14,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 31 44
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 8 "lunarStruct1"
MemberName 8(lunarStruct1) 0 "i"

View file

@ -1,6 +1,4 @@
spv.structDeref.frag
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
@ -14,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 61 99
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 8 "s0"
MemberName 8(s0) 0 "i"

View file

@ -1,6 +1,4 @@
spv.structure.frag
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
@ -14,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 45 54
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 8 "scale"
Name 18 "lunarStruct1"

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 30 69
ExecutionMode 4 OriginLowerLeft
Source GLSL 110
Source GLSL 140
Name 4 "main"
Name 8 "blendscale"
Name 12 "w"

View file

@ -7,13 +7,13 @@ Linked vertex stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 27
// Id's are bound by 28
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 9 11 15 21 26
Source GLSL 130
EntryPoint Vertex 4 "main" 9 11 15 21 26 27
Source GLSL 140
Name 4 "main"
Name 9 "uv"
Name 11 "uv_in"
@ -21,8 +21,10 @@ Linked vertex stage:
Name 18 "transform"
Name 21 "position"
Name 26 "gl_VertexID"
Name 27 "gl_InstanceID"
Decorate 15(gl_Position) BuiltIn Position
Decorate 26(gl_VertexID) BuiltIn VertexId
Decorate 27(gl_InstanceID) BuiltIn InstanceId
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -42,6 +44,7 @@ Linked vertex stage:
24: TypeInt 32 1
25: TypePointer Input 24(int)
26(gl_VertexID): 25(ptr) Variable Input
27(gl_InstanceID): 25(ptr) Variable Input
4(main): 2 Function None 3
5: Label
12: 7(fvec2) Load 11(uv_in)

View file

@ -1,7 +1,4 @@
spv.texture.frag
WARNING: 0:14: varying deprecated in version 130; may be removed in future release
WARNING: 0:15: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
@ -15,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 47 276 290
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 8 "blendscale"
Name 10 "bias"

View file

@ -5,13 +5,13 @@ Linked vertex stage:
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 145
// Id's are bound by 146
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 39 140 144
Source GLSL 130
EntryPoint Vertex 4 "main" 39 140 144 145
Source GLSL 140
Name 4 "main"
Name 8 "lod"
Name 10 "coords1D"
@ -27,8 +27,10 @@ Linked vertex stage:
Name 114 "shadowSampler2D"
Name 140 "gl_Position"
Name 144 "gl_VertexID"
Name 145 "gl_InstanceID"
Decorate 140(gl_Position) BuiltIn Position
Decorate 144(gl_VertexID) BuiltIn VertexId
Decorate 145(gl_InstanceID) BuiltIn InstanceId
2: TypeVoid
3: TypeFunction 2
6: TypeFloat 32
@ -78,6 +80,7 @@ Linked vertex stage:
142: TypeInt 32 1
143: TypePointer Input 142(int)
144(gl_VertexID): 143(ptr) Variable Input
145(gl_InstanceID): 143(ptr) Variable Input
4(main): 2 Function None 3
5: Label
8(lod): 7(ptr) Variable Function

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 94 104 114 124 134 144 154 164 168
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 8 "b"
Name 10 "u_b"

View file

@ -1,4 +1,6 @@
spv.uint.frag
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
Linked fragment stage:
@ -12,7 +14,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 15 68 77 200
ExecutionMode 4 OriginLowerLeft
Source ESSL 300
Source ESSL 310
Name 4 "main"
Name 8 "count"
Name 12 "u"

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 47
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 9 "texColor"
Name 14 "color"

View file

@ -1,6 +1,4 @@
spv.variableArrayIndex.frag
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
@ -14,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 54 63
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 8 "iLocal"
Name 10 "Count"

View file

@ -1,9 +1,4 @@
spv.varyingArray.frag
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
WARNING: 0:6: varying deprecated in version 130; may be removed in future release
WARNING: 0:8: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
@ -17,11 +12,11 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 19 34 39 45 48
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 9 "texColor"
Name 13 "texSampler2D"
Name 19 "gl_TexCoord"
Name 19 "TexCoord"
Name 34 "color"
Name 39 "alpha"
Name 45 "gl_FragColor"
@ -39,7 +34,7 @@ Linked fragment stage:
16: 15(int) Constant 6
17: TypeArray 7(fvec4) 16
18: TypePointer Input 17
19(gl_TexCoord): 18(ptr) Variable Input
19(TexCoord): 18(ptr) Variable Input
20: TypeInt 32 1
21: 20(int) Constant 4
22: TypePointer Input 7(fvec4)
@ -61,9 +56,9 @@ Linked fragment stage:
5: Label
9(texColor): 8(ptr) Variable Function
14: 11 Load 13(texSampler2D)
23: 22(ptr) AccessChain 19(gl_TexCoord) 21
23: 22(ptr) AccessChain 19(TexCoord) 21
24: 7(fvec4) Load 23
26: 22(ptr) AccessChain 19(gl_TexCoord) 25
26: 22(ptr) AccessChain 19(TexCoord) 25
27: 7(fvec4) Load 26
28: 7(fvec4) FAdd 24 27
30: 6(float) CompositeExtract 28 0
@ -80,10 +75,10 @@ Linked fragment stage:
Store 43 40
50: 22(ptr) AccessChain 48(foo) 49
51: 7(fvec4) Load 50
53: 22(ptr) AccessChain 19(gl_TexCoord) 52
53: 22(ptr) AccessChain 19(TexCoord) 52
54: 7(fvec4) Load 53
55: 7(fvec4) FAdd 51 54
56: 22(ptr) AccessChain 19(gl_TexCoord) 21
56: 22(ptr) AccessChain 19(TexCoord) 21
57: 7(fvec4) Load 56
58: 7(fvec4) FAdd 55 57
59: 7(fvec4) Load 9(texColor)

View file

@ -1,9 +1,4 @@
spv.varyingArrayIndirect.frag
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
WARNING: 0:6: varying deprecated in version 130; may be removed in future release
WARNING: 0:8: varying deprecated in version 130; may be removed in future release
Linked fragment stage:
@ -17,13 +12,13 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 19 30 45 50 56
ExecutionMode 4 OriginLowerLeft
Source GLSL 130
Source GLSL 140
Name 4 "main"
Name 9 "texColor"
Name 13 "texSampler2D"
Name 19 "userIn"
Name 22 "b"
Name 30 "gl_TexCoord"
Name 30 "TexCoord"
Name 31 "a"
Name 45 "color"
Name 50 "alpha"
@ -49,7 +44,7 @@ Linked fragment stage:
27: 15(int) Constant 6
28: TypeArray 7(fvec4) 27
29: TypePointer Input 28
30(gl_TexCoord): 29(ptr) Variable Input
30(TexCoord): 29(ptr) Variable Input
31(a): 21(ptr) Variable UniformConstant
36: 20(int) Constant 5
40: TypeVector 6(float) 2
@ -69,10 +64,10 @@ Linked fragment stage:
25: 24(ptr) AccessChain 19(userIn) 23
26: 7(fvec4) Load 25
32: 20(int) Load 31(a)
33: 24(ptr) AccessChain 30(gl_TexCoord) 32
33: 24(ptr) AccessChain 30(TexCoord) 32
34: 7(fvec4) Load 33
35: 7(fvec4) FAdd 26 34
37: 24(ptr) AccessChain 30(gl_TexCoord) 36
37: 24(ptr) AccessChain 30(TexCoord) 36
38: 7(fvec4) Load 37
39: 7(fvec4) FAdd 35 38
41: 6(float) CompositeExtract 39 0
@ -87,10 +82,10 @@ Linked fragment stage:
51: 6(float) Load 50(alpha)
54: 53(ptr) AccessChain 9(texColor) 52
Store 54 51
58: 24(ptr) AccessChain 30(gl_TexCoord) 57
58: 24(ptr) AccessChain 30(TexCoord) 57
59: 7(fvec4) Load 58
60: 20(int) Load 22(b)
61: 24(ptr) AccessChain 30(gl_TexCoord) 60
61: 24(ptr) AccessChain 30(TexCoord) 60
62: 7(fvec4) Load 61
63: 7(fvec4) FAdd 59 62
64: 7(fvec4) Load 9(texColor)

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 37 41
ExecutionMode 4 OriginLowerLeft
Source GLSL 120
Source GLSL 140
Name 4 "main"
Name 6 "foo("
Name 8 "foo2("

View file

@ -1,4 +1,6 @@
spv.while-continue-break.vert
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
Linked vertex stage:
@ -11,7 +13,7 @@ Linked vertex stage:
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 42 43
Source ESSL 300
Source ESSL 310
Name 4 "main"
Name 8 "i"
Name 19 "A"

View file

@ -1,4 +1,6 @@
spv.while-simple.vert
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
Linked vertex stage:
@ -11,7 +13,7 @@ Linked vertex stage:
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 23 24
Source ESSL 300
Source ESSL 310
Name 4 "main"
Name 8 "i"
Name 23 "gl_VertexID"

View file

@ -12,7 +12,7 @@ Linked fragment stage:
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 11 34
ExecutionMode 4 OriginLowerLeft
Source GLSL 110
Source GLSL 140
Name 4 "main"
Name 9 "color"
Name 11 "BaseColor"