Skip to content

Commit baecc36

Browse files
chore: run go generate (#5)
Co-authored-by: fumiama <41315874+fumiama@users.noreply.github.com>
1 parent 2886181 commit baecc36

2 files changed

Lines changed: 189 additions & 0 deletions

File tree

internal/build/darkimg_ocl.spt

Lines changed: 189 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,189 @@
1+
119734787 67072 393230 89 0
2+
2 Capability Addresses
3+
2 Capability Linkage
4+
2 Capability Kernel
5+
2 Capability Int64
6+
2 Capability ImageBasic
7+
2 Capability Int8
8+
5 ExtInstImport 1 "OpenCL.std"
9+
3 MemoryModel 2 2
10+
6 EntryPoint 6 79 "isdark" 5
11+
17 String 87 "kernel_arg_type.isdark.image2d_t,sampler_t,uint,uint,char*,"
12+
11 String 88 "kernel_arg_type_qual.isdark.,,,,,"
13+
3 Source 3 102000
14+
11 Name 5 "__spirv_BuiltInGlobalInvocationId"
15+
4 Name 13 "isdark"
16+
5 Name 14 "inputImg"
17+
3 Name 15 "smp"
18+
4 Name 16 "outW"
19+
4 Name 17 "outH"
20+
4 Name 18 "output"
21+
4 Name 19 "entry"
22+
6 Name 20 "lor.lhs.false"
23+
4 Name 21 "if.then"
24+
4 Name 22 "if.end"
25+
4 Name 23 "cleanup"
26+
6 Name 24 "cleanup.cont"
27+
5 Name 25 "unreachable"
28+
4 Name 31 "call"
29+
4 Name 32 "conv"
30+
4 Name 35 "call1"
31+
4 Name 36 "conv2"
32+
3 Name 37 "cmp"
33+
4 Name 38 "cmp4"
34+
4 Name 40 "conv6"
35+
4 Name 41 "conv7"
36+
3 Name 42 "div"
37+
4 Name 45 "vecinit"
38+
4 Name 46 "conv8"
39+
4 Name 47 "conv9"
40+
4 Name 48 "div10"
41+
5 Name 49 "vecinit11"
42+
7 Name 51 "TempSampledImage"
43+
4 Name 54 "call12"
44+
3 Name 57 "mul"
45+
4 Name 60 "mul13"
46+
3 Name 61 "add"
47+
4 Name 64 "mul14"
48+
4 Name 65 "add15"
49+
4 Name 67 "div16"
50+
4 Name 69 "cmp17"
51+
4 Name 72 "conv18"
52+
4 Name 73 "conv19"
53+
4 Name 74 "mul20"
54+
4 Name 75 "add21"
55+
4 Name 76 "idxprom"
56+
5 Name 77 "arrayidx"
57+
7 Name 78 "cleanup.dest.slot.0"
58+
5 Name 80 "inputImg"
59+
3 Name 81 "smp"
60+
4 Name 82 "outW"
61+
4 Name 83 "outH"
62+
4 Name 84 "output"
63+
64+
13 Decorate 5 LinkageAttributes "__spirv_BuiltInGlobalInvocationId" Import
65+
3 Decorate 5 Constant
66+
4 Decorate 5 BuiltIn 28
67+
6 Decorate 13 LinkageAttributes "isdark" Export
68+
4 Decorate 18 Alignment 1
69+
4 Decorate 42 FPFastMathMode 16
70+
4 Decorate 48 FPFastMathMode 16
71+
4 Decorate 57 FPFastMathMode 16
72+
4 Decorate 60 FPFastMathMode 16
73+
4 Decorate 61 FPFastMathMode 16
74+
4 Decorate 64 FPFastMathMode 16
75+
4 Decorate 65 FPFastMathMode 16
76+
4 Decorate 67 FPFastMathMode 16
77+
4 Decorate 69 FPFastMathMode 16
78+
4 Decorate 84 Alignment 1
79+
4 TypeInt 2 64 0
80+
4 TypeInt 9 32 0
81+
4 TypeInt 10 8 0
82+
5 Constant 2 28 0 0
83+
4 Constant 9 70 0
84+
4 Constant 9 71 1
85+
4 TypeVector 3 2 3
86+
4 TypePointer 4 1 3
87+
2 TypeVoid 6
88+
10 TypeImage 7 6 1 0 0 0 0 0 0
89+
2 TypeSampler 8
90+
4 TypePointer 11 5 10
91+
8 TypeFunction 12 6 7 8 9 9 11
92+
2 TypeBool 29
93+
3 TypeFloat 39 32
94+
4 TypeVector 43 39 2
95+
3 TypeSampledImage 50 7
96+
4 TypeVector 52 39 4
97+
4 Variable 4 5 1
98+
3 ConstantTrue 29 30
99+
3 Undef 43 44
100+
4 Constant 39 53 0
101+
4 Constant 39 56 1133871104
102+
4 Constant 39 59 1142079488
103+
4 Constant 39 63 1122238464
104+
4 Constant 39 66 1148846080
105+
4 Constant 39 68 1097859072
106+
107+
108+
109+
5 Function 6 13 0 12
110+
3 FunctionParameter 7 14
111+
3 FunctionParameter 8 15
112+
3 FunctionParameter 9 16
113+
3 FunctionParameter 9 17
114+
3 FunctionParameter 11 18
115+
116+
2 Label 19
117+
6 Load 3 26 5 2 32
118+
5 CompositeExtract 2 27 26 0
119+
6 Select 2 31 30 27 28
120+
4 UConvert 9 32 31
121+
6 Load 3 33 5 2 32
122+
5 CompositeExtract 2 34 33 1
123+
6 Select 2 35 30 34 28
124+
4 UConvert 9 36 35
125+
5 UGreaterThanEqual 29 37 32 16
126+
4 BranchConditional 37 21 20
127+
128+
2 Label 20
129+
5 UGreaterThanEqual 29 38 36 17
130+
4 BranchConditional 38 21 22
131+
132+
2 Label 21
133+
2 Branch 23
134+
135+
2 Label 22
136+
4 ConvertUToF 39 40 32
137+
4 ConvertUToF 39 41 16
138+
5 FDiv 39 42 40 41
139+
6 CompositeInsert 43 45 42 44 0
140+
4 ConvertUToF 39 46 36
141+
4 ConvertUToF 39 47 17
142+
5 FDiv 39 48 46 47
143+
6 CompositeInsert 43 49 48 45 1
144+
5 SampledImage 50 51 14 15
145+
7 ImageSampleExplicitLod 52 54 51 49 2 53
146+
5 CompositeExtract 39 55 54 0
147+
5 FMul 39 57 56 55
148+
5 CompositeExtract 39 58 54 1
149+
5 FMul 39 60 59 58
150+
5 FAdd 39 61 57 60
151+
5 CompositeExtract 39 62 54 2
152+
5 FMul 39 64 63 62
153+
5 FAdd 39 65 61 64
154+
5 FDiv 39 67 65 66
155+
5 FOrdGreaterThan 29 69 67 68
156+
6 Select 9 72 69 71 70
157+
4 UConvert 10 73 72
158+
5 IMul 9 74 36 16
159+
5 IAdd 9 75 74 32
160+
4 UConvert 2 76 75
161+
5 InBoundsPtrAccessChain 11 77 18 76
162+
5 Store 77 73 2 1
163+
2 Branch 23
164+
165+
2 Label 23
166+
7 Phi 9 78 71 21 70 22
167+
7 Switch 78 25 0 24 1 24
168+
169+
2 Label 24
170+
1 Return
171+
172+
2 Label 25
173+
1 Unreachable
174+
175+
1 FunctionEnd
176+
177+
5 Function 6 79 0 12
178+
3 FunctionParameter 7 80
179+
3 FunctionParameter 8 81
180+
3 FunctionParameter 9 82
181+
3 FunctionParameter 9 83
182+
3 FunctionParameter 11 84
183+
184+
2 Label 85
185+
9 FunctionCall 6 86 13 80 81 82 83 84
186+
1 Return
187+
188+
1 FunctionEnd
189+

internal/build/darkimg_ocl_.spv

2.87 KB
Binary file not shown.

0 commit comments

Comments
 (0)