blob: ef465993d47b9ee601a13b1ef56fdb8fdccf673e [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.310.comp
2Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
3
4
5Linked compute stage:
6
7
8// Module Version 10000
9// Generated by (magic number): 80001
10// Id's are bound by 67
11
12 Capability Shader
13 1: ExtInstImport "GLSL.std.450"
14 MemoryModel Logical GLSL450
15 EntryPoint GLCompute 4 "main"
16 ExecutionMode 4 LocalSize 16 32 4
17 Source ESSL 310
18 Name 4 "main"
19 Name 13 "outb"
20 MemberName 13(outb) 0 "f"
21 MemberName 13(outb) 1 "g"
22 MemberName 13(outb) 2 "h"
23 MemberName 13(outb) 3 "uns"
24 Name 15 "outbname"
25 Name 19 "s"
26 Name 24 "outbna"
27 MemberName 24(outbna) 0 "k"
28 MemberName 24(outbna) 1 "na"
29 Name 26 "outbnamena"
30 Name 42 "i"
31 Name 48 "outs"
32 MemberName 48(outs) 0 "s"
33 MemberName 48(outs) 1 "va"
34 Name 50 "outnames"
35 Name 53 "gl_LocalInvocationID"
36 Decorate 13(outb) GLSLShared
37 Decorate 13(outb) BufferBlock
38 Decorate 24(outbna) GLSLShared
39 Decorate 24(outbna) BufferBlock
40 Decorate 48(outs) GLSLShared
41 Decorate 48(outs) BufferBlock
42 Decorate 53(gl_LocalInvocationID) BuiltIn LocalInvocationId
43 Decorate 66 BuiltIn WorkgroupSize
44 2: TypeVoid
45 3: TypeFunction 2
46 6: TypeInt 32 0
47 7: 6(int) Constant 1
48 8: 6(int) Constant 1023
49 9: 6(int) Constant 0
50 10: TypeFloat 32
51 11: TypeVector 10(float) 3
52 12: TypeRuntimeArray 11(fvec3)
53 13(outb): TypeStruct 10(float) 10(float) 10(float) 12
54 14: TypePointer Uniform 13(outb)
55 15(outbname): 14(ptr) Variable Uniform
56 16: TypeInt 32 1
57 17: 16(int) Constant 0
58 18: TypePointer Workgroup 10(float)
59 19(s): 18(ptr) Variable Workgroup
60 21: TypePointer Uniform 10(float)
61 23: TypeVector 10(float) 4
62 24(outbna): TypeStruct 16(int) 23(fvec4)
63 25: TypePointer Uniform 24(outbna)
64 26(outbnamena): 25(ptr) Variable Uniform
65 27: 16(int) Constant 1
66 30: TypePointer Uniform 23(fvec4)
67 32: 16(int) Constant 3
68 33: 16(int) Constant 18
69 36: 16(int) Constant 17
70 37: 10(float) Constant 1077936128
71 38: 11(fvec3) ConstantComposite 37 37 37
72 39: TypePointer Uniform 11(fvec3)
73 41: TypePointer Workgroup 16(int)
74 42(i): 41(ptr) Variable Workgroup
75 47: TypeRuntimeArray 23(fvec4)
76 48(outs): TypeStruct 16(int) 47
77 49: TypePointer Uniform 48(outs)
78 50(outnames): 49(ptr) Variable Uniform
79 51: TypeVector 6(int) 3
80 52: TypePointer Input 51(ivec3)
8153(gl_LocalInvocationID): 52(ptr) Variable Input
82 54: TypePointer Input 6(int)
83 61: TypePointer Uniform 16(int)
84 63: 6(int) Constant 16
85 64: 6(int) Constant 32
86 65: 6(int) Constant 4
87 66: 51(ivec3) ConstantComposite 63 64 65
88 4(main): 2 Function None 3
89 5: Label
90 MemoryBarrier 7 8
91 ControlBarrier 7 7 9
92 20: 10(float) Load 19(s)
93 22: 21(ptr) AccessChain 15(outbname) 17
94 Store 22 20
95 28: 10(float) Load 19(s)
96 29: 23(fvec4) CompositeConstruct 28 28 28 28
97 31: 30(ptr) AccessChain 26(outbnamena) 27
98 Store 31 29
99 34: 21(ptr) AccessChain 15(outbname) 32 33 9
100 35: 10(float) Load 34
101 Store 19(s) 35
102 40: 39(ptr) AccessChain 15(outbname) 32 36
103 Store 40 38
104 43: 16(int) Load 42(i)
105 44: 10(float) Load 19(s)
106 45: 11(fvec3) CompositeConstruct 44 44 44
107 46: 39(ptr) AccessChain 15(outbname) 32 43
108 Store 46 45
109 55: 54(ptr) AccessChain 53(gl_LocalInvocationID) 9
110 56: 6(int) Load 55
111 57: 10(float) Load 19(s)
112 58: 23(fvec4) CompositeConstruct 57 57 57 57
113 59: 30(ptr) AccessChain 50(outnames) 27 56
114 Store 59 58
115 60: 16(int) ArrayLength 15(outbname) 3
116 62: 61(ptr) AccessChain 50(outnames) 17
117 Store 62 60
118 Return
119 FunctionEnd