blob: e17ed8ce87e5d538d95a2ef2234ec8f6c98938de [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.310.comp
John Kessenich2b5ea9f2018-01-31 18:35:56 -07002// Module Version 10000
John Kessenich71b5da62018-02-06 08:06:36 -07003// Generated by (magic number): 80004
John Kessenich82979362017-12-11 04:02:24 -07004// Id's are bound by 71
John Kessenichcc16fa02015-12-10 18:01:54 -07005
6 Capability Shader
John Kessenichc08fb8a2017-03-14 16:45:30 -06007 Capability DeviceGroup
8 Extension "SPV_KHR_device_group"
John Kessenichcc16fa02015-12-10 18:01:54 -07009 1: ExtInstImport "GLSL.std.450"
10 MemoryModel Logical GLSL450
John Kessenichc08fb8a2017-03-14 16:45:30 -060011 EntryPoint GLCompute 4 "main" 53 64
John Kessenichcc16fa02015-12-10 18:01:54 -070012 ExecutionMode 4 LocalSize 16 32 4
13 Source ESSL 310
John Kessenichc08fb8a2017-03-14 16:45:30 -060014 SourceExtension "GL_EXT_device_group"
John Kessenichcc16fa02015-12-10 18:01:54 -070015 Name 4 "main"
John Kessenich82979362017-12-11 04:02:24 -070016 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"
chrgau01@arm.comc3f1cdf2016-11-14 10:10:05 +010027 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"
John Kessenichc08fb8a2017-03-14 16:45:30 -060033 Name 64 "gl_DeviceIndex"
John Kessenich82979362017-12-11 04:02:24 -070034 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 MemberDecorate 23(outbna) 0 Offset 0
42 MemberDecorate 23(outbna) 1 Offset 16
43 Decorate 23(outbna) BufferBlock
44 Decorate 25(outbnamena) DescriptorSet 0
chrgau01@arm.comc3f1cdf2016-11-14 10:10:05 +010045 Decorate 47 ArrayStride 16
46 MemberDecorate 48(outs) 0 Offset 0
47 MemberDecorate 48(outs) 1 Offset 16
48 Decorate 48(outs) BufferBlock
49 Decorate 50(outnames) DescriptorSet 0
50 Decorate 53(gl_LocalInvocationID) BuiltIn LocalInvocationId
John Kessenichc08fb8a2017-03-14 16:45:30 -060051 Decorate 64(gl_DeviceIndex) BuiltIn DeviceIndex
John Kessenich82979362017-12-11 04:02:24 -070052 Decorate 70 BuiltIn WorkgroupSize
John Kessenichcc16fa02015-12-10 18:01:54 -070053 2: TypeVoid
54 3: TypeFunction 2
55 6: TypeInt 32 0
chrgau01@arm.comc3f1cdf2016-11-14 10:10:05 +010056 7: 6(int) Constant 2
John Kessenich82979362017-12-11 04:02:24 -070057 8: 6(int) Constant 264
58 9: TypeFloat 32
59 10: TypeVector 9(float) 3
60 11: TypeRuntimeArray 10(fvec3)
61 12(outb): TypeStruct 9(float) 9(float) 9(float) 11
62 13: TypePointer Uniform 12(outb)
63 14(outbname): 13(ptr) Variable Uniform
64 15: TypeInt 32 1
65 16: 15(int) Constant 0
66 17: TypePointer Workgroup 9(float)
67 18(s): 17(ptr) Variable Workgroup
68 20: TypePointer Uniform 9(float)
69 22: TypeVector 9(float) 4
70 23(outbna): TypeStruct 15(int) 22(fvec4)
71 24: TypePointer Uniform 23(outbna)
72 25(outbnamena): 24(ptr) Variable Uniform
73 26: 15(int) Constant 1
74 29: TypePointer Uniform 22(fvec4)
75 31: 15(int) Constant 3
76 32: 15(int) Constant 18
77 33: 6(int) Constant 0
78 36: 15(int) Constant 17
79 37: 9(float) Constant 1077936128
80 38: 10(fvec3) ConstantComposite 37 37 37
81 39: TypePointer Uniform 10(fvec3)
82 41: TypePointer Workgroup 15(int)
chrgau01@arm.comc3f1cdf2016-11-14 10:10:05 +010083 42(i): 41(ptr) Variable Workgroup
John Kessenich82979362017-12-11 04:02:24 -070084 47: TypeRuntimeArray 22(fvec4)
85 48(outs): TypeStruct 15(int) 47
chrgau01@arm.comc3f1cdf2016-11-14 10:10:05 +010086 49: TypePointer Uniform 48(outs)
87 50(outnames): 49(ptr) Variable Uniform
88 51: TypeVector 6(int) 3
89 52: TypePointer Input 51(ivec3)
9053(gl_LocalInvocationID): 52(ptr) Variable Input
91 54: TypePointer Input 6(int)
John Kessenich82979362017-12-11 04:02:24 -070092 61: TypePointer Uniform 15(int)
93 63: TypePointer Input 15(int)
John Kessenichc08fb8a2017-03-14 16:45:30 -06009464(gl_DeviceIndex): 63(ptr) Variable Input
John Kessenich82979362017-12-11 04:02:24 -070095 65: 6(int) Constant 1
John Kessenich25050572017-12-15 08:51:31 -070096 66: 6(int) Constant 3400
John Kessenich82979362017-12-11 04:02:24 -070097 67: 6(int) Constant 16
98 68: 6(int) Constant 32
99 69: 6(int) Constant 4
100 70: 51(ivec3) ConstantComposite 67 68 69
John Kessenichcc16fa02015-12-10 18:01:54 -0700101 4(main): 2 Function None 3
102 5: Label
John Kessenich82979362017-12-11 04:02:24 -0700103 ControlBarrier 7 7 8
104 19: 9(float) Load 18(s)
105 21: 20(ptr) AccessChain 14(outbname) 16
106 Store 21 19
107 27: 9(float) Load 18(s)
108 28: 22(fvec4) CompositeConstruct 27 27 27 27
109 30: 29(ptr) AccessChain 25(outbnamena) 26
110 Store 30 28
111 34: 20(ptr) AccessChain 14(outbname) 31 32 33
112 35: 9(float) Load 34
113 Store 18(s) 35
114 40: 39(ptr) AccessChain 14(outbname) 31 36
chrgau01@arm.comc3f1cdf2016-11-14 10:10:05 +0100115 Store 40 38
John Kessenich82979362017-12-11 04:02:24 -0700116 43: 15(int) Load 42(i)
117 44: 9(float) Load 18(s)
118 45: 10(fvec3) CompositeConstruct 44 44 44
119 46: 39(ptr) AccessChain 14(outbname) 31 43
chrgau01@arm.comc3f1cdf2016-11-14 10:10:05 +0100120 Store 46 45
John Kessenich82979362017-12-11 04:02:24 -0700121 55: 54(ptr) AccessChain 53(gl_LocalInvocationID) 33
chrgau01@arm.comc3f1cdf2016-11-14 10:10:05 +0100122 56: 6(int) Load 55
John Kessenich82979362017-12-11 04:02:24 -0700123 57: 9(float) Load 18(s)
124 58: 22(fvec4) CompositeConstruct 57 57 57 57
125 59: 29(ptr) AccessChain 50(outnames) 26 56
chrgau01@arm.comc3f1cdf2016-11-14 10:10:05 +0100126 Store 59 58
John Kessenich82979362017-12-11 04:02:24 -0700127 60: 15(int) ArrayLength 14(outbname) 3
128 62: 61(ptr) AccessChain 50(outnames) 16
chrgau01@arm.comc3f1cdf2016-11-14 10:10:05 +0100129 Store 62 60
John Kessenich82979362017-12-11 04:02:24 -0700130 MemoryBarrier 65 8
131 MemoryBarrier 7 66
John Kessenichcc16fa02015-12-10 18:01:54 -0700132 Return
133 FunctionEnd