• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.310.comp
2// Module Version 10000
3// Generated by (magic number): 80008
4// Id's are bound by 72
5
6                              Capability Shader
7                              Capability DeviceGroup
8                              Extension  "SPV_KHR_device_group"
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint GLCompute 4  "main" 53 65
12                              ExecutionMode 4 LocalSize 16 32 4
13                              Source ESSL 310
14                              SourceExtension  "GL_EXT_device_group"
15                              Name 4  "main"
16                              Name 12  "outb"
17                              MemberName 12(outb) 0  "f"
18                              MemberName 12(outb) 1  "g"
19                              MemberName 12(outb) 2  "h"
20                              MemberName 12(outb) 3  "uns"
21                              Name 14  "outbname"
22                              Name 18  "s"
23                              Name 23  "outbna"
24                              MemberName 23(outbna) 0  "k"
25                              MemberName 23(outbna) 1  "na"
26                              Name 25  "outbnamena"
27                              Name 42  "i"
28                              Name 48  "outs"
29                              MemberName 48(outs) 0  "s"
30                              MemberName 48(outs) 1  "va"
31                              Name 50  "outnames"
32                              Name 53  "gl_LocalInvocationID"
33                              Name 65  "gl_DeviceIndex"
34                              Decorate 11 ArrayStride 16
35                              MemberDecorate 12(outb) 0 Offset 0
36                              MemberDecorate 12(outb) 1 Offset 4
37                              MemberDecorate 12(outb) 2 Offset 8
38                              MemberDecorate 12(outb) 3 Offset 16
39                              Decorate 12(outb) BufferBlock
40                              Decorate 14(outbname) DescriptorSet 0
41                              Decorate 14(outbname) Binding 0
42                              MemberDecorate 23(outbna) 0 Offset 0
43                              MemberDecorate 23(outbna) 1 Offset 16
44                              Decorate 23(outbna) BufferBlock
45                              Decorate 25(outbnamena) DescriptorSet 0
46                              Decorate 25(outbnamena) Binding 0
47                              Decorate 47 ArrayStride 16
48                              MemberDecorate 48(outs) 0 Offset 0
49                              MemberDecorate 48(outs) 1 Offset 16
50                              Decorate 48(outs) BufferBlock
51                              Decorate 50(outnames) DescriptorSet 0
52                              Decorate 50(outnames) Binding 0
53                              Decorate 53(gl_LocalInvocationID) BuiltIn LocalInvocationId
54                              Decorate 65(gl_DeviceIndex) BuiltIn DeviceIndex
55                              Decorate 71 BuiltIn WorkgroupSize
56               2:             TypeVoid
57               3:             TypeFunction 2
58               6:             TypeInt 32 0
59               7:      6(int) Constant 2
60               8:      6(int) Constant 264
61               9:             TypeFloat 32
62              10:             TypeVector 9(float) 3
63              11:             TypeRuntimeArray 10(fvec3)
64        12(outb):             TypeStruct 9(float) 9(float) 9(float) 11
65              13:             TypePointer Uniform 12(outb)
66    14(outbname):     13(ptr) Variable Uniform
67              15:             TypeInt 32 1
68              16:     15(int) Constant 0
69              17:             TypePointer Workgroup 9(float)
70           18(s):     17(ptr) Variable Workgroup
71              20:             TypePointer Uniform 9(float)
72              22:             TypeVector 9(float) 4
73      23(outbna):             TypeStruct 15(int) 22(fvec4)
74              24:             TypePointer Uniform 23(outbna)
75  25(outbnamena):     24(ptr) Variable Uniform
76              26:     15(int) Constant 1
77              29:             TypePointer Uniform 22(fvec4)
78              31:     15(int) Constant 3
79              32:     15(int) Constant 18
80              33:      6(int) Constant 0
81              36:     15(int) Constant 17
82              37:    9(float) Constant 1077936128
83              38:   10(fvec3) ConstantComposite 37 37 37
84              39:             TypePointer Uniform 10(fvec3)
85              41:             TypePointer Workgroup 15(int)
86           42(i):     41(ptr) Variable Workgroup
87              47:             TypeRuntimeArray 22(fvec4)
88        48(outs):             TypeStruct 15(int) 47
89              49:             TypePointer Uniform 48(outs)
90    50(outnames):     49(ptr) Variable Uniform
91              51:             TypeVector 6(int) 3
92              52:             TypePointer Input 51(ivec3)
9353(gl_LocalInvocationID):     52(ptr) Variable Input
94              54:             TypePointer Input 6(int)
95              62:             TypePointer Uniform 15(int)
96              64:             TypePointer Input 15(int)
9765(gl_DeviceIndex):     64(ptr) Variable Input
98              66:      6(int) Constant 1
99              67:      6(int) Constant 3400
100              68:      6(int) Constant 16
101              69:      6(int) Constant 32
102              70:      6(int) Constant 4
103              71:   51(ivec3) ConstantComposite 68 69 70
104         4(main):           2 Function None 3
105               5:             Label
106                              ControlBarrier 7 7 8
107              19:    9(float) Load 18(s)
108              21:     20(ptr) AccessChain 14(outbname) 16
109                              Store 21 19
110              27:    9(float) Load 18(s)
111              28:   22(fvec4) CompositeConstruct 27 27 27 27
112              30:     29(ptr) AccessChain 25(outbnamena) 26
113                              Store 30 28
114              34:     20(ptr) AccessChain 14(outbname) 31 32 33
115              35:    9(float) Load 34
116                              Store 18(s) 35
117              40:     39(ptr) AccessChain 14(outbname) 31 36
118                              Store 40 38
119              43:     15(int) Load 42(i)
120              44:    9(float) Load 18(s)
121              45:   10(fvec3) CompositeConstruct 44 44 44
122              46:     39(ptr) AccessChain 14(outbname) 31 43
123                              Store 46 45
124              55:     54(ptr) AccessChain 53(gl_LocalInvocationID) 33
125              56:      6(int) Load 55
126              57:    9(float) Load 18(s)
127              58:   22(fvec4) CompositeConstruct 57 57 57 57
128              59:     29(ptr) AccessChain 50(outnames) 26 56
129                              Store 59 58
130              60:      6(int) ArrayLength 14(outbname) 3
131              61:     15(int) Bitcast 60
132              63:     62(ptr) AccessChain 50(outnames) 16
133                              Store 63 61
134                              MemoryBarrier 66 8
135                              MemoryBarrier 7 67
136                              Return
137                              FunctionEnd
138