2016-01-11 19:48:36 +00:00
|
|
|
spv.dataOutIndirect.vert
|
|
|
|
WARNING: 0:3: attribute deprecated in version 130; may be removed in future release
|
|
|
|
|
2018-02-01 01:35:56 +00:00
|
|
|
// Module Version 10000
|
2022-10-13 00:16:41 +00:00
|
|
|
// Generated by (magic number): 8000b
|
2016-02-16 03:58:50 +00:00
|
|
|
// Id's are bound by 38
|
2016-01-11 19:48:36 +00:00
|
|
|
|
|
|
|
Capability Shader
|
|
|
|
1: ExtInstImport "GLSL.std.450"
|
|
|
|
MemoryModel Logical GLSL450
|
2016-02-16 03:58:50 +00:00
|
|
|
EntryPoint Vertex 4 "main" 25 28 34
|
2016-01-23 00:47:22 +00:00
|
|
|
Source GLSL 140
|
2016-01-11 19:48:36 +00:00
|
|
|
Name 4 "main"
|
|
|
|
Name 8 "i"
|
2016-01-20 16:51:43 +00:00
|
|
|
Name 25 "colorOut"
|
|
|
|
Name 28 "color"
|
|
|
|
Name 34 "gl_Position"
|
2020-07-01 12:30:16 +00:00
|
|
|
Decorate 25(colorOut) Location 0
|
|
|
|
Decorate 28(color) Location 0
|
2016-01-20 16:51:43 +00:00
|
|
|
Decorate 34(gl_Position) BuiltIn Position
|
2016-01-11 19:48:36 +00:00
|
|
|
2: TypeVoid
|
|
|
|
3: TypeFunction 2
|
|
|
|
6: TypeInt 32 1
|
|
|
|
7: TypePointer Function 6(int)
|
|
|
|
9: 6(int) Constant 1
|
2016-01-20 16:51:43 +00:00
|
|
|
16: 6(int) Constant 5
|
|
|
|
17: TypeBool
|
|
|
|
19: TypeFloat 32
|
|
|
|
20: TypeVector 19(float) 4
|
|
|
|
21: TypeInt 32 0
|
|
|
|
22: 21(int) Constant 6
|
|
|
|
23: TypeArray 20(fvec4) 22
|
|
|
|
24: TypePointer Output 23
|
|
|
|
25(colorOut): 24(ptr) Variable Output
|
|
|
|
27: TypePointer Input 20(fvec4)
|
|
|
|
28(color): 27(ptr) Variable Input
|
|
|
|
30: TypePointer Output 20(fvec4)
|
|
|
|
34(gl_Position): 30(ptr) Variable Output
|
|
|
|
35: 6(int) Constant 2
|
2016-01-11 19:48:36 +00:00
|
|
|
4(main): 2 Function None 3
|
|
|
|
5: Label
|
|
|
|
8(i): 7(ptr) Variable Function
|
|
|
|
Store 8(i) 9
|
2016-01-11 20:57:11 +00:00
|
|
|
Branch 10
|
2016-01-11 19:48:36 +00:00
|
|
|
10: Label
|
2016-01-11 20:57:11 +00:00
|
|
|
LoopMerge 12 13 None
|
2016-01-20 16:51:43 +00:00
|
|
|
Branch 14
|
|
|
|
14: Label
|
|
|
|
15: 6(int) Load 8(i)
|
|
|
|
18: 17(bool) SLessThan 15 16
|
|
|
|
BranchConditional 18 11 12
|
2016-01-11 20:57:11 +00:00
|
|
|
11: Label
|
2016-01-20 16:51:43 +00:00
|
|
|
26: 6(int) Load 8(i)
|
|
|
|
29: 20(fvec4) Load 28(color)
|
|
|
|
31: 30(ptr) AccessChain 25(colorOut) 26
|
|
|
|
Store 31 29
|
2016-01-11 20:57:11 +00:00
|
|
|
Branch 13
|
2016-01-19 21:47:41 +00:00
|
|
|
13: Label
|
2016-01-20 16:51:43 +00:00
|
|
|
32: 6(int) Load 8(i)
|
|
|
|
33: 6(int) IAdd 32 9
|
|
|
|
Store 8(i) 33
|
2015-12-11 01:01:54 +00:00
|
|
|
Branch 10
|
2016-01-11 20:57:11 +00:00
|
|
|
12: Label
|
2016-01-20 16:51:43 +00:00
|
|
|
36: 30(ptr) AccessChain 25(colorOut) 35
|
|
|
|
37: 20(fvec4) Load 36
|
|
|
|
Store 34(gl_Position) 37
|
2016-01-11 19:48:36 +00:00
|
|
|
Return
|
2016-01-11 20:57:11 +00:00
|
|
|
FunctionEnd
|