зеркало из https://github.com/stride3d/xkslang.git
SPV: Require desktop 140 or ES 310 or above.
This commit is contained in:
Родитель
4bfeed5fe8
Коммит
f6eae2a54a
|
@ -1,4 +1,6 @@
|
||||||
spv.100ops.frag
|
spv.100ops.frag
|
||||||
|
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -12,7 +14,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 36
|
EntryPoint Fragment 4 "main" 36
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source ESSL 100
|
Source ESSL 310
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "foo("
|
Name 8 "foo("
|
||||||
Name 11 "face1"
|
Name 11 "face1"
|
||||||
|
@ -20,13 +22,13 @@ Linked fragment stage:
|
||||||
Name 17 "z"
|
Name 17 "z"
|
||||||
Name 21 "low"
|
Name 21 "low"
|
||||||
Name 26 "high"
|
Name 26 "high"
|
||||||
Name 36 "gl_FragColor"
|
Name 36 "Color"
|
||||||
Decorate 11(face1) RelaxedPrecision
|
Decorate 11(face1) RelaxedPrecision
|
||||||
Decorate 13(face2) RelaxedPrecision
|
Decorate 13(face2) RelaxedPrecision
|
||||||
Decorate 17(z) RelaxedPrecision
|
Decorate 17(z) RelaxedPrecision
|
||||||
Decorate 21(low) RelaxedPrecision
|
Decorate 21(low) RelaxedPrecision
|
||||||
Decorate 26(high) RelaxedPrecision
|
Decorate 26(high) RelaxedPrecision
|
||||||
Decorate 36(gl_FragColor) RelaxedPrecision
|
Decorate 36(Color) RelaxedPrecision
|
||||||
2: TypeVoid
|
2: TypeVoid
|
||||||
3: TypeFunction 2
|
3: TypeFunction 2
|
||||||
6: TypeFloat 32
|
6: TypeFloat 32
|
||||||
|
@ -47,7 +49,7 @@ Linked fragment stage:
|
||||||
28: TypeBool
|
28: TypeBool
|
||||||
34: TypeVector 6(float) 4
|
34: TypeVector 6(float) 4
|
||||||
35: TypePointer Output 34(fvec4)
|
35: TypePointer Output 34(fvec4)
|
||||||
36(gl_FragColor): 35(ptr) Variable Output
|
36(Color): 35(ptr) Variable Output
|
||||||
4(main): 2 Function None 3
|
4(main): 2 Function None 3
|
||||||
5: Label
|
5: Label
|
||||||
17(z): 16(ptr) Variable Function
|
17(z): 16(ptr) Variable Function
|
||||||
|
@ -75,7 +77,7 @@ Linked fragment stage:
|
||||||
42: 6(float) FunctionCall 8(foo()
|
42: 6(float) FunctionCall 8(foo()
|
||||||
43: 34(fvec4) CompositeConstruct 42 42 42 42
|
43: 34(fvec4) CompositeConstruct 42 42 42 42
|
||||||
44: 34(fvec4) FAdd 41 43
|
44: 34(fvec4) FAdd 41 43
|
||||||
Store 36(gl_FragColor) 44
|
Store 36(Color) 44
|
||||||
Return
|
Return
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
8(foo(): 6(float) Function None 7
|
8(foo(): 6(float) Function None 7
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
spv.130.frag
|
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:
|
Linked fragment stage:
|
||||||
|
@ -7,14 +7,14 @@ Linked fragment stage:
|
||||||
|
|
||||||
// Module Version 10000
|
// Module Version 10000
|
||||||
// Generated by (magic number): 80001
|
// Generated by (magic number): 80001
|
||||||
// Id's are bound by 214
|
// Id's are bound by 213
|
||||||
|
|
||||||
Capability Shader
|
Capability Shader
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
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
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
SourceExtension "GL_ARB_gpu_shader5"
|
SourceExtension "GL_ARB_gpu_shader5"
|
||||||
SourceExtension "GL_ARB_shader_texture_lod"
|
SourceExtension "GL_ARB_shader_texture_lod"
|
||||||
SourceExtension "GL_ARB_shading_language_420pack"
|
SourceExtension "GL_ARB_shading_language_420pack"
|
||||||
|
@ -50,21 +50,20 @@ Linked fragment stage:
|
||||||
Name 184 "fflat"
|
Name 184 "fflat"
|
||||||
Name 185 "fsmooth"
|
Name 185 "fsmooth"
|
||||||
Name 186 "fnop"
|
Name 186 "fnop"
|
||||||
Name 187 "gl_Color"
|
Name 193 "bounds"
|
||||||
Name 194 "bounds"
|
Name 194 "s2D"
|
||||||
Name 195 "s2D"
|
Name 195 "s2DR"
|
||||||
Name 196 "s2DR"
|
Name 199 "s2DRS"
|
||||||
Name 200 "s2DRS"
|
Name 203 "s1D"
|
||||||
Name 204 "s1D"
|
Name 204 "s2DS"
|
||||||
Name 205 "s2DS"
|
Name 206 "f"
|
||||||
Name 207 "f"
|
Name 208 "v2"
|
||||||
Name 209 "v2"
|
Name 210 "v3"
|
||||||
Name 211 "v3"
|
Name 212 "v4"
|
||||||
Name 213 "v4"
|
|
||||||
Decorate 173(gl_ClipDistance) BuiltIn ClipDistance
|
Decorate 173(gl_ClipDistance) BuiltIn ClipDistance
|
||||||
Decorate 184(fflat) Flat
|
Decorate 184(fflat) Flat
|
||||||
Decorate 186(fnop) NoPerspective
|
Decorate 186(fnop) NoPerspective
|
||||||
Decorate 194(bounds) Binding 0
|
Decorate 193(bounds) Binding 0
|
||||||
2: TypeVoid
|
2: TypeVoid
|
||||||
3: TypeFunction 2
|
3: TypeFunction 2
|
||||||
14: TypeFloat 32
|
14: TypeFloat 32
|
||||||
|
@ -155,33 +154,32 @@ Linked fragment stage:
|
||||||
184(fflat): 128(ptr) Variable Input
|
184(fflat): 128(ptr) Variable Input
|
||||||
185(fsmooth): 128(ptr) Variable Input
|
185(fsmooth): 128(ptr) Variable Input
|
||||||
186(fnop): 128(ptr) Variable Input
|
186(fnop): 128(ptr) Variable Input
|
||||||
187(gl_Color): 78(ptr) Variable Input
|
187: 96(int) Constant 3
|
||||||
188: 96(int) Constant 3
|
188: TypeArray 26(int) 187
|
||||||
189: TypeArray 26(int) 188
|
189: 26(int) Constant 10
|
||||||
190: 26(int) Constant 10
|
190: 26(int) Constant 23
|
||||||
191: 26(int) Constant 23
|
191: 26(int) Constant 32
|
||||||
192: 26(int) Constant 32
|
192: 188 ConstantComposite 189 190 191
|
||||||
193: 189 ConstantComposite 190 191 192
|
193(bounds): 20(ptr) Variable UniformConstant
|
||||||
194(bounds): 20(ptr) Variable UniformConstant
|
194(s2D): 20(ptr) Variable UniformConstant
|
||||||
195(s2D): 20(ptr) Variable UniformConstant
|
195(s2DR): 46(ptr) Variable UniformConstant
|
||||||
196(s2DR): 46(ptr) Variable UniformConstant
|
196: TypeImage 14(float) Rect depth sampled format:Unknown
|
||||||
197: TypeImage 14(float) Rect depth sampled format:Unknown
|
197: TypeSampledImage 196
|
||||||
198: TypeSampledImage 197
|
198: TypePointer UniformConstant 197
|
||||||
199: TypePointer UniformConstant 198
|
199(s2DRS): 198(ptr) Variable UniformConstant
|
||||||
200(s2DRS): 199(ptr) Variable UniformConstant
|
200: TypeImage 14(float) 1D sampled format:Unknown
|
||||||
201: TypeImage 14(float) 1D sampled format:Unknown
|
201: TypeSampledImage 200
|
||||||
202: TypeSampledImage 201
|
202: TypePointer UniformConstant 201
|
||||||
203: TypePointer UniformConstant 202
|
203(s1D): 202(ptr) Variable UniformConstant
|
||||||
204(s1D): 203(ptr) Variable UniformConstant
|
204(s2DS): 54(ptr) Variable UniformConstant
|
||||||
205(s2DS): 54(ptr) Variable UniformConstant
|
205: TypePointer UniformConstant 14(float)
|
||||||
206: TypePointer UniformConstant 14(float)
|
206(f): 205(ptr) Variable UniformConstant
|
||||||
207(f): 206(ptr) Variable UniformConstant
|
207: TypePointer UniformConstant 23(fvec2)
|
||||||
208: TypePointer UniformConstant 23(fvec2)
|
208(v2): 207(ptr) Variable UniformConstant
|
||||||
209(v2): 208(ptr) Variable UniformConstant
|
209: TypePointer UniformConstant 39(fvec3)
|
||||||
210: TypePointer UniformConstant 39(fvec3)
|
210(v3): 209(ptr) Variable UniformConstant
|
||||||
211(v3): 210(ptr) Variable UniformConstant
|
211: TypePointer UniformConstant 15(fvec4)
|
||||||
212: TypePointer UniformConstant 15(fvec4)
|
212(v4): 211(ptr) Variable UniformConstant
|
||||||
213(v4): 212(ptr) Variable UniformConstant
|
|
||||||
4(main): 2 Function None 3
|
4(main): 2 Function None 3
|
||||||
5: Label
|
5: Label
|
||||||
168: 165 Load 167(sampC)
|
168: 165 Load 167(sampC)
|
||||||
|
|
|
@ -1,33 +1,38 @@
|
||||||
spv.300BuiltIns.vert
|
spv.300BuiltIns.vert
|
||||||
|
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked vertex stage:
|
Linked vertex stage:
|
||||||
|
|
||||||
|
|
||||||
// Module Version 10000
|
// Module Version 10000
|
||||||
// Generated by (magic number): 80001
|
// Generated by (magic number): 80001
|
||||||
// Id's are bound by 40
|
// Id's are bound by 49
|
||||||
|
|
||||||
Capability Shader
|
Capability Shader
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 11 23 25 33 39
|
EntryPoint Vertex 4 "main" 11 24 27 48
|
||||||
Source ESSL 300
|
Source ESSL 310
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "i"
|
Name 8 "i"
|
||||||
Name 11 "gl_VertexID"
|
Name 11 "gl_VertexID"
|
||||||
Name 16 "j"
|
Name 16 "j"
|
||||||
Name 23 "gl_Position"
|
Name 22 "gl_PerVertex"
|
||||||
Name 25 "ps"
|
MemberName 22(gl_PerVertex) 0 "gl_Position"
|
||||||
Name 33 "gl_PointSize"
|
MemberName 22(gl_PerVertex) 1 "gl_PointSize"
|
||||||
Name 39 "gl_InstanceID"
|
Name 24 ""
|
||||||
|
Name 27 "ps"
|
||||||
|
Name 48 "gl_InstanceID"
|
||||||
Decorate 8(i) RelaxedPrecision
|
Decorate 8(i) RelaxedPrecision
|
||||||
Decorate 11(gl_VertexID) BuiltIn VertexId
|
Decorate 11(gl_VertexID) BuiltIn VertexId
|
||||||
Decorate 16(j) RelaxedPrecision
|
Decorate 16(j) RelaxedPrecision
|
||||||
Decorate 23(gl_Position) Invariant
|
MemberDecorate 22(gl_PerVertex) 0 Invariant
|
||||||
Decorate 23(gl_Position) BuiltIn Position
|
MemberDecorate 22(gl_PerVertex) 0 BuiltIn Position
|
||||||
Decorate 25(ps) RelaxedPrecision
|
MemberDecorate 22(gl_PerVertex) 1 BuiltIn PointSize
|
||||||
Decorate 33(gl_PointSize) BuiltIn PointSize
|
Decorate 22(gl_PerVertex) Block
|
||||||
Decorate 39(gl_InstanceID) BuiltIn InstanceId
|
Decorate 27(ps) RelaxedPrecision
|
||||||
|
Decorate 48(gl_InstanceID) BuiltIn InstanceId
|
||||||
2: TypeVoid
|
2: TypeVoid
|
||||||
3: TypeFunction 2
|
3: TypeFunction 2
|
||||||
6: TypeInt 32 1
|
6: TypeInt 32 1
|
||||||
|
@ -38,13 +43,16 @@ Linked vertex stage:
|
||||||
14: 6(int) Constant 10
|
14: 6(int) Constant 10
|
||||||
20: TypeFloat 32
|
20: TypeFloat 32
|
||||||
21: TypeVector 20(float) 4
|
21: TypeVector 20(float) 4
|
||||||
22: TypePointer Output 21(fvec4)
|
22(gl_PerVertex): TypeStruct 21(fvec4) 20(float)
|
||||||
23(gl_Position): 22(ptr) Variable Output
|
23: TypePointer Output 22(gl_PerVertex)
|
||||||
24: TypePointer Input 20(float)
|
24: 23(ptr) Variable Output
|
||||||
25(ps): 24(ptr) Variable Input
|
25: 6(int) Constant 0
|
||||||
32: TypePointer Output 20(float)
|
26: TypePointer Input 20(float)
|
||||||
33(gl_PointSize): 32(ptr) Variable Output
|
27(ps): 26(ptr) Variable Input
|
||||||
39(gl_InstanceID): 10(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
|
4(main): 2 Function None 3
|
||||||
5: Label
|
5: Label
|
||||||
8(i): 7(ptr) Variable Function
|
8(i): 7(ptr) Variable Function
|
||||||
|
@ -57,20 +65,26 @@ Linked vertex stage:
|
||||||
18: 6(int) IMul 9 17
|
18: 6(int) IMul 9 17
|
||||||
19: 6(int) ISub 18 14
|
19: 6(int) ISub 18 14
|
||||||
Store 16(j) 19
|
Store 16(j) 19
|
||||||
26: 20(float) Load 25(ps)
|
28: 20(float) Load 27(ps)
|
||||||
27: 21(fvec4) CompositeConstruct 26 26 26 26
|
29: 21(fvec4) CompositeConstruct 28 28 28 28
|
||||||
Store 23(gl_Position) 27
|
31: 30(ptr) AccessChain 24 25
|
||||||
28: 6(int) Load 8(i)
|
Store 31 29
|
||||||
29: 20(float) ConvertSToF 28
|
32: 6(int) Load 8(i)
|
||||||
30: 21(fvec4) Load 23(gl_Position)
|
33: 20(float) ConvertSToF 32
|
||||||
31: 21(fvec4) VectorTimesScalar 30 29
|
34: 30(ptr) AccessChain 24 25
|
||||||
Store 23(gl_Position) 31
|
35: 21(fvec4) Load 34
|
||||||
34: 20(float) Load 25(ps)
|
36: 21(fvec4) VectorTimesScalar 35 33
|
||||||
Store 33(gl_PointSize) 34
|
37: 30(ptr) AccessChain 24 25
|
||||||
35: 6(int) Load 16(j)
|
Store 37 36
|
||||||
36: 20(float) ConvertSToF 35
|
39: 20(float) Load 27(ps)
|
||||||
37: 20(float) Load 33(gl_PointSize)
|
41: 40(ptr) AccessChain 24 38
|
||||||
38: 20(float) FMul 37 36
|
Store 41 39
|
||||||
Store 33(gl_PointSize) 38
|
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
|
Return
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
spv.300layout.frag
|
spv.300layout.frag
|
||||||
|
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -12,7 +14,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 9 11 15 26 29
|
EntryPoint Fragment 4 "main" 9 11 15 26 29
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source ESSL 300
|
Source ESSL 310
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "c"
|
Name 9 "c"
|
||||||
Name 11 "color"
|
Name 11 "color"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
spv.300layout.vert
|
spv.300layout.vert
|
||||||
|
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked vertex stage:
|
Linked vertex stage:
|
||||||
|
|
||||||
|
@ -11,7 +13,7 @@ Linked vertex stage:
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 9 11 99 101 109 121 129 163 164
|
EntryPoint Vertex 4 "main" 9 11 99 101 109 121 129 163 164
|
||||||
Source ESSL 300
|
Source ESSL 310
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "pos"
|
Name 9 "pos"
|
||||||
Name 11 "p"
|
Name 11 "p"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
spv.300layoutp.vert
|
spv.300layoutp.vert
|
||||||
|
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked vertex stage:
|
Linked vertex stage:
|
||||||
|
|
||||||
|
@ -11,7 +13,7 @@ Linked vertex stage:
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 9 11 51 53 61 73 81 115 116
|
EntryPoint Vertex 4 "main" 9 11 51 53 61 73 81 115 116
|
||||||
Source ESSL 300
|
Source ESSL 310
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "pos"
|
Name 9 "pos"
|
||||||
Name 11 "p"
|
Name 11 "p"
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 21 59
|
EntryPoint Fragment 4 "main" 21 59
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 110
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "white"
|
Name 9 "white"
|
||||||
Name 12 "black"
|
Name 12 "black"
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 21 38
|
EntryPoint Fragment 4 "main" 21 38
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 110
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "white"
|
Name 9 "white"
|
||||||
Name 12 "black"
|
Name 12 "black"
|
||||||
|
|
|
@ -1,24 +1,31 @@
|
||||||
spv.branch-return.vert
|
spv.branch-return.vert
|
||||||
|
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked vertex stage:
|
Linked vertex stage:
|
||||||
|
|
||||||
|
|
||||||
// Module Version 10000
|
// Module Version 10000
|
||||||
// Generated by (magic number): 80001
|
// Generated by (magic number): 80001
|
||||||
// Id's are bound by 35
|
// Id's are bound by 39
|
||||||
|
|
||||||
Capability Shader
|
Capability Shader
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 8 19 34
|
EntryPoint Vertex 4 "main" 8 20 38
|
||||||
Source ESSL 300
|
Source ESSL 310
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "gl_InstanceID"
|
Name 8 "gl_InstanceID"
|
||||||
Name 19 "gl_Position"
|
Name 18 "gl_PerVertex"
|
||||||
Name 34 "gl_VertexID"
|
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 8(gl_InstanceID) BuiltIn InstanceId
|
||||||
Decorate 19(gl_Position) BuiltIn Position
|
MemberDecorate 18(gl_PerVertex) 0 BuiltIn Position
|
||||||
Decorate 34(gl_VertexID) BuiltIn VertexId
|
MemberDecorate 18(gl_PerVertex) 1 BuiltIn PointSize
|
||||||
|
Decorate 18(gl_PerVertex) Block
|
||||||
|
Decorate 38(gl_VertexID) BuiltIn VertexId
|
||||||
2: TypeVoid
|
2: TypeVoid
|
||||||
3: TypeFunction 2
|
3: TypeFunction 2
|
||||||
6: TypeInt 32 1
|
6: TypeInt 32 1
|
||||||
|
@ -26,15 +33,18 @@ Linked vertex stage:
|
||||||
8(gl_InstanceID): 7(ptr) Variable Input
|
8(gl_InstanceID): 7(ptr) Variable Input
|
||||||
16: TypeFloat 32
|
16: TypeFloat 32
|
||||||
17: TypeVector 16(float) 4
|
17: TypeVector 16(float) 4
|
||||||
18: TypePointer Output 17(fvec4)
|
18(gl_PerVertex): TypeStruct 17(fvec4) 16(float)
|
||||||
19(gl_Position): 18(ptr) Variable Output
|
19: TypePointer Output 18(gl_PerVertex)
|
||||||
20: 16(float) Constant 0
|
20: 19(ptr) Variable Output
|
||||||
21: 17(fvec4) ConstantComposite 20 20 20 20
|
21: 6(int) Constant 0
|
||||||
26: 16(float) Constant 1039918957
|
22: 16(float) Constant 0
|
||||||
27: TypeInt 32 0
|
23: 17(fvec4) ConstantComposite 22 22 22 22
|
||||||
28: 27(int) Constant 0
|
24: TypePointer Output 17(fvec4)
|
||||||
29: TypePointer Output 16(float)
|
30: 16(float) Constant 1039918957
|
||||||
34(gl_VertexID): 7(ptr) Variable Input
|
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
|
4(main): 2 Function None 3
|
||||||
5: Label
|
5: Label
|
||||||
9: 6(int) Load 8(gl_InstanceID)
|
9: 6(int) Load 8(gl_InstanceID)
|
||||||
|
@ -47,17 +57,18 @@ Linked vertex stage:
|
||||||
10: Label
|
10: Label
|
||||||
Return
|
Return
|
||||||
11: Label
|
11: Label
|
||||||
Store 19(gl_Position) 21
|
25: 24(ptr) AccessChain 20 21
|
||||||
|
Store 25 23
|
||||||
Branch 14
|
Branch 14
|
||||||
12: Label
|
12: Label
|
||||||
Return
|
Return
|
||||||
13: Label
|
13: Label
|
||||||
Return
|
Return
|
||||||
14: Label
|
14: Label
|
||||||
30: 29(ptr) AccessChain 19(gl_Position) 28
|
34: 33(ptr) AccessChain 20 21 32
|
||||||
31: 16(float) Load 30
|
35: 16(float) Load 34
|
||||||
32: 16(float) FAdd 31 26
|
36: 16(float) FAdd 35 30
|
||||||
33: 29(ptr) AccessChain 19(gl_Position) 28
|
37: 33(ptr) AccessChain 20 21 32
|
||||||
Store 33 32
|
Store 37 36
|
||||||
Return
|
Return
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 39 53 157 322 446 448 450 452 454
|
EntryPoint Fragment 4 "main" 39 53 157 322 446 448 450 452 454
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "b"
|
Name 8 "b"
|
||||||
Name 11 "u_i"
|
Name 11 "u_i"
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
spv.dataOut.frag
|
spv.dataOut.frag
|
||||||
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
|
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -14,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 12 16
|
EntryPoint Fragment 4 "main" 12 16
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 12 "gl_FragData"
|
Name 12 "gl_FragData"
|
||||||
Name 16 "Color"
|
Name 16 "Color"
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
spv.dataOutIndirect.frag
|
spv.dataOutIndirect.frag
|
||||||
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
|
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -14,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 12 18
|
EntryPoint Fragment 4 "main" 12 18
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 12 "gl_FragData"
|
Name 12 "gl_FragData"
|
||||||
Name 15 "i"
|
Name 15 "i"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
spv.dataOutIndirect.vert
|
spv.dataOutIndirect.vert
|
||||||
WARNING: 0:3: attribute deprecated in version 130; may be removed in future release
|
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:
|
Linked vertex stage:
|
||||||
|
@ -8,21 +7,23 @@ Linked vertex stage:
|
||||||
|
|
||||||
// Module Version 10000
|
// Module Version 10000
|
||||||
// Generated by (magic number): 80001
|
// Generated by (magic number): 80001
|
||||||
// Id's are bound by 40
|
// Id's are bound by 41
|
||||||
|
|
||||||
Capability Shader
|
Capability Shader
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 25 28 34 39
|
EntryPoint Vertex 4 "main" 25 28 34 39 40
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "i"
|
Name 8 "i"
|
||||||
Name 25 "colorOut"
|
Name 25 "colorOut"
|
||||||
Name 28 "color"
|
Name 28 "color"
|
||||||
Name 34 "gl_Position"
|
Name 34 "gl_Position"
|
||||||
Name 39 "gl_VertexID"
|
Name 39 "gl_VertexID"
|
||||||
|
Name 40 "gl_InstanceID"
|
||||||
Decorate 34(gl_Position) BuiltIn Position
|
Decorate 34(gl_Position) BuiltIn Position
|
||||||
Decorate 39(gl_VertexID) BuiltIn VertexId
|
Decorate 39(gl_VertexID) BuiltIn VertexId
|
||||||
|
Decorate 40(gl_InstanceID) BuiltIn InstanceId
|
||||||
2: TypeVoid
|
2: TypeVoid
|
||||||
3: TypeFunction 2
|
3: TypeFunction 2
|
||||||
6: TypeInt 32 1
|
6: TypeInt 32 1
|
||||||
|
@ -44,6 +45,7 @@ Linked vertex stage:
|
||||||
35: 6(int) Constant 2
|
35: 6(int) Constant 2
|
||||||
38: TypePointer Input 6(int)
|
38: TypePointer Input 6(int)
|
||||||
39(gl_VertexID): 38(ptr) Variable Input
|
39(gl_VertexID): 38(ptr) Variable Input
|
||||||
|
40(gl_InstanceID): 38(ptr) Variable Input
|
||||||
4(main): 2 Function None 3
|
4(main): 2 Function None 3
|
||||||
5: Label
|
5: Label
|
||||||
8(i): 7(ptr) Variable Function
|
8(i): 7(ptr) Variable Function
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 21 59
|
EntryPoint Fragment 4 "main" 21 59
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 110
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "white"
|
Name 9 "white"
|
||||||
Name 12 "black"
|
Name 12 "black"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
spv.do-simple.vert
|
spv.do-simple.vert
|
||||||
|
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked vertex stage:
|
Linked vertex stage:
|
||||||
|
|
||||||
|
@ -11,7 +13,7 @@ Linked vertex stage:
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 22 23
|
EntryPoint Vertex 4 "main" 22 23
|
||||||
Source ESSL 300
|
Source ESSL 310
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "i"
|
Name 8 "i"
|
||||||
Name 22 "gl_VertexID"
|
Name 22 "gl_VertexID"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
spv.do-while-continue-break.vert
|
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:
|
Linked vertex stage:
|
||||||
|
|
||||||
|
@ -11,7 +13,7 @@ Linked vertex stage:
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 44 45
|
EntryPoint Vertex 4 "main" 44 45
|
||||||
Source ESSL 300
|
Source ESSL 310
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "i"
|
Name 8 "i"
|
||||||
Name 14 "A"
|
Name 14 "A"
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 11 33
|
EntryPoint Fragment 4 "main" 11 33
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 110
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "color"
|
Name 9 "color"
|
||||||
Name 11 "BaseColor"
|
Name 11 "BaseColor"
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 11 18 107
|
EntryPoint Fragment 4 "main" 11 18 107
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 110
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "color"
|
Name 9 "color"
|
||||||
Name 11 "BaseColor"
|
Name 11 "BaseColor"
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 11 18 37
|
EntryPoint Fragment 4 "main" 11 18 37
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 120
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "color"
|
Name 9 "color"
|
||||||
Name 11 "BaseColor"
|
Name 11 "BaseColor"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
spv.for-continue-break.vert
|
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:
|
Linked vertex stage:
|
||||||
|
|
||||||
|
@ -11,7 +13,7 @@ Linked vertex stage:
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 46 47
|
EntryPoint Vertex 4 "main" 46 47
|
||||||
Source ESSL 300
|
Source ESSL 310
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "i"
|
Name 8 "i"
|
||||||
Name 19 "A"
|
Name 19 "A"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
spv.for-simple.vert
|
spv.for-simple.vert
|
||||||
|
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked vertex stage:
|
Linked vertex stage:
|
||||||
|
|
||||||
|
@ -11,7 +13,7 @@ Linked vertex stage:
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 25 26
|
EntryPoint Vertex 4 "main" 25 26
|
||||||
Source ESSL 300
|
Source ESSL 310
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "i"
|
Name 8 "i"
|
||||||
Name 19 "j"
|
Name 19 "j"
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 11 37 105
|
EntryPoint Fragment 4 "main" 11 37 105
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "color"
|
Name 9 "color"
|
||||||
Name 11 "BaseColor"
|
Name 11 "BaseColor"
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 20 30
|
EntryPoint Fragment 4 "main" 20 30
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source ESSL 100
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 6 "bar("
|
Name 6 "bar("
|
||||||
Name 10 "unreachableReturn("
|
Name 10 "unreachableReturn("
|
||||||
|
@ -25,12 +25,6 @@ Linked fragment stage:
|
||||||
Name 30 "gl_FragColor"
|
Name 30 "gl_FragColor"
|
||||||
Name 36 "d"
|
Name 36 "d"
|
||||||
Name 60 "bigColor"
|
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
|
2: TypeVoid
|
||||||
3: TypeFunction 2
|
3: TypeFunction 2
|
||||||
8: TypeFloat 32
|
8: TypeFloat 32
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
spv.functionCall.frag
|
spv.functionCall.frag
|
||||||
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
|
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -14,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 58 69
|
EntryPoint Fragment 4 "main" 58 69
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 11 "foo(vf4;"
|
Name 11 "foo(vf4;"
|
||||||
Name 10 "bar"
|
Name 10 "bar"
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 14 26
|
EntryPoint Fragment 4 "main" 14 26
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 120
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "t"
|
Name 9 "t"
|
||||||
Name 14 "v"
|
Name 14 "v"
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
spv.localAggregates.frag
|
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:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -15,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 40 98 108
|
EntryPoint Fragment 4 "main" 40 98 108
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "s1"
|
Name 8 "s1"
|
||||||
MemberName 8(s1) 0 "i"
|
MemberName 8(s1) 0 "i"
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
spv.loops.frag
|
spv.loops.frag
|
||||||
WARNING: 0:14: varying deprecated in version 130; may be removed in future release
|
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -14,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 11 616
|
EntryPoint Fragment 4 "main" 11 616
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "color"
|
Name 9 "color"
|
||||||
Name 11 "BaseColor"
|
Name 11 "BaseColor"
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
spv.loopsArtificial.frag
|
spv.loopsArtificial.frag
|
||||||
WARNING: 0:14: varying deprecated in version 130; may be removed in future release
|
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -14,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 11 141
|
EntryPoint Fragment 4 "main" 11 141
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "color"
|
Name 9 "color"
|
||||||
Name 11 "BaseColor"
|
Name 11 "BaseColor"
|
||||||
|
|
|
@ -5,13 +5,13 @@ Linked vertex stage:
|
||||||
|
|
||||||
// Module Version 10000
|
// Module Version 10000
|
||||||
// Generated by (magic number): 80001
|
// Generated by (magic number): 80001
|
||||||
// Id's are bound by 96
|
// Id's are bound by 97
|
||||||
|
|
||||||
Capability Shader
|
Capability Shader
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 72 76 95
|
EntryPoint Vertex 4 "main" 72 76 95 96
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 14 "xf(mf33;vf3;"
|
Name 14 "xf(mf33;vf3;"
|
||||||
Name 12 "m"
|
Name 12 "m"
|
||||||
|
@ -31,8 +31,10 @@ Linked vertex stage:
|
||||||
Name 84 "param"
|
Name 84 "param"
|
||||||
Name 86 "param"
|
Name 86 "param"
|
||||||
Name 95 "gl_VertexID"
|
Name 95 "gl_VertexID"
|
||||||
|
Name 96 "gl_InstanceID"
|
||||||
Decorate 72(gl_Position) BuiltIn Position
|
Decorate 72(gl_Position) BuiltIn Position
|
||||||
Decorate 95(gl_VertexID) BuiltIn VertexId
|
Decorate 95(gl_VertexID) BuiltIn VertexId
|
||||||
|
Decorate 96(gl_InstanceID) BuiltIn InstanceId
|
||||||
2: TypeVoid
|
2: TypeVoid
|
||||||
3: TypeFunction 2
|
3: TypeFunction 2
|
||||||
6: TypeFloat 32
|
6: TypeFloat 32
|
||||||
|
@ -63,6 +65,7 @@ Linked vertex stage:
|
||||||
83(m3): 82(ptr) Variable UniformConstant
|
83(m3): 82(ptr) Variable UniformConstant
|
||||||
94: TypePointer Input 33(int)
|
94: TypePointer Input 33(int)
|
||||||
95(gl_VertexID): 94(ptr) Variable Input
|
95(gl_VertexID): 94(ptr) Variable Input
|
||||||
|
96(gl_InstanceID): 94(ptr) Variable Input
|
||||||
4(main): 2 Function None 3
|
4(main): 2 Function None 3
|
||||||
5: Label
|
5: Label
|
||||||
77(param): 18(ptr) Variable Function
|
77(param): 18(ptr) Variable Function
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 12 14 28 140 148 166
|
EntryPoint Fragment 4 "main" 12 14 28 140 148 166
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 10 "sum34"
|
Name 10 "sum34"
|
||||||
Name 12 "m1"
|
Name 12 "m1"
|
||||||
|
|
|
@ -1,17 +1,20 @@
|
||||||
spv.nonSquare.vert
|
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:
|
Linked vertex stage:
|
||||||
|
|
||||||
|
|
||||||
// Module Version 10000
|
// Module Version 10000
|
||||||
// Generated by (magic number): 80001
|
// Generated by (magic number): 80001
|
||||||
// Id's are bound by 90
|
// Id's are bound by 94
|
||||||
|
|
||||||
Capability Shader
|
Capability Shader
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 12 28 55
|
EntryPoint Vertex 4 "main" 12 28 55 92 93
|
||||||
Source GLSL 120
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "a"
|
Name 9 "a"
|
||||||
Name 12 "v3"
|
Name 12 "v3"
|
||||||
|
@ -20,7 +23,11 @@ Linked vertex stage:
|
||||||
Name 22 "m32"
|
Name 22 "m32"
|
||||||
Name 28 "gl_Position"
|
Name 28 "gl_Position"
|
||||||
Name 55 "v4"
|
Name 55 "v4"
|
||||||
|
Name 92 "gl_VertexID"
|
||||||
|
Name 93 "gl_InstanceID"
|
||||||
Decorate 28(gl_Position) BuiltIn Position
|
Decorate 28(gl_Position) BuiltIn Position
|
||||||
|
Decorate 92(gl_VertexID) BuiltIn VertexId
|
||||||
|
Decorate 93(gl_InstanceID) BuiltIn InstanceId
|
||||||
2: TypeVoid
|
2: TypeVoid
|
||||||
3: TypeFunction 2
|
3: TypeFunction 2
|
||||||
6: TypeFloat 32
|
6: TypeFloat 32
|
||||||
|
@ -83,6 +90,10 @@ Linked vertex stage:
|
||||||
87: 6(float) Constant 1090519040
|
87: 6(float) Constant 1090519040
|
||||||
88: 7(fvec2) ConstantComposite 86 87
|
88: 7(fvec2) ConstantComposite 86 87
|
||||||
89: 79 ConstantComposite 82 84 85 88
|
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
|
4(main): 2 Function None 3
|
||||||
5: Label
|
5: Label
|
||||||
9(a): 8(ptr) Variable Function
|
9(a): 8(ptr) Variable Function
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
spv.precision.frag
|
spv.precision.frag
|
||||||
|
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -12,7 +14,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 23 59 61 73
|
EntryPoint Fragment 4 "main" 23 59 61 73
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source ESSL 300
|
Source ESSL 310
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 12 "foo(vf3;"
|
Name 12 "foo(vf3;"
|
||||||
Name 11 "mv3"
|
Name 11 "mv3"
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
spv.simpleFunctionCall.frag
|
spv.simpleFunctionCall.frag
|
||||||
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
|
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
spv.structAssignment.frag
|
spv.structAssignment.frag
|
||||||
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
|
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -14,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 31 44
|
EntryPoint Fragment 4 "main" 31 44
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "lunarStruct1"
|
Name 8 "lunarStruct1"
|
||||||
MemberName 8(lunarStruct1) 0 "i"
|
MemberName 8(lunarStruct1) 0 "i"
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
spv.structDeref.frag
|
spv.structDeref.frag
|
||||||
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
|
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -14,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 61 99
|
EntryPoint Fragment 4 "main" 61 99
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "s0"
|
Name 8 "s0"
|
||||||
MemberName 8(s0) 0 "i"
|
MemberName 8(s0) 0 "i"
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
spv.structure.frag
|
spv.structure.frag
|
||||||
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
|
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -14,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 45 54
|
EntryPoint Fragment 4 "main" 45 54
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "scale"
|
Name 8 "scale"
|
||||||
Name 18 "lunarStruct1"
|
Name 18 "lunarStruct1"
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 30 69
|
EntryPoint Fragment 4 "main" 30 69
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 110
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "blendscale"
|
Name 8 "blendscale"
|
||||||
Name 12 "w"
|
Name 12 "w"
|
||||||
|
|
|
@ -7,13 +7,13 @@ Linked vertex stage:
|
||||||
|
|
||||||
// Module Version 10000
|
// Module Version 10000
|
||||||
// Generated by (magic number): 80001
|
// Generated by (magic number): 80001
|
||||||
// Id's are bound by 27
|
// Id's are bound by 28
|
||||||
|
|
||||||
Capability Shader
|
Capability Shader
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 9 11 15 21 26
|
EntryPoint Vertex 4 "main" 9 11 15 21 26 27
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "uv"
|
Name 9 "uv"
|
||||||
Name 11 "uv_in"
|
Name 11 "uv_in"
|
||||||
|
@ -21,8 +21,10 @@ Linked vertex stage:
|
||||||
Name 18 "transform"
|
Name 18 "transform"
|
||||||
Name 21 "position"
|
Name 21 "position"
|
||||||
Name 26 "gl_VertexID"
|
Name 26 "gl_VertexID"
|
||||||
|
Name 27 "gl_InstanceID"
|
||||||
Decorate 15(gl_Position) BuiltIn Position
|
Decorate 15(gl_Position) BuiltIn Position
|
||||||
Decorate 26(gl_VertexID) BuiltIn VertexId
|
Decorate 26(gl_VertexID) BuiltIn VertexId
|
||||||
|
Decorate 27(gl_InstanceID) BuiltIn InstanceId
|
||||||
2: TypeVoid
|
2: TypeVoid
|
||||||
3: TypeFunction 2
|
3: TypeFunction 2
|
||||||
6: TypeFloat 32
|
6: TypeFloat 32
|
||||||
|
@ -42,6 +44,7 @@ Linked vertex stage:
|
||||||
24: TypeInt 32 1
|
24: TypeInt 32 1
|
||||||
25: TypePointer Input 24(int)
|
25: TypePointer Input 24(int)
|
||||||
26(gl_VertexID): 25(ptr) Variable Input
|
26(gl_VertexID): 25(ptr) Variable Input
|
||||||
|
27(gl_InstanceID): 25(ptr) Variable Input
|
||||||
4(main): 2 Function None 3
|
4(main): 2 Function None 3
|
||||||
5: Label
|
5: Label
|
||||||
12: 7(fvec2) Load 11(uv_in)
|
12: 7(fvec2) Load 11(uv_in)
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
spv.texture.frag
|
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:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -15,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 47 276 290
|
EntryPoint Fragment 4 "main" 47 276 290
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "blendscale"
|
Name 8 "blendscale"
|
||||||
Name 10 "bias"
|
Name 10 "bias"
|
||||||
|
|
|
@ -5,13 +5,13 @@ Linked vertex stage:
|
||||||
|
|
||||||
// Module Version 10000
|
// Module Version 10000
|
||||||
// Generated by (magic number): 80001
|
// Generated by (magic number): 80001
|
||||||
// Id's are bound by 145
|
// Id's are bound by 146
|
||||||
|
|
||||||
Capability Shader
|
Capability Shader
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 39 140 144
|
EntryPoint Vertex 4 "main" 39 140 144 145
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "lod"
|
Name 8 "lod"
|
||||||
Name 10 "coords1D"
|
Name 10 "coords1D"
|
||||||
|
@ -27,8 +27,10 @@ Linked vertex stage:
|
||||||
Name 114 "shadowSampler2D"
|
Name 114 "shadowSampler2D"
|
||||||
Name 140 "gl_Position"
|
Name 140 "gl_Position"
|
||||||
Name 144 "gl_VertexID"
|
Name 144 "gl_VertexID"
|
||||||
|
Name 145 "gl_InstanceID"
|
||||||
Decorate 140(gl_Position) BuiltIn Position
|
Decorate 140(gl_Position) BuiltIn Position
|
||||||
Decorate 144(gl_VertexID) BuiltIn VertexId
|
Decorate 144(gl_VertexID) BuiltIn VertexId
|
||||||
|
Decorate 145(gl_InstanceID) BuiltIn InstanceId
|
||||||
2: TypeVoid
|
2: TypeVoid
|
||||||
3: TypeFunction 2
|
3: TypeFunction 2
|
||||||
6: TypeFloat 32
|
6: TypeFloat 32
|
||||||
|
@ -78,6 +80,7 @@ Linked vertex stage:
|
||||||
142: TypeInt 32 1
|
142: TypeInt 32 1
|
||||||
143: TypePointer Input 142(int)
|
143: TypePointer Input 142(int)
|
||||||
144(gl_VertexID): 143(ptr) Variable Input
|
144(gl_VertexID): 143(ptr) Variable Input
|
||||||
|
145(gl_InstanceID): 143(ptr) Variable Input
|
||||||
4(main): 2 Function None 3
|
4(main): 2 Function None 3
|
||||||
5: Label
|
5: Label
|
||||||
8(lod): 7(ptr) Variable Function
|
8(lod): 7(ptr) Variable Function
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 94 104 114 124 134 144 154 164 168
|
EntryPoint Fragment 4 "main" 94 104 114 124 134 144 154 164 168
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "b"
|
Name 8 "b"
|
||||||
Name 10 "u_b"
|
Name 10 "u_b"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
spv.uint.frag
|
spv.uint.frag
|
||||||
|
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -12,7 +14,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 15 68 77 200
|
EntryPoint Fragment 4 "main" 15 68 77 200
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source ESSL 300
|
Source ESSL 310
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "count"
|
Name 8 "count"
|
||||||
Name 12 "u"
|
Name 12 "u"
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 47
|
EntryPoint Fragment 4 "main" 47
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "texColor"
|
Name 9 "texColor"
|
||||||
Name 14 "color"
|
Name 14 "color"
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
spv.variableArrayIndex.frag
|
spv.variableArrayIndex.frag
|
||||||
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
|
|
||||||
|
|
||||||
|
|
||||||
Linked fragment stage:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -14,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 54 63
|
EntryPoint Fragment 4 "main" 54 63
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "iLocal"
|
Name 8 "iLocal"
|
||||||
Name 10 "Count"
|
Name 10 "Count"
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
spv.varyingArray.frag
|
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:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -17,11 +12,11 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 19 34 39 45 48
|
EntryPoint Fragment 4 "main" 19 34 39 45 48
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "texColor"
|
Name 9 "texColor"
|
||||||
Name 13 "texSampler2D"
|
Name 13 "texSampler2D"
|
||||||
Name 19 "gl_TexCoord"
|
Name 19 "TexCoord"
|
||||||
Name 34 "color"
|
Name 34 "color"
|
||||||
Name 39 "alpha"
|
Name 39 "alpha"
|
||||||
Name 45 "gl_FragColor"
|
Name 45 "gl_FragColor"
|
||||||
|
@ -39,7 +34,7 @@ Linked fragment stage:
|
||||||
16: 15(int) Constant 6
|
16: 15(int) Constant 6
|
||||||
17: TypeArray 7(fvec4) 16
|
17: TypeArray 7(fvec4) 16
|
||||||
18: TypePointer Input 17
|
18: TypePointer Input 17
|
||||||
19(gl_TexCoord): 18(ptr) Variable Input
|
19(TexCoord): 18(ptr) Variable Input
|
||||||
20: TypeInt 32 1
|
20: TypeInt 32 1
|
||||||
21: 20(int) Constant 4
|
21: 20(int) Constant 4
|
||||||
22: TypePointer Input 7(fvec4)
|
22: TypePointer Input 7(fvec4)
|
||||||
|
@ -61,9 +56,9 @@ Linked fragment stage:
|
||||||
5: Label
|
5: Label
|
||||||
9(texColor): 8(ptr) Variable Function
|
9(texColor): 8(ptr) Variable Function
|
||||||
14: 11 Load 13(texSampler2D)
|
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
|
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
|
27: 7(fvec4) Load 26
|
||||||
28: 7(fvec4) FAdd 24 27
|
28: 7(fvec4) FAdd 24 27
|
||||||
30: 6(float) CompositeExtract 28 0
|
30: 6(float) CompositeExtract 28 0
|
||||||
|
@ -80,10 +75,10 @@ Linked fragment stage:
|
||||||
Store 43 40
|
Store 43 40
|
||||||
50: 22(ptr) AccessChain 48(foo) 49
|
50: 22(ptr) AccessChain 48(foo) 49
|
||||||
51: 7(fvec4) Load 50
|
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
|
54: 7(fvec4) Load 53
|
||||||
55: 7(fvec4) FAdd 51 54
|
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
|
57: 7(fvec4) Load 56
|
||||||
58: 7(fvec4) FAdd 55 57
|
58: 7(fvec4) FAdd 55 57
|
||||||
59: 7(fvec4) Load 9(texColor)
|
59: 7(fvec4) Load 9(texColor)
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
spv.varyingArrayIndirect.frag
|
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:
|
Linked fragment stage:
|
||||||
|
|
||||||
|
@ -17,13 +12,13 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 19 30 45 50 56
|
EntryPoint Fragment 4 "main" 19 30 45 50 56
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 130
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "texColor"
|
Name 9 "texColor"
|
||||||
Name 13 "texSampler2D"
|
Name 13 "texSampler2D"
|
||||||
Name 19 "userIn"
|
Name 19 "userIn"
|
||||||
Name 22 "b"
|
Name 22 "b"
|
||||||
Name 30 "gl_TexCoord"
|
Name 30 "TexCoord"
|
||||||
Name 31 "a"
|
Name 31 "a"
|
||||||
Name 45 "color"
|
Name 45 "color"
|
||||||
Name 50 "alpha"
|
Name 50 "alpha"
|
||||||
|
@ -49,7 +44,7 @@ Linked fragment stage:
|
||||||
27: 15(int) Constant 6
|
27: 15(int) Constant 6
|
||||||
28: TypeArray 7(fvec4) 27
|
28: TypeArray 7(fvec4) 27
|
||||||
29: TypePointer Input 28
|
29: TypePointer Input 28
|
||||||
30(gl_TexCoord): 29(ptr) Variable Input
|
30(TexCoord): 29(ptr) Variable Input
|
||||||
31(a): 21(ptr) Variable UniformConstant
|
31(a): 21(ptr) Variable UniformConstant
|
||||||
36: 20(int) Constant 5
|
36: 20(int) Constant 5
|
||||||
40: TypeVector 6(float) 2
|
40: TypeVector 6(float) 2
|
||||||
|
@ -69,10 +64,10 @@ Linked fragment stage:
|
||||||
25: 24(ptr) AccessChain 19(userIn) 23
|
25: 24(ptr) AccessChain 19(userIn) 23
|
||||||
26: 7(fvec4) Load 25
|
26: 7(fvec4) Load 25
|
||||||
32: 20(int) Load 31(a)
|
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
|
34: 7(fvec4) Load 33
|
||||||
35: 7(fvec4) FAdd 26 34
|
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
|
38: 7(fvec4) Load 37
|
||||||
39: 7(fvec4) FAdd 35 38
|
39: 7(fvec4) FAdd 35 38
|
||||||
41: 6(float) CompositeExtract 39 0
|
41: 6(float) CompositeExtract 39 0
|
||||||
|
@ -87,10 +82,10 @@ Linked fragment stage:
|
||||||
51: 6(float) Load 50(alpha)
|
51: 6(float) Load 50(alpha)
|
||||||
54: 53(ptr) AccessChain 9(texColor) 52
|
54: 53(ptr) AccessChain 9(texColor) 52
|
||||||
Store 54 51
|
Store 54 51
|
||||||
58: 24(ptr) AccessChain 30(gl_TexCoord) 57
|
58: 24(ptr) AccessChain 30(TexCoord) 57
|
||||||
59: 7(fvec4) Load 58
|
59: 7(fvec4) Load 58
|
||||||
60: 20(int) Load 22(b)
|
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
|
62: 7(fvec4) Load 61
|
||||||
63: 7(fvec4) FAdd 59 62
|
63: 7(fvec4) FAdd 59 62
|
||||||
64: 7(fvec4) Load 9(texColor)
|
64: 7(fvec4) Load 9(texColor)
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 37 41
|
EntryPoint Fragment 4 "main" 37 41
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 120
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 6 "foo("
|
Name 6 "foo("
|
||||||
Name 8 "foo2("
|
Name 8 "foo2("
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
spv.while-continue-break.vert
|
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:
|
Linked vertex stage:
|
||||||
|
|
||||||
|
@ -11,7 +13,7 @@ Linked vertex stage:
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 42 43
|
EntryPoint Vertex 4 "main" 42 43
|
||||||
Source ESSL 300
|
Source ESSL 310
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "i"
|
Name 8 "i"
|
||||||
Name 19 "A"
|
Name 19 "A"
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
spv.while-simple.vert
|
spv.while-simple.vert
|
||||||
|
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
|
||||||
|
|
||||||
|
|
||||||
Linked vertex stage:
|
Linked vertex stage:
|
||||||
|
|
||||||
|
@ -11,7 +13,7 @@ Linked vertex stage:
|
||||||
1: ExtInstImport "GLSL.std.450"
|
1: ExtInstImport "GLSL.std.450"
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Vertex 4 "main" 23 24
|
EntryPoint Vertex 4 "main" 23 24
|
||||||
Source ESSL 300
|
Source ESSL 310
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 8 "i"
|
Name 8 "i"
|
||||||
Name 23 "gl_VertexID"
|
Name 23 "gl_VertexID"
|
||||||
|
|
|
@ -12,7 +12,7 @@ Linked fragment stage:
|
||||||
MemoryModel Logical GLSL450
|
MemoryModel Logical GLSL450
|
||||||
EntryPoint Fragment 4 "main" 11 34
|
EntryPoint Fragment 4 "main" 11 34
|
||||||
ExecutionMode 4 OriginLowerLeft
|
ExecutionMode 4 OriginLowerLeft
|
||||||
Source GLSL 110
|
Source GLSL 140
|
||||||
Name 4 "main"
|
Name 4 "main"
|
||||||
Name 9 "color"
|
Name 9 "color"
|
||||||
Name 11 "BaseColor"
|
Name 11 "BaseColor"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 100
|
#version 310 es
|
||||||
|
|
||||||
lowp float foo();
|
lowp float foo();
|
||||||
|
|
||||||
|
@ -6,6 +6,8 @@ uniform int low, high;
|
||||||
|
|
||||||
lowp float face1 = 11.0;
|
lowp float face1 = 11.0;
|
||||||
|
|
||||||
|
out lowp vec4 Color;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
int z = 3;
|
int z = 3;
|
||||||
|
@ -13,7 +15,7 @@ void main()
|
||||||
if (2 * low + 1 < high)
|
if (2 * low + 1 < high)
|
||||||
++z;
|
++z;
|
||||||
|
|
||||||
gl_FragColor = face1 * vec4(z) + foo();
|
Color = face1 * vec4(z) + foo();
|
||||||
}
|
}
|
||||||
|
|
||||||
lowp float face2 = -2.0;
|
lowp float face2 = -2.0;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 130
|
#version 140
|
||||||
#extension GL_ARB_texture_gather : enable
|
#extension GL_ARB_texture_gather : enable
|
||||||
|
|
||||||
vec3 a;
|
vec3 a;
|
||||||
|
@ -15,9 +15,6 @@ noperspective in float fnop;
|
||||||
|
|
||||||
uniform samplerCube sampC;
|
uniform samplerCube sampC;
|
||||||
|
|
||||||
in vec4 gl_Color;
|
|
||||||
flat in vec4 gl_Color;
|
|
||||||
|
|
||||||
#extension GL_ARB_texture_rectangle : enable
|
#extension GL_ARB_texture_rectangle : enable
|
||||||
|
|
||||||
uniform sampler2D samp2D;
|
uniform sampler2D samp2D;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 300 es
|
#version 310 es
|
||||||
|
|
||||||
in mediump float ps;
|
in mediump float ps;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 300 es
|
#version 310 es
|
||||||
|
|
||||||
precision mediump float;
|
precision mediump float;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 300 es
|
#version 310 es
|
||||||
|
|
||||||
layout(location = 7) in vec3 c;
|
layout(location = 7) in vec3 c;
|
||||||
layout(LocatioN = 3) in vec4 p;
|
layout(LocatioN = 3) in vec4 p;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 300 es
|
#version 310 es
|
||||||
|
|
||||||
layout(location = 7) in vec3 c;
|
layout(location = 7) in vec3 c;
|
||||||
layout(LocatioN = 3) in vec4 p;
|
layout(LocatioN = 3) in vec4 p;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#version 110
|
#version 140
|
||||||
varying vec2 tex_coord;
|
in vec2 tex_coord;
|
||||||
|
|
||||||
void main (void)
|
void main (void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#version 110
|
#version 140
|
||||||
varying vec2 tex_coord;
|
in vec2 tex_coord;
|
||||||
|
|
||||||
void main (void)
|
void main (void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 300 es
|
#version 310 es
|
||||||
void main() {
|
void main() {
|
||||||
switch (gl_InstanceID) {
|
switch (gl_InstanceID) {
|
||||||
case 0: return;
|
case 0: return;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
uniform bool u_b;
|
uniform bool u_b;
|
||||||
uniform bvec2 u_b2;
|
uniform bvec2 u_b2;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
varying vec4 Color;
|
in vec4 Color;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
varying vec4 Color;
|
in vec4 Color;
|
||||||
|
|
||||||
uniform int i;
|
uniform int i;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
attribute vec4 color;
|
attribute vec4 color;
|
||||||
varying vec4 colorOut[6];
|
out vec4 colorOut[6];
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#version 110
|
#version 140
|
||||||
varying vec2 tex_coord;
|
in vec2 tex_coord;
|
||||||
|
|
||||||
void main (void)
|
void main (void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 300 es
|
#version 310 es
|
||||||
void main() {
|
void main() {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
do {
|
do {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 300 es
|
#version 310 es
|
||||||
void main() {
|
void main() {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
int A, B, C, D, E, F, G;
|
int A, B, C, D, E, F, G;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#version 110
|
#version 140
|
||||||
|
|
||||||
uniform vec4 bigColor;
|
uniform vec4 bigColor;
|
||||||
varying vec4 BaseColor;
|
in vec4 BaseColor;
|
||||||
uniform float d;
|
uniform float d;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#version 110
|
#version 140
|
||||||
|
|
||||||
uniform float d;
|
uniform float d;
|
||||||
uniform vec4 bigColor, smallColor;
|
uniform vec4 bigColor, smallColor;
|
||||||
uniform vec4 otherColor;
|
uniform vec4 otherColor;
|
||||||
|
|
||||||
varying float c;
|
in float c;
|
||||||
|
|
||||||
uniform float threshhold;
|
uniform float threshhold;
|
||||||
uniform float threshhold2;
|
uniform float threshhold2;
|
||||||
|
@ -12,7 +12,7 @@ uniform float threshhold3;
|
||||||
|
|
||||||
uniform float minimum;
|
uniform float minimum;
|
||||||
|
|
||||||
varying vec4 BaseColor;
|
in vec4 BaseColor;
|
||||||
|
|
||||||
uniform bool b;
|
uniform bool b;
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
#version 120
|
#version 140
|
||||||
|
|
||||||
uniform float d;
|
uniform float d;
|
||||||
uniform vec4 bigColor, smallColor;
|
uniform vec4 bigColor, smallColor;
|
||||||
uniform vec4 otherColor;
|
uniform vec4 otherColor;
|
||||||
|
|
||||||
varying float c;
|
in float c;
|
||||||
varying vec4 BaseColor;
|
in vec4 BaseColor;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 300 es
|
#version 310 es
|
||||||
void main() {
|
void main() {
|
||||||
int i;
|
int i;
|
||||||
int A, B, C, D, E, F, G;
|
int A, B, C, D, E, F, G;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 300 es
|
#version 310 es
|
||||||
void main() {
|
void main() {
|
||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
uniform vec4 bigColor;
|
uniform vec4 bigColor;
|
||||||
in vec4 BaseColor;
|
in vec4 BaseColor;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
#version 100
|
#version 140
|
||||||
|
|
||||||
precision mediump float;
|
precision mediump float;
|
||||||
|
|
||||||
uniform vec4 bigColor;
|
uniform vec4 bigColor;
|
||||||
varying vec4 BaseColor;
|
in vec4 BaseColor;
|
||||||
uniform float d;
|
uniform float d;
|
||||||
|
|
||||||
void bar();
|
void bar();
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
uniform vec4 bigColor;
|
uniform vec4 bigColor;
|
||||||
varying vec4 BaseColor;
|
in vec4 BaseColor;
|
||||||
uniform float d;
|
uniform float d;
|
||||||
|
|
||||||
float h = 0.0;
|
float h = 0.0;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#version 120
|
#version 140
|
||||||
|
|
||||||
uniform vec4 u[3];
|
uniform vec4 u[3];
|
||||||
|
|
||||||
varying vec2 v[2];
|
in vec2 v[2];
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
uniform sampler2D samp2D;
|
uniform sampler2D samp2D;
|
||||||
varying vec2 coord;
|
in vec2 coord;
|
||||||
varying vec4 color;
|
in vec4 color;
|
||||||
|
|
||||||
struct s1 {
|
struct s1 {
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 130
|
#version 140
|
||||||
uniform vec4 bigColor;
|
uniform vec4 bigColor;
|
||||||
uniform vec4 bigColor1_1;
|
uniform vec4 bigColor1_1;
|
||||||
uniform vec4 bigColor1_2;
|
uniform vec4 bigColor1_2;
|
||||||
|
@ -11,7 +11,7 @@ uniform vec4 bigColor6;
|
||||||
uniform vec4 bigColor7;
|
uniform vec4 bigColor7;
|
||||||
uniform vec4 bigColor8;
|
uniform vec4 bigColor8;
|
||||||
|
|
||||||
varying vec4 BaseColor;
|
in vec4 BaseColor;
|
||||||
|
|
||||||
uniform float d;
|
uniform float d;
|
||||||
uniform float d2;
|
uniform float d2;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 130
|
#version 140
|
||||||
uniform vec4 bigColor;
|
uniform vec4 bigColor;
|
||||||
uniform vec4 bigColor1_1;
|
uniform vec4 bigColor1_1;
|
||||||
uniform vec4 bigColor1_2;
|
uniform vec4 bigColor1_2;
|
||||||
|
@ -11,7 +11,7 @@ uniform vec4 bigColor6;
|
||||||
uniform vec4 bigColor7;
|
uniform vec4 bigColor7;
|
||||||
uniform vec4 bigColor8;
|
uniform vec4 bigColor8;
|
||||||
|
|
||||||
varying vec4 BaseColor;
|
in vec4 BaseColor;
|
||||||
|
|
||||||
uniform float d;
|
uniform float d;
|
||||||
uniform float d2;
|
uniform float d2;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
uniform mat4 m4;
|
uniform mat4 m4;
|
||||||
uniform mat3 m3;
|
uniform mat3 m3;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
in mat3x4 m1;
|
in mat3x4 m1;
|
||||||
in mat3x4 m2;
|
in mat3x4 m2;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 120
|
#version 140
|
||||||
|
|
||||||
attribute vec3 v3;
|
attribute vec3 v3;
|
||||||
attribute vec4 v4;
|
attribute vec4 v4;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 300 es
|
#version 310 es
|
||||||
precision mediump float;
|
precision mediump float;
|
||||||
in lowp float lowfin;
|
in lowp float lowfin;
|
||||||
in mediump float mediumfin;
|
in mediump float mediumfin;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#version 150
|
#version 150
|
||||||
|
|
||||||
uniform vec4 bigColor;
|
uniform vec4 bigColor;
|
||||||
varying vec4 BaseColor;
|
in vec4 BaseColor;
|
||||||
uniform float d;
|
uniform float d;
|
||||||
|
|
||||||
vec4 foo()
|
vec4 foo()
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
uniform sampler2D samp2D;
|
uniform sampler2D samp2D;
|
||||||
varying mediump vec2 coord;
|
in mediump vec2 coord;
|
||||||
|
|
||||||
struct lunarStruct1 {
|
struct lunarStruct1 {
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
uniform sampler2D samp2D;
|
uniform sampler2D samp2D;
|
||||||
varying vec2 coord;
|
in vec2 coord;
|
||||||
|
|
||||||
struct s0 {
|
struct s0 {
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#version 130
|
#version 140
|
||||||
uniform sampler2D samp2D;
|
uniform sampler2D samp2D;
|
||||||
varying vec2 coord;
|
in vec2 coord;
|
||||||
|
|
||||||
struct lunarStruct1 {
|
struct lunarStruct1 {
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#version 110
|
#version 140
|
||||||
|
|
||||||
uniform float blend;
|
uniform float blend;
|
||||||
uniform vec4 u;
|
uniform vec4 u;
|
||||||
uniform bool p;
|
uniform bool p;
|
||||||
|
|
||||||
varying vec2 t;
|
in vec2 t;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
uniform mat4 transform;
|
uniform mat4 transform;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
uniform sampler1D texSampler1D;
|
uniform sampler1D texSampler1D;
|
||||||
uniform sampler2D texSampler2D;
|
uniform sampler2D texSampler2D;
|
||||||
|
@ -11,8 +11,8 @@ uniform float blend;
|
||||||
uniform vec2 scale;
|
uniform vec2 scale;
|
||||||
uniform vec4 u;
|
uniform vec4 u;
|
||||||
|
|
||||||
varying vec2 t;
|
in vec2 t;
|
||||||
varying vec2 coords2D;
|
in vec2 coords2D;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
uniform sampler1D texSampler1D;
|
uniform sampler1D texSampler1D;
|
||||||
uniform sampler2D texSampler2D;
|
uniform sampler2D texSampler2D;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 130
|
#version 140
|
||||||
|
|
||||||
uniform bool u_b;
|
uniform bool u_b;
|
||||||
uniform bvec2 u_b2;
|
uniform bvec2 u_b2;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 300 es
|
#version 310 es
|
||||||
precision mediump float;
|
precision mediump float;
|
||||||
flat in uvec2 t;
|
flat in uvec2 t;
|
||||||
in float f;
|
in float f;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 130
|
#version 140
|
||||||
uniform sampler2D texSampler2D;
|
uniform sampler2D texSampler2D;
|
||||||
uniform vec3 inColor;
|
uniform vec3 inColor;
|
||||||
uniform vec4 color[6];
|
uniform vec4 color[6];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#version 130
|
#version 140
|
||||||
uniform sampler2D samp2D;
|
uniform sampler2D samp2D;
|
||||||
varying vec2 coord;
|
in vec2 coord;
|
||||||
|
|
||||||
struct lunarStruct1 {
|
struct lunarStruct1 {
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -1,19 +1,19 @@
|
||||||
#version 130
|
#version 140
|
||||||
uniform sampler2D texSampler2D;
|
uniform sampler2D texSampler2D;
|
||||||
varying vec4 color;
|
in vec4 color;
|
||||||
varying float alpha;
|
in float alpha;
|
||||||
|
|
||||||
varying vec4 gl_TexCoord[6];
|
in vec4 TexCoord[6];
|
||||||
|
|
||||||
varying vec4 foo[3];
|
in vec4 foo[3];
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
vec4 texColor = texture(texSampler2D, vec2(gl_TexCoord[4] + gl_TexCoord[5]));
|
vec4 texColor = texture(texSampler2D, vec2(TexCoord[4] + TexCoord[5]));
|
||||||
|
|
||||||
texColor += color;
|
texColor += color;
|
||||||
|
|
||||||
texColor.a = alpha;
|
texColor.a = alpha;
|
||||||
|
|
||||||
gl_FragColor = foo[1] + gl_TexCoord[0] + gl_TexCoord[4] + texColor;
|
gl_FragColor = foo[1] + TexCoord[0] + TexCoord[4] + texColor;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
#version 130
|
#version 140
|
||||||
uniform sampler2D texSampler2D;
|
uniform sampler2D texSampler2D;
|
||||||
varying vec4 color;
|
in vec4 color;
|
||||||
varying float alpha;
|
in float alpha;
|
||||||
|
|
||||||
varying vec4 gl_TexCoord[6];
|
in vec4 TexCoord[6];
|
||||||
|
|
||||||
varying vec4 userIn[2];
|
in vec4 userIn[2];
|
||||||
|
|
||||||
uniform int a, b;
|
uniform int a, b;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
vec4 texColor = texture(texSampler2D, vec2(userIn[b] + gl_TexCoord[a] + gl_TexCoord[5]));
|
vec4 texColor = texture(texSampler2D, vec2(userIn[b] + TexCoord[a] + TexCoord[5]));
|
||||||
|
|
||||||
texColor += color;
|
texColor += color;
|
||||||
|
|
||||||
texColor.a = alpha;
|
texColor.a = alpha;
|
||||||
|
|
||||||
gl_FragColor = gl_TexCoord[0] + gl_TexCoord[b] + texColor + userIn[a];
|
gl_FragColor = TexCoord[0] + TexCoord[b] + texColor + userIn[a];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#version 120
|
#version 140
|
||||||
|
|
||||||
uniform vec4 bigColor;
|
uniform vec4 bigColor;
|
||||||
varying vec4 BaseColor;
|
in vec4 BaseColor;
|
||||||
uniform float d;
|
uniform float d;
|
||||||
|
|
||||||
float bar = 2.0;
|
float bar = 2.0;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 300 es
|
#version 310 es
|
||||||
void main() {
|
void main() {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
int A, B, C, D;
|
int A, B, C, D;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#version 300 es
|
#version 310 es
|
||||||
void main() {
|
void main() {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
while (i<10) {
|
while (i<10) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#version 110
|
#version 140
|
||||||
|
|
||||||
uniform vec4 bigColor;
|
uniform vec4 bigColor;
|
||||||
varying vec4 BaseColor;
|
in vec4 BaseColor;
|
||||||
uniform float d;
|
uniform float d;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче