1 | // Copyright (c) 2014-2020 The Khronos Group Inc. |
2 | // |
3 | // Permission is hereby granted, free of charge, to any person obtaining a copy |
4 | // of this software and/or associated documentation files (the "Materials"), |
5 | // to deal in the Materials without restriction, including without limitation |
6 | // the rights to use, copy, modify, merge, publish, distribute, sublicense, |
7 | // and/or sell copies of the Materials, and to permit persons to whom the |
8 | // Materials are furnished to do so, subject to the following conditions: |
9 | // |
10 | // The above copyright notice and this permission notice shall be included in |
11 | // all copies or substantial portions of the Materials. |
12 | // |
13 | // MODIFICATIONS TO THIS FILE MAY MEAN IT NO LONGER ACCURATELY REFLECTS KHRONOS |
14 | // STANDARDS. THE UNMODIFIED, NORMATIVE VERSIONS OF KHRONOS SPECIFICATIONS AND |
15 | // HEADER INFORMATION ARE LOCATED AT https://www.khronos.org/registry/ |
16 | // |
17 | // THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
18 | // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
19 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
20 | // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
21 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
22 | // FROM,OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS |
23 | // IN THE MATERIALS. |
24 | |
25 | // This header is automatically generated by the same tool that creates |
26 | // the Binary Section of the SPIR-V specification. |
27 | |
28 | // Enumeration tokens for SPIR-V, in various styles: |
29 | // C, C++, C++11, JSON, Lua, Python, C#, D, Beef |
30 | // |
31 | // - C will have tokens with a "Spv" prefix, e.g.: SpvSourceLanguageGLSL |
32 | // - C++ will have tokens in the "spv" name space, e.g.: spv::SourceLanguageGLSL |
33 | // - C++11 will use enum classes in the spv namespace, e.g.: spv::SourceLanguage::GLSL |
34 | // - Lua will use tables, e.g.: spv.SourceLanguage.GLSL |
35 | // - Python will use dictionaries, e.g.: spv['SourceLanguage']['GLSL'] |
36 | // - C# will use enum classes in the Specification class located in the "Spv" namespace, |
37 | // e.g.: Spv.Specification.SourceLanguage.GLSL |
38 | // - D will have tokens under the "spv" module, e.g: spv.SourceLanguage.GLSL |
39 | // - Beef will use enum classes in the Specification class located in the "Spv" namespace, |
40 | // e.g.: Spv.Specification.SourceLanguage.GLSL |
41 | // |
42 | // Some tokens act like mask values, which can be OR'd together, |
43 | // while others are mutually exclusive. The mask-like ones have |
44 | // "Mask" in their name, and a parallel enum that has the shift |
45 | // amount (1 << x) for each corresponding enumerant. |
46 | |
47 | #ifndef spirv_HPP |
48 | #define spirv_HPP |
49 | |
50 | namespace spv { |
51 | |
52 | typedef unsigned int Id; |
53 | |
54 | #define SPV_VERSION 0x10600 |
55 | #define SPV_REVISION 1 |
56 | |
57 | static const unsigned int MagicNumber = 0x07230203; |
58 | static const unsigned int Version = 0x00010600; |
59 | static const unsigned int Revision = 1; |
60 | static const unsigned int OpCodeMask = 0xffff; |
61 | static const unsigned int WordCountShift = 16; |
62 | |
63 | enum SourceLanguage { |
64 | SourceLanguageUnknown = 0, |
65 | SourceLanguageESSL = 1, |
66 | SourceLanguageGLSL = 2, |
67 | SourceLanguageOpenCL_C = 3, |
68 | SourceLanguageOpenCL_CPP = 4, |
69 | SourceLanguageHLSL = 5, |
70 | SourceLanguageCPP_for_OpenCL = 6, |
71 | SourceLanguageSYCL = 7, |
72 | SourceLanguageMax = 0x7fffffff, |
73 | }; |
74 | |
75 | enum ExecutionModel { |
76 | ExecutionModelVertex = 0, |
77 | ExecutionModelTessellationControl = 1, |
78 | ExecutionModelTessellationEvaluation = 2, |
79 | ExecutionModelGeometry = 3, |
80 | ExecutionModelFragment = 4, |
81 | ExecutionModelGLCompute = 5, |
82 | ExecutionModelKernel = 6, |
83 | ExecutionModelTaskNV = 5267, |
84 | ExecutionModelMeshNV = 5268, |
85 | ExecutionModelRayGenerationKHR = 5313, |
86 | ExecutionModelRayGenerationNV = 5313, |
87 | ExecutionModelIntersectionKHR = 5314, |
88 | ExecutionModelIntersectionNV = 5314, |
89 | ExecutionModelAnyHitKHR = 5315, |
90 | ExecutionModelAnyHitNV = 5315, |
91 | ExecutionModelClosestHitKHR = 5316, |
92 | ExecutionModelClosestHitNV = 5316, |
93 | ExecutionModelMissKHR = 5317, |
94 | ExecutionModelMissNV = 5317, |
95 | ExecutionModelCallableKHR = 5318, |
96 | ExecutionModelCallableNV = 5318, |
97 | ExecutionModelTaskEXT = 5364, |
98 | ExecutionModelMeshEXT = 5365, |
99 | ExecutionModelMax = 0x7fffffff, |
100 | }; |
101 | |
102 | enum AddressingModel { |
103 | AddressingModelLogical = 0, |
104 | AddressingModelPhysical32 = 1, |
105 | AddressingModelPhysical64 = 2, |
106 | AddressingModelPhysicalStorageBuffer64 = 5348, |
107 | AddressingModelPhysicalStorageBuffer64EXT = 5348, |
108 | AddressingModelMax = 0x7fffffff, |
109 | }; |
110 | |
111 | enum MemoryModel { |
112 | MemoryModelSimple = 0, |
113 | MemoryModelGLSL450 = 1, |
114 | MemoryModelOpenCL = 2, |
115 | MemoryModelVulkan = 3, |
116 | MemoryModelVulkanKHR = 3, |
117 | MemoryModelMax = 0x7fffffff, |
118 | }; |
119 | |
120 | enum ExecutionMode { |
121 | ExecutionModeInvocations = 0, |
122 | ExecutionModeSpacingEqual = 1, |
123 | ExecutionModeSpacingFractionalEven = 2, |
124 | ExecutionModeSpacingFractionalOdd = 3, |
125 | ExecutionModeVertexOrderCw = 4, |
126 | ExecutionModeVertexOrderCcw = 5, |
127 | ExecutionModePixelCenterInteger = 6, |
128 | ExecutionModeOriginUpperLeft = 7, |
129 | ExecutionModeOriginLowerLeft = 8, |
130 | ExecutionModeEarlyFragmentTests = 9, |
131 | ExecutionModePointMode = 10, |
132 | ExecutionModeXfb = 11, |
133 | ExecutionModeDepthReplacing = 12, |
134 | ExecutionModeDepthGreater = 14, |
135 | ExecutionModeDepthLess = 15, |
136 | ExecutionModeDepthUnchanged = 16, |
137 | ExecutionModeLocalSize = 17, |
138 | ExecutionModeLocalSizeHint = 18, |
139 | ExecutionModeInputPoints = 19, |
140 | ExecutionModeInputLines = 20, |
141 | ExecutionModeInputLinesAdjacency = 21, |
142 | ExecutionModeTriangles = 22, |
143 | ExecutionModeInputTrianglesAdjacency = 23, |
144 | ExecutionModeQuads = 24, |
145 | ExecutionModeIsolines = 25, |
146 | ExecutionModeOutputVertices = 26, |
147 | ExecutionModeOutputPoints = 27, |
148 | ExecutionModeOutputLineStrip = 28, |
149 | ExecutionModeOutputTriangleStrip = 29, |
150 | ExecutionModeVecTypeHint = 30, |
151 | ExecutionModeContractionOff = 31, |
152 | ExecutionModeInitializer = 33, |
153 | ExecutionModeFinalizer = 34, |
154 | ExecutionModeSubgroupSize = 35, |
155 | ExecutionModeSubgroupsPerWorkgroup = 36, |
156 | ExecutionModeSubgroupsPerWorkgroupId = 37, |
157 | ExecutionModeLocalSizeId = 38, |
158 | ExecutionModeLocalSizeHintId = 39, |
159 | ExecutionModeNonCoherentColorAttachmentReadEXT = 4169, |
160 | ExecutionModeNonCoherentDepthAttachmentReadEXT = 4170, |
161 | ExecutionModeNonCoherentStencilAttachmentReadEXT = 4171, |
162 | ExecutionModeSubgroupUniformControlFlowKHR = 4421, |
163 | ExecutionModePostDepthCoverage = 4446, |
164 | ExecutionModeDenormPreserve = 4459, |
165 | ExecutionModeDenormFlushToZero = 4460, |
166 | ExecutionModeSignedZeroInfNanPreserve = 4461, |
167 | ExecutionModeRoundingModeRTE = 4462, |
168 | ExecutionModeRoundingModeRTZ = 4463, |
169 | ExecutionModeEarlyAndLateFragmentTestsAMD = 5017, |
170 | ExecutionModeStencilRefReplacingEXT = 5027, |
171 | ExecutionModeStencilRefUnchangedFrontAMD = 5079, |
172 | ExecutionModeStencilRefGreaterFrontAMD = 5080, |
173 | ExecutionModeStencilRefLessFrontAMD = 5081, |
174 | ExecutionModeStencilRefUnchangedBackAMD = 5082, |
175 | ExecutionModeStencilRefGreaterBackAMD = 5083, |
176 | ExecutionModeStencilRefLessBackAMD = 5084, |
177 | ExecutionModeOutputLinesEXT = 5269, |
178 | ExecutionModeOutputLinesNV = 5269, |
179 | ExecutionModeOutputPrimitivesEXT = 5270, |
180 | ExecutionModeOutputPrimitivesNV = 5270, |
181 | ExecutionModeDerivativeGroupQuadsNV = 5289, |
182 | ExecutionModeDerivativeGroupLinearNV = 5290, |
183 | ExecutionModeOutputTrianglesEXT = 5298, |
184 | ExecutionModeOutputTrianglesNV = 5298, |
185 | ExecutionModePixelInterlockOrderedEXT = 5366, |
186 | ExecutionModePixelInterlockUnorderedEXT = 5367, |
187 | ExecutionModeSampleInterlockOrderedEXT = 5368, |
188 | ExecutionModeSampleInterlockUnorderedEXT = 5369, |
189 | ExecutionModeShadingRateInterlockOrderedEXT = 5370, |
190 | ExecutionModeShadingRateInterlockUnorderedEXT = 5371, |
191 | ExecutionModeSharedLocalMemorySizeINTEL = 5618, |
192 | ExecutionModeRoundingModeRTPINTEL = 5620, |
193 | ExecutionModeRoundingModeRTNINTEL = 5621, |
194 | ExecutionModeFloatingPointModeALTINTEL = 5622, |
195 | ExecutionModeFloatingPointModeIEEEINTEL = 5623, |
196 | ExecutionModeMaxWorkgroupSizeINTEL = 5893, |
197 | ExecutionModeMaxWorkDimINTEL = 5894, |
198 | ExecutionModeNoGlobalOffsetINTEL = 5895, |
199 | ExecutionModeNumSIMDWorkitemsINTEL = 5896, |
200 | ExecutionModeSchedulerTargetFmaxMhzINTEL = 5903, |
201 | ExecutionModeStreamingInterfaceINTEL = 6154, |
202 | ExecutionModeNamedBarrierCountINTEL = 6417, |
203 | ExecutionModeMax = 0x7fffffff, |
204 | }; |
205 | |
206 | enum StorageClass { |
207 | StorageClassUniformConstant = 0, |
208 | StorageClassInput = 1, |
209 | StorageClassUniform = 2, |
210 | StorageClassOutput = 3, |
211 | StorageClassWorkgroup = 4, |
212 | StorageClassCrossWorkgroup = 5, |
213 | StorageClassPrivate = 6, |
214 | StorageClassFunction = 7, |
215 | StorageClassGeneric = 8, |
216 | StorageClassPushConstant = 9, |
217 | StorageClassAtomicCounter = 10, |
218 | StorageClassImage = 11, |
219 | StorageClassStorageBuffer = 12, |
220 | StorageClassTileImageEXT = 4172, |
221 | StorageClassCallableDataKHR = 5328, |
222 | StorageClassCallableDataNV = 5328, |
223 | StorageClassIncomingCallableDataKHR = 5329, |
224 | StorageClassIncomingCallableDataNV = 5329, |
225 | StorageClassRayPayloadKHR = 5338, |
226 | StorageClassRayPayloadNV = 5338, |
227 | StorageClassHitAttributeKHR = 5339, |
228 | StorageClassHitAttributeNV = 5339, |
229 | StorageClassIncomingRayPayloadKHR = 5342, |
230 | StorageClassIncomingRayPayloadNV = 5342, |
231 | StorageClassShaderRecordBufferKHR = 5343, |
232 | StorageClassShaderRecordBufferNV = 5343, |
233 | StorageClassPhysicalStorageBuffer = 5349, |
234 | StorageClassPhysicalStorageBufferEXT = 5349, |
235 | StorageClassHitObjectAttributeNV = 5385, |
236 | StorageClassTaskPayloadWorkgroupEXT = 5402, |
237 | StorageClassCodeSectionINTEL = 5605, |
238 | StorageClassDeviceOnlyINTEL = 5936, |
239 | StorageClassHostOnlyINTEL = 5937, |
240 | StorageClassMax = 0x7fffffff, |
241 | }; |
242 | |
243 | enum Dim { |
244 | Dim1D = 0, |
245 | Dim2D = 1, |
246 | Dim3D = 2, |
247 | DimCube = 3, |
248 | DimRect = 4, |
249 | DimBuffer = 5, |
250 | DimSubpassData = 6, |
251 | DimTileImageDataEXT = 4173, |
252 | DimMax = 0x7fffffff, |
253 | }; |
254 | |
255 | enum SamplerAddressingMode { |
256 | SamplerAddressingModeNone = 0, |
257 | SamplerAddressingModeClampToEdge = 1, |
258 | SamplerAddressingModeClamp = 2, |
259 | SamplerAddressingModeRepeat = 3, |
260 | SamplerAddressingModeRepeatMirrored = 4, |
261 | SamplerAddressingModeMax = 0x7fffffff, |
262 | }; |
263 | |
264 | enum SamplerFilterMode { |
265 | SamplerFilterModeNearest = 0, |
266 | SamplerFilterModeLinear = 1, |
267 | SamplerFilterModeMax = 0x7fffffff, |
268 | }; |
269 | |
270 | enum ImageFormat { |
271 | ImageFormatUnknown = 0, |
272 | ImageFormatRgba32f = 1, |
273 | ImageFormatRgba16f = 2, |
274 | ImageFormatR32f = 3, |
275 | ImageFormatRgba8 = 4, |
276 | ImageFormatRgba8Snorm = 5, |
277 | ImageFormatRg32f = 6, |
278 | ImageFormatRg16f = 7, |
279 | ImageFormatR11fG11fB10f = 8, |
280 | ImageFormatR16f = 9, |
281 | ImageFormatRgba16 = 10, |
282 | ImageFormatRgb10A2 = 11, |
283 | ImageFormatRg16 = 12, |
284 | ImageFormatRg8 = 13, |
285 | ImageFormatR16 = 14, |
286 | ImageFormatR8 = 15, |
287 | ImageFormatRgba16Snorm = 16, |
288 | ImageFormatRg16Snorm = 17, |
289 | ImageFormatRg8Snorm = 18, |
290 | ImageFormatR16Snorm = 19, |
291 | ImageFormatR8Snorm = 20, |
292 | ImageFormatRgba32i = 21, |
293 | ImageFormatRgba16i = 22, |
294 | ImageFormatRgba8i = 23, |
295 | ImageFormatR32i = 24, |
296 | ImageFormatRg32i = 25, |
297 | ImageFormatRg16i = 26, |
298 | ImageFormatRg8i = 27, |
299 | ImageFormatR16i = 28, |
300 | ImageFormatR8i = 29, |
301 | ImageFormatRgba32ui = 30, |
302 | ImageFormatRgba16ui = 31, |
303 | ImageFormatRgba8ui = 32, |
304 | ImageFormatR32ui = 33, |
305 | ImageFormatRgb10a2ui = 34, |
306 | ImageFormatRg32ui = 35, |
307 | ImageFormatRg16ui = 36, |
308 | ImageFormatRg8ui = 37, |
309 | ImageFormatR16ui = 38, |
310 | ImageFormatR8ui = 39, |
311 | ImageFormatR64ui = 40, |
312 | ImageFormatR64i = 41, |
313 | ImageFormatMax = 0x7fffffff, |
314 | }; |
315 | |
316 | enum ImageChannelOrder { |
317 | ImageChannelOrderR = 0, |
318 | ImageChannelOrderA = 1, |
319 | ImageChannelOrderRG = 2, |
320 | ImageChannelOrderRA = 3, |
321 | ImageChannelOrderRGB = 4, |
322 | ImageChannelOrderRGBA = 5, |
323 | ImageChannelOrderBGRA = 6, |
324 | ImageChannelOrderARGB = 7, |
325 | ImageChannelOrderIntensity = 8, |
326 | ImageChannelOrderLuminance = 9, |
327 | ImageChannelOrderRx = 10, |
328 | ImageChannelOrderRGx = 11, |
329 | ImageChannelOrderRGBx = 12, |
330 | ImageChannelOrderDepth = 13, |
331 | ImageChannelOrderDepthStencil = 14, |
332 | ImageChannelOrdersRGB = 15, |
333 | ImageChannelOrdersRGBx = 16, |
334 | ImageChannelOrdersRGBA = 17, |
335 | ImageChannelOrdersBGRA = 18, |
336 | ImageChannelOrderABGR = 19, |
337 | ImageChannelOrderMax = 0x7fffffff, |
338 | }; |
339 | |
340 | enum ImageChannelDataType { |
341 | ImageChannelDataTypeSnormInt8 = 0, |
342 | ImageChannelDataTypeSnormInt16 = 1, |
343 | ImageChannelDataTypeUnormInt8 = 2, |
344 | ImageChannelDataTypeUnormInt16 = 3, |
345 | ImageChannelDataTypeUnormShort565 = 4, |
346 | ImageChannelDataTypeUnormShort555 = 5, |
347 | ImageChannelDataTypeUnormInt101010 = 6, |
348 | ImageChannelDataTypeSignedInt8 = 7, |
349 | ImageChannelDataTypeSignedInt16 = 8, |
350 | ImageChannelDataTypeSignedInt32 = 9, |
351 | ImageChannelDataTypeUnsignedInt8 = 10, |
352 | ImageChannelDataTypeUnsignedInt16 = 11, |
353 | ImageChannelDataTypeUnsignedInt32 = 12, |
354 | ImageChannelDataTypeHalfFloat = 13, |
355 | ImageChannelDataTypeFloat = 14, |
356 | ImageChannelDataTypeUnormInt24 = 15, |
357 | ImageChannelDataTypeUnormInt101010_2 = 16, |
358 | ImageChannelDataTypeMax = 0x7fffffff, |
359 | }; |
360 | |
361 | enum ImageOperandsShift { |
362 | ImageOperandsBiasShift = 0, |
363 | ImageOperandsLodShift = 1, |
364 | ImageOperandsGradShift = 2, |
365 | ImageOperandsConstOffsetShift = 3, |
366 | ImageOperandsOffsetShift = 4, |
367 | ImageOperandsConstOffsetsShift = 5, |
368 | ImageOperandsSampleShift = 6, |
369 | ImageOperandsMinLodShift = 7, |
370 | ImageOperandsMakeTexelAvailableShift = 8, |
371 | ImageOperandsMakeTexelAvailableKHRShift = 8, |
372 | ImageOperandsMakeTexelVisibleShift = 9, |
373 | ImageOperandsMakeTexelVisibleKHRShift = 9, |
374 | ImageOperandsNonPrivateTexelShift = 10, |
375 | ImageOperandsNonPrivateTexelKHRShift = 10, |
376 | ImageOperandsVolatileTexelShift = 11, |
377 | ImageOperandsVolatileTexelKHRShift = 11, |
378 | ImageOperandsSignExtendShift = 12, |
379 | ImageOperandsZeroExtendShift = 13, |
380 | ImageOperandsNontemporalShift = 14, |
381 | ImageOperandsOffsetsShift = 16, |
382 | ImageOperandsMax = 0x7fffffff, |
383 | }; |
384 | |
385 | enum ImageOperandsMask { |
386 | ImageOperandsMaskNone = 0, |
387 | ImageOperandsBiasMask = 0x00000001, |
388 | ImageOperandsLodMask = 0x00000002, |
389 | ImageOperandsGradMask = 0x00000004, |
390 | ImageOperandsConstOffsetMask = 0x00000008, |
391 | ImageOperandsOffsetMask = 0x00000010, |
392 | ImageOperandsConstOffsetsMask = 0x00000020, |
393 | ImageOperandsSampleMask = 0x00000040, |
394 | ImageOperandsMinLodMask = 0x00000080, |
395 | ImageOperandsMakeTexelAvailableMask = 0x00000100, |
396 | ImageOperandsMakeTexelAvailableKHRMask = 0x00000100, |
397 | ImageOperandsMakeTexelVisibleMask = 0x00000200, |
398 | ImageOperandsMakeTexelVisibleKHRMask = 0x00000200, |
399 | ImageOperandsNonPrivateTexelMask = 0x00000400, |
400 | ImageOperandsNonPrivateTexelKHRMask = 0x00000400, |
401 | ImageOperandsVolatileTexelMask = 0x00000800, |
402 | ImageOperandsVolatileTexelKHRMask = 0x00000800, |
403 | ImageOperandsSignExtendMask = 0x00001000, |
404 | ImageOperandsZeroExtendMask = 0x00002000, |
405 | ImageOperandsNontemporalMask = 0x00004000, |
406 | ImageOperandsOffsetsMask = 0x00010000, |
407 | }; |
408 | |
409 | enum FPFastMathModeShift { |
410 | FPFastMathModeNotNaNShift = 0, |
411 | FPFastMathModeNotInfShift = 1, |
412 | FPFastMathModeNSZShift = 2, |
413 | FPFastMathModeAllowRecipShift = 3, |
414 | FPFastMathModeFastShift = 4, |
415 | FPFastMathModeAllowContractFastINTELShift = 16, |
416 | FPFastMathModeAllowReassocINTELShift = 17, |
417 | FPFastMathModeMax = 0x7fffffff, |
418 | }; |
419 | |
420 | enum FPFastMathModeMask { |
421 | FPFastMathModeMaskNone = 0, |
422 | FPFastMathModeNotNaNMask = 0x00000001, |
423 | FPFastMathModeNotInfMask = 0x00000002, |
424 | FPFastMathModeNSZMask = 0x00000004, |
425 | FPFastMathModeAllowRecipMask = 0x00000008, |
426 | FPFastMathModeFastMask = 0x00000010, |
427 | FPFastMathModeAllowContractFastINTELMask = 0x00010000, |
428 | FPFastMathModeAllowReassocINTELMask = 0x00020000, |
429 | }; |
430 | |
431 | enum FPRoundingMode { |
432 | FPRoundingModeRTE = 0, |
433 | FPRoundingModeRTZ = 1, |
434 | FPRoundingModeRTP = 2, |
435 | FPRoundingModeRTN = 3, |
436 | FPRoundingModeMax = 0x7fffffff, |
437 | }; |
438 | |
439 | enum LinkageType { |
440 | LinkageTypeExport = 0, |
441 | LinkageTypeImport = 1, |
442 | LinkageTypeLinkOnceODR = 2, |
443 | LinkageTypeMax = 0x7fffffff, |
444 | }; |
445 | |
446 | enum AccessQualifier { |
447 | AccessQualifierReadOnly = 0, |
448 | AccessQualifierWriteOnly = 1, |
449 | AccessQualifierReadWrite = 2, |
450 | AccessQualifierMax = 0x7fffffff, |
451 | }; |
452 | |
453 | enum FunctionParameterAttribute { |
454 | FunctionParameterAttributeZext = 0, |
455 | FunctionParameterAttributeSext = 1, |
456 | FunctionParameterAttributeByVal = 2, |
457 | FunctionParameterAttributeSret = 3, |
458 | FunctionParameterAttributeNoAlias = 4, |
459 | FunctionParameterAttributeNoCapture = 5, |
460 | FunctionParameterAttributeNoWrite = 6, |
461 | FunctionParameterAttributeNoReadWrite = 7, |
462 | FunctionParameterAttributeRuntimeAlignedINTEL = 5940, |
463 | FunctionParameterAttributeMax = 0x7fffffff, |
464 | }; |
465 | |
466 | enum Decoration { |
467 | DecorationRelaxedPrecision = 0, |
468 | DecorationSpecId = 1, |
469 | DecorationBlock = 2, |
470 | DecorationBufferBlock = 3, |
471 | DecorationRowMajor = 4, |
472 | DecorationColMajor = 5, |
473 | DecorationArrayStride = 6, |
474 | DecorationMatrixStride = 7, |
475 | DecorationGLSLShared = 8, |
476 | DecorationGLSLPacked = 9, |
477 | DecorationCPacked = 10, |
478 | DecorationBuiltIn = 11, |
479 | DecorationNoPerspective = 13, |
480 | DecorationFlat = 14, |
481 | DecorationPatch = 15, |
482 | DecorationCentroid = 16, |
483 | DecorationSample = 17, |
484 | DecorationInvariant = 18, |
485 | DecorationRestrict = 19, |
486 | DecorationAliased = 20, |
487 | DecorationVolatile = 21, |
488 | DecorationConstant = 22, |
489 | DecorationCoherent = 23, |
490 | DecorationNonWritable = 24, |
491 | DecorationNonReadable = 25, |
492 | DecorationUniform = 26, |
493 | DecorationUniformId = 27, |
494 | DecorationSaturatedConversion = 28, |
495 | DecorationStream = 29, |
496 | DecorationLocation = 30, |
497 | DecorationComponent = 31, |
498 | DecorationIndex = 32, |
499 | DecorationBinding = 33, |
500 | DecorationDescriptorSet = 34, |
501 | DecorationOffset = 35, |
502 | DecorationXfbBuffer = 36, |
503 | DecorationXfbStride = 37, |
504 | DecorationFuncParamAttr = 38, |
505 | DecorationFPRoundingMode = 39, |
506 | DecorationFPFastMathMode = 40, |
507 | DecorationLinkageAttributes = 41, |
508 | DecorationNoContraction = 42, |
509 | DecorationInputAttachmentIndex = 43, |
510 | DecorationAlignment = 44, |
511 | DecorationMaxByteOffset = 45, |
512 | DecorationAlignmentId = 46, |
513 | DecorationMaxByteOffsetId = 47, |
514 | DecorationNoSignedWrap = 4469, |
515 | DecorationNoUnsignedWrap = 4470, |
516 | DecorationExplicitInterpAMD = 4999, |
517 | DecorationOverrideCoverageNV = 5248, |
518 | DecorationPassthroughNV = 5250, |
519 | DecorationViewportRelativeNV = 5252, |
520 | DecorationSecondaryViewportRelativeNV = 5256, |
521 | DecorationPerPrimitiveEXT = 5271, |
522 | DecorationPerPrimitiveNV = 5271, |
523 | DecorationPerViewNV = 5272, |
524 | DecorationPerTaskNV = 5273, |
525 | DecorationPerVertexKHR = 5285, |
526 | DecorationPerVertexNV = 5285, |
527 | DecorationNonUniform = 5300, |
528 | DecorationNonUniformEXT = 5300, |
529 | DecorationRestrictPointer = 5355, |
530 | DecorationRestrictPointerEXT = 5355, |
531 | DecorationAliasedPointer = 5356, |
532 | DecorationAliasedPointerEXT = 5356, |
533 | DecorationHitObjectShaderRecordBufferNV = 5386, |
534 | DecorationBindlessSamplerNV = 5398, |
535 | DecorationBindlessImageNV = 5399, |
536 | DecorationBoundSamplerNV = 5400, |
537 | DecorationBoundImageNV = 5401, |
538 | DecorationSIMTCallINTEL = 5599, |
539 | DecorationReferencedIndirectlyINTEL = 5602, |
540 | DecorationClobberINTEL = 5607, |
541 | DecorationSideEffectsINTEL = 5608, |
542 | DecorationVectorComputeVariableINTEL = 5624, |
543 | DecorationFuncParamIOKindINTEL = 5625, |
544 | DecorationVectorComputeFunctionINTEL = 5626, |
545 | DecorationStackCallINTEL = 5627, |
546 | DecorationGlobalVariableOffsetINTEL = 5628, |
547 | DecorationCounterBuffer = 5634, |
548 | DecorationHlslCounterBufferGOOGLE = 5634, |
549 | DecorationHlslSemanticGOOGLE = 5635, |
550 | DecorationUserSemantic = 5635, |
551 | DecorationUserTypeGOOGLE = 5636, |
552 | DecorationFunctionRoundingModeINTEL = 5822, |
553 | DecorationFunctionDenormModeINTEL = 5823, |
554 | DecorationRegisterINTEL = 5825, |
555 | DecorationMemoryINTEL = 5826, |
556 | DecorationNumbanksINTEL = 5827, |
557 | DecorationBankwidthINTEL = 5828, |
558 | DecorationMaxPrivateCopiesINTEL = 5829, |
559 | DecorationSinglepumpINTEL = 5830, |
560 | DecorationDoublepumpINTEL = 5831, |
561 | DecorationMaxReplicatesINTEL = 5832, |
562 | DecorationSimpleDualPortINTEL = 5833, |
563 | DecorationMergeINTEL = 5834, |
564 | DecorationBankBitsINTEL = 5835, |
565 | DecorationForcePow2DepthINTEL = 5836, |
566 | DecorationBurstCoalesceINTEL = 5899, |
567 | DecorationCacheSizeINTEL = 5900, |
568 | DecorationDontStaticallyCoalesceINTEL = 5901, |
569 | DecorationPrefetchINTEL = 5902, |
570 | DecorationStallEnableINTEL = 5905, |
571 | DecorationFuseLoopsInFunctionINTEL = 5907, |
572 | DecorationMathOpDSPModeINTEL = 5909, |
573 | DecorationAliasScopeINTEL = 5914, |
574 | DecorationNoAliasINTEL = 5915, |
575 | DecorationInitiationIntervalINTEL = 5917, |
576 | DecorationMaxConcurrencyINTEL = 5918, |
577 | DecorationPipelineEnableINTEL = 5919, |
578 | DecorationBufferLocationINTEL = 5921, |
579 | DecorationIOPipeStorageINTEL = 5944, |
580 | DecorationFunctionFloatingPointModeINTEL = 6080, |
581 | DecorationSingleElementVectorINTEL = 6085, |
582 | DecorationVectorComputeCallableFunctionINTEL = 6087, |
583 | DecorationMediaBlockIOINTEL = 6140, |
584 | DecorationConduitKernelArgumentINTEL = 6175, |
585 | DecorationRegisterMapKernelArgumentINTEL = 6176, |
586 | DecorationMMHostInterfaceAddressWidthINTEL = 6177, |
587 | DecorationMMHostInterfaceDataWidthINTEL = 6178, |
588 | DecorationMMHostInterfaceLatencyINTEL = 6179, |
589 | DecorationMMHostInterfaceReadWriteModeINTEL = 6180, |
590 | DecorationMMHostInterfaceMaxBurstINTEL = 6181, |
591 | DecorationMMHostInterfaceWaitRequestINTEL = 6182, |
592 | DecorationStableKernelArgumentINTEL = 6183, |
593 | DecorationMax = 0x7fffffff, |
594 | }; |
595 | |
596 | enum BuiltIn { |
597 | BuiltInPosition = 0, |
598 | BuiltInPointSize = 1, |
599 | BuiltInClipDistance = 3, |
600 | BuiltInCullDistance = 4, |
601 | BuiltInVertexId = 5, |
602 | BuiltInInstanceId = 6, |
603 | BuiltInPrimitiveId = 7, |
604 | BuiltInInvocationId = 8, |
605 | BuiltInLayer = 9, |
606 | BuiltInViewportIndex = 10, |
607 | BuiltInTessLevelOuter = 11, |
608 | BuiltInTessLevelInner = 12, |
609 | BuiltInTessCoord = 13, |
610 | BuiltInPatchVertices = 14, |
611 | BuiltInFragCoord = 15, |
612 | BuiltInPointCoord = 16, |
613 | BuiltInFrontFacing = 17, |
614 | BuiltInSampleId = 18, |
615 | BuiltInSamplePosition = 19, |
616 | BuiltInSampleMask = 20, |
617 | BuiltInFragDepth = 22, |
618 | BuiltInHelperInvocation = 23, |
619 | BuiltInNumWorkgroups = 24, |
620 | BuiltInWorkgroupSize = 25, |
621 | BuiltInWorkgroupId = 26, |
622 | BuiltInLocalInvocationId = 27, |
623 | BuiltInGlobalInvocationId = 28, |
624 | BuiltInLocalInvocationIndex = 29, |
625 | BuiltInWorkDim = 30, |
626 | BuiltInGlobalSize = 31, |
627 | BuiltInEnqueuedWorkgroupSize = 32, |
628 | BuiltInGlobalOffset = 33, |
629 | BuiltInGlobalLinearId = 34, |
630 | BuiltInSubgroupSize = 36, |
631 | BuiltInSubgroupMaxSize = 37, |
632 | BuiltInNumSubgroups = 38, |
633 | BuiltInNumEnqueuedSubgroups = 39, |
634 | BuiltInSubgroupId = 40, |
635 | BuiltInSubgroupLocalInvocationId = 41, |
636 | BuiltInVertexIndex = 42, |
637 | BuiltInInstanceIndex = 43, |
638 | BuiltInCoreIDARM = 4160, |
639 | BuiltInCoreCountARM = 4161, |
640 | BuiltInCoreMaxIDARM = 4162, |
641 | BuiltInWarpIDARM = 4163, |
642 | BuiltInWarpMaxIDARM = 4164, |
643 | BuiltInSubgroupEqMask = 4416, |
644 | BuiltInSubgroupEqMaskKHR = 4416, |
645 | BuiltInSubgroupGeMask = 4417, |
646 | BuiltInSubgroupGeMaskKHR = 4417, |
647 | BuiltInSubgroupGtMask = 4418, |
648 | BuiltInSubgroupGtMaskKHR = 4418, |
649 | BuiltInSubgroupLeMask = 4419, |
650 | BuiltInSubgroupLeMaskKHR = 4419, |
651 | BuiltInSubgroupLtMask = 4420, |
652 | BuiltInSubgroupLtMaskKHR = 4420, |
653 | BuiltInBaseVertex = 4424, |
654 | BuiltInBaseInstance = 4425, |
655 | BuiltInDrawIndex = 4426, |
656 | BuiltInPrimitiveShadingRateKHR = 4432, |
657 | BuiltInDeviceIndex = 4438, |
658 | BuiltInViewIndex = 4440, |
659 | BuiltInShadingRateKHR = 4444, |
660 | BuiltInBaryCoordNoPerspAMD = 4992, |
661 | BuiltInBaryCoordNoPerspCentroidAMD = 4993, |
662 | BuiltInBaryCoordNoPerspSampleAMD = 4994, |
663 | BuiltInBaryCoordSmoothAMD = 4995, |
664 | BuiltInBaryCoordSmoothCentroidAMD = 4996, |
665 | BuiltInBaryCoordSmoothSampleAMD = 4997, |
666 | BuiltInBaryCoordPullModelAMD = 4998, |
667 | BuiltInFragStencilRefEXT = 5014, |
668 | BuiltInViewportMaskNV = 5253, |
669 | BuiltInSecondaryPositionNV = 5257, |
670 | BuiltInSecondaryViewportMaskNV = 5258, |
671 | BuiltInPositionPerViewNV = 5261, |
672 | BuiltInViewportMaskPerViewNV = 5262, |
673 | BuiltInFullyCoveredEXT = 5264, |
674 | BuiltInTaskCountNV = 5274, |
675 | BuiltInPrimitiveCountNV = 5275, |
676 | BuiltInPrimitiveIndicesNV = 5276, |
677 | BuiltInClipDistancePerViewNV = 5277, |
678 | BuiltInCullDistancePerViewNV = 5278, |
679 | BuiltInLayerPerViewNV = 5279, |
680 | BuiltInMeshViewCountNV = 5280, |
681 | BuiltInMeshViewIndicesNV = 5281, |
682 | BuiltInBaryCoordKHR = 5286, |
683 | BuiltInBaryCoordNV = 5286, |
684 | BuiltInBaryCoordNoPerspKHR = 5287, |
685 | BuiltInBaryCoordNoPerspNV = 5287, |
686 | BuiltInFragSizeEXT = 5292, |
687 | BuiltInFragmentSizeNV = 5292, |
688 | BuiltInFragInvocationCountEXT = 5293, |
689 | BuiltInInvocationsPerPixelNV = 5293, |
690 | BuiltInPrimitivePointIndicesEXT = 5294, |
691 | BuiltInPrimitiveLineIndicesEXT = 5295, |
692 | BuiltInPrimitiveTriangleIndicesEXT = 5296, |
693 | BuiltInCullPrimitiveEXT = 5299, |
694 | BuiltInLaunchIdKHR = 5319, |
695 | BuiltInLaunchIdNV = 5319, |
696 | BuiltInLaunchSizeKHR = 5320, |
697 | BuiltInLaunchSizeNV = 5320, |
698 | BuiltInWorldRayOriginKHR = 5321, |
699 | BuiltInWorldRayOriginNV = 5321, |
700 | BuiltInWorldRayDirectionKHR = 5322, |
701 | BuiltInWorldRayDirectionNV = 5322, |
702 | BuiltInObjectRayOriginKHR = 5323, |
703 | BuiltInObjectRayOriginNV = 5323, |
704 | BuiltInObjectRayDirectionKHR = 5324, |
705 | BuiltInObjectRayDirectionNV = 5324, |
706 | BuiltInRayTminKHR = 5325, |
707 | BuiltInRayTminNV = 5325, |
708 | BuiltInRayTmaxKHR = 5326, |
709 | BuiltInRayTmaxNV = 5326, |
710 | BuiltInInstanceCustomIndexKHR = 5327, |
711 | BuiltInInstanceCustomIndexNV = 5327, |
712 | BuiltInObjectToWorldKHR = 5330, |
713 | BuiltInObjectToWorldNV = 5330, |
714 | BuiltInWorldToObjectKHR = 5331, |
715 | BuiltInWorldToObjectNV = 5331, |
716 | BuiltInHitTNV = 5332, |
717 | BuiltInHitKindKHR = 5333, |
718 | BuiltInHitKindNV = 5333, |
719 | BuiltInCurrentRayTimeNV = 5334, |
720 | BuiltInHitTriangleVertexPositionsKHR = 5335, |
721 | BuiltInIncomingRayFlagsKHR = 5351, |
722 | BuiltInIncomingRayFlagsNV = 5351, |
723 | BuiltInRayGeometryIndexKHR = 5352, |
724 | BuiltInWarpsPerSMNV = 5374, |
725 | BuiltInSMCountNV = 5375, |
726 | BuiltInWarpIDNV = 5376, |
727 | BuiltInSMIDNV = 5377, |
728 | BuiltInCullMaskKHR = 6021, |
729 | BuiltInMax = 0x7fffffff, |
730 | }; |
731 | |
732 | enum SelectionControlShift { |
733 | SelectionControlFlattenShift = 0, |
734 | SelectionControlDontFlattenShift = 1, |
735 | SelectionControlMax = 0x7fffffff, |
736 | }; |
737 | |
738 | enum SelectionControlMask { |
739 | SelectionControlMaskNone = 0, |
740 | SelectionControlFlattenMask = 0x00000001, |
741 | SelectionControlDontFlattenMask = 0x00000002, |
742 | }; |
743 | |
744 | enum LoopControlShift { |
745 | LoopControlUnrollShift = 0, |
746 | LoopControlDontUnrollShift = 1, |
747 | LoopControlDependencyInfiniteShift = 2, |
748 | LoopControlDependencyLengthShift = 3, |
749 | LoopControlMinIterationsShift = 4, |
750 | LoopControlMaxIterationsShift = 5, |
751 | LoopControlIterationMultipleShift = 6, |
752 | LoopControlPeelCountShift = 7, |
753 | LoopControlPartialCountShift = 8, |
754 | LoopControlInitiationIntervalINTELShift = 16, |
755 | LoopControlMaxConcurrencyINTELShift = 17, |
756 | LoopControlDependencyArrayINTELShift = 18, |
757 | LoopControlPipelineEnableINTELShift = 19, |
758 | LoopControlLoopCoalesceINTELShift = 20, |
759 | LoopControlMaxInterleavingINTELShift = 21, |
760 | LoopControlSpeculatedIterationsINTELShift = 22, |
761 | LoopControlNoFusionINTELShift = 23, |
762 | LoopControlLoopCountINTELShift = 24, |
763 | LoopControlMaxReinvocationDelayINTELShift = 25, |
764 | LoopControlMax = 0x7fffffff, |
765 | }; |
766 | |
767 | enum LoopControlMask { |
768 | LoopControlMaskNone = 0, |
769 | LoopControlUnrollMask = 0x00000001, |
770 | LoopControlDontUnrollMask = 0x00000002, |
771 | LoopControlDependencyInfiniteMask = 0x00000004, |
772 | LoopControlDependencyLengthMask = 0x00000008, |
773 | LoopControlMinIterationsMask = 0x00000010, |
774 | LoopControlMaxIterationsMask = 0x00000020, |
775 | LoopControlIterationMultipleMask = 0x00000040, |
776 | LoopControlPeelCountMask = 0x00000080, |
777 | LoopControlPartialCountMask = 0x00000100, |
778 | LoopControlInitiationIntervalINTELMask = 0x00010000, |
779 | LoopControlMaxConcurrencyINTELMask = 0x00020000, |
780 | LoopControlDependencyArrayINTELMask = 0x00040000, |
781 | LoopControlPipelineEnableINTELMask = 0x00080000, |
782 | LoopControlLoopCoalesceINTELMask = 0x00100000, |
783 | LoopControlMaxInterleavingINTELMask = 0x00200000, |
784 | LoopControlSpeculatedIterationsINTELMask = 0x00400000, |
785 | LoopControlNoFusionINTELMask = 0x00800000, |
786 | LoopControlLoopCountINTELMask = 0x01000000, |
787 | LoopControlMaxReinvocationDelayINTELMask = 0x02000000, |
788 | }; |
789 | |
790 | enum FunctionControlShift { |
791 | FunctionControlInlineShift = 0, |
792 | FunctionControlDontInlineShift = 1, |
793 | FunctionControlPureShift = 2, |
794 | FunctionControlConstShift = 3, |
795 | FunctionControlOptNoneINTELShift = 16, |
796 | FunctionControlMax = 0x7fffffff, |
797 | }; |
798 | |
799 | enum FunctionControlMask { |
800 | FunctionControlMaskNone = 0, |
801 | FunctionControlInlineMask = 0x00000001, |
802 | FunctionControlDontInlineMask = 0x00000002, |
803 | FunctionControlPureMask = 0x00000004, |
804 | FunctionControlConstMask = 0x00000008, |
805 | FunctionControlOptNoneINTELMask = 0x00010000, |
806 | }; |
807 | |
808 | enum MemorySemanticsShift { |
809 | MemorySemanticsAcquireShift = 1, |
810 | MemorySemanticsReleaseShift = 2, |
811 | MemorySemanticsAcquireReleaseShift = 3, |
812 | MemorySemanticsSequentiallyConsistentShift = 4, |
813 | MemorySemanticsUniformMemoryShift = 6, |
814 | MemorySemanticsSubgroupMemoryShift = 7, |
815 | MemorySemanticsWorkgroupMemoryShift = 8, |
816 | MemorySemanticsCrossWorkgroupMemoryShift = 9, |
817 | MemorySemanticsAtomicCounterMemoryShift = 10, |
818 | MemorySemanticsImageMemoryShift = 11, |
819 | MemorySemanticsOutputMemoryShift = 12, |
820 | MemorySemanticsOutputMemoryKHRShift = 12, |
821 | MemorySemanticsMakeAvailableShift = 13, |
822 | MemorySemanticsMakeAvailableKHRShift = 13, |
823 | MemorySemanticsMakeVisibleShift = 14, |
824 | MemorySemanticsMakeVisibleKHRShift = 14, |
825 | MemorySemanticsVolatileShift = 15, |
826 | MemorySemanticsMax = 0x7fffffff, |
827 | }; |
828 | |
829 | enum MemorySemanticsMask { |
830 | MemorySemanticsMaskNone = 0, |
831 | MemorySemanticsAcquireMask = 0x00000002, |
832 | MemorySemanticsReleaseMask = 0x00000004, |
833 | MemorySemanticsAcquireReleaseMask = 0x00000008, |
834 | MemorySemanticsSequentiallyConsistentMask = 0x00000010, |
835 | MemorySemanticsUniformMemoryMask = 0x00000040, |
836 | MemorySemanticsSubgroupMemoryMask = 0x00000080, |
837 | MemorySemanticsWorkgroupMemoryMask = 0x00000100, |
838 | MemorySemanticsCrossWorkgroupMemoryMask = 0x00000200, |
839 | MemorySemanticsAtomicCounterMemoryMask = 0x00000400, |
840 | MemorySemanticsImageMemoryMask = 0x00000800, |
841 | MemorySemanticsOutputMemoryMask = 0x00001000, |
842 | MemorySemanticsOutputMemoryKHRMask = 0x00001000, |
843 | MemorySemanticsMakeAvailableMask = 0x00002000, |
844 | MemorySemanticsMakeAvailableKHRMask = 0x00002000, |
845 | MemorySemanticsMakeVisibleMask = 0x00004000, |
846 | MemorySemanticsMakeVisibleKHRMask = 0x00004000, |
847 | MemorySemanticsVolatileMask = 0x00008000, |
848 | }; |
849 | |
850 | enum MemoryAccessShift { |
851 | MemoryAccessVolatileShift = 0, |
852 | MemoryAccessAlignedShift = 1, |
853 | MemoryAccessNontemporalShift = 2, |
854 | MemoryAccessMakePointerAvailableShift = 3, |
855 | MemoryAccessMakePointerAvailableKHRShift = 3, |
856 | MemoryAccessMakePointerVisibleShift = 4, |
857 | MemoryAccessMakePointerVisibleKHRShift = 4, |
858 | MemoryAccessNonPrivatePointerShift = 5, |
859 | MemoryAccessNonPrivatePointerKHRShift = 5, |
860 | MemoryAccessAliasScopeINTELMaskShift = 16, |
861 | MemoryAccessNoAliasINTELMaskShift = 17, |
862 | MemoryAccessMax = 0x7fffffff, |
863 | }; |
864 | |
865 | enum MemoryAccessMask { |
866 | MemoryAccessMaskNone = 0, |
867 | MemoryAccessVolatileMask = 0x00000001, |
868 | MemoryAccessAlignedMask = 0x00000002, |
869 | MemoryAccessNontemporalMask = 0x00000004, |
870 | MemoryAccessMakePointerAvailableMask = 0x00000008, |
871 | MemoryAccessMakePointerAvailableKHRMask = 0x00000008, |
872 | MemoryAccessMakePointerVisibleMask = 0x00000010, |
873 | MemoryAccessMakePointerVisibleKHRMask = 0x00000010, |
874 | MemoryAccessNonPrivatePointerMask = 0x00000020, |
875 | MemoryAccessNonPrivatePointerKHRMask = 0x00000020, |
876 | MemoryAccessAliasScopeINTELMaskMask = 0x00010000, |
877 | MemoryAccessNoAliasINTELMaskMask = 0x00020000, |
878 | }; |
879 | |
880 | enum Scope { |
881 | ScopeCrossDevice = 0, |
882 | ScopeDevice = 1, |
883 | ScopeWorkgroup = 2, |
884 | ScopeSubgroup = 3, |
885 | ScopeInvocation = 4, |
886 | ScopeQueueFamily = 5, |
887 | ScopeQueueFamilyKHR = 5, |
888 | ScopeShaderCallKHR = 6, |
889 | ScopeMax = 0x7fffffff, |
890 | }; |
891 | |
892 | enum GroupOperation { |
893 | GroupOperationReduce = 0, |
894 | GroupOperationInclusiveScan = 1, |
895 | GroupOperationExclusiveScan = 2, |
896 | GroupOperationClusteredReduce = 3, |
897 | GroupOperationPartitionedReduceNV = 6, |
898 | GroupOperationPartitionedInclusiveScanNV = 7, |
899 | GroupOperationPartitionedExclusiveScanNV = 8, |
900 | GroupOperationMax = 0x7fffffff, |
901 | }; |
902 | |
903 | enum KernelEnqueueFlags { |
904 | KernelEnqueueFlagsNoWait = 0, |
905 | KernelEnqueueFlagsWaitKernel = 1, |
906 | KernelEnqueueFlagsWaitWorkGroup = 2, |
907 | KernelEnqueueFlagsMax = 0x7fffffff, |
908 | }; |
909 | |
910 | enum KernelProfilingInfoShift { |
911 | KernelProfilingInfoCmdExecTimeShift = 0, |
912 | KernelProfilingInfoMax = 0x7fffffff, |
913 | }; |
914 | |
915 | enum KernelProfilingInfoMask { |
916 | KernelProfilingInfoMaskNone = 0, |
917 | KernelProfilingInfoCmdExecTimeMask = 0x00000001, |
918 | }; |
919 | |
920 | enum Capability { |
921 | CapabilityMatrix = 0, |
922 | CapabilityShader = 1, |
923 | CapabilityGeometry = 2, |
924 | CapabilityTessellation = 3, |
925 | CapabilityAddresses = 4, |
926 | CapabilityLinkage = 5, |
927 | CapabilityKernel = 6, |
928 | CapabilityVector16 = 7, |
929 | CapabilityFloat16Buffer = 8, |
930 | CapabilityFloat16 = 9, |
931 | CapabilityFloat64 = 10, |
932 | CapabilityInt64 = 11, |
933 | CapabilityInt64Atomics = 12, |
934 | CapabilityImageBasic = 13, |
935 | CapabilityImageReadWrite = 14, |
936 | CapabilityImageMipmap = 15, |
937 | CapabilityPipes = 17, |
938 | CapabilityGroups = 18, |
939 | CapabilityDeviceEnqueue = 19, |
940 | CapabilityLiteralSampler = 20, |
941 | CapabilityAtomicStorage = 21, |
942 | CapabilityInt16 = 22, |
943 | CapabilityTessellationPointSize = 23, |
944 | CapabilityGeometryPointSize = 24, |
945 | CapabilityImageGatherExtended = 25, |
946 | CapabilityStorageImageMultisample = 27, |
947 | CapabilityUniformBufferArrayDynamicIndexing = 28, |
948 | CapabilitySampledImageArrayDynamicIndexing = 29, |
949 | CapabilityStorageBufferArrayDynamicIndexing = 30, |
950 | CapabilityStorageImageArrayDynamicIndexing = 31, |
951 | CapabilityClipDistance = 32, |
952 | CapabilityCullDistance = 33, |
953 | CapabilityImageCubeArray = 34, |
954 | CapabilitySampleRateShading = 35, |
955 | CapabilityImageRect = 36, |
956 | CapabilitySampledRect = 37, |
957 | CapabilityGenericPointer = 38, |
958 | CapabilityInt8 = 39, |
959 | CapabilityInputAttachment = 40, |
960 | CapabilitySparseResidency = 41, |
961 | CapabilityMinLod = 42, |
962 | CapabilitySampled1D = 43, |
963 | CapabilityImage1D = 44, |
964 | CapabilitySampledCubeArray = 45, |
965 | CapabilitySampledBuffer = 46, |
966 | CapabilityImageBuffer = 47, |
967 | CapabilityImageMSArray = 48, |
968 | CapabilityStorageImageExtendedFormats = 49, |
969 | CapabilityImageQuery = 50, |
970 | CapabilityDerivativeControl = 51, |
971 | CapabilityInterpolationFunction = 52, |
972 | CapabilityTransformFeedback = 53, |
973 | CapabilityGeometryStreams = 54, |
974 | CapabilityStorageImageReadWithoutFormat = 55, |
975 | CapabilityStorageImageWriteWithoutFormat = 56, |
976 | CapabilityMultiViewport = 57, |
977 | CapabilitySubgroupDispatch = 58, |
978 | CapabilityNamedBarrier = 59, |
979 | CapabilityPipeStorage = 60, |
980 | CapabilityGroupNonUniform = 61, |
981 | CapabilityGroupNonUniformVote = 62, |
982 | CapabilityGroupNonUniformArithmetic = 63, |
983 | CapabilityGroupNonUniformBallot = 64, |
984 | CapabilityGroupNonUniformShuffle = 65, |
985 | CapabilityGroupNonUniformShuffleRelative = 66, |
986 | CapabilityGroupNonUniformClustered = 67, |
987 | CapabilityGroupNonUniformQuad = 68, |
988 | CapabilityShaderLayer = 69, |
989 | CapabilityShaderViewportIndex = 70, |
990 | CapabilityUniformDecoration = 71, |
991 | CapabilityCoreBuiltinsARM = 4165, |
992 | CapabilityTileImageColorReadAccessEXT = 4166, |
993 | CapabilityTileImageDepthReadAccessEXT = 4167, |
994 | CapabilityTileImageStencilReadAccessEXT = 4168, |
995 | CapabilityFragmentShadingRateKHR = 4422, |
996 | CapabilitySubgroupBallotKHR = 4423, |
997 | CapabilityDrawParameters = 4427, |
998 | CapabilityWorkgroupMemoryExplicitLayoutKHR = 4428, |
999 | CapabilityWorkgroupMemoryExplicitLayout8BitAccessKHR = 4429, |
1000 | CapabilityWorkgroupMemoryExplicitLayout16BitAccessKHR = 4430, |
1001 | CapabilitySubgroupVoteKHR = 4431, |
1002 | CapabilityStorageBuffer16BitAccess = 4433, |
1003 | CapabilityStorageUniformBufferBlock16 = 4433, |
1004 | CapabilityStorageUniform16 = 4434, |
1005 | CapabilityUniformAndStorageBuffer16BitAccess = 4434, |
1006 | CapabilityStoragePushConstant16 = 4435, |
1007 | CapabilityStorageInputOutput16 = 4436, |
1008 | CapabilityDeviceGroup = 4437, |
1009 | CapabilityMultiView = 4439, |
1010 | = 4441, |
1011 | CapabilityVariablePointers = 4442, |
1012 | CapabilityAtomicStorageOps = 4445, |
1013 | CapabilitySampleMaskPostDepthCoverage = 4447, |
1014 | CapabilityStorageBuffer8BitAccess = 4448, |
1015 | CapabilityUniformAndStorageBuffer8BitAccess = 4449, |
1016 | CapabilityStoragePushConstant8 = 4450, |
1017 | CapabilityDenormPreserve = 4464, |
1018 | CapabilityDenormFlushToZero = 4465, |
1019 | CapabilitySignedZeroInfNanPreserve = 4466, |
1020 | CapabilityRoundingModeRTE = 4467, |
1021 | CapabilityRoundingModeRTZ = 4468, |
1022 | CapabilityRayQueryProvisionalKHR = 4471, |
1023 | CapabilityRayQueryKHR = 4472, |
1024 | CapabilityRayTraversalPrimitiveCullingKHR = 4478, |
1025 | CapabilityRayTracingKHR = 4479, |
1026 | CapabilityFloat16ImageAMD = 5008, |
1027 | CapabilityImageGatherBiasLodAMD = 5009, |
1028 | CapabilityFragmentMaskAMD = 5010, |
1029 | CapabilityStencilExportEXT = 5013, |
1030 | CapabilityImageReadWriteLodAMD = 5015, |
1031 | CapabilityInt64ImageEXT = 5016, |
1032 | CapabilityShaderClockKHR = 5055, |
1033 | CapabilitySampleMaskOverrideCoverageNV = 5249, |
1034 | CapabilityGeometryShaderPassthroughNV = 5251, |
1035 | CapabilityShaderViewportIndexLayerEXT = 5254, |
1036 | CapabilityShaderViewportIndexLayerNV = 5254, |
1037 | CapabilityShaderViewportMaskNV = 5255, |
1038 | CapabilityShaderStereoViewNV = 5259, |
1039 | CapabilityPerViewAttributesNV = 5260, |
1040 | CapabilityFragmentFullyCoveredEXT = 5265, |
1041 | CapabilityMeshShadingNV = 5266, |
1042 | = 5282, |
1043 | CapabilityMeshShadingEXT = 5283, |
1044 | CapabilityFragmentBarycentricKHR = 5284, |
1045 | CapabilityFragmentBarycentricNV = 5284, |
1046 | CapabilityComputeDerivativeGroupQuadsNV = 5288, |
1047 | CapabilityFragmentDensityEXT = 5291, |
1048 | CapabilityShadingRateNV = 5291, |
1049 | CapabilityGroupNonUniformPartitionedNV = 5297, |
1050 | CapabilityShaderNonUniform = 5301, |
1051 | CapabilityShaderNonUniformEXT = 5301, |
1052 | CapabilityRuntimeDescriptorArray = 5302, |
1053 | CapabilityRuntimeDescriptorArrayEXT = 5302, |
1054 | CapabilityInputAttachmentArrayDynamicIndexing = 5303, |
1055 | CapabilityInputAttachmentArrayDynamicIndexingEXT = 5303, |
1056 | CapabilityUniformTexelBufferArrayDynamicIndexing = 5304, |
1057 | CapabilityUniformTexelBufferArrayDynamicIndexingEXT = 5304, |
1058 | CapabilityStorageTexelBufferArrayDynamicIndexing = 5305, |
1059 | CapabilityStorageTexelBufferArrayDynamicIndexingEXT = 5305, |
1060 | CapabilityUniformBufferArrayNonUniformIndexing = 5306, |
1061 | CapabilityUniformBufferArrayNonUniformIndexingEXT = 5306, |
1062 | CapabilitySampledImageArrayNonUniformIndexing = 5307, |
1063 | CapabilitySampledImageArrayNonUniformIndexingEXT = 5307, |
1064 | CapabilityStorageBufferArrayNonUniformIndexing = 5308, |
1065 | CapabilityStorageBufferArrayNonUniformIndexingEXT = 5308, |
1066 | CapabilityStorageImageArrayNonUniformIndexing = 5309, |
1067 | CapabilityStorageImageArrayNonUniformIndexingEXT = 5309, |
1068 | CapabilityInputAttachmentArrayNonUniformIndexing = 5310, |
1069 | CapabilityInputAttachmentArrayNonUniformIndexingEXT = 5310, |
1070 | CapabilityUniformTexelBufferArrayNonUniformIndexing = 5311, |
1071 | CapabilityUniformTexelBufferArrayNonUniformIndexingEXT = 5311, |
1072 | CapabilityStorageTexelBufferArrayNonUniformIndexing = 5312, |
1073 | CapabilityStorageTexelBufferArrayNonUniformIndexingEXT = 5312, |
1074 | CapabilityRayTracingPositionFetchKHR = 5336, |
1075 | CapabilityRayTracingNV = 5340, |
1076 | CapabilityRayTracingMotionBlurNV = 5341, |
1077 | CapabilityVulkanMemoryModel = 5345, |
1078 | CapabilityVulkanMemoryModelKHR = 5345, |
1079 | CapabilityVulkanMemoryModelDeviceScope = 5346, |
1080 | CapabilityVulkanMemoryModelDeviceScopeKHR = 5346, |
1081 | CapabilityPhysicalStorageBufferAddresses = 5347, |
1082 | CapabilityPhysicalStorageBufferAddressesEXT = 5347, |
1083 | CapabilityComputeDerivativeGroupLinearNV = 5350, |
1084 | CapabilityRayTracingProvisionalKHR = 5353, |
1085 | CapabilityCooperativeMatrixNV = 5357, |
1086 | CapabilityFragmentShaderSampleInterlockEXT = 5363, |
1087 | CapabilityFragmentShaderShadingRateInterlockEXT = 5372, |
1088 | CapabilityShaderSMBuiltinsNV = 5373, |
1089 | CapabilityFragmentShaderPixelInterlockEXT = 5378, |
1090 | CapabilityDemoteToHelperInvocation = 5379, |
1091 | CapabilityDemoteToHelperInvocationEXT = 5379, |
1092 | CapabilityRayTracingOpacityMicromapEXT = 5381, |
1093 | CapabilityShaderInvocationReorderNV = 5383, |
1094 | CapabilityBindlessTextureNV = 5390, |
1095 | CapabilityRayQueryPositionFetchKHR = 5391, |
1096 | CapabilitySubgroupShuffleINTEL = 5568, |
1097 | CapabilitySubgroupBufferBlockIOINTEL = 5569, |
1098 | CapabilitySubgroupImageBlockIOINTEL = 5570, |
1099 | CapabilitySubgroupImageMediaBlockIOINTEL = 5579, |
1100 | CapabilityRoundToInfinityINTEL = 5582, |
1101 | CapabilityFloatingPointModeINTEL = 5583, |
1102 | CapabilityIntegerFunctions2INTEL = 5584, |
1103 | CapabilityFunctionPointersINTEL = 5603, |
1104 | CapabilityIndirectReferencesINTEL = 5604, |
1105 | CapabilityAsmINTEL = 5606, |
1106 | CapabilityAtomicFloat32MinMaxEXT = 5612, |
1107 | CapabilityAtomicFloat64MinMaxEXT = 5613, |
1108 | CapabilityAtomicFloat16MinMaxEXT = 5616, |
1109 | CapabilityVectorComputeINTEL = 5617, |
1110 | CapabilityVectorAnyINTEL = 5619, |
1111 | CapabilityExpectAssumeKHR = 5629, |
1112 | CapabilitySubgroupAvcMotionEstimationINTEL = 5696, |
1113 | CapabilitySubgroupAvcMotionEstimationIntraINTEL = 5697, |
1114 | CapabilitySubgroupAvcMotionEstimationChromaINTEL = 5698, |
1115 | CapabilityVariableLengthArrayINTEL = 5817, |
1116 | CapabilityFunctionFloatControlINTEL = 5821, |
1117 | CapabilityFPGAMemoryAttributesINTEL = 5824, |
1118 | CapabilityFPFastMathModeINTEL = 5837, |
1119 | CapabilityArbitraryPrecisionIntegersINTEL = 5844, |
1120 | CapabilityArbitraryPrecisionFloatingPointINTEL = 5845, |
1121 | CapabilityUnstructuredLoopControlsINTEL = 5886, |
1122 | CapabilityFPGALoopControlsINTEL = 5888, |
1123 | CapabilityKernelAttributesINTEL = 5892, |
1124 | CapabilityFPGAKernelAttributesINTEL = 5897, |
1125 | CapabilityFPGAMemoryAccessesINTEL = 5898, |
1126 | CapabilityFPGAClusterAttributesINTEL = 5904, |
1127 | CapabilityLoopFuseINTEL = 5906, |
1128 | CapabilityFPGADSPControlINTEL = 5908, |
1129 | CapabilityMemoryAccessAliasingINTEL = 5910, |
1130 | CapabilityFPGAInvocationPipeliningAttributesINTEL = 5916, |
1131 | CapabilityFPGABufferLocationINTEL = 5920, |
1132 | CapabilityArbitraryPrecisionFixedPointINTEL = 5922, |
1133 | CapabilityUSMStorageClassesINTEL = 5935, |
1134 | CapabilityRuntimeAlignedAttributeINTEL = 5939, |
1135 | CapabilityIOPipesINTEL = 5943, |
1136 | CapabilityBlockingPipesINTEL = 5945, |
1137 | CapabilityFPGARegINTEL = 5948, |
1138 | CapabilityDotProductInputAll = 6016, |
1139 | CapabilityDotProductInputAllKHR = 6016, |
1140 | CapabilityDotProductInput4x8Bit = 6017, |
1141 | CapabilityDotProductInput4x8BitKHR = 6017, |
1142 | CapabilityDotProductInput4x8BitPacked = 6018, |
1143 | CapabilityDotProductInput4x8BitPackedKHR = 6018, |
1144 | CapabilityDotProduct = 6019, |
1145 | CapabilityDotProductKHR = 6019, |
1146 | CapabilityRayCullMaskKHR = 6020, |
1147 | CapabilityBitInstructions = 6025, |
1148 | CapabilityGroupNonUniformRotateKHR = 6026, |
1149 | CapabilityAtomicFloat32AddEXT = 6033, |
1150 | CapabilityAtomicFloat64AddEXT = 6034, |
1151 | CapabilityLongConstantCompositeINTEL = 6089, |
1152 | CapabilityOptNoneINTEL = 6094, |
1153 | CapabilityAtomicFloat16AddEXT = 6095, |
1154 | CapabilityDebugInfoModuleINTEL = 6114, |
1155 | CapabilitySplitBarrierINTEL = 6141, |
1156 | CapabilityFPGAArgumentInterfacesINTEL = 6174, |
1157 | CapabilityGroupUniformArithmeticKHR = 6400, |
1158 | CapabilityMax = 0x7fffffff, |
1159 | }; |
1160 | |
1161 | enum RayFlagsShift { |
1162 | RayFlagsOpaqueKHRShift = 0, |
1163 | RayFlagsNoOpaqueKHRShift = 1, |
1164 | RayFlagsTerminateOnFirstHitKHRShift = 2, |
1165 | RayFlagsSkipClosestHitShaderKHRShift = 3, |
1166 | RayFlagsCullBackFacingTrianglesKHRShift = 4, |
1167 | RayFlagsCullFrontFacingTrianglesKHRShift = 5, |
1168 | RayFlagsCullOpaqueKHRShift = 6, |
1169 | RayFlagsCullNoOpaqueKHRShift = 7, |
1170 | RayFlagsSkipTrianglesKHRShift = 8, |
1171 | RayFlagsSkipAABBsKHRShift = 9, |
1172 | RayFlagsForceOpacityMicromap2StateEXTShift = 10, |
1173 | RayFlagsMax = 0x7fffffff, |
1174 | }; |
1175 | |
1176 | enum RayFlagsMask { |
1177 | RayFlagsMaskNone = 0, |
1178 | RayFlagsOpaqueKHRMask = 0x00000001, |
1179 | RayFlagsNoOpaqueKHRMask = 0x00000002, |
1180 | RayFlagsTerminateOnFirstHitKHRMask = 0x00000004, |
1181 | RayFlagsSkipClosestHitShaderKHRMask = 0x00000008, |
1182 | RayFlagsCullBackFacingTrianglesKHRMask = 0x00000010, |
1183 | RayFlagsCullFrontFacingTrianglesKHRMask = 0x00000020, |
1184 | RayFlagsCullOpaqueKHRMask = 0x00000040, |
1185 | RayFlagsCullNoOpaqueKHRMask = 0x00000080, |
1186 | RayFlagsSkipTrianglesKHRMask = 0x00000100, |
1187 | RayFlagsSkipAABBsKHRMask = 0x00000200, |
1188 | RayFlagsForceOpacityMicromap2StateEXTMask = 0x00000400, |
1189 | }; |
1190 | |
1191 | enum RayQueryIntersection { |
1192 | RayQueryIntersectionRayQueryCandidateIntersectionKHR = 0, |
1193 | RayQueryIntersectionRayQueryCommittedIntersectionKHR = 1, |
1194 | RayQueryIntersectionMax = 0x7fffffff, |
1195 | }; |
1196 | |
1197 | enum RayQueryCommittedIntersectionType { |
1198 | RayQueryCommittedIntersectionTypeRayQueryCommittedIntersectionNoneKHR = 0, |
1199 | RayQueryCommittedIntersectionTypeRayQueryCommittedIntersectionTriangleKHR = 1, |
1200 | RayQueryCommittedIntersectionTypeRayQueryCommittedIntersectionGeneratedKHR = 2, |
1201 | RayQueryCommittedIntersectionTypeMax = 0x7fffffff, |
1202 | }; |
1203 | |
1204 | enum RayQueryCandidateIntersectionType { |
1205 | RayQueryCandidateIntersectionTypeRayQueryCandidateIntersectionTriangleKHR = 0, |
1206 | RayQueryCandidateIntersectionTypeRayQueryCandidateIntersectionAABBKHR = 1, |
1207 | RayQueryCandidateIntersectionTypeMax = 0x7fffffff, |
1208 | }; |
1209 | |
1210 | enum FragmentShadingRateShift { |
1211 | FragmentShadingRateVertical2PixelsShift = 0, |
1212 | FragmentShadingRateVertical4PixelsShift = 1, |
1213 | FragmentShadingRateHorizontal2PixelsShift = 2, |
1214 | FragmentShadingRateHorizontal4PixelsShift = 3, |
1215 | FragmentShadingRateMax = 0x7fffffff, |
1216 | }; |
1217 | |
1218 | enum FragmentShadingRateMask { |
1219 | FragmentShadingRateMaskNone = 0, |
1220 | FragmentShadingRateVertical2PixelsMask = 0x00000001, |
1221 | FragmentShadingRateVertical4PixelsMask = 0x00000002, |
1222 | FragmentShadingRateHorizontal2PixelsMask = 0x00000004, |
1223 | FragmentShadingRateHorizontal4PixelsMask = 0x00000008, |
1224 | }; |
1225 | |
1226 | enum FPDenormMode { |
1227 | FPDenormModePreserve = 0, |
1228 | FPDenormModeFlushToZero = 1, |
1229 | FPDenormModeMax = 0x7fffffff, |
1230 | }; |
1231 | |
1232 | enum FPOperationMode { |
1233 | FPOperationModeIEEE = 0, |
1234 | FPOperationModeALT = 1, |
1235 | FPOperationModeMax = 0x7fffffff, |
1236 | }; |
1237 | |
1238 | enum QuantizationModes { |
1239 | QuantizationModesTRN = 0, |
1240 | QuantizationModesTRN_ZERO = 1, |
1241 | QuantizationModesRND = 2, |
1242 | QuantizationModesRND_ZERO = 3, |
1243 | QuantizationModesRND_INF = 4, |
1244 | QuantizationModesRND_MIN_INF = 5, |
1245 | QuantizationModesRND_CONV = 6, |
1246 | QuantizationModesRND_CONV_ODD = 7, |
1247 | QuantizationModesMax = 0x7fffffff, |
1248 | }; |
1249 | |
1250 | enum OverflowModes { |
1251 | OverflowModesWRAP = 0, |
1252 | OverflowModesSAT = 1, |
1253 | OverflowModesSAT_ZERO = 2, |
1254 | OverflowModesSAT_SYM = 3, |
1255 | OverflowModesMax = 0x7fffffff, |
1256 | }; |
1257 | |
1258 | enum PackedVectorFormat { |
1259 | PackedVectorFormatPackedVectorFormat4x8Bit = 0, |
1260 | PackedVectorFormatPackedVectorFormat4x8BitKHR = 0, |
1261 | PackedVectorFormatMax = 0x7fffffff, |
1262 | }; |
1263 | |
1264 | enum Op { |
1265 | OpNop = 0, |
1266 | OpUndef = 1, |
1267 | OpSourceContinued = 2, |
1268 | OpSource = 3, |
1269 | OpSourceExtension = 4, |
1270 | OpName = 5, |
1271 | OpMemberName = 6, |
1272 | OpString = 7, |
1273 | OpLine = 8, |
1274 | OpExtension = 10, |
1275 | OpExtInstImport = 11, |
1276 | OpExtInst = 12, |
1277 | OpMemoryModel = 14, |
1278 | OpEntryPoint = 15, |
1279 | OpExecutionMode = 16, |
1280 | OpCapability = 17, |
1281 | OpTypeVoid = 19, |
1282 | OpTypeBool = 20, |
1283 | OpTypeInt = 21, |
1284 | OpTypeFloat = 22, |
1285 | OpTypeVector = 23, |
1286 | OpTypeMatrix = 24, |
1287 | OpTypeImage = 25, |
1288 | OpTypeSampler = 26, |
1289 | OpTypeSampledImage = 27, |
1290 | OpTypeArray = 28, |
1291 | OpTypeRuntimeArray = 29, |
1292 | OpTypeStruct = 30, |
1293 | OpTypeOpaque = 31, |
1294 | OpTypePointer = 32, |
1295 | OpTypeFunction = 33, |
1296 | OpTypeEvent = 34, |
1297 | OpTypeDeviceEvent = 35, |
1298 | OpTypeReserveId = 36, |
1299 | OpTypeQueue = 37, |
1300 | OpTypePipe = 38, |
1301 | OpTypeForwardPointer = 39, |
1302 | OpConstantTrue = 41, |
1303 | OpConstantFalse = 42, |
1304 | OpConstant = 43, |
1305 | OpConstantComposite = 44, |
1306 | OpConstantSampler = 45, |
1307 | OpConstantNull = 46, |
1308 | OpSpecConstantTrue = 48, |
1309 | OpSpecConstantFalse = 49, |
1310 | OpSpecConstant = 50, |
1311 | OpSpecConstantComposite = 51, |
1312 | OpSpecConstantOp = 52, |
1313 | OpFunction = 54, |
1314 | OpFunctionParameter = 55, |
1315 | OpFunctionEnd = 56, |
1316 | OpFunctionCall = 57, |
1317 | OpVariable = 59, |
1318 | OpImageTexelPointer = 60, |
1319 | OpLoad = 61, |
1320 | OpStore = 62, |
1321 | OpCopyMemory = 63, |
1322 | OpCopyMemorySized = 64, |
1323 | OpAccessChain = 65, |
1324 | OpInBoundsAccessChain = 66, |
1325 | OpPtrAccessChain = 67, |
1326 | OpArrayLength = 68, |
1327 | OpGenericPtrMemSemantics = 69, |
1328 | OpInBoundsPtrAccessChain = 70, |
1329 | OpDecorate = 71, |
1330 | OpMemberDecorate = 72, |
1331 | OpDecorationGroup = 73, |
1332 | OpGroupDecorate = 74, |
1333 | OpGroupMemberDecorate = 75, |
1334 | = 77, |
1335 | OpVectorInsertDynamic = 78, |
1336 | OpVectorShuffle = 79, |
1337 | OpCompositeConstruct = 80, |
1338 | = 81, |
1339 | OpCompositeInsert = 82, |
1340 | OpCopyObject = 83, |
1341 | OpTranspose = 84, |
1342 | OpSampledImage = 86, |
1343 | OpImageSampleImplicitLod = 87, |
1344 | OpImageSampleExplicitLod = 88, |
1345 | OpImageSampleDrefImplicitLod = 89, |
1346 | OpImageSampleDrefExplicitLod = 90, |
1347 | OpImageSampleProjImplicitLod = 91, |
1348 | OpImageSampleProjExplicitLod = 92, |
1349 | OpImageSampleProjDrefImplicitLod = 93, |
1350 | OpImageSampleProjDrefExplicitLod = 94, |
1351 | OpImageFetch = 95, |
1352 | OpImageGather = 96, |
1353 | OpImageDrefGather = 97, |
1354 | OpImageRead = 98, |
1355 | OpImageWrite = 99, |
1356 | OpImage = 100, |
1357 | OpImageQueryFormat = 101, |
1358 | OpImageQueryOrder = 102, |
1359 | OpImageQuerySizeLod = 103, |
1360 | OpImageQuerySize = 104, |
1361 | OpImageQueryLod = 105, |
1362 | OpImageQueryLevels = 106, |
1363 | OpImageQuerySamples = 107, |
1364 | OpConvertFToU = 109, |
1365 | OpConvertFToS = 110, |
1366 | OpConvertSToF = 111, |
1367 | OpConvertUToF = 112, |
1368 | OpUConvert = 113, |
1369 | OpSConvert = 114, |
1370 | OpFConvert = 115, |
1371 | OpQuantizeToF16 = 116, |
1372 | OpConvertPtrToU = 117, |
1373 | OpSatConvertSToU = 118, |
1374 | OpSatConvertUToS = 119, |
1375 | OpConvertUToPtr = 120, |
1376 | OpPtrCastToGeneric = 121, |
1377 | OpGenericCastToPtr = 122, |
1378 | OpGenericCastToPtrExplicit = 123, |
1379 | OpBitcast = 124, |
1380 | OpSNegate = 126, |
1381 | OpFNegate = 127, |
1382 | OpIAdd = 128, |
1383 | OpFAdd = 129, |
1384 | OpISub = 130, |
1385 | OpFSub = 131, |
1386 | OpIMul = 132, |
1387 | OpFMul = 133, |
1388 | OpUDiv = 134, |
1389 | OpSDiv = 135, |
1390 | OpFDiv = 136, |
1391 | OpUMod = 137, |
1392 | OpSRem = 138, |
1393 | OpSMod = 139, |
1394 | OpFRem = 140, |
1395 | OpFMod = 141, |
1396 | OpVectorTimesScalar = 142, |
1397 | OpMatrixTimesScalar = 143, |
1398 | OpVectorTimesMatrix = 144, |
1399 | OpMatrixTimesVector = 145, |
1400 | OpMatrixTimesMatrix = 146, |
1401 | OpOuterProduct = 147, |
1402 | OpDot = 148, |
1403 | OpIAddCarry = 149, |
1404 | OpISubBorrow = 150, |
1405 | OpUMulExtended = 151, |
1406 | OpSMulExtended = 152, |
1407 | OpAny = 154, |
1408 | OpAll = 155, |
1409 | OpIsNan = 156, |
1410 | OpIsInf = 157, |
1411 | OpIsFinite = 158, |
1412 | OpIsNormal = 159, |
1413 | OpSignBitSet = 160, |
1414 | OpLessOrGreater = 161, |
1415 | OpOrdered = 162, |
1416 | OpUnordered = 163, |
1417 | OpLogicalEqual = 164, |
1418 | OpLogicalNotEqual = 165, |
1419 | OpLogicalOr = 166, |
1420 | OpLogicalAnd = 167, |
1421 | OpLogicalNot = 168, |
1422 | OpSelect = 169, |
1423 | OpIEqual = 170, |
1424 | OpINotEqual = 171, |
1425 | OpUGreaterThan = 172, |
1426 | OpSGreaterThan = 173, |
1427 | OpUGreaterThanEqual = 174, |
1428 | OpSGreaterThanEqual = 175, |
1429 | OpULessThan = 176, |
1430 | OpSLessThan = 177, |
1431 | OpULessThanEqual = 178, |
1432 | OpSLessThanEqual = 179, |
1433 | OpFOrdEqual = 180, |
1434 | OpFUnordEqual = 181, |
1435 | OpFOrdNotEqual = 182, |
1436 | OpFUnordNotEqual = 183, |
1437 | OpFOrdLessThan = 184, |
1438 | OpFUnordLessThan = 185, |
1439 | OpFOrdGreaterThan = 186, |
1440 | OpFUnordGreaterThan = 187, |
1441 | OpFOrdLessThanEqual = 188, |
1442 | OpFUnordLessThanEqual = 189, |
1443 | OpFOrdGreaterThanEqual = 190, |
1444 | OpFUnordGreaterThanEqual = 191, |
1445 | OpShiftRightLogical = 194, |
1446 | OpShiftRightArithmetic = 195, |
1447 | OpShiftLeftLogical = 196, |
1448 | OpBitwiseOr = 197, |
1449 | OpBitwiseXor = 198, |
1450 | OpBitwiseAnd = 199, |
1451 | OpNot = 200, |
1452 | OpBitFieldInsert = 201, |
1453 | = 202, |
1454 | = 203, |
1455 | OpBitReverse = 204, |
1456 | OpBitCount = 205, |
1457 | OpDPdx = 207, |
1458 | OpDPdy = 208, |
1459 | OpFwidth = 209, |
1460 | OpDPdxFine = 210, |
1461 | OpDPdyFine = 211, |
1462 | OpFwidthFine = 212, |
1463 | OpDPdxCoarse = 213, |
1464 | OpDPdyCoarse = 214, |
1465 | OpFwidthCoarse = 215, |
1466 | OpEmitVertex = 218, |
1467 | OpEndPrimitive = 219, |
1468 | OpEmitStreamVertex = 220, |
1469 | OpEndStreamPrimitive = 221, |
1470 | OpControlBarrier = 224, |
1471 | OpMemoryBarrier = 225, |
1472 | OpAtomicLoad = 227, |
1473 | OpAtomicStore = 228, |
1474 | OpAtomicExchange = 229, |
1475 | OpAtomicCompareExchange = 230, |
1476 | OpAtomicCompareExchangeWeak = 231, |
1477 | OpAtomicIIncrement = 232, |
1478 | OpAtomicIDecrement = 233, |
1479 | OpAtomicIAdd = 234, |
1480 | OpAtomicISub = 235, |
1481 | OpAtomicSMin = 236, |
1482 | OpAtomicUMin = 237, |
1483 | OpAtomicSMax = 238, |
1484 | OpAtomicUMax = 239, |
1485 | OpAtomicAnd = 240, |
1486 | OpAtomicOr = 241, |
1487 | OpAtomicXor = 242, |
1488 | OpPhi = 245, |
1489 | OpLoopMerge = 246, |
1490 | OpSelectionMerge = 247, |
1491 | OpLabel = 248, |
1492 | OpBranch = 249, |
1493 | OpBranchConditional = 250, |
1494 | OpSwitch = 251, |
1495 | OpKill = 252, |
1496 | OpReturn = 253, |
1497 | OpReturnValue = 254, |
1498 | OpUnreachable = 255, |
1499 | OpLifetimeStart = 256, |
1500 | OpLifetimeStop = 257, |
1501 | OpGroupAsyncCopy = 259, |
1502 | OpGroupWaitEvents = 260, |
1503 | OpGroupAll = 261, |
1504 | OpGroupAny = 262, |
1505 | OpGroupBroadcast = 263, |
1506 | OpGroupIAdd = 264, |
1507 | OpGroupFAdd = 265, |
1508 | OpGroupFMin = 266, |
1509 | OpGroupUMin = 267, |
1510 | OpGroupSMin = 268, |
1511 | OpGroupFMax = 269, |
1512 | OpGroupUMax = 270, |
1513 | OpGroupSMax = 271, |
1514 | OpReadPipe = 274, |
1515 | OpWritePipe = 275, |
1516 | OpReservedReadPipe = 276, |
1517 | OpReservedWritePipe = 277, |
1518 | OpReserveReadPipePackets = 278, |
1519 | OpReserveWritePipePackets = 279, |
1520 | OpCommitReadPipe = 280, |
1521 | OpCommitWritePipe = 281, |
1522 | OpIsValidReserveId = 282, |
1523 | OpGetNumPipePackets = 283, |
1524 | OpGetMaxPipePackets = 284, |
1525 | OpGroupReserveReadPipePackets = 285, |
1526 | OpGroupReserveWritePipePackets = 286, |
1527 | OpGroupCommitReadPipe = 287, |
1528 | OpGroupCommitWritePipe = 288, |
1529 | OpEnqueueMarker = 291, |
1530 | OpEnqueueKernel = 292, |
1531 | OpGetKernelNDrangeSubGroupCount = 293, |
1532 | OpGetKernelNDrangeMaxSubGroupSize = 294, |
1533 | OpGetKernelWorkGroupSize = 295, |
1534 | OpGetKernelPreferredWorkGroupSizeMultiple = 296, |
1535 | OpRetainEvent = 297, |
1536 | OpReleaseEvent = 298, |
1537 | OpCreateUserEvent = 299, |
1538 | OpIsValidEvent = 300, |
1539 | OpSetUserEventStatus = 301, |
1540 | OpCaptureEventProfilingInfo = 302, |
1541 | OpGetDefaultQueue = 303, |
1542 | OpBuildNDRange = 304, |
1543 | OpImageSparseSampleImplicitLod = 305, |
1544 | OpImageSparseSampleExplicitLod = 306, |
1545 | OpImageSparseSampleDrefImplicitLod = 307, |
1546 | OpImageSparseSampleDrefExplicitLod = 308, |
1547 | OpImageSparseSampleProjImplicitLod = 309, |
1548 | OpImageSparseSampleProjExplicitLod = 310, |
1549 | OpImageSparseSampleProjDrefImplicitLod = 311, |
1550 | OpImageSparseSampleProjDrefExplicitLod = 312, |
1551 | OpImageSparseFetch = 313, |
1552 | OpImageSparseGather = 314, |
1553 | OpImageSparseDrefGather = 315, |
1554 | OpImageSparseTexelsResident = 316, |
1555 | OpNoLine = 317, |
1556 | OpAtomicFlagTestAndSet = 318, |
1557 | OpAtomicFlagClear = 319, |
1558 | OpImageSparseRead = 320, |
1559 | OpSizeOf = 321, |
1560 | OpTypePipeStorage = 322, |
1561 | OpConstantPipeStorage = 323, |
1562 | OpCreatePipeFromPipeStorage = 324, |
1563 | OpGetKernelLocalSizeForSubgroupCount = 325, |
1564 | OpGetKernelMaxNumSubgroups = 326, |
1565 | OpTypeNamedBarrier = 327, |
1566 | OpNamedBarrierInitialize = 328, |
1567 | OpMemoryNamedBarrier = 329, |
1568 | OpModuleProcessed = 330, |
1569 | OpExecutionModeId = 331, |
1570 | OpDecorateId = 332, |
1571 | OpGroupNonUniformElect = 333, |
1572 | OpGroupNonUniformAll = 334, |
1573 | OpGroupNonUniformAny = 335, |
1574 | OpGroupNonUniformAllEqual = 336, |
1575 | OpGroupNonUniformBroadcast = 337, |
1576 | OpGroupNonUniformBroadcastFirst = 338, |
1577 | OpGroupNonUniformBallot = 339, |
1578 | OpGroupNonUniformInverseBallot = 340, |
1579 | = 341, |
1580 | OpGroupNonUniformBallotBitCount = 342, |
1581 | OpGroupNonUniformBallotFindLSB = 343, |
1582 | OpGroupNonUniformBallotFindMSB = 344, |
1583 | OpGroupNonUniformShuffle = 345, |
1584 | OpGroupNonUniformShuffleXor = 346, |
1585 | OpGroupNonUniformShuffleUp = 347, |
1586 | OpGroupNonUniformShuffleDown = 348, |
1587 | OpGroupNonUniformIAdd = 349, |
1588 | OpGroupNonUniformFAdd = 350, |
1589 | OpGroupNonUniformIMul = 351, |
1590 | OpGroupNonUniformFMul = 352, |
1591 | OpGroupNonUniformSMin = 353, |
1592 | OpGroupNonUniformUMin = 354, |
1593 | OpGroupNonUniformFMin = 355, |
1594 | OpGroupNonUniformSMax = 356, |
1595 | OpGroupNonUniformUMax = 357, |
1596 | OpGroupNonUniformFMax = 358, |
1597 | OpGroupNonUniformBitwiseAnd = 359, |
1598 | OpGroupNonUniformBitwiseOr = 360, |
1599 | OpGroupNonUniformBitwiseXor = 361, |
1600 | OpGroupNonUniformLogicalAnd = 362, |
1601 | OpGroupNonUniformLogicalOr = 363, |
1602 | OpGroupNonUniformLogicalXor = 364, |
1603 | OpGroupNonUniformQuadBroadcast = 365, |
1604 | OpGroupNonUniformQuadSwap = 366, |
1605 | OpCopyLogical = 400, |
1606 | OpPtrEqual = 401, |
1607 | OpPtrNotEqual = 402, |
1608 | OpPtrDiff = 403, |
1609 | OpColorAttachmentReadEXT = 4160, |
1610 | OpDepthAttachmentReadEXT = 4161, |
1611 | OpStencilAttachmentReadEXT = 4162, |
1612 | OpTerminateInvocation = 4416, |
1613 | OpSubgroupBallotKHR = 4421, |
1614 | OpSubgroupFirstInvocationKHR = 4422, |
1615 | OpSubgroupAllKHR = 4428, |
1616 | OpSubgroupAnyKHR = 4429, |
1617 | OpSubgroupAllEqualKHR = 4430, |
1618 | OpGroupNonUniformRotateKHR = 4431, |
1619 | OpSubgroupReadInvocationKHR = 4432, |
1620 | OpTraceRayKHR = 4445, |
1621 | OpExecuteCallableKHR = 4446, |
1622 | OpConvertUToAccelerationStructureKHR = 4447, |
1623 | OpIgnoreIntersectionKHR = 4448, |
1624 | OpTerminateRayKHR = 4449, |
1625 | OpSDot = 4450, |
1626 | OpSDotKHR = 4450, |
1627 | OpUDot = 4451, |
1628 | OpUDotKHR = 4451, |
1629 | OpSUDot = 4452, |
1630 | OpSUDotKHR = 4452, |
1631 | OpSDotAccSat = 4453, |
1632 | OpSDotAccSatKHR = 4453, |
1633 | OpUDotAccSat = 4454, |
1634 | OpUDotAccSatKHR = 4454, |
1635 | OpSUDotAccSat = 4455, |
1636 | OpSUDotAccSatKHR = 4455, |
1637 | OpTypeRayQueryKHR = 4472, |
1638 | OpRayQueryInitializeKHR = 4473, |
1639 | OpRayQueryTerminateKHR = 4474, |
1640 | OpRayQueryGenerateIntersectionKHR = 4475, |
1641 | OpRayQueryConfirmIntersectionKHR = 4476, |
1642 | OpRayQueryProceedKHR = 4477, |
1643 | OpRayQueryGetIntersectionTypeKHR = 4479, |
1644 | OpGroupIAddNonUniformAMD = 5000, |
1645 | OpGroupFAddNonUniformAMD = 5001, |
1646 | OpGroupFMinNonUniformAMD = 5002, |
1647 | OpGroupUMinNonUniformAMD = 5003, |
1648 | OpGroupSMinNonUniformAMD = 5004, |
1649 | OpGroupFMaxNonUniformAMD = 5005, |
1650 | OpGroupUMaxNonUniformAMD = 5006, |
1651 | OpGroupSMaxNonUniformAMD = 5007, |
1652 | OpFragmentMaskFetchAMD = 5011, |
1653 | OpFragmentFetchAMD = 5012, |
1654 | OpReadClockKHR = 5056, |
1655 | OpHitObjectRecordHitMotionNV = 5249, |
1656 | OpHitObjectRecordHitWithIndexMotionNV = 5250, |
1657 | OpHitObjectRecordMissMotionNV = 5251, |
1658 | OpHitObjectGetWorldToObjectNV = 5252, |
1659 | OpHitObjectGetObjectToWorldNV = 5253, |
1660 | OpHitObjectGetObjectRayDirectionNV = 5254, |
1661 | OpHitObjectGetObjectRayOriginNV = 5255, |
1662 | OpHitObjectTraceRayMotionNV = 5256, |
1663 | OpHitObjectGetShaderRecordBufferHandleNV = 5257, |
1664 | OpHitObjectGetShaderBindingTableRecordIndexNV = 5258, |
1665 | OpHitObjectRecordEmptyNV = 5259, |
1666 | OpHitObjectTraceRayNV = 5260, |
1667 | OpHitObjectRecordHitNV = 5261, |
1668 | OpHitObjectRecordHitWithIndexNV = 5262, |
1669 | OpHitObjectRecordMissNV = 5263, |
1670 | OpHitObjectExecuteShaderNV = 5264, |
1671 | OpHitObjectGetCurrentTimeNV = 5265, |
1672 | OpHitObjectGetAttributesNV = 5266, |
1673 | OpHitObjectGetHitKindNV = 5267, |
1674 | OpHitObjectGetPrimitiveIndexNV = 5268, |
1675 | OpHitObjectGetGeometryIndexNV = 5269, |
1676 | OpHitObjectGetInstanceIdNV = 5270, |
1677 | OpHitObjectGetInstanceCustomIndexNV = 5271, |
1678 | OpHitObjectGetWorldRayDirectionNV = 5272, |
1679 | OpHitObjectGetWorldRayOriginNV = 5273, |
1680 | OpHitObjectGetRayTMaxNV = 5274, |
1681 | OpHitObjectGetRayTMinNV = 5275, |
1682 | OpHitObjectIsEmptyNV = 5276, |
1683 | OpHitObjectIsHitNV = 5277, |
1684 | OpHitObjectIsMissNV = 5278, |
1685 | OpReorderThreadWithHitObjectNV = 5279, |
1686 | OpReorderThreadWithHintNV = 5280, |
1687 | OpTypeHitObjectNV = 5281, |
1688 | = 5283, |
1689 | OpEmitMeshTasksEXT = 5294, |
1690 | OpSetMeshOutputsEXT = 5295, |
1691 | OpGroupNonUniformPartitionNV = 5296, |
1692 | OpWritePackedPrimitiveIndices4x8NV = 5299, |
1693 | OpReportIntersectionKHR = 5334, |
1694 | OpReportIntersectionNV = 5334, |
1695 | OpIgnoreIntersectionNV = 5335, |
1696 | OpTerminateRayNV = 5336, |
1697 | OpTraceNV = 5337, |
1698 | OpTraceMotionNV = 5338, |
1699 | OpTraceRayMotionNV = 5339, |
1700 | OpRayQueryGetIntersectionTriangleVertexPositionsKHR = 5340, |
1701 | OpTypeAccelerationStructureKHR = 5341, |
1702 | OpTypeAccelerationStructureNV = 5341, |
1703 | OpExecuteCallableNV = 5344, |
1704 | OpTypeCooperativeMatrixNV = 5358, |
1705 | OpCooperativeMatrixLoadNV = 5359, |
1706 | OpCooperativeMatrixStoreNV = 5360, |
1707 | OpCooperativeMatrixMulAddNV = 5361, |
1708 | OpCooperativeMatrixLengthNV = 5362, |
1709 | OpBeginInvocationInterlockEXT = 5364, |
1710 | OpEndInvocationInterlockEXT = 5365, |
1711 | OpDemoteToHelperInvocation = 5380, |
1712 | OpDemoteToHelperInvocationEXT = 5380, |
1713 | OpIsHelperInvocationEXT = 5381, |
1714 | OpConvertUToImageNV = 5391, |
1715 | OpConvertUToSamplerNV = 5392, |
1716 | OpConvertImageToUNV = 5393, |
1717 | OpConvertSamplerToUNV = 5394, |
1718 | OpConvertUToSampledImageNV = 5395, |
1719 | OpConvertSampledImageToUNV = 5396, |
1720 | OpSamplerImageAddressingModeNV = 5397, |
1721 | OpSubgroupShuffleINTEL = 5571, |
1722 | OpSubgroupShuffleDownINTEL = 5572, |
1723 | OpSubgroupShuffleUpINTEL = 5573, |
1724 | OpSubgroupShuffleXorINTEL = 5574, |
1725 | OpSubgroupBlockReadINTEL = 5575, |
1726 | OpSubgroupBlockWriteINTEL = 5576, |
1727 | OpSubgroupImageBlockReadINTEL = 5577, |
1728 | OpSubgroupImageBlockWriteINTEL = 5578, |
1729 | OpSubgroupImageMediaBlockReadINTEL = 5580, |
1730 | OpSubgroupImageMediaBlockWriteINTEL = 5581, |
1731 | OpUCountLeadingZerosINTEL = 5585, |
1732 | OpUCountTrailingZerosINTEL = 5586, |
1733 | OpAbsISubINTEL = 5587, |
1734 | OpAbsUSubINTEL = 5588, |
1735 | OpIAddSatINTEL = 5589, |
1736 | OpUAddSatINTEL = 5590, |
1737 | OpIAverageINTEL = 5591, |
1738 | OpUAverageINTEL = 5592, |
1739 | OpIAverageRoundedINTEL = 5593, |
1740 | OpUAverageRoundedINTEL = 5594, |
1741 | OpISubSatINTEL = 5595, |
1742 | OpUSubSatINTEL = 5596, |
1743 | OpIMul32x16INTEL = 5597, |
1744 | OpUMul32x16INTEL = 5598, |
1745 | OpConstantFunctionPointerINTEL = 5600, |
1746 | OpFunctionPointerCallINTEL = 5601, |
1747 | OpAsmTargetINTEL = 5609, |
1748 | OpAsmINTEL = 5610, |
1749 | OpAsmCallINTEL = 5611, |
1750 | OpAtomicFMinEXT = 5614, |
1751 | OpAtomicFMaxEXT = 5615, |
1752 | OpAssumeTrueKHR = 5630, |
1753 | OpExpectKHR = 5631, |
1754 | OpDecorateString = 5632, |
1755 | OpDecorateStringGOOGLE = 5632, |
1756 | OpMemberDecorateString = 5633, |
1757 | OpMemberDecorateStringGOOGLE = 5633, |
1758 | OpVmeImageINTEL = 5699, |
1759 | OpTypeVmeImageINTEL = 5700, |
1760 | OpTypeAvcImePayloadINTEL = 5701, |
1761 | OpTypeAvcRefPayloadINTEL = 5702, |
1762 | OpTypeAvcSicPayloadINTEL = 5703, |
1763 | OpTypeAvcMcePayloadINTEL = 5704, |
1764 | OpTypeAvcMceResultINTEL = 5705, |
1765 | OpTypeAvcImeResultINTEL = 5706, |
1766 | OpTypeAvcImeResultSingleReferenceStreamoutINTEL = 5707, |
1767 | OpTypeAvcImeResultDualReferenceStreamoutINTEL = 5708, |
1768 | OpTypeAvcImeSingleReferenceStreaminINTEL = 5709, |
1769 | OpTypeAvcImeDualReferenceStreaminINTEL = 5710, |
1770 | OpTypeAvcRefResultINTEL = 5711, |
1771 | OpTypeAvcSicResultINTEL = 5712, |
1772 | OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL = 5713, |
1773 | OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL = 5714, |
1774 | OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL = 5715, |
1775 | OpSubgroupAvcMceSetInterShapePenaltyINTEL = 5716, |
1776 | OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL = 5717, |
1777 | OpSubgroupAvcMceSetInterDirectionPenaltyINTEL = 5718, |
1778 | OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL = 5719, |
1779 | OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL = 5720, |
1780 | OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL = 5721, |
1781 | OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL = 5722, |
1782 | OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL = 5723, |
1783 | OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL = 5724, |
1784 | OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL = 5725, |
1785 | OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL = 5726, |
1786 | OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL = 5727, |
1787 | OpSubgroupAvcMceSetAcOnlyHaarINTEL = 5728, |
1788 | OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL = 5729, |
1789 | OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL = 5730, |
1790 | OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL = 5731, |
1791 | OpSubgroupAvcMceConvertToImePayloadINTEL = 5732, |
1792 | OpSubgroupAvcMceConvertToImeResultINTEL = 5733, |
1793 | OpSubgroupAvcMceConvertToRefPayloadINTEL = 5734, |
1794 | OpSubgroupAvcMceConvertToRefResultINTEL = 5735, |
1795 | OpSubgroupAvcMceConvertToSicPayloadINTEL = 5736, |
1796 | OpSubgroupAvcMceConvertToSicResultINTEL = 5737, |
1797 | OpSubgroupAvcMceGetMotionVectorsINTEL = 5738, |
1798 | OpSubgroupAvcMceGetInterDistortionsINTEL = 5739, |
1799 | OpSubgroupAvcMceGetBestInterDistortionsINTEL = 5740, |
1800 | OpSubgroupAvcMceGetInterMajorShapeINTEL = 5741, |
1801 | OpSubgroupAvcMceGetInterMinorShapeINTEL = 5742, |
1802 | OpSubgroupAvcMceGetInterDirectionsINTEL = 5743, |
1803 | OpSubgroupAvcMceGetInterMotionVectorCountINTEL = 5744, |
1804 | OpSubgroupAvcMceGetInterReferenceIdsINTEL = 5745, |
1805 | OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL = 5746, |
1806 | OpSubgroupAvcImeInitializeINTEL = 5747, |
1807 | OpSubgroupAvcImeSetSingleReferenceINTEL = 5748, |
1808 | OpSubgroupAvcImeSetDualReferenceINTEL = 5749, |
1809 | OpSubgroupAvcImeRefWindowSizeINTEL = 5750, |
1810 | OpSubgroupAvcImeAdjustRefOffsetINTEL = 5751, |
1811 | OpSubgroupAvcImeConvertToMcePayloadINTEL = 5752, |
1812 | OpSubgroupAvcImeSetMaxMotionVectorCountINTEL = 5753, |
1813 | OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL = 5754, |
1814 | OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL = 5755, |
1815 | OpSubgroupAvcImeSetWeightedSadINTEL = 5756, |
1816 | OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL = 5757, |
1817 | OpSubgroupAvcImeEvaluateWithDualReferenceINTEL = 5758, |
1818 | OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL = 5759, |
1819 | OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL = 5760, |
1820 | OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL = 5761, |
1821 | OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL = 5762, |
1822 | OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL = 5763, |
1823 | OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL = 5764, |
1824 | OpSubgroupAvcImeConvertToMceResultINTEL = 5765, |
1825 | OpSubgroupAvcImeGetSingleReferenceStreaminINTEL = 5766, |
1826 | OpSubgroupAvcImeGetDualReferenceStreaminINTEL = 5767, |
1827 | OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL = 5768, |
1828 | OpSubgroupAvcImeStripDualReferenceStreamoutINTEL = 5769, |
1829 | OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL = 5770, |
1830 | OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL = 5771, |
1831 | OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL = 5772, |
1832 | OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL = 5773, |
1833 | OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL = 5774, |
1834 | OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL = 5775, |
1835 | OpSubgroupAvcImeGetBorderReachedINTEL = 5776, |
1836 | OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL = 5777, |
1837 | OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL = 5778, |
1838 | OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL = 5779, |
1839 | OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL = 5780, |
1840 | OpSubgroupAvcFmeInitializeINTEL = 5781, |
1841 | OpSubgroupAvcBmeInitializeINTEL = 5782, |
1842 | OpSubgroupAvcRefConvertToMcePayloadINTEL = 5783, |
1843 | OpSubgroupAvcRefSetBidirectionalMixDisableINTEL = 5784, |
1844 | OpSubgroupAvcRefSetBilinearFilterEnableINTEL = 5785, |
1845 | OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL = 5786, |
1846 | OpSubgroupAvcRefEvaluateWithDualReferenceINTEL = 5787, |
1847 | OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL = 5788, |
1848 | OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL = 5789, |
1849 | OpSubgroupAvcRefConvertToMceResultINTEL = 5790, |
1850 | OpSubgroupAvcSicInitializeINTEL = 5791, |
1851 | OpSubgroupAvcSicConfigureSkcINTEL = 5792, |
1852 | OpSubgroupAvcSicConfigureIpeLumaINTEL = 5793, |
1853 | OpSubgroupAvcSicConfigureIpeLumaChromaINTEL = 5794, |
1854 | OpSubgroupAvcSicGetMotionVectorMaskINTEL = 5795, |
1855 | OpSubgroupAvcSicConvertToMcePayloadINTEL = 5796, |
1856 | OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL = 5797, |
1857 | OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL = 5798, |
1858 | OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL = 5799, |
1859 | OpSubgroupAvcSicSetBilinearFilterEnableINTEL = 5800, |
1860 | OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL = 5801, |
1861 | OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL = 5802, |
1862 | OpSubgroupAvcSicEvaluateIpeINTEL = 5803, |
1863 | OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL = 5804, |
1864 | OpSubgroupAvcSicEvaluateWithDualReferenceINTEL = 5805, |
1865 | OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL = 5806, |
1866 | OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL = 5807, |
1867 | OpSubgroupAvcSicConvertToMceResultINTEL = 5808, |
1868 | OpSubgroupAvcSicGetIpeLumaShapeINTEL = 5809, |
1869 | OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL = 5810, |
1870 | OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL = 5811, |
1871 | OpSubgroupAvcSicGetPackedIpeLumaModesINTEL = 5812, |
1872 | OpSubgroupAvcSicGetIpeChromaModeINTEL = 5813, |
1873 | OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL = 5814, |
1874 | OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL = 5815, |
1875 | OpSubgroupAvcSicGetInterRawSadsINTEL = 5816, |
1876 | OpVariableLengthArrayINTEL = 5818, |
1877 | OpSaveMemoryINTEL = 5819, |
1878 | OpRestoreMemoryINTEL = 5820, |
1879 | OpArbitraryFloatSinCosPiINTEL = 5840, |
1880 | OpArbitraryFloatCastINTEL = 5841, |
1881 | OpArbitraryFloatCastFromIntINTEL = 5842, |
1882 | OpArbitraryFloatCastToIntINTEL = 5843, |
1883 | OpArbitraryFloatAddINTEL = 5846, |
1884 | OpArbitraryFloatSubINTEL = 5847, |
1885 | OpArbitraryFloatMulINTEL = 5848, |
1886 | OpArbitraryFloatDivINTEL = 5849, |
1887 | OpArbitraryFloatGTINTEL = 5850, |
1888 | OpArbitraryFloatGEINTEL = 5851, |
1889 | OpArbitraryFloatLTINTEL = 5852, |
1890 | OpArbitraryFloatLEINTEL = 5853, |
1891 | OpArbitraryFloatEQINTEL = 5854, |
1892 | OpArbitraryFloatRecipINTEL = 5855, |
1893 | OpArbitraryFloatRSqrtINTEL = 5856, |
1894 | OpArbitraryFloatCbrtINTEL = 5857, |
1895 | OpArbitraryFloatHypotINTEL = 5858, |
1896 | OpArbitraryFloatSqrtINTEL = 5859, |
1897 | OpArbitraryFloatLogINTEL = 5860, |
1898 | OpArbitraryFloatLog2INTEL = 5861, |
1899 | OpArbitraryFloatLog10INTEL = 5862, |
1900 | OpArbitraryFloatLog1pINTEL = 5863, |
1901 | OpArbitraryFloatExpINTEL = 5864, |
1902 | OpArbitraryFloatExp2INTEL = 5865, |
1903 | OpArbitraryFloatExp10INTEL = 5866, |
1904 | OpArbitraryFloatExpm1INTEL = 5867, |
1905 | OpArbitraryFloatSinINTEL = 5868, |
1906 | OpArbitraryFloatCosINTEL = 5869, |
1907 | OpArbitraryFloatSinCosINTEL = 5870, |
1908 | OpArbitraryFloatSinPiINTEL = 5871, |
1909 | OpArbitraryFloatCosPiINTEL = 5872, |
1910 | OpArbitraryFloatASinINTEL = 5873, |
1911 | OpArbitraryFloatASinPiINTEL = 5874, |
1912 | OpArbitraryFloatACosINTEL = 5875, |
1913 | OpArbitraryFloatACosPiINTEL = 5876, |
1914 | OpArbitraryFloatATanINTEL = 5877, |
1915 | OpArbitraryFloatATanPiINTEL = 5878, |
1916 | OpArbitraryFloatATan2INTEL = 5879, |
1917 | OpArbitraryFloatPowINTEL = 5880, |
1918 | OpArbitraryFloatPowRINTEL = 5881, |
1919 | OpArbitraryFloatPowNINTEL = 5882, |
1920 | OpLoopControlINTEL = 5887, |
1921 | OpAliasDomainDeclINTEL = 5911, |
1922 | OpAliasScopeDeclINTEL = 5912, |
1923 | OpAliasScopeListDeclINTEL = 5913, |
1924 | OpFixedSqrtINTEL = 5923, |
1925 | OpFixedRecipINTEL = 5924, |
1926 | OpFixedRsqrtINTEL = 5925, |
1927 | OpFixedSinINTEL = 5926, |
1928 | OpFixedCosINTEL = 5927, |
1929 | OpFixedSinCosINTEL = 5928, |
1930 | OpFixedSinPiINTEL = 5929, |
1931 | OpFixedCosPiINTEL = 5930, |
1932 | OpFixedSinCosPiINTEL = 5931, |
1933 | OpFixedLogINTEL = 5932, |
1934 | OpFixedExpINTEL = 5933, |
1935 | OpPtrCastToCrossWorkgroupINTEL = 5934, |
1936 | OpCrossWorkgroupCastToPtrINTEL = 5938, |
1937 | OpReadPipeBlockingINTEL = 5946, |
1938 | OpWritePipeBlockingINTEL = 5947, |
1939 | OpFPGARegINTEL = 5949, |
1940 | OpRayQueryGetRayTMinKHR = 6016, |
1941 | OpRayQueryGetRayFlagsKHR = 6017, |
1942 | OpRayQueryGetIntersectionTKHR = 6018, |
1943 | OpRayQueryGetIntersectionInstanceCustomIndexKHR = 6019, |
1944 | OpRayQueryGetIntersectionInstanceIdKHR = 6020, |
1945 | OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR = 6021, |
1946 | OpRayQueryGetIntersectionGeometryIndexKHR = 6022, |
1947 | OpRayQueryGetIntersectionPrimitiveIndexKHR = 6023, |
1948 | OpRayQueryGetIntersectionBarycentricsKHR = 6024, |
1949 | OpRayQueryGetIntersectionFrontFaceKHR = 6025, |
1950 | OpRayQueryGetIntersectionCandidateAABBOpaqueKHR = 6026, |
1951 | OpRayQueryGetIntersectionObjectRayDirectionKHR = 6027, |
1952 | OpRayQueryGetIntersectionObjectRayOriginKHR = 6028, |
1953 | OpRayQueryGetWorldRayDirectionKHR = 6029, |
1954 | OpRayQueryGetWorldRayOriginKHR = 6030, |
1955 | OpRayQueryGetIntersectionObjectToWorldKHR = 6031, |
1956 | OpRayQueryGetIntersectionWorldToObjectKHR = 6032, |
1957 | OpAtomicFAddEXT = 6035, |
1958 | OpTypeBufferSurfaceINTEL = 6086, |
1959 | OpTypeStructContinuedINTEL = 6090, |
1960 | OpConstantCompositeContinuedINTEL = 6091, |
1961 | OpSpecConstantCompositeContinuedINTEL = 6092, |
1962 | OpControlBarrierArriveINTEL = 6142, |
1963 | OpControlBarrierWaitINTEL = 6143, |
1964 | OpGroupIMulKHR = 6401, |
1965 | OpGroupFMulKHR = 6402, |
1966 | OpGroupBitwiseAndKHR = 6403, |
1967 | OpGroupBitwiseOrKHR = 6404, |
1968 | OpGroupBitwiseXorKHR = 6405, |
1969 | OpGroupLogicalAndKHR = 6406, |
1970 | OpGroupLogicalOrKHR = 6407, |
1971 | OpGroupLogicalXorKHR = 6408, |
1972 | OpMax = 0x7fffffff, |
1973 | }; |
1974 | |
1975 | #ifdef SPV_ENABLE_UTILITY_CODE |
1976 | #ifndef __cplusplus |
1977 | #include <stdbool.h> |
1978 | #endif |
1979 | inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) { |
1980 | *hasResult = *hasResultType = false; |
1981 | switch (opcode) { |
1982 | default: /* unknown opcode */ break; |
1983 | case OpNop: *hasResult = false; *hasResultType = false; break; |
1984 | case OpUndef: *hasResult = true; *hasResultType = true; break; |
1985 | case OpSourceContinued: *hasResult = false; *hasResultType = false; break; |
1986 | case OpSource: *hasResult = false; *hasResultType = false; break; |
1987 | case OpSourceExtension: *hasResult = false; *hasResultType = false; break; |
1988 | case OpName: *hasResult = false; *hasResultType = false; break; |
1989 | case OpMemberName: *hasResult = false; *hasResultType = false; break; |
1990 | case OpString: *hasResult = true; *hasResultType = false; break; |
1991 | case OpLine: *hasResult = false; *hasResultType = false; break; |
1992 | case OpExtension: *hasResult = false; *hasResultType = false; break; |
1993 | case OpExtInstImport: *hasResult = true; *hasResultType = false; break; |
1994 | case OpExtInst: *hasResult = true; *hasResultType = true; break; |
1995 | case OpMemoryModel: *hasResult = false; *hasResultType = false; break; |
1996 | case OpEntryPoint: *hasResult = false; *hasResultType = false; break; |
1997 | case OpExecutionMode: *hasResult = false; *hasResultType = false; break; |
1998 | case OpCapability: *hasResult = false; *hasResultType = false; break; |
1999 | case OpTypeVoid: *hasResult = true; *hasResultType = false; break; |
2000 | case OpTypeBool: *hasResult = true; *hasResultType = false; break; |
2001 | case OpTypeInt: *hasResult = true; *hasResultType = false; break; |
2002 | case OpTypeFloat: *hasResult = true; *hasResultType = false; break; |
2003 | case OpTypeVector: *hasResult = true; *hasResultType = false; break; |
2004 | case OpTypeMatrix: *hasResult = true; *hasResultType = false; break; |
2005 | case OpTypeImage: *hasResult = true; *hasResultType = false; break; |
2006 | case OpTypeSampler: *hasResult = true; *hasResultType = false; break; |
2007 | case OpTypeSampledImage: *hasResult = true; *hasResultType = false; break; |
2008 | case OpTypeArray: *hasResult = true; *hasResultType = false; break; |
2009 | case OpTypeRuntimeArray: *hasResult = true; *hasResultType = false; break; |
2010 | case OpTypeStruct: *hasResult = true; *hasResultType = false; break; |
2011 | case OpTypeOpaque: *hasResult = true; *hasResultType = false; break; |
2012 | case OpTypePointer: *hasResult = true; *hasResultType = false; break; |
2013 | case OpTypeFunction: *hasResult = true; *hasResultType = false; break; |
2014 | case OpTypeEvent: *hasResult = true; *hasResultType = false; break; |
2015 | case OpTypeDeviceEvent: *hasResult = true; *hasResultType = false; break; |
2016 | case OpTypeReserveId: *hasResult = true; *hasResultType = false; break; |
2017 | case OpTypeQueue: *hasResult = true; *hasResultType = false; break; |
2018 | case OpTypePipe: *hasResult = true; *hasResultType = false; break; |
2019 | case OpTypeForwardPointer: *hasResult = false; *hasResultType = false; break; |
2020 | case OpConstantTrue: *hasResult = true; *hasResultType = true; break; |
2021 | case OpConstantFalse: *hasResult = true; *hasResultType = true; break; |
2022 | case OpConstant: *hasResult = true; *hasResultType = true; break; |
2023 | case OpConstantComposite: *hasResult = true; *hasResultType = true; break; |
2024 | case OpConstantSampler: *hasResult = true; *hasResultType = true; break; |
2025 | case OpConstantNull: *hasResult = true; *hasResultType = true; break; |
2026 | case OpSpecConstantTrue: *hasResult = true; *hasResultType = true; break; |
2027 | case OpSpecConstantFalse: *hasResult = true; *hasResultType = true; break; |
2028 | case OpSpecConstant: *hasResult = true; *hasResultType = true; break; |
2029 | case OpSpecConstantComposite: *hasResult = true; *hasResultType = true; break; |
2030 | case OpSpecConstantOp: *hasResult = true; *hasResultType = true; break; |
2031 | case OpFunction: *hasResult = true; *hasResultType = true; break; |
2032 | case OpFunctionParameter: *hasResult = true; *hasResultType = true; break; |
2033 | case OpFunctionEnd: *hasResult = false; *hasResultType = false; break; |
2034 | case OpFunctionCall: *hasResult = true; *hasResultType = true; break; |
2035 | case OpVariable: *hasResult = true; *hasResultType = true; break; |
2036 | case OpImageTexelPointer: *hasResult = true; *hasResultType = true; break; |
2037 | case OpLoad: *hasResult = true; *hasResultType = true; break; |
2038 | case OpStore: *hasResult = false; *hasResultType = false; break; |
2039 | case OpCopyMemory: *hasResult = false; *hasResultType = false; break; |
2040 | case OpCopyMemorySized: *hasResult = false; *hasResultType = false; break; |
2041 | case OpAccessChain: *hasResult = true; *hasResultType = true; break; |
2042 | case OpInBoundsAccessChain: *hasResult = true; *hasResultType = true; break; |
2043 | case OpPtrAccessChain: *hasResult = true; *hasResultType = true; break; |
2044 | case OpArrayLength: *hasResult = true; *hasResultType = true; break; |
2045 | case OpGenericPtrMemSemantics: *hasResult = true; *hasResultType = true; break; |
2046 | case OpInBoundsPtrAccessChain: *hasResult = true; *hasResultType = true; break; |
2047 | case OpDecorate: *hasResult = false; *hasResultType = false; break; |
2048 | case OpMemberDecorate: *hasResult = false; *hasResultType = false; break; |
2049 | case OpDecorationGroup: *hasResult = true; *hasResultType = false; break; |
2050 | case OpGroupDecorate: *hasResult = false; *hasResultType = false; break; |
2051 | case OpGroupMemberDecorate: *hasResult = false; *hasResultType = false; break; |
2052 | case OpVectorExtractDynamic: *hasResult = true; *hasResultType = true; break; |
2053 | case OpVectorInsertDynamic: *hasResult = true; *hasResultType = true; break; |
2054 | case OpVectorShuffle: *hasResult = true; *hasResultType = true; break; |
2055 | case OpCompositeConstruct: *hasResult = true; *hasResultType = true; break; |
2056 | case OpCompositeExtract: *hasResult = true; *hasResultType = true; break; |
2057 | case OpCompositeInsert: *hasResult = true; *hasResultType = true; break; |
2058 | case OpCopyObject: *hasResult = true; *hasResultType = true; break; |
2059 | case OpTranspose: *hasResult = true; *hasResultType = true; break; |
2060 | case OpSampledImage: *hasResult = true; *hasResultType = true; break; |
2061 | case OpImageSampleImplicitLod: *hasResult = true; *hasResultType = true; break; |
2062 | case OpImageSampleExplicitLod: *hasResult = true; *hasResultType = true; break; |
2063 | case OpImageSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break; |
2064 | case OpImageSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break; |
2065 | case OpImageSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break; |
2066 | case OpImageSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break; |
2067 | case OpImageSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break; |
2068 | case OpImageSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break; |
2069 | case OpImageFetch: *hasResult = true; *hasResultType = true; break; |
2070 | case OpImageGather: *hasResult = true; *hasResultType = true; break; |
2071 | case OpImageDrefGather: *hasResult = true; *hasResultType = true; break; |
2072 | case OpImageRead: *hasResult = true; *hasResultType = true; break; |
2073 | case OpImageWrite: *hasResult = false; *hasResultType = false; break; |
2074 | case OpImage: *hasResult = true; *hasResultType = true; break; |
2075 | case OpImageQueryFormat: *hasResult = true; *hasResultType = true; break; |
2076 | case OpImageQueryOrder: *hasResult = true; *hasResultType = true; break; |
2077 | case OpImageQuerySizeLod: *hasResult = true; *hasResultType = true; break; |
2078 | case OpImageQuerySize: *hasResult = true; *hasResultType = true; break; |
2079 | case OpImageQueryLod: *hasResult = true; *hasResultType = true; break; |
2080 | case OpImageQueryLevels: *hasResult = true; *hasResultType = true; break; |
2081 | case OpImageQuerySamples: *hasResult = true; *hasResultType = true; break; |
2082 | case OpConvertFToU: *hasResult = true; *hasResultType = true; break; |
2083 | case OpConvertFToS: *hasResult = true; *hasResultType = true; break; |
2084 | case OpConvertSToF: *hasResult = true; *hasResultType = true; break; |
2085 | case OpConvertUToF: *hasResult = true; *hasResultType = true; break; |
2086 | case OpUConvert: *hasResult = true; *hasResultType = true; break; |
2087 | case OpSConvert: *hasResult = true; *hasResultType = true; break; |
2088 | case OpFConvert: *hasResult = true; *hasResultType = true; break; |
2089 | case OpQuantizeToF16: *hasResult = true; *hasResultType = true; break; |
2090 | case OpConvertPtrToU: *hasResult = true; *hasResultType = true; break; |
2091 | case OpSatConvertSToU: *hasResult = true; *hasResultType = true; break; |
2092 | case OpSatConvertUToS: *hasResult = true; *hasResultType = true; break; |
2093 | case OpConvertUToPtr: *hasResult = true; *hasResultType = true; break; |
2094 | case OpPtrCastToGeneric: *hasResult = true; *hasResultType = true; break; |
2095 | case OpGenericCastToPtr: *hasResult = true; *hasResultType = true; break; |
2096 | case OpGenericCastToPtrExplicit: *hasResult = true; *hasResultType = true; break; |
2097 | case OpBitcast: *hasResult = true; *hasResultType = true; break; |
2098 | case OpSNegate: *hasResult = true; *hasResultType = true; break; |
2099 | case OpFNegate: *hasResult = true; *hasResultType = true; break; |
2100 | case OpIAdd: *hasResult = true; *hasResultType = true; break; |
2101 | case OpFAdd: *hasResult = true; *hasResultType = true; break; |
2102 | case OpISub: *hasResult = true; *hasResultType = true; break; |
2103 | case OpFSub: *hasResult = true; *hasResultType = true; break; |
2104 | case OpIMul: *hasResult = true; *hasResultType = true; break; |
2105 | case OpFMul: *hasResult = true; *hasResultType = true; break; |
2106 | case OpUDiv: *hasResult = true; *hasResultType = true; break; |
2107 | case OpSDiv: *hasResult = true; *hasResultType = true; break; |
2108 | case OpFDiv: *hasResult = true; *hasResultType = true; break; |
2109 | case OpUMod: *hasResult = true; *hasResultType = true; break; |
2110 | case OpSRem: *hasResult = true; *hasResultType = true; break; |
2111 | case OpSMod: *hasResult = true; *hasResultType = true; break; |
2112 | case OpFRem: *hasResult = true; *hasResultType = true; break; |
2113 | case OpFMod: *hasResult = true; *hasResultType = true; break; |
2114 | case OpVectorTimesScalar: *hasResult = true; *hasResultType = true; break; |
2115 | case OpMatrixTimesScalar: *hasResult = true; *hasResultType = true; break; |
2116 | case OpVectorTimesMatrix: *hasResult = true; *hasResultType = true; break; |
2117 | case OpMatrixTimesVector: *hasResult = true; *hasResultType = true; break; |
2118 | case OpMatrixTimesMatrix: *hasResult = true; *hasResultType = true; break; |
2119 | case OpOuterProduct: *hasResult = true; *hasResultType = true; break; |
2120 | case OpDot: *hasResult = true; *hasResultType = true; break; |
2121 | case OpIAddCarry: *hasResult = true; *hasResultType = true; break; |
2122 | case OpISubBorrow: *hasResult = true; *hasResultType = true; break; |
2123 | case OpUMulExtended: *hasResult = true; *hasResultType = true; break; |
2124 | case OpSMulExtended: *hasResult = true; *hasResultType = true; break; |
2125 | case OpAny: *hasResult = true; *hasResultType = true; break; |
2126 | case OpAll: *hasResult = true; *hasResultType = true; break; |
2127 | case OpIsNan: *hasResult = true; *hasResultType = true; break; |
2128 | case OpIsInf: *hasResult = true; *hasResultType = true; break; |
2129 | case OpIsFinite: *hasResult = true; *hasResultType = true; break; |
2130 | case OpIsNormal: *hasResult = true; *hasResultType = true; break; |
2131 | case OpSignBitSet: *hasResult = true; *hasResultType = true; break; |
2132 | case OpLessOrGreater: *hasResult = true; *hasResultType = true; break; |
2133 | case OpOrdered: *hasResult = true; *hasResultType = true; break; |
2134 | case OpUnordered: *hasResult = true; *hasResultType = true; break; |
2135 | case OpLogicalEqual: *hasResult = true; *hasResultType = true; break; |
2136 | case OpLogicalNotEqual: *hasResult = true; *hasResultType = true; break; |
2137 | case OpLogicalOr: *hasResult = true; *hasResultType = true; break; |
2138 | case OpLogicalAnd: *hasResult = true; *hasResultType = true; break; |
2139 | case OpLogicalNot: *hasResult = true; *hasResultType = true; break; |
2140 | case OpSelect: *hasResult = true; *hasResultType = true; break; |
2141 | case OpIEqual: *hasResult = true; *hasResultType = true; break; |
2142 | case OpINotEqual: *hasResult = true; *hasResultType = true; break; |
2143 | case OpUGreaterThan: *hasResult = true; *hasResultType = true; break; |
2144 | case OpSGreaterThan: *hasResult = true; *hasResultType = true; break; |
2145 | case OpUGreaterThanEqual: *hasResult = true; *hasResultType = true; break; |
2146 | case OpSGreaterThanEqual: *hasResult = true; *hasResultType = true; break; |
2147 | case OpULessThan: *hasResult = true; *hasResultType = true; break; |
2148 | case OpSLessThan: *hasResult = true; *hasResultType = true; break; |
2149 | case OpULessThanEqual: *hasResult = true; *hasResultType = true; break; |
2150 | case OpSLessThanEqual: *hasResult = true; *hasResultType = true; break; |
2151 | case OpFOrdEqual: *hasResult = true; *hasResultType = true; break; |
2152 | case OpFUnordEqual: *hasResult = true; *hasResultType = true; break; |
2153 | case OpFOrdNotEqual: *hasResult = true; *hasResultType = true; break; |
2154 | case OpFUnordNotEqual: *hasResult = true; *hasResultType = true; break; |
2155 | case OpFOrdLessThan: *hasResult = true; *hasResultType = true; break; |
2156 | case OpFUnordLessThan: *hasResult = true; *hasResultType = true; break; |
2157 | case OpFOrdGreaterThan: *hasResult = true; *hasResultType = true; break; |
2158 | case OpFUnordGreaterThan: *hasResult = true; *hasResultType = true; break; |
2159 | case OpFOrdLessThanEqual: *hasResult = true; *hasResultType = true; break; |
2160 | case OpFUnordLessThanEqual: *hasResult = true; *hasResultType = true; break; |
2161 | case OpFOrdGreaterThanEqual: *hasResult = true; *hasResultType = true; break; |
2162 | case OpFUnordGreaterThanEqual: *hasResult = true; *hasResultType = true; break; |
2163 | case OpShiftRightLogical: *hasResult = true; *hasResultType = true; break; |
2164 | case OpShiftRightArithmetic: *hasResult = true; *hasResultType = true; break; |
2165 | case OpShiftLeftLogical: *hasResult = true; *hasResultType = true; break; |
2166 | case OpBitwiseOr: *hasResult = true; *hasResultType = true; break; |
2167 | case OpBitwiseXor: *hasResult = true; *hasResultType = true; break; |
2168 | case OpBitwiseAnd: *hasResult = true; *hasResultType = true; break; |
2169 | case OpNot: *hasResult = true; *hasResultType = true; break; |
2170 | case OpBitFieldInsert: *hasResult = true; *hasResultType = true; break; |
2171 | case OpBitFieldSExtract: *hasResult = true; *hasResultType = true; break; |
2172 | case OpBitFieldUExtract: *hasResult = true; *hasResultType = true; break; |
2173 | case OpBitReverse: *hasResult = true; *hasResultType = true; break; |
2174 | case OpBitCount: *hasResult = true; *hasResultType = true; break; |
2175 | case OpDPdx: *hasResult = true; *hasResultType = true; break; |
2176 | case OpDPdy: *hasResult = true; *hasResultType = true; break; |
2177 | case OpFwidth: *hasResult = true; *hasResultType = true; break; |
2178 | case OpDPdxFine: *hasResult = true; *hasResultType = true; break; |
2179 | case OpDPdyFine: *hasResult = true; *hasResultType = true; break; |
2180 | case OpFwidthFine: *hasResult = true; *hasResultType = true; break; |
2181 | case OpDPdxCoarse: *hasResult = true; *hasResultType = true; break; |
2182 | case OpDPdyCoarse: *hasResult = true; *hasResultType = true; break; |
2183 | case OpFwidthCoarse: *hasResult = true; *hasResultType = true; break; |
2184 | case OpEmitVertex: *hasResult = false; *hasResultType = false; break; |
2185 | case OpEndPrimitive: *hasResult = false; *hasResultType = false; break; |
2186 | case OpEmitStreamVertex: *hasResult = false; *hasResultType = false; break; |
2187 | case OpEndStreamPrimitive: *hasResult = false; *hasResultType = false; break; |
2188 | case OpControlBarrier: *hasResult = false; *hasResultType = false; break; |
2189 | case OpMemoryBarrier: *hasResult = false; *hasResultType = false; break; |
2190 | case OpAtomicLoad: *hasResult = true; *hasResultType = true; break; |
2191 | case OpAtomicStore: *hasResult = false; *hasResultType = false; break; |
2192 | case OpAtomicExchange: *hasResult = true; *hasResultType = true; break; |
2193 | case OpAtomicCompareExchange: *hasResult = true; *hasResultType = true; break; |
2194 | case OpAtomicCompareExchangeWeak: *hasResult = true; *hasResultType = true; break; |
2195 | case OpAtomicIIncrement: *hasResult = true; *hasResultType = true; break; |
2196 | case OpAtomicIDecrement: *hasResult = true; *hasResultType = true; break; |
2197 | case OpAtomicIAdd: *hasResult = true; *hasResultType = true; break; |
2198 | case OpAtomicISub: *hasResult = true; *hasResultType = true; break; |
2199 | case OpAtomicSMin: *hasResult = true; *hasResultType = true; break; |
2200 | case OpAtomicUMin: *hasResult = true; *hasResultType = true; break; |
2201 | case OpAtomicSMax: *hasResult = true; *hasResultType = true; break; |
2202 | case OpAtomicUMax: *hasResult = true; *hasResultType = true; break; |
2203 | case OpAtomicAnd: *hasResult = true; *hasResultType = true; break; |
2204 | case OpAtomicOr: *hasResult = true; *hasResultType = true; break; |
2205 | case OpAtomicXor: *hasResult = true; *hasResultType = true; break; |
2206 | case OpPhi: *hasResult = true; *hasResultType = true; break; |
2207 | case OpLoopMerge: *hasResult = false; *hasResultType = false; break; |
2208 | case OpSelectionMerge: *hasResult = false; *hasResultType = false; break; |
2209 | case OpLabel: *hasResult = true; *hasResultType = false; break; |
2210 | case OpBranch: *hasResult = false; *hasResultType = false; break; |
2211 | case OpBranchConditional: *hasResult = false; *hasResultType = false; break; |
2212 | case OpSwitch: *hasResult = false; *hasResultType = false; break; |
2213 | case OpKill: *hasResult = false; *hasResultType = false; break; |
2214 | case OpReturn: *hasResult = false; *hasResultType = false; break; |
2215 | case OpReturnValue: *hasResult = false; *hasResultType = false; break; |
2216 | case OpUnreachable: *hasResult = false; *hasResultType = false; break; |
2217 | case OpLifetimeStart: *hasResult = false; *hasResultType = false; break; |
2218 | case OpLifetimeStop: *hasResult = false; *hasResultType = false; break; |
2219 | case OpGroupAsyncCopy: *hasResult = true; *hasResultType = true; break; |
2220 | case OpGroupWaitEvents: *hasResult = false; *hasResultType = false; break; |
2221 | case OpGroupAll: *hasResult = true; *hasResultType = true; break; |
2222 | case OpGroupAny: *hasResult = true; *hasResultType = true; break; |
2223 | case OpGroupBroadcast: *hasResult = true; *hasResultType = true; break; |
2224 | case OpGroupIAdd: *hasResult = true; *hasResultType = true; break; |
2225 | case OpGroupFAdd: *hasResult = true; *hasResultType = true; break; |
2226 | case OpGroupFMin: *hasResult = true; *hasResultType = true; break; |
2227 | case OpGroupUMin: *hasResult = true; *hasResultType = true; break; |
2228 | case OpGroupSMin: *hasResult = true; *hasResultType = true; break; |
2229 | case OpGroupFMax: *hasResult = true; *hasResultType = true; break; |
2230 | case OpGroupUMax: *hasResult = true; *hasResultType = true; break; |
2231 | case OpGroupSMax: *hasResult = true; *hasResultType = true; break; |
2232 | case OpReadPipe: *hasResult = true; *hasResultType = true; break; |
2233 | case OpWritePipe: *hasResult = true; *hasResultType = true; break; |
2234 | case OpReservedReadPipe: *hasResult = true; *hasResultType = true; break; |
2235 | case OpReservedWritePipe: *hasResult = true; *hasResultType = true; break; |
2236 | case OpReserveReadPipePackets: *hasResult = true; *hasResultType = true; break; |
2237 | case OpReserveWritePipePackets: *hasResult = true; *hasResultType = true; break; |
2238 | case OpCommitReadPipe: *hasResult = false; *hasResultType = false; break; |
2239 | case OpCommitWritePipe: *hasResult = false; *hasResultType = false; break; |
2240 | case OpIsValidReserveId: *hasResult = true; *hasResultType = true; break; |
2241 | case OpGetNumPipePackets: *hasResult = true; *hasResultType = true; break; |
2242 | case OpGetMaxPipePackets: *hasResult = true; *hasResultType = true; break; |
2243 | case OpGroupReserveReadPipePackets: *hasResult = true; *hasResultType = true; break; |
2244 | case OpGroupReserveWritePipePackets: *hasResult = true; *hasResultType = true; break; |
2245 | case OpGroupCommitReadPipe: *hasResult = false; *hasResultType = false; break; |
2246 | case OpGroupCommitWritePipe: *hasResult = false; *hasResultType = false; break; |
2247 | case OpEnqueueMarker: *hasResult = true; *hasResultType = true; break; |
2248 | case OpEnqueueKernel: *hasResult = true; *hasResultType = true; break; |
2249 | case OpGetKernelNDrangeSubGroupCount: *hasResult = true; *hasResultType = true; break; |
2250 | case OpGetKernelNDrangeMaxSubGroupSize: *hasResult = true; *hasResultType = true; break; |
2251 | case OpGetKernelWorkGroupSize: *hasResult = true; *hasResultType = true; break; |
2252 | case OpGetKernelPreferredWorkGroupSizeMultiple: *hasResult = true; *hasResultType = true; break; |
2253 | case OpRetainEvent: *hasResult = false; *hasResultType = false; break; |
2254 | case OpReleaseEvent: *hasResult = false; *hasResultType = false; break; |
2255 | case OpCreateUserEvent: *hasResult = true; *hasResultType = true; break; |
2256 | case OpIsValidEvent: *hasResult = true; *hasResultType = true; break; |
2257 | case OpSetUserEventStatus: *hasResult = false; *hasResultType = false; break; |
2258 | case OpCaptureEventProfilingInfo: *hasResult = false; *hasResultType = false; break; |
2259 | case OpGetDefaultQueue: *hasResult = true; *hasResultType = true; break; |
2260 | case OpBuildNDRange: *hasResult = true; *hasResultType = true; break; |
2261 | case OpImageSparseSampleImplicitLod: *hasResult = true; *hasResultType = true; break; |
2262 | case OpImageSparseSampleExplicitLod: *hasResult = true; *hasResultType = true; break; |
2263 | case OpImageSparseSampleDrefImplicitLod: *hasResult = true; *hasResultType = true; break; |
2264 | case OpImageSparseSampleDrefExplicitLod: *hasResult = true; *hasResultType = true; break; |
2265 | case OpImageSparseSampleProjImplicitLod: *hasResult = true; *hasResultType = true; break; |
2266 | case OpImageSparseSampleProjExplicitLod: *hasResult = true; *hasResultType = true; break; |
2267 | case OpImageSparseSampleProjDrefImplicitLod: *hasResult = true; *hasResultType = true; break; |
2268 | case OpImageSparseSampleProjDrefExplicitLod: *hasResult = true; *hasResultType = true; break; |
2269 | case OpImageSparseFetch: *hasResult = true; *hasResultType = true; break; |
2270 | case OpImageSparseGather: *hasResult = true; *hasResultType = true; break; |
2271 | case OpImageSparseDrefGather: *hasResult = true; *hasResultType = true; break; |
2272 | case OpImageSparseTexelsResident: *hasResult = true; *hasResultType = true; break; |
2273 | case OpNoLine: *hasResult = false; *hasResultType = false; break; |
2274 | case OpAtomicFlagTestAndSet: *hasResult = true; *hasResultType = true; break; |
2275 | case OpAtomicFlagClear: *hasResult = false; *hasResultType = false; break; |
2276 | case OpImageSparseRead: *hasResult = true; *hasResultType = true; break; |
2277 | case OpSizeOf: *hasResult = true; *hasResultType = true; break; |
2278 | case OpTypePipeStorage: *hasResult = true; *hasResultType = false; break; |
2279 | case OpConstantPipeStorage: *hasResult = true; *hasResultType = true; break; |
2280 | case OpCreatePipeFromPipeStorage: *hasResult = true; *hasResultType = true; break; |
2281 | case OpGetKernelLocalSizeForSubgroupCount: *hasResult = true; *hasResultType = true; break; |
2282 | case OpGetKernelMaxNumSubgroups: *hasResult = true; *hasResultType = true; break; |
2283 | case OpTypeNamedBarrier: *hasResult = true; *hasResultType = false; break; |
2284 | case OpNamedBarrierInitialize: *hasResult = true; *hasResultType = true; break; |
2285 | case OpMemoryNamedBarrier: *hasResult = false; *hasResultType = false; break; |
2286 | case OpModuleProcessed: *hasResult = false; *hasResultType = false; break; |
2287 | case OpExecutionModeId: *hasResult = false; *hasResultType = false; break; |
2288 | case OpDecorateId: *hasResult = false; *hasResultType = false; break; |
2289 | case OpGroupNonUniformElect: *hasResult = true; *hasResultType = true; break; |
2290 | case OpGroupNonUniformAll: *hasResult = true; *hasResultType = true; break; |
2291 | case OpGroupNonUniformAny: *hasResult = true; *hasResultType = true; break; |
2292 | case OpGroupNonUniformAllEqual: *hasResult = true; *hasResultType = true; break; |
2293 | case OpGroupNonUniformBroadcast: *hasResult = true; *hasResultType = true; break; |
2294 | case OpGroupNonUniformBroadcastFirst: *hasResult = true; *hasResultType = true; break; |
2295 | case OpGroupNonUniformBallot: *hasResult = true; *hasResultType = true; break; |
2296 | case OpGroupNonUniformInverseBallot: *hasResult = true; *hasResultType = true; break; |
2297 | case OpGroupNonUniformBallotBitExtract: *hasResult = true; *hasResultType = true; break; |
2298 | case OpGroupNonUniformBallotBitCount: *hasResult = true; *hasResultType = true; break; |
2299 | case OpGroupNonUniformBallotFindLSB: *hasResult = true; *hasResultType = true; break; |
2300 | case OpGroupNonUniformBallotFindMSB: *hasResult = true; *hasResultType = true; break; |
2301 | case OpGroupNonUniformShuffle: *hasResult = true; *hasResultType = true; break; |
2302 | case OpGroupNonUniformShuffleXor: *hasResult = true; *hasResultType = true; break; |
2303 | case OpGroupNonUniformShuffleUp: *hasResult = true; *hasResultType = true; break; |
2304 | case OpGroupNonUniformShuffleDown: *hasResult = true; *hasResultType = true; break; |
2305 | case OpGroupNonUniformIAdd: *hasResult = true; *hasResultType = true; break; |
2306 | case OpGroupNonUniformFAdd: *hasResult = true; *hasResultType = true; break; |
2307 | case OpGroupNonUniformIMul: *hasResult = true; *hasResultType = true; break; |
2308 | case OpGroupNonUniformFMul: *hasResult = true; *hasResultType = true; break; |
2309 | case OpGroupNonUniformSMin: *hasResult = true; *hasResultType = true; break; |
2310 | case OpGroupNonUniformUMin: *hasResult = true; *hasResultType = true; break; |
2311 | case OpGroupNonUniformFMin: *hasResult = true; *hasResultType = true; break; |
2312 | case OpGroupNonUniformSMax: *hasResult = true; *hasResultType = true; break; |
2313 | case OpGroupNonUniformUMax: *hasResult = true; *hasResultType = true; break; |
2314 | case OpGroupNonUniformFMax: *hasResult = true; *hasResultType = true; break; |
2315 | case OpGroupNonUniformBitwiseAnd: *hasResult = true; *hasResultType = true; break; |
2316 | case OpGroupNonUniformBitwiseOr: *hasResult = true; *hasResultType = true; break; |
2317 | case OpGroupNonUniformBitwiseXor: *hasResult = true; *hasResultType = true; break; |
2318 | case OpGroupNonUniformLogicalAnd: *hasResult = true; *hasResultType = true; break; |
2319 | case OpGroupNonUniformLogicalOr: *hasResult = true; *hasResultType = true; break; |
2320 | case OpGroupNonUniformLogicalXor: *hasResult = true; *hasResultType = true; break; |
2321 | case OpGroupNonUniformQuadBroadcast: *hasResult = true; *hasResultType = true; break; |
2322 | case OpGroupNonUniformQuadSwap: *hasResult = true; *hasResultType = true; break; |
2323 | case OpCopyLogical: *hasResult = true; *hasResultType = true; break; |
2324 | case OpPtrEqual: *hasResult = true; *hasResultType = true; break; |
2325 | case OpPtrNotEqual: *hasResult = true; *hasResultType = true; break; |
2326 | case OpPtrDiff: *hasResult = true; *hasResultType = true; break; |
2327 | case OpColorAttachmentReadEXT: *hasResult = true; *hasResultType = true; break; |
2328 | case OpDepthAttachmentReadEXT: *hasResult = true; *hasResultType = true; break; |
2329 | case OpStencilAttachmentReadEXT: *hasResult = true; *hasResultType = true; break; |
2330 | case OpTerminateInvocation: *hasResult = false; *hasResultType = false; break; |
2331 | case OpSubgroupBallotKHR: *hasResult = true; *hasResultType = true; break; |
2332 | case OpSubgroupFirstInvocationKHR: *hasResult = true; *hasResultType = true; break; |
2333 | case OpSubgroupAllKHR: *hasResult = true; *hasResultType = true; break; |
2334 | case OpSubgroupAnyKHR: *hasResult = true; *hasResultType = true; break; |
2335 | case OpSubgroupAllEqualKHR: *hasResult = true; *hasResultType = true; break; |
2336 | case OpGroupNonUniformRotateKHR: *hasResult = true; *hasResultType = true; break; |
2337 | case OpSubgroupReadInvocationKHR: *hasResult = true; *hasResultType = true; break; |
2338 | case OpTraceRayKHR: *hasResult = false; *hasResultType = false; break; |
2339 | case OpExecuteCallableKHR: *hasResult = false; *hasResultType = false; break; |
2340 | case OpConvertUToAccelerationStructureKHR: *hasResult = true; *hasResultType = true; break; |
2341 | case OpIgnoreIntersectionKHR: *hasResult = false; *hasResultType = false; break; |
2342 | case OpTerminateRayKHR: *hasResult = false; *hasResultType = false; break; |
2343 | case OpSDot: *hasResult = true; *hasResultType = true; break; |
2344 | case OpUDot: *hasResult = true; *hasResultType = true; break; |
2345 | case OpSUDot: *hasResult = true; *hasResultType = true; break; |
2346 | case OpSDotAccSat: *hasResult = true; *hasResultType = true; break; |
2347 | case OpUDotAccSat: *hasResult = true; *hasResultType = true; break; |
2348 | case OpSUDotAccSat: *hasResult = true; *hasResultType = true; break; |
2349 | case OpTypeRayQueryKHR: *hasResult = true; *hasResultType = false; break; |
2350 | case OpRayQueryInitializeKHR: *hasResult = false; *hasResultType = false; break; |
2351 | case OpRayQueryTerminateKHR: *hasResult = false; *hasResultType = false; break; |
2352 | case OpRayQueryGenerateIntersectionKHR: *hasResult = false; *hasResultType = false; break; |
2353 | case OpRayQueryConfirmIntersectionKHR: *hasResult = false; *hasResultType = false; break; |
2354 | case OpRayQueryProceedKHR: *hasResult = true; *hasResultType = true; break; |
2355 | case OpRayQueryGetIntersectionTypeKHR: *hasResult = true; *hasResultType = true; break; |
2356 | case OpGroupIAddNonUniformAMD: *hasResult = true; *hasResultType = true; break; |
2357 | case OpGroupFAddNonUniformAMD: *hasResult = true; *hasResultType = true; break; |
2358 | case OpGroupFMinNonUniformAMD: *hasResult = true; *hasResultType = true; break; |
2359 | case OpGroupUMinNonUniformAMD: *hasResult = true; *hasResultType = true; break; |
2360 | case OpGroupSMinNonUniformAMD: *hasResult = true; *hasResultType = true; break; |
2361 | case OpGroupFMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break; |
2362 | case OpGroupUMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break; |
2363 | case OpGroupSMaxNonUniformAMD: *hasResult = true; *hasResultType = true; break; |
2364 | case OpFragmentMaskFetchAMD: *hasResult = true; *hasResultType = true; break; |
2365 | case OpFragmentFetchAMD: *hasResult = true; *hasResultType = true; break; |
2366 | case OpReadClockKHR: *hasResult = true; *hasResultType = true; break; |
2367 | case OpHitObjectRecordHitMotionNV: *hasResult = false; *hasResultType = false; break; |
2368 | case OpHitObjectRecordHitWithIndexMotionNV: *hasResult = false; *hasResultType = false; break; |
2369 | case OpHitObjectRecordMissMotionNV: *hasResult = false; *hasResultType = false; break; |
2370 | case OpHitObjectGetWorldToObjectNV: *hasResult = true; *hasResultType = true; break; |
2371 | case OpHitObjectGetObjectToWorldNV: *hasResult = true; *hasResultType = true; break; |
2372 | case OpHitObjectGetObjectRayDirectionNV: *hasResult = true; *hasResultType = true; break; |
2373 | case OpHitObjectGetObjectRayOriginNV: *hasResult = true; *hasResultType = true; break; |
2374 | case OpHitObjectTraceRayMotionNV: *hasResult = false; *hasResultType = false; break; |
2375 | case OpHitObjectGetShaderRecordBufferHandleNV: *hasResult = true; *hasResultType = true; break; |
2376 | case OpHitObjectGetShaderBindingTableRecordIndexNV: *hasResult = true; *hasResultType = true; break; |
2377 | case OpHitObjectRecordEmptyNV: *hasResult = false; *hasResultType = false; break; |
2378 | case OpHitObjectTraceRayNV: *hasResult = false; *hasResultType = false; break; |
2379 | case OpHitObjectRecordHitNV: *hasResult = false; *hasResultType = false; break; |
2380 | case OpHitObjectRecordHitWithIndexNV: *hasResult = false; *hasResultType = false; break; |
2381 | case OpHitObjectRecordMissNV: *hasResult = false; *hasResultType = false; break; |
2382 | case OpHitObjectExecuteShaderNV: *hasResult = false; *hasResultType = false; break; |
2383 | case OpHitObjectGetCurrentTimeNV: *hasResult = true; *hasResultType = true; break; |
2384 | case OpHitObjectGetAttributesNV: *hasResult = false; *hasResultType = false; break; |
2385 | case OpHitObjectGetHitKindNV: *hasResult = true; *hasResultType = true; break; |
2386 | case OpHitObjectGetPrimitiveIndexNV: *hasResult = true; *hasResultType = true; break; |
2387 | case OpHitObjectGetGeometryIndexNV: *hasResult = true; *hasResultType = true; break; |
2388 | case OpHitObjectGetInstanceIdNV: *hasResult = true; *hasResultType = true; break; |
2389 | case OpHitObjectGetInstanceCustomIndexNV: *hasResult = true; *hasResultType = true; break; |
2390 | case OpHitObjectGetWorldRayDirectionNV: *hasResult = true; *hasResultType = true; break; |
2391 | case OpHitObjectGetWorldRayOriginNV: *hasResult = true; *hasResultType = true; break; |
2392 | case OpHitObjectGetRayTMaxNV: *hasResult = true; *hasResultType = true; break; |
2393 | case OpHitObjectGetRayTMinNV: *hasResult = true; *hasResultType = true; break; |
2394 | case OpHitObjectIsEmptyNV: *hasResult = true; *hasResultType = true; break; |
2395 | case OpHitObjectIsHitNV: *hasResult = true; *hasResultType = true; break; |
2396 | case OpHitObjectIsMissNV: *hasResult = true; *hasResultType = true; break; |
2397 | case OpReorderThreadWithHitObjectNV: *hasResult = false; *hasResultType = false; break; |
2398 | case OpReorderThreadWithHintNV: *hasResult = false; *hasResultType = false; break; |
2399 | case OpTypeHitObjectNV: *hasResult = true; *hasResultType = false; break; |
2400 | case OpImageSampleFootprintNV: *hasResult = true; *hasResultType = true; break; |
2401 | case OpEmitMeshTasksEXT: *hasResult = false; *hasResultType = false; break; |
2402 | case OpSetMeshOutputsEXT: *hasResult = false; *hasResultType = false; break; |
2403 | case OpGroupNonUniformPartitionNV: *hasResult = true; *hasResultType = true; break; |
2404 | case OpWritePackedPrimitiveIndices4x8NV: *hasResult = false; *hasResultType = false; break; |
2405 | case OpReportIntersectionNV: *hasResult = true; *hasResultType = true; break; |
2406 | case OpIgnoreIntersectionNV: *hasResult = false; *hasResultType = false; break; |
2407 | case OpTerminateRayNV: *hasResult = false; *hasResultType = false; break; |
2408 | case OpTraceNV: *hasResult = false; *hasResultType = false; break; |
2409 | case OpTraceMotionNV: *hasResult = false; *hasResultType = false; break; |
2410 | case OpTraceRayMotionNV: *hasResult = false; *hasResultType = false; break; |
2411 | case OpRayQueryGetIntersectionTriangleVertexPositionsKHR: *hasResult = true; *hasResultType = true; break; |
2412 | case OpTypeAccelerationStructureNV: *hasResult = true; *hasResultType = false; break; |
2413 | case OpExecuteCallableNV: *hasResult = false; *hasResultType = false; break; |
2414 | case OpTypeCooperativeMatrixNV: *hasResult = true; *hasResultType = false; break; |
2415 | case OpCooperativeMatrixLoadNV: *hasResult = true; *hasResultType = true; break; |
2416 | case OpCooperativeMatrixStoreNV: *hasResult = false; *hasResultType = false; break; |
2417 | case OpCooperativeMatrixMulAddNV: *hasResult = true; *hasResultType = true; break; |
2418 | case OpCooperativeMatrixLengthNV: *hasResult = true; *hasResultType = true; break; |
2419 | case OpBeginInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break; |
2420 | case OpEndInvocationInterlockEXT: *hasResult = false; *hasResultType = false; break; |
2421 | case OpDemoteToHelperInvocation: *hasResult = false; *hasResultType = false; break; |
2422 | case OpIsHelperInvocationEXT: *hasResult = true; *hasResultType = true; break; |
2423 | case OpConvertUToImageNV: *hasResult = true; *hasResultType = true; break; |
2424 | case OpConvertUToSamplerNV: *hasResult = true; *hasResultType = true; break; |
2425 | case OpConvertImageToUNV: *hasResult = true; *hasResultType = true; break; |
2426 | case OpConvertSamplerToUNV: *hasResult = true; *hasResultType = true; break; |
2427 | case OpConvertUToSampledImageNV: *hasResult = true; *hasResultType = true; break; |
2428 | case OpConvertSampledImageToUNV: *hasResult = true; *hasResultType = true; break; |
2429 | case OpSamplerImageAddressingModeNV: *hasResult = false; *hasResultType = false; break; |
2430 | case OpSubgroupShuffleINTEL: *hasResult = true; *hasResultType = true; break; |
2431 | case OpSubgroupShuffleDownINTEL: *hasResult = true; *hasResultType = true; break; |
2432 | case OpSubgroupShuffleUpINTEL: *hasResult = true; *hasResultType = true; break; |
2433 | case OpSubgroupShuffleXorINTEL: *hasResult = true; *hasResultType = true; break; |
2434 | case OpSubgroupBlockReadINTEL: *hasResult = true; *hasResultType = true; break; |
2435 | case OpSubgroupBlockWriteINTEL: *hasResult = false; *hasResultType = false; break; |
2436 | case OpSubgroupImageBlockReadINTEL: *hasResult = true; *hasResultType = true; break; |
2437 | case OpSubgroupImageBlockWriteINTEL: *hasResult = false; *hasResultType = false; break; |
2438 | case OpSubgroupImageMediaBlockReadINTEL: *hasResult = true; *hasResultType = true; break; |
2439 | case OpSubgroupImageMediaBlockWriteINTEL: *hasResult = false; *hasResultType = false; break; |
2440 | case OpUCountLeadingZerosINTEL: *hasResult = true; *hasResultType = true; break; |
2441 | case OpUCountTrailingZerosINTEL: *hasResult = true; *hasResultType = true; break; |
2442 | case OpAbsISubINTEL: *hasResult = true; *hasResultType = true; break; |
2443 | case OpAbsUSubINTEL: *hasResult = true; *hasResultType = true; break; |
2444 | case OpIAddSatINTEL: *hasResult = true; *hasResultType = true; break; |
2445 | case OpUAddSatINTEL: *hasResult = true; *hasResultType = true; break; |
2446 | case OpIAverageINTEL: *hasResult = true; *hasResultType = true; break; |
2447 | case OpUAverageINTEL: *hasResult = true; *hasResultType = true; break; |
2448 | case OpIAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break; |
2449 | case OpUAverageRoundedINTEL: *hasResult = true; *hasResultType = true; break; |
2450 | case OpISubSatINTEL: *hasResult = true; *hasResultType = true; break; |
2451 | case OpUSubSatINTEL: *hasResult = true; *hasResultType = true; break; |
2452 | case OpIMul32x16INTEL: *hasResult = true; *hasResultType = true; break; |
2453 | case OpUMul32x16INTEL: *hasResult = true; *hasResultType = true; break; |
2454 | case OpConstantFunctionPointerINTEL: *hasResult = true; *hasResultType = true; break; |
2455 | case OpFunctionPointerCallINTEL: *hasResult = true; *hasResultType = true; break; |
2456 | case OpAsmTargetINTEL: *hasResult = true; *hasResultType = true; break; |
2457 | case OpAsmINTEL: *hasResult = true; *hasResultType = true; break; |
2458 | case OpAsmCallINTEL: *hasResult = true; *hasResultType = true; break; |
2459 | case OpAtomicFMinEXT: *hasResult = true; *hasResultType = true; break; |
2460 | case OpAtomicFMaxEXT: *hasResult = true; *hasResultType = true; break; |
2461 | case OpAssumeTrueKHR: *hasResult = false; *hasResultType = false; break; |
2462 | case OpExpectKHR: *hasResult = true; *hasResultType = true; break; |
2463 | case OpDecorateString: *hasResult = false; *hasResultType = false; break; |
2464 | case OpMemberDecorateString: *hasResult = false; *hasResultType = false; break; |
2465 | case OpVmeImageINTEL: *hasResult = true; *hasResultType = true; break; |
2466 | case OpTypeVmeImageINTEL: *hasResult = true; *hasResultType = false; break; |
2467 | case OpTypeAvcImePayloadINTEL: *hasResult = true; *hasResultType = false; break; |
2468 | case OpTypeAvcRefPayloadINTEL: *hasResult = true; *hasResultType = false; break; |
2469 | case OpTypeAvcSicPayloadINTEL: *hasResult = true; *hasResultType = false; break; |
2470 | case OpTypeAvcMcePayloadINTEL: *hasResult = true; *hasResultType = false; break; |
2471 | case OpTypeAvcMceResultINTEL: *hasResult = true; *hasResultType = false; break; |
2472 | case OpTypeAvcImeResultINTEL: *hasResult = true; *hasResultType = false; break; |
2473 | case OpTypeAvcImeResultSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break; |
2474 | case OpTypeAvcImeResultDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = false; break; |
2475 | case OpTypeAvcImeSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break; |
2476 | case OpTypeAvcImeDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = false; break; |
2477 | case OpTypeAvcRefResultINTEL: *hasResult = true; *hasResultType = false; break; |
2478 | case OpTypeAvcSicResultINTEL: *hasResult = true; *hasResultType = false; break; |
2479 | case OpSubgroupAvcMceGetDefaultInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break; |
2480 | case OpSubgroupAvcMceSetInterBaseMultiReferencePenaltyINTEL: *hasResult = true; *hasResultType = true; break; |
2481 | case OpSubgroupAvcMceGetDefaultInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break; |
2482 | case OpSubgroupAvcMceSetInterShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break; |
2483 | case OpSubgroupAvcMceGetDefaultInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break; |
2484 | case OpSubgroupAvcMceSetInterDirectionPenaltyINTEL: *hasResult = true; *hasResultType = true; break; |
2485 | case OpSubgroupAvcMceGetDefaultIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break; |
2486 | case OpSubgroupAvcMceGetDefaultInterMotionVectorCostTableINTEL: *hasResult = true; *hasResultType = true; break; |
2487 | case OpSubgroupAvcMceGetDefaultHighPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break; |
2488 | case OpSubgroupAvcMceGetDefaultMediumPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break; |
2489 | case OpSubgroupAvcMceGetDefaultLowPenaltyCostTableINTEL: *hasResult = true; *hasResultType = true; break; |
2490 | case OpSubgroupAvcMceSetMotionVectorCostFunctionINTEL: *hasResult = true; *hasResultType = true; break; |
2491 | case OpSubgroupAvcMceGetDefaultIntraLumaModePenaltyINTEL: *hasResult = true; *hasResultType = true; break; |
2492 | case OpSubgroupAvcMceGetDefaultNonDcLumaIntraPenaltyINTEL: *hasResult = true; *hasResultType = true; break; |
2493 | case OpSubgroupAvcMceGetDefaultIntraChromaModeBasePenaltyINTEL: *hasResult = true; *hasResultType = true; break; |
2494 | case OpSubgroupAvcMceSetAcOnlyHaarINTEL: *hasResult = true; *hasResultType = true; break; |
2495 | case OpSubgroupAvcMceSetSourceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break; |
2496 | case OpSubgroupAvcMceSetSingleReferenceInterlacedFieldPolarityINTEL: *hasResult = true; *hasResultType = true; break; |
2497 | case OpSubgroupAvcMceSetDualReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break; |
2498 | case OpSubgroupAvcMceConvertToImePayloadINTEL: *hasResult = true; *hasResultType = true; break; |
2499 | case OpSubgroupAvcMceConvertToImeResultINTEL: *hasResult = true; *hasResultType = true; break; |
2500 | case OpSubgroupAvcMceConvertToRefPayloadINTEL: *hasResult = true; *hasResultType = true; break; |
2501 | case OpSubgroupAvcMceConvertToRefResultINTEL: *hasResult = true; *hasResultType = true; break; |
2502 | case OpSubgroupAvcMceConvertToSicPayloadINTEL: *hasResult = true; *hasResultType = true; break; |
2503 | case OpSubgroupAvcMceConvertToSicResultINTEL: *hasResult = true; *hasResultType = true; break; |
2504 | case OpSubgroupAvcMceGetMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break; |
2505 | case OpSubgroupAvcMceGetInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break; |
2506 | case OpSubgroupAvcMceGetBestInterDistortionsINTEL: *hasResult = true; *hasResultType = true; break; |
2507 | case OpSubgroupAvcMceGetInterMajorShapeINTEL: *hasResult = true; *hasResultType = true; break; |
2508 | case OpSubgroupAvcMceGetInterMinorShapeINTEL: *hasResult = true; *hasResultType = true; break; |
2509 | case OpSubgroupAvcMceGetInterDirectionsINTEL: *hasResult = true; *hasResultType = true; break; |
2510 | case OpSubgroupAvcMceGetInterMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break; |
2511 | case OpSubgroupAvcMceGetInterReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break; |
2512 | case OpSubgroupAvcMceGetInterReferenceInterlacedFieldPolaritiesINTEL: *hasResult = true; *hasResultType = true; break; |
2513 | case OpSubgroupAvcImeInitializeINTEL: *hasResult = true; *hasResultType = true; break; |
2514 | case OpSubgroupAvcImeSetSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break; |
2515 | case OpSubgroupAvcImeSetDualReferenceINTEL: *hasResult = true; *hasResultType = true; break; |
2516 | case OpSubgroupAvcImeRefWindowSizeINTEL: *hasResult = true; *hasResultType = true; break; |
2517 | case OpSubgroupAvcImeAdjustRefOffsetINTEL: *hasResult = true; *hasResultType = true; break; |
2518 | case OpSubgroupAvcImeConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break; |
2519 | case OpSubgroupAvcImeSetMaxMotionVectorCountINTEL: *hasResult = true; *hasResultType = true; break; |
2520 | case OpSubgroupAvcImeSetUnidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break; |
2521 | case OpSubgroupAvcImeSetEarlySearchTerminationThresholdINTEL: *hasResult = true; *hasResultType = true; break; |
2522 | case OpSubgroupAvcImeSetWeightedSadINTEL: *hasResult = true; *hasResultType = true; break; |
2523 | case OpSubgroupAvcImeEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break; |
2524 | case OpSubgroupAvcImeEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break; |
2525 | case OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break; |
2526 | case OpSubgroupAvcImeEvaluateWithDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break; |
2527 | case OpSubgroupAvcImeEvaluateWithSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break; |
2528 | case OpSubgroupAvcImeEvaluateWithDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break; |
2529 | case OpSubgroupAvcImeEvaluateWithSingleReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break; |
2530 | case OpSubgroupAvcImeEvaluateWithDualReferenceStreaminoutINTEL: *hasResult = true; *hasResultType = true; break; |
2531 | case OpSubgroupAvcImeConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break; |
2532 | case OpSubgroupAvcImeGetSingleReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break; |
2533 | case OpSubgroupAvcImeGetDualReferenceStreaminINTEL: *hasResult = true; *hasResultType = true; break; |
2534 | case OpSubgroupAvcImeStripSingleReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break; |
2535 | case OpSubgroupAvcImeStripDualReferenceStreamoutINTEL: *hasResult = true; *hasResultType = true; break; |
2536 | case OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break; |
2537 | case OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break; |
2538 | case OpSubgroupAvcImeGetStreamoutSingleReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break; |
2539 | case OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeMotionVectorsINTEL: *hasResult = true; *hasResultType = true; break; |
2540 | case OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeDistortionsINTEL: *hasResult = true; *hasResultType = true; break; |
2541 | case OpSubgroupAvcImeGetStreamoutDualReferenceMajorShapeReferenceIdsINTEL: *hasResult = true; *hasResultType = true; break; |
2542 | case OpSubgroupAvcImeGetBorderReachedINTEL: *hasResult = true; *hasResultType = true; break; |
2543 | case OpSubgroupAvcImeGetTruncatedSearchIndicationINTEL: *hasResult = true; *hasResultType = true; break; |
2544 | case OpSubgroupAvcImeGetUnidirectionalEarlySearchTerminationINTEL: *hasResult = true; *hasResultType = true; break; |
2545 | case OpSubgroupAvcImeGetWeightingPatternMinimumMotionVectorINTEL: *hasResult = true; *hasResultType = true; break; |
2546 | case OpSubgroupAvcImeGetWeightingPatternMinimumDistortionINTEL: *hasResult = true; *hasResultType = true; break; |
2547 | case OpSubgroupAvcFmeInitializeINTEL: *hasResult = true; *hasResultType = true; break; |
2548 | case OpSubgroupAvcBmeInitializeINTEL: *hasResult = true; *hasResultType = true; break; |
2549 | case OpSubgroupAvcRefConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break; |
2550 | case OpSubgroupAvcRefSetBidirectionalMixDisableINTEL: *hasResult = true; *hasResultType = true; break; |
2551 | case OpSubgroupAvcRefSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break; |
2552 | case OpSubgroupAvcRefEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break; |
2553 | case OpSubgroupAvcRefEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break; |
2554 | case OpSubgroupAvcRefEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break; |
2555 | case OpSubgroupAvcRefEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break; |
2556 | case OpSubgroupAvcRefConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break; |
2557 | case OpSubgroupAvcSicInitializeINTEL: *hasResult = true; *hasResultType = true; break; |
2558 | case OpSubgroupAvcSicConfigureSkcINTEL: *hasResult = true; *hasResultType = true; break; |
2559 | case OpSubgroupAvcSicConfigureIpeLumaINTEL: *hasResult = true; *hasResultType = true; break; |
2560 | case OpSubgroupAvcSicConfigureIpeLumaChromaINTEL: *hasResult = true; *hasResultType = true; break; |
2561 | case OpSubgroupAvcSicGetMotionVectorMaskINTEL: *hasResult = true; *hasResultType = true; break; |
2562 | case OpSubgroupAvcSicConvertToMcePayloadINTEL: *hasResult = true; *hasResultType = true; break; |
2563 | case OpSubgroupAvcSicSetIntraLumaShapePenaltyINTEL: *hasResult = true; *hasResultType = true; break; |
2564 | case OpSubgroupAvcSicSetIntraLumaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break; |
2565 | case OpSubgroupAvcSicSetIntraChromaModeCostFunctionINTEL: *hasResult = true; *hasResultType = true; break; |
2566 | case OpSubgroupAvcSicSetBilinearFilterEnableINTEL: *hasResult = true; *hasResultType = true; break; |
2567 | case OpSubgroupAvcSicSetSkcForwardTransformEnableINTEL: *hasResult = true; *hasResultType = true; break; |
2568 | case OpSubgroupAvcSicSetBlockBasedRawSkipSadINTEL: *hasResult = true; *hasResultType = true; break; |
2569 | case OpSubgroupAvcSicEvaluateIpeINTEL: *hasResult = true; *hasResultType = true; break; |
2570 | case OpSubgroupAvcSicEvaluateWithSingleReferenceINTEL: *hasResult = true; *hasResultType = true; break; |
2571 | case OpSubgroupAvcSicEvaluateWithDualReferenceINTEL: *hasResult = true; *hasResultType = true; break; |
2572 | case OpSubgroupAvcSicEvaluateWithMultiReferenceINTEL: *hasResult = true; *hasResultType = true; break; |
2573 | case OpSubgroupAvcSicEvaluateWithMultiReferenceInterlacedINTEL: *hasResult = true; *hasResultType = true; break; |
2574 | case OpSubgroupAvcSicConvertToMceResultINTEL: *hasResult = true; *hasResultType = true; break; |
2575 | case OpSubgroupAvcSicGetIpeLumaShapeINTEL: *hasResult = true; *hasResultType = true; break; |
2576 | case OpSubgroupAvcSicGetBestIpeLumaDistortionINTEL: *hasResult = true; *hasResultType = true; break; |
2577 | case OpSubgroupAvcSicGetBestIpeChromaDistortionINTEL: *hasResult = true; *hasResultType = true; break; |
2578 | case OpSubgroupAvcSicGetPackedIpeLumaModesINTEL: *hasResult = true; *hasResultType = true; break; |
2579 | case OpSubgroupAvcSicGetIpeChromaModeINTEL: *hasResult = true; *hasResultType = true; break; |
2580 | case OpSubgroupAvcSicGetPackedSkcLumaCountThresholdINTEL: *hasResult = true; *hasResultType = true; break; |
2581 | case OpSubgroupAvcSicGetPackedSkcLumaSumThresholdINTEL: *hasResult = true; *hasResultType = true; break; |
2582 | case OpSubgroupAvcSicGetInterRawSadsINTEL: *hasResult = true; *hasResultType = true; break; |
2583 | case OpVariableLengthArrayINTEL: *hasResult = true; *hasResultType = true; break; |
2584 | case OpSaveMemoryINTEL: *hasResult = true; *hasResultType = true; break; |
2585 | case OpRestoreMemoryINTEL: *hasResult = false; *hasResultType = false; break; |
2586 | case OpArbitraryFloatSinCosPiINTEL: *hasResult = true; *hasResultType = true; break; |
2587 | case OpArbitraryFloatCastINTEL: *hasResult = true; *hasResultType = true; break; |
2588 | case OpArbitraryFloatCastFromIntINTEL: *hasResult = true; *hasResultType = true; break; |
2589 | case OpArbitraryFloatCastToIntINTEL: *hasResult = true; *hasResultType = true; break; |
2590 | case OpArbitraryFloatAddINTEL: *hasResult = true; *hasResultType = true; break; |
2591 | case OpArbitraryFloatSubINTEL: *hasResult = true; *hasResultType = true; break; |
2592 | case OpArbitraryFloatMulINTEL: *hasResult = true; *hasResultType = true; break; |
2593 | case OpArbitraryFloatDivINTEL: *hasResult = true; *hasResultType = true; break; |
2594 | case OpArbitraryFloatGTINTEL: *hasResult = true; *hasResultType = true; break; |
2595 | case OpArbitraryFloatGEINTEL: *hasResult = true; *hasResultType = true; break; |
2596 | case OpArbitraryFloatLTINTEL: *hasResult = true; *hasResultType = true; break; |
2597 | case OpArbitraryFloatLEINTEL: *hasResult = true; *hasResultType = true; break; |
2598 | case OpArbitraryFloatEQINTEL: *hasResult = true; *hasResultType = true; break; |
2599 | case OpArbitraryFloatRecipINTEL: *hasResult = true; *hasResultType = true; break; |
2600 | case OpArbitraryFloatRSqrtINTEL: *hasResult = true; *hasResultType = true; break; |
2601 | case OpArbitraryFloatCbrtINTEL: *hasResult = true; *hasResultType = true; break; |
2602 | case OpArbitraryFloatHypotINTEL: *hasResult = true; *hasResultType = true; break; |
2603 | case OpArbitraryFloatSqrtINTEL: *hasResult = true; *hasResultType = true; break; |
2604 | case OpArbitraryFloatLogINTEL: *hasResult = true; *hasResultType = true; break; |
2605 | case OpArbitraryFloatLog2INTEL: *hasResult = true; *hasResultType = true; break; |
2606 | case OpArbitraryFloatLog10INTEL: *hasResult = true; *hasResultType = true; break; |
2607 | case OpArbitraryFloatLog1pINTEL: *hasResult = true; *hasResultType = true; break; |
2608 | case OpArbitraryFloatExpINTEL: *hasResult = true; *hasResultType = true; break; |
2609 | case OpArbitraryFloatExp2INTEL: *hasResult = true; *hasResultType = true; break; |
2610 | case OpArbitraryFloatExp10INTEL: *hasResult = true; *hasResultType = true; break; |
2611 | case OpArbitraryFloatExpm1INTEL: *hasResult = true; *hasResultType = true; break; |
2612 | case OpArbitraryFloatSinINTEL: *hasResult = true; *hasResultType = true; break; |
2613 | case OpArbitraryFloatCosINTEL: *hasResult = true; *hasResultType = true; break; |
2614 | case OpArbitraryFloatSinCosINTEL: *hasResult = true; *hasResultType = true; break; |
2615 | case OpArbitraryFloatSinPiINTEL: *hasResult = true; *hasResultType = true; break; |
2616 | case OpArbitraryFloatCosPiINTEL: *hasResult = true; *hasResultType = true; break; |
2617 | case OpArbitraryFloatASinINTEL: *hasResult = true; *hasResultType = true; break; |
2618 | case OpArbitraryFloatASinPiINTEL: *hasResult = true; *hasResultType = true; break; |
2619 | case OpArbitraryFloatACosINTEL: *hasResult = true; *hasResultType = true; break; |
2620 | case OpArbitraryFloatACosPiINTEL: *hasResult = true; *hasResultType = true; break; |
2621 | case OpArbitraryFloatATanINTEL: *hasResult = true; *hasResultType = true; break; |
2622 | case OpArbitraryFloatATanPiINTEL: *hasResult = true; *hasResultType = true; break; |
2623 | case OpArbitraryFloatATan2INTEL: *hasResult = true; *hasResultType = true; break; |
2624 | case OpArbitraryFloatPowINTEL: *hasResult = true; *hasResultType = true; break; |
2625 | case OpArbitraryFloatPowRINTEL: *hasResult = true; *hasResultType = true; break; |
2626 | case OpArbitraryFloatPowNINTEL: *hasResult = true; *hasResultType = true; break; |
2627 | case OpLoopControlINTEL: *hasResult = false; *hasResultType = false; break; |
2628 | case OpAliasDomainDeclINTEL: *hasResult = true; *hasResultType = false; break; |
2629 | case OpAliasScopeDeclINTEL: *hasResult = true; *hasResultType = false; break; |
2630 | case OpAliasScopeListDeclINTEL: *hasResult = true; *hasResultType = false; break; |
2631 | case OpFixedSqrtINTEL: *hasResult = true; *hasResultType = true; break; |
2632 | case OpFixedRecipINTEL: *hasResult = true; *hasResultType = true; break; |
2633 | case OpFixedRsqrtINTEL: *hasResult = true; *hasResultType = true; break; |
2634 | case OpFixedSinINTEL: *hasResult = true; *hasResultType = true; break; |
2635 | case OpFixedCosINTEL: *hasResult = true; *hasResultType = true; break; |
2636 | case OpFixedSinCosINTEL: *hasResult = true; *hasResultType = true; break; |
2637 | case OpFixedSinPiINTEL: *hasResult = true; *hasResultType = true; break; |
2638 | case OpFixedCosPiINTEL: *hasResult = true; *hasResultType = true; break; |
2639 | case OpFixedSinCosPiINTEL: *hasResult = true; *hasResultType = true; break; |
2640 | case OpFixedLogINTEL: *hasResult = true; *hasResultType = true; break; |
2641 | case OpFixedExpINTEL: *hasResult = true; *hasResultType = true; break; |
2642 | case OpPtrCastToCrossWorkgroupINTEL: *hasResult = true; *hasResultType = true; break; |
2643 | case OpCrossWorkgroupCastToPtrINTEL: *hasResult = true; *hasResultType = true; break; |
2644 | case OpReadPipeBlockingINTEL: *hasResult = true; *hasResultType = true; break; |
2645 | case OpWritePipeBlockingINTEL: *hasResult = true; *hasResultType = true; break; |
2646 | case OpFPGARegINTEL: *hasResult = true; *hasResultType = true; break; |
2647 | case OpRayQueryGetRayTMinKHR: *hasResult = true; *hasResultType = true; break; |
2648 | case OpRayQueryGetRayFlagsKHR: *hasResult = true; *hasResultType = true; break; |
2649 | case OpRayQueryGetIntersectionTKHR: *hasResult = true; *hasResultType = true; break; |
2650 | case OpRayQueryGetIntersectionInstanceCustomIndexKHR: *hasResult = true; *hasResultType = true; break; |
2651 | case OpRayQueryGetIntersectionInstanceIdKHR: *hasResult = true; *hasResultType = true; break; |
2652 | case OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR: *hasResult = true; *hasResultType = true; break; |
2653 | case OpRayQueryGetIntersectionGeometryIndexKHR: *hasResult = true; *hasResultType = true; break; |
2654 | case OpRayQueryGetIntersectionPrimitiveIndexKHR: *hasResult = true; *hasResultType = true; break; |
2655 | case OpRayQueryGetIntersectionBarycentricsKHR: *hasResult = true; *hasResultType = true; break; |
2656 | case OpRayQueryGetIntersectionFrontFaceKHR: *hasResult = true; *hasResultType = true; break; |
2657 | case OpRayQueryGetIntersectionCandidateAABBOpaqueKHR: *hasResult = true; *hasResultType = true; break; |
2658 | case OpRayQueryGetIntersectionObjectRayDirectionKHR: *hasResult = true; *hasResultType = true; break; |
2659 | case OpRayQueryGetIntersectionObjectRayOriginKHR: *hasResult = true; *hasResultType = true; break; |
2660 | case OpRayQueryGetWorldRayDirectionKHR: *hasResult = true; *hasResultType = true; break; |
2661 | case OpRayQueryGetWorldRayOriginKHR: *hasResult = true; *hasResultType = true; break; |
2662 | case OpRayQueryGetIntersectionObjectToWorldKHR: *hasResult = true; *hasResultType = true; break; |
2663 | case OpRayQueryGetIntersectionWorldToObjectKHR: *hasResult = true; *hasResultType = true; break; |
2664 | case OpAtomicFAddEXT: *hasResult = true; *hasResultType = true; break; |
2665 | case OpTypeBufferSurfaceINTEL: *hasResult = true; *hasResultType = false; break; |
2666 | case OpTypeStructContinuedINTEL: *hasResult = false; *hasResultType = false; break; |
2667 | case OpConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break; |
2668 | case OpSpecConstantCompositeContinuedINTEL: *hasResult = false; *hasResultType = false; break; |
2669 | case OpControlBarrierArriveINTEL: *hasResult = false; *hasResultType = false; break; |
2670 | case OpControlBarrierWaitINTEL: *hasResult = false; *hasResultType = false; break; |
2671 | case OpGroupIMulKHR: *hasResult = true; *hasResultType = true; break; |
2672 | case OpGroupFMulKHR: *hasResult = true; *hasResultType = true; break; |
2673 | case OpGroupBitwiseAndKHR: *hasResult = true; *hasResultType = true; break; |
2674 | case OpGroupBitwiseOrKHR: *hasResult = true; *hasResultType = true; break; |
2675 | case OpGroupBitwiseXorKHR: *hasResult = true; *hasResultType = true; break; |
2676 | case OpGroupLogicalAndKHR: *hasResult = true; *hasResultType = true; break; |
2677 | case OpGroupLogicalOrKHR: *hasResult = true; *hasResultType = true; break; |
2678 | case OpGroupLogicalXorKHR: *hasResult = true; *hasResultType = true; break; |
2679 | } |
2680 | } |
2681 | #endif /* SPV_ENABLE_UTILITY_CODE */ |
2682 | |
2683 | // Overload bitwise operators for mask bit combining |
2684 | |
2685 | inline ImageOperandsMask operator|(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask(unsigned(a) | unsigned(b)); } |
2686 | inline ImageOperandsMask operator&(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask(unsigned(a) & unsigned(b)); } |
2687 | inline ImageOperandsMask operator^(ImageOperandsMask a, ImageOperandsMask b) { return ImageOperandsMask(unsigned(a) ^ unsigned(b)); } |
2688 | inline ImageOperandsMask operator~(ImageOperandsMask a) { return ImageOperandsMask(~unsigned(a)); } |
2689 | inline FPFastMathModeMask operator|(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask(unsigned(a) | unsigned(b)); } |
2690 | inline FPFastMathModeMask operator&(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask(unsigned(a) & unsigned(b)); } |
2691 | inline FPFastMathModeMask operator^(FPFastMathModeMask a, FPFastMathModeMask b) { return FPFastMathModeMask(unsigned(a) ^ unsigned(b)); } |
2692 | inline FPFastMathModeMask operator~(FPFastMathModeMask a) { return FPFastMathModeMask(~unsigned(a)); } |
2693 | inline SelectionControlMask operator|(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask(unsigned(a) | unsigned(b)); } |
2694 | inline SelectionControlMask operator&(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask(unsigned(a) & unsigned(b)); } |
2695 | inline SelectionControlMask operator^(SelectionControlMask a, SelectionControlMask b) { return SelectionControlMask(unsigned(a) ^ unsigned(b)); } |
2696 | inline SelectionControlMask operator~(SelectionControlMask a) { return SelectionControlMask(~unsigned(a)); } |
2697 | inline LoopControlMask operator|(LoopControlMask a, LoopControlMask b) { return LoopControlMask(unsigned(a) | unsigned(b)); } |
2698 | inline LoopControlMask operator&(LoopControlMask a, LoopControlMask b) { return LoopControlMask(unsigned(a) & unsigned(b)); } |
2699 | inline LoopControlMask operator^(LoopControlMask a, LoopControlMask b) { return LoopControlMask(unsigned(a) ^ unsigned(b)); } |
2700 | inline LoopControlMask operator~(LoopControlMask a) { return LoopControlMask(~unsigned(a)); } |
2701 | inline FunctionControlMask operator|(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask(unsigned(a) | unsigned(b)); } |
2702 | inline FunctionControlMask operator&(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask(unsigned(a) & unsigned(b)); } |
2703 | inline FunctionControlMask operator^(FunctionControlMask a, FunctionControlMask b) { return FunctionControlMask(unsigned(a) ^ unsigned(b)); } |
2704 | inline FunctionControlMask operator~(FunctionControlMask a) { return FunctionControlMask(~unsigned(a)); } |
2705 | inline MemorySemanticsMask operator|(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask(unsigned(a) | unsigned(b)); } |
2706 | inline MemorySemanticsMask operator&(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask(unsigned(a) & unsigned(b)); } |
2707 | inline MemorySemanticsMask operator^(MemorySemanticsMask a, MemorySemanticsMask b) { return MemorySemanticsMask(unsigned(a) ^ unsigned(b)); } |
2708 | inline MemorySemanticsMask operator~(MemorySemanticsMask a) { return MemorySemanticsMask(~unsigned(a)); } |
2709 | inline MemoryAccessMask operator|(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask(unsigned(a) | unsigned(b)); } |
2710 | inline MemoryAccessMask operator&(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask(unsigned(a) & unsigned(b)); } |
2711 | inline MemoryAccessMask operator^(MemoryAccessMask a, MemoryAccessMask b) { return MemoryAccessMask(unsigned(a) ^ unsigned(b)); } |
2712 | inline MemoryAccessMask operator~(MemoryAccessMask a) { return MemoryAccessMask(~unsigned(a)); } |
2713 | inline KernelProfilingInfoMask operator|(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask(unsigned(a) | unsigned(b)); } |
2714 | inline KernelProfilingInfoMask operator&(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask(unsigned(a) & unsigned(b)); } |
2715 | inline KernelProfilingInfoMask operator^(KernelProfilingInfoMask a, KernelProfilingInfoMask b) { return KernelProfilingInfoMask(unsigned(a) ^ unsigned(b)); } |
2716 | inline KernelProfilingInfoMask operator~(KernelProfilingInfoMask a) { return KernelProfilingInfoMask(~unsigned(a)); } |
2717 | inline RayFlagsMask operator|(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask(unsigned(a) | unsigned(b)); } |
2718 | inline RayFlagsMask operator&(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask(unsigned(a) & unsigned(b)); } |
2719 | inline RayFlagsMask operator^(RayFlagsMask a, RayFlagsMask b) { return RayFlagsMask(unsigned(a) ^ unsigned(b)); } |
2720 | inline RayFlagsMask operator~(RayFlagsMask a) { return RayFlagsMask(~unsigned(a)); } |
2721 | inline FragmentShadingRateMask operator|(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask(unsigned(a) | unsigned(b)); } |
2722 | inline FragmentShadingRateMask operator&(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask(unsigned(a) & unsigned(b)); } |
2723 | inline FragmentShadingRateMask operator^(FragmentShadingRateMask a, FragmentShadingRateMask b) { return FragmentShadingRateMask(unsigned(a) ^ unsigned(b)); } |
2724 | inline FragmentShadingRateMask operator~(FragmentShadingRateMask a) { return FragmentShadingRateMask(~unsigned(a)); } |
2725 | |
2726 | } // end namespace spv |
2727 | |
2728 | #endif // #ifndef spirv_HPP |
2729 | |
2730 | |