You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
3.0 KiB

spv.dataOutIndirect.vert
WARNING: 0:3: attribute deprecated in version 130; may be removed in future release
// Module Version 10000
// Generated by (magic number): 8000a
// Id's are bound by 38
Capability Shader
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Vertex 4 "main" 25 28 34
Source GLSL 140
Name 4 "main"
Name 8 "i"
Name 25 "colorOut"
Name 28 "color"
Name 34 "gl_Position"
Decorate 25(colorOut) Location 0
Decorate 28(color) Location 0
Decorate 34(gl_Position) BuiltIn Position
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
7: TypePointer Function 6(int)
9: 6(int) Constant 1
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
4(main): 2 Function None 3
5: Label
8(i): 7(ptr) Variable Function
Store 8(i) 9
Branch 10
10: Label
LoopMerge 12 13 None
Branch 14
14: Label
15: 6(int) Load 8(i)
18: 17(bool) SLessThan 15 16
BranchConditional 18 11 12
11: Label
26: 6(int) Load 8(i)
29: 20(fvec4) Load 28(color)
31: 30(ptr) AccessChain 25(colorOut) 26
Store 31 29
Branch 13
13: Label
32: 6(int) Load 8(i)
33: 6(int) IAdd 32 9
Store 8(i) 33
Branch 10
12: Label
36: 30(ptr) AccessChain 25(colorOut) 35
37: 20(fvec4) Load 36
Store 34(gl_Position) 37
Return
FunctionEnd