doc.cpp 242 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859
  1. //
  2. // Copyright (C) 2014-2015 LunarG, Inc.
  3. // Copyright (C) 2022-2025 Arm Limited.
  4. // Modifications Copyright (C) 2020 Advanced Micro Devices, Inc. All rights reserved.
  5. //
  6. // All rights reserved.
  7. //
  8. // Redistribution and use in source and binary forms, with or without
  9. // modification, are permitted provided that the following conditions
  10. // are met:
  11. //
  12. // Redistributions of source code must retain the above copyright
  13. // notice, this list of conditions and the following disclaimer.
  14. //
  15. // Redistributions in binary form must reproduce the above
  16. // copyright notice, this list of conditions and the following
  17. // disclaimer in the documentation and/or other materials provided
  18. // with the distribution.
  19. //
  20. // Neither the name of 3Dlabs Inc. Ltd. nor the names of its
  21. // contributors may be used to endorse or promote products derived
  22. // from this software without specific prior written permission.
  23. //
  24. // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  25. // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  26. // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  27. // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  28. // COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  29. // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  30. // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  31. // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  32. // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  33. // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
  34. // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  35. // POSSIBILITY OF SUCH DAMAGE.
  36. //
  37. // 1) Programmatically fill in instruction/operand information.
  38. // This can be used for disassembly, printing documentation, etc.
  39. //
  40. // 2) Print documentation from this parameterization.
  41. //
  42. #include "doc.h"
  43. #include "spvUtil.h"
  44. #include <cstdio>
  45. #include <cstring>
  46. #include <algorithm>
  47. #include <mutex>
  48. namespace spv {
  49. extern "C" {
  50. // Include C-based headers that don't have a namespace
  51. #include "GLSL.ext.KHR.h"
  52. #include "GLSL.ext.EXT.h"
  53. #include "GLSL.ext.AMD.h"
  54. #include "GLSL.ext.NV.h"
  55. #include "GLSL.ext.ARM.h"
  56. #include "GLSL.ext.QCOM.h"
  57. }
  58. }
  59. namespace spv {
  60. //
  61. // Whole set of functions that translate enumerants to their text strings for
  62. // the specification (or their sanitized versions for auto-generating the
  63. // spirv headers.
  64. //
  65. // Also, for masks the ceilings are declared next to these, to help keep them in sync.
  66. // Ceilings should be
  67. // - one more than the maximum value an enumerant takes on, for non-mask enumerants
  68. // (for non-sparse enums, this is the number of enumerants)
  69. // - the number of bits consumed by the set of masks
  70. // (for non-sparse mask enums, this is the number of enumerants)
  71. //
  72. const char* SourceString(int source)
  73. {
  74. switch (source) {
  75. case 0: return "Unknown";
  76. case 1: return "ESSL";
  77. case 2: return "GLSL";
  78. case 3: return "OpenCL_C";
  79. case 4: return "OpenCL_CPP";
  80. case 5: return "HLSL";
  81. default: return "Bad";
  82. }
  83. }
  84. const char* ExecutionModelString(int model)
  85. {
  86. switch (model) {
  87. case 0: return "Vertex";
  88. case 1: return "TessellationControl";
  89. case 2: return "TessellationEvaluation";
  90. case 3: return "Geometry";
  91. case 4: return "Fragment";
  92. case 5: return "GLCompute";
  93. case 6: return "Kernel";
  94. case (int)ExecutionModel::TaskNV: return "TaskNV";
  95. case (int)ExecutionModel::MeshNV: return "MeshNV";
  96. case (int)ExecutionModel::TaskEXT: return "TaskEXT";
  97. case (int)ExecutionModel::MeshEXT: return "MeshEXT";
  98. default: return "Bad";
  99. case (int)ExecutionModel::RayGenerationKHR: return "RayGenerationKHR";
  100. case (int)ExecutionModel::IntersectionKHR: return "IntersectionKHR";
  101. case (int)ExecutionModel::AnyHitKHR: return "AnyHitKHR";
  102. case (int)ExecutionModel::ClosestHitKHR: return "ClosestHitKHR";
  103. case (int)ExecutionModel::MissKHR: return "MissKHR";
  104. case (int)ExecutionModel::CallableKHR: return "CallableKHR";
  105. }
  106. }
  107. const char* AddressingString(int addr)
  108. {
  109. switch (addr) {
  110. case 0: return "Logical";
  111. case 1: return "Physical32";
  112. case 2: return "Physical64";
  113. case (int)AddressingModel::PhysicalStorageBuffer64EXT: return "PhysicalStorageBuffer64EXT";
  114. default: return "Bad";
  115. }
  116. }
  117. const char* MemoryString(int mem)
  118. {
  119. switch (mem) {
  120. case (int)MemoryModel::Simple: return "Simple";
  121. case (int)MemoryModel::GLSL450: return "GLSL450";
  122. case (int)MemoryModel::OpenCL: return "OpenCL";
  123. case (int)MemoryModel::VulkanKHR: return "VulkanKHR";
  124. default: return "Bad";
  125. }
  126. }
  127. const int ExecutionModeCeiling = 40;
  128. const char* ExecutionModeString(int mode)
  129. {
  130. switch (mode) {
  131. case 0: return "Invocations";
  132. case 1: return "SpacingEqual";
  133. case 2: return "SpacingFractionalEven";
  134. case 3: return "SpacingFractionalOdd";
  135. case 4: return "VertexOrderCw";
  136. case 5: return "VertexOrderCcw";
  137. case 6: return "PixelCenterInteger";
  138. case 7: return "OriginUpperLeft";
  139. case 8: return "OriginLowerLeft";
  140. case 9: return "EarlyFragmentTests";
  141. case 10: return "PointMode";
  142. case 11: return "Xfb";
  143. case 12: return "DepthReplacing";
  144. case 13: return "Bad";
  145. case 14: return "DepthGreater";
  146. case 15: return "DepthLess";
  147. case 16: return "DepthUnchanged";
  148. case 17: return "LocalSize";
  149. case 18: return "LocalSizeHint";
  150. case 19: return "InputPoints";
  151. case 20: return "InputLines";
  152. case 21: return "InputLinesAdjacency";
  153. case 22: return "Triangles";
  154. case 23: return "InputTrianglesAdjacency";
  155. case 24: return "Quads";
  156. case 25: return "Isolines";
  157. case 26: return "OutputVertices";
  158. case 27: return "OutputPoints";
  159. case 28: return "OutputLineStrip";
  160. case 29: return "OutputTriangleStrip";
  161. case 30: return "VecTypeHint";
  162. case 31: return "ContractionOff";
  163. case 32: return "Bad";
  164. case (int)ExecutionMode::Initializer: return "Initializer";
  165. case (int)ExecutionMode::Finalizer: return "Finalizer";
  166. case (int)ExecutionMode::SubgroupSize: return "SubgroupSize";
  167. case (int)ExecutionMode::SubgroupsPerWorkgroup: return "SubgroupsPerWorkgroup";
  168. case (int)ExecutionMode::SubgroupsPerWorkgroupId: return "SubgroupsPerWorkgroupId";
  169. case (int)ExecutionMode::LocalSizeId: return "LocalSizeId";
  170. case (int)ExecutionMode::LocalSizeHintId: return "LocalSizeHintId";
  171. case (int)ExecutionMode::PostDepthCoverage: return "PostDepthCoverage";
  172. case (int)ExecutionMode::DenormPreserve: return "DenormPreserve";
  173. case (int)ExecutionMode::DenormFlushToZero: return "DenormFlushToZero";
  174. case (int)ExecutionMode::SignedZeroInfNanPreserve: return "SignedZeroInfNanPreserve";
  175. case (int)ExecutionMode::RoundingModeRTE: return "RoundingModeRTE";
  176. case (int)ExecutionMode::RoundingModeRTZ: return "RoundingModeRTZ";
  177. case (int)ExecutionMode::NonCoherentTileAttachmentReadQCOM: return "NonCoherentTileAttachmentReadQCOM";
  178. case (int)ExecutionMode::TileShadingRateQCOM: return "TileShadingRateQCOM";
  179. case (int)ExecutionMode::EarlyAndLateFragmentTestsAMD: return "EarlyAndLateFragmentTestsAMD";
  180. case (int)ExecutionMode::StencilRefUnchangedFrontAMD: return "StencilRefUnchangedFrontAMD";
  181. case (int)ExecutionMode::StencilRefLessFrontAMD: return "StencilRefLessFrontAMD";
  182. case (int)ExecutionMode::StencilRefGreaterBackAMD: return "StencilRefGreaterBackAMD";
  183. case (int)ExecutionMode::StencilRefReplacingEXT: return "StencilRefReplacingEXT";
  184. case (int)ExecutionMode::SubgroupUniformControlFlowKHR: return "SubgroupUniformControlFlow";
  185. case (int)ExecutionMode::MaximallyReconvergesKHR: return "MaximallyReconverges";
  186. case (int)ExecutionMode::OutputLinesNV: return "OutputLinesNV";
  187. case (int)ExecutionMode::OutputPrimitivesNV: return "OutputPrimitivesNV";
  188. case (int)ExecutionMode::OutputTrianglesNV: return "OutputTrianglesNV";
  189. case (int)ExecutionMode::DerivativeGroupQuadsNV: return "DerivativeGroupQuadsNV";
  190. case (int)ExecutionMode::DerivativeGroupLinearNV: return "DerivativeGroupLinearNV";
  191. case (int)ExecutionMode::PixelInterlockOrderedEXT: return "PixelInterlockOrderedEXT";
  192. case (int)ExecutionMode::PixelInterlockUnorderedEXT: return "PixelInterlockUnorderedEXT";
  193. case (int)ExecutionMode::SampleInterlockOrderedEXT: return "SampleInterlockOrderedEXT";
  194. case (int)ExecutionMode::SampleInterlockUnorderedEXT: return "SampleInterlockUnorderedEXT";
  195. case (int)ExecutionMode::ShadingRateInterlockOrderedEXT: return "ShadingRateInterlockOrderedEXT";
  196. case (int)ExecutionMode::ShadingRateInterlockUnorderedEXT: return "ShadingRateInterlockUnorderedEXT";
  197. case (int)ExecutionMode::MaxWorkgroupSizeINTEL: return "MaxWorkgroupSizeINTEL";
  198. case (int)ExecutionMode::MaxWorkDimINTEL: return "MaxWorkDimINTEL";
  199. case (int)ExecutionMode::NoGlobalOffsetINTEL: return "NoGlobalOffsetINTEL";
  200. case (int)ExecutionMode::NumSIMDWorkitemsINTEL: return "NumSIMDWorkitemsINTEL";
  201. case (int)ExecutionMode::RequireFullQuadsKHR: return "RequireFullQuadsKHR";
  202. case (int)ExecutionMode::QuadDerivativesKHR: return "QuadDerivativesKHR";
  203. case (int)ExecutionMode::NonCoherentColorAttachmentReadEXT: return "NonCoherentColorAttachmentReadEXT";
  204. case (int)ExecutionMode::NonCoherentDepthAttachmentReadEXT: return "NonCoherentDepthAttachmentReadEXT";
  205. case (int)ExecutionMode::NonCoherentStencilAttachmentReadEXT: return "NonCoherentStencilAttachmentReadEXT";
  206. case ExecutionModeCeiling:
  207. default: return "Bad";
  208. }
  209. }
  210. const char* StorageClassString(int StorageClass)
  211. {
  212. switch (StorageClass) {
  213. case 0: return "UniformConstant";
  214. case 1: return "Input";
  215. case 2: return "Uniform";
  216. case 3: return "Output";
  217. case 4: return "Workgroup";
  218. case 5: return "CrossWorkgroup";
  219. case 6: return "Private";
  220. case 7: return "Function";
  221. case 8: return "Generic";
  222. case 9: return "PushConstant";
  223. case 10: return "AtomicCounter";
  224. case 11: return "Image";
  225. case 12: return "StorageBuffer";
  226. case (int)StorageClass::TileAttachmentQCOM: return "TileAttachmentQCOM";
  227. case (int)StorageClass::RayPayloadKHR: return "RayPayloadKHR";
  228. case (int)StorageClass::HitAttributeKHR: return "HitAttributeKHR";
  229. case (int)StorageClass::IncomingRayPayloadKHR: return "IncomingRayPayloadKHR";
  230. case (int)StorageClass::ShaderRecordBufferKHR: return "ShaderRecordBufferKHR";
  231. case (int)StorageClass::CallableDataKHR: return "CallableDataKHR";
  232. case (int)StorageClass::IncomingCallableDataKHR: return "IncomingCallableDataKHR";
  233. case (int)StorageClass::PhysicalStorageBufferEXT: return "PhysicalStorageBufferEXT";
  234. case (int)StorageClass::TaskPayloadWorkgroupEXT: return "TaskPayloadWorkgroupEXT";
  235. case (int)StorageClass::HitObjectAttributeNV: return "HitObjectAttributeNV";
  236. case (int)StorageClass::TileImageEXT: return "TileImageEXT";
  237. default: return "Bad";
  238. }
  239. }
  240. const int DecorationCeiling = 45;
  241. const char* DecorationString(int decoration)
  242. {
  243. switch (decoration) {
  244. case 0: return "RelaxedPrecision";
  245. case 1: return "SpecId";
  246. case 2: return "Block";
  247. case 3: return "BufferBlock";
  248. case 4: return "RowMajor";
  249. case 5: return "ColMajor";
  250. case 6: return "ArrayStride";
  251. case 7: return "MatrixStride";
  252. case 8: return "GLSLShared";
  253. case 9: return "GLSLPacked";
  254. case 10: return "CPacked";
  255. case 11: return "BuiltIn";
  256. case 12: return "Bad";
  257. case 13: return "NoPerspective";
  258. case 14: return "Flat";
  259. case 15: return "Patch";
  260. case 16: return "Centroid";
  261. case 17: return "Sample";
  262. case 18: return "Invariant";
  263. case 19: return "Restrict";
  264. case 20: return "Aliased";
  265. case 21: return "Volatile";
  266. case 22: return "Constant";
  267. case 23: return "Coherent";
  268. case 24: return "NonWritable";
  269. case 25: return "NonReadable";
  270. case 26: return "Uniform";
  271. case 27: return "Bad";
  272. case 28: return "SaturatedConversion";
  273. case 29: return "Stream";
  274. case 30: return "Location";
  275. case 31: return "Component";
  276. case 32: return "Index";
  277. case 33: return "Binding";
  278. case 34: return "DescriptorSet";
  279. case 35: return "Offset";
  280. case 36: return "XfbBuffer";
  281. case 37: return "XfbStride";
  282. case 38: return "FuncParamAttr";
  283. case 39: return "FP Rounding Mode";
  284. case 40: return "FP Fast Math Mode";
  285. case 41: return "Linkage Attributes";
  286. case 42: return "NoContraction";
  287. case 43: return "InputAttachmentIndex";
  288. case 44: return "Alignment";
  289. case DecorationCeiling:
  290. default: return "Bad";
  291. case (int)Decoration::WeightTextureQCOM: return "DecorationWeightTextureQCOM";
  292. case (int)Decoration::BlockMatchTextureQCOM: return "DecorationBlockMatchTextureQCOM";
  293. case (int)Decoration::BlockMatchSamplerQCOM: return "DecorationBlockMatchSamplerQCOM";
  294. case (int)Decoration::ExplicitInterpAMD: return "ExplicitInterpAMD";
  295. case (int)Decoration::OverrideCoverageNV: return "OverrideCoverageNV";
  296. case (int)Decoration::PassthroughNV: return "PassthroughNV";
  297. case (int)Decoration::ViewportRelativeNV: return "ViewportRelativeNV";
  298. case (int)Decoration::SecondaryViewportRelativeNV: return "SecondaryViewportRelativeNV";
  299. case (int)Decoration::PerPrimitiveNV: return "PerPrimitiveNV";
  300. case (int)Decoration::PerViewNV: return "PerViewNV";
  301. case (int)Decoration::PerTaskNV: return "PerTaskNV";
  302. case (int)Decoration::PerVertexKHR: return "PerVertexKHR";
  303. case (int)Decoration::NonUniformEXT: return "DecorationNonUniformEXT";
  304. case (int)Decoration::HlslCounterBufferGOOGLE: return "DecorationHlslCounterBufferGOOGLE";
  305. case (int)Decoration::HlslSemanticGOOGLE: return "DecorationHlslSemanticGOOGLE";
  306. case (int)Decoration::RestrictPointerEXT: return "DecorationRestrictPointerEXT";
  307. case (int)Decoration::AliasedPointerEXT: return "DecorationAliasedPointerEXT";
  308. case (int)Decoration::HitObjectShaderRecordBufferNV: return "DecorationHitObjectShaderRecordBufferNV";
  309. case (int)Decoration::SaturatedToLargestFloat8NormalConversionEXT: return "DecorationSaturatedToLargestFloat8NormalConversionEXT";
  310. }
  311. }
  312. const char* BuiltInString(int builtIn)
  313. {
  314. switch (builtIn) {
  315. case 0: return "Position";
  316. case 1: return "PointSize";
  317. case 2: return "Bad";
  318. case 3: return "ClipDistance";
  319. case 4: return "CullDistance";
  320. case 5: return "VertexId";
  321. case 6: return "InstanceId";
  322. case 7: return "PrimitiveId";
  323. case 8: return "InvocationId";
  324. case 9: return "Layer";
  325. case 10: return "ViewportIndex";
  326. case 11: return "TessLevelOuter";
  327. case 12: return "TessLevelInner";
  328. case 13: return "TessCoord";
  329. case 14: return "PatchVertices";
  330. case 15: return "FragCoord";
  331. case 16: return "PointCoord";
  332. case 17: return "FrontFacing";
  333. case 18: return "SampleId";
  334. case 19: return "SamplePosition";
  335. case 20: return "SampleMask";
  336. case 21: return "Bad";
  337. case 22: return "FragDepth";
  338. case 23: return "HelperInvocation";
  339. case 24: return "NumWorkgroups";
  340. case 25: return "WorkgroupSize";
  341. case 26: return "WorkgroupId";
  342. case 27: return "LocalInvocationId";
  343. case 28: return "GlobalInvocationId";
  344. case 29: return "LocalInvocationIndex";
  345. case 30: return "WorkDim";
  346. case 31: return "GlobalSize";
  347. case 32: return "EnqueuedWorkgroupSize";
  348. case 33: return "GlobalOffset";
  349. case 34: return "GlobalLinearId";
  350. case 35: return "Bad";
  351. case 36: return "SubgroupSize";
  352. case 37: return "SubgroupMaxSize";
  353. case 38: return "NumSubgroups";
  354. case 39: return "NumEnqueuedSubgroups";
  355. case 40: return "SubgroupId";
  356. case 41: return "SubgroupLocalInvocationId";
  357. case 42: return "VertexIndex"; // TBD: put next to VertexId?
  358. case 43: return "InstanceIndex"; // TBD: put next to InstanceId?
  359. case 4416: return "SubgroupEqMaskKHR";
  360. case 4417: return "SubgroupGeMaskKHR";
  361. case 4418: return "SubgroupGtMaskKHR";
  362. case 4419: return "SubgroupLeMaskKHR";
  363. case 4420: return "SubgroupLtMaskKHR";
  364. case 4438: return "DeviceIndex";
  365. case 4440: return "ViewIndex";
  366. case 4424: return "BaseVertex";
  367. case 4425: return "BaseInstance";
  368. case 4426: return "DrawIndex";
  369. case 4432: return "PrimitiveShadingRateKHR";
  370. case 4444: return "ShadingRateKHR";
  371. case 5014: return "FragStencilRefEXT";
  372. case (int)BuiltIn::TileOffsetQCOM: return "TileOffsetQCOM";
  373. case (int)BuiltIn::TileDimensionQCOM: return "TileDimensionQCOM";
  374. case (int)BuiltIn::TileApronSizeQCOM: return "TileApronSizeQCOM";
  375. case 4992: return "BaryCoordNoPerspAMD";
  376. case 4993: return "BaryCoordNoPerspCentroidAMD";
  377. case 4994: return "BaryCoordNoPerspSampleAMD";
  378. case 4995: return "BaryCoordSmoothAMD";
  379. case 4996: return "BaryCoordSmoothCentroidAMD";
  380. case 4997: return "BaryCoordSmoothSampleAMD";
  381. case 4998: return "BaryCoordPullModelAMD";
  382. case (int)BuiltIn::LaunchIdKHR: return "LaunchIdKHR";
  383. case (int)BuiltIn::LaunchSizeKHR: return "LaunchSizeKHR";
  384. case (int)BuiltIn::WorldRayOriginKHR: return "WorldRayOriginKHR";
  385. case (int)BuiltIn::WorldRayDirectionKHR: return "WorldRayDirectionKHR";
  386. case (int)BuiltIn::ObjectRayOriginKHR: return "ObjectRayOriginKHR";
  387. case (int)BuiltIn::ObjectRayDirectionKHR: return "ObjectRayDirectionKHR";
  388. case (int)BuiltIn::RayTminKHR: return "RayTminKHR";
  389. case (int)BuiltIn::RayTmaxKHR: return "RayTmaxKHR";
  390. case (int)BuiltIn::CullMaskKHR: return "CullMaskKHR";
  391. case (int)BuiltIn::HitTriangleVertexPositionsKHR: return "HitTriangleVertexPositionsKHR";
  392. case (int)BuiltIn::HitMicroTriangleVertexPositionsNV: return "HitMicroTriangleVertexPositionsNV";
  393. case (int)BuiltIn::HitMicroTriangleVertexBarycentricsNV: return "HitMicroTriangleVertexBarycentricsNV";
  394. case (int)BuiltIn::HitKindFrontFacingMicroTriangleNV: return "HitKindFrontFacingMicroTriangleNV";
  395. case (int)BuiltIn::HitKindBackFacingMicroTriangleNV: return "HitKindBackFacingMicroTriangleNV";
  396. case (int)BuiltIn::HitIsSphereNV: return "HitIsSphereNV";
  397. case (int)BuiltIn::HitIsLSSNV: return "HitIsLSSNV";
  398. case (int)BuiltIn::HitSpherePositionNV: return "HitSpherePositionNV";
  399. case (int)BuiltIn::HitSphereRadiusNV: return "HitSphereRadiusNV";
  400. case (int)BuiltIn::HitLSSPositionsNV: return "HitLSSPositionsNV";
  401. case (int)BuiltIn::HitLSSRadiiNV: return "HitLLSSRadiiNV";
  402. case (int)BuiltIn::InstanceCustomIndexKHR: return "InstanceCustomIndexKHR";
  403. case (int)BuiltIn::RayGeometryIndexKHR: return "RayGeometryIndexKHR";
  404. case (int)BuiltIn::ObjectToWorldKHR: return "ObjectToWorldKHR";
  405. case (int)BuiltIn::WorldToObjectKHR: return "WorldToObjectKHR";
  406. case (int)BuiltIn::HitTNV: return "HitTNV";
  407. case (int)BuiltIn::HitKindKHR: return "HitKindKHR";
  408. case (int)BuiltIn::IncomingRayFlagsKHR: return "IncomingRayFlagsKHR";
  409. case (int)BuiltIn::ViewportMaskNV: return "ViewportMaskNV";
  410. case (int)BuiltIn::SecondaryPositionNV: return "SecondaryPositionNV";
  411. case (int)BuiltIn::SecondaryViewportMaskNV: return "SecondaryViewportMaskNV";
  412. case (int)BuiltIn::PositionPerViewNV: return "PositionPerViewNV";
  413. case (int)BuiltIn::ViewportMaskPerViewNV: return "ViewportMaskPerViewNV";
  414. // case (int)BuiltIn::FragmentSizeNV: return "FragmentSizeNV"; // superseded by BuiltInFragSizeEXT
  415. // case (int)BuiltIn::InvocationsPerPixelNV: return "InvocationsPerPixelNV"; // superseded by BuiltInFragInvocationCountEXT
  416. case (int)BuiltIn::BaryCoordKHR: return "BaryCoordKHR";
  417. case (int)BuiltIn::BaryCoordNoPerspKHR: return "BaryCoordNoPerspKHR";
  418. case (int)BuiltIn::ClusterIDNV: return "ClusterIDNV";
  419. case (int)BuiltIn::FragSizeEXT: return "FragSizeEXT";
  420. case (int)BuiltIn::FragInvocationCountEXT: return "FragInvocationCountEXT";
  421. case 5264: return "FullyCoveredEXT";
  422. case (int)BuiltIn::TaskCountNV: return "TaskCountNV";
  423. case (int)BuiltIn::PrimitiveCountNV: return "PrimitiveCountNV";
  424. case (int)BuiltIn::PrimitiveIndicesNV: return "PrimitiveIndicesNV";
  425. case (int)BuiltIn::ClipDistancePerViewNV: return "ClipDistancePerViewNV";
  426. case (int)BuiltIn::CullDistancePerViewNV: return "CullDistancePerViewNV";
  427. case (int)BuiltIn::LayerPerViewNV: return "LayerPerViewNV";
  428. case (int)BuiltIn::MeshViewCountNV: return "MeshViewCountNV";
  429. case (int)BuiltIn::MeshViewIndicesNV: return "MeshViewIndicesNV";
  430. case (int)BuiltIn::WarpsPerSMNV: return "WarpsPerSMNV";
  431. case (int)BuiltIn::SMCountNV: return "SMCountNV";
  432. case (int)BuiltIn::WarpIDNV: return "WarpIDNV";
  433. case (int)BuiltIn::SMIDNV: return "SMIDNV";
  434. case (int)BuiltIn::CurrentRayTimeNV: return "CurrentRayTimeNV";
  435. case (int)BuiltIn::PrimitivePointIndicesEXT: return "PrimitivePointIndicesEXT";
  436. case (int)BuiltIn::PrimitiveLineIndicesEXT: return "PrimitiveLineIndicesEXT";
  437. case (int)BuiltIn::PrimitiveTriangleIndicesEXT: return "PrimitiveTriangleIndicesEXT";
  438. case (int)BuiltIn::CullPrimitiveEXT: return "CullPrimitiveEXT";
  439. case (int)BuiltIn::CoreCountARM: return "CoreCountARM";
  440. case (int)BuiltIn::CoreIDARM: return "CoreIDARM";
  441. case (int)BuiltIn::CoreMaxIDARM: return "CoreMaxIDARM";
  442. case (int)BuiltIn::WarpIDARM: return "WarpIDARM";
  443. case (int)BuiltIn::WarpMaxIDARM: return "BuiltInWarpMaxIDARM";
  444. default: return "Bad";
  445. }
  446. }
  447. const char* DimensionString(int dim)
  448. {
  449. switch (dim) {
  450. case 0: return "1D";
  451. case 1: return "2D";
  452. case 2: return "3D";
  453. case 3: return "Cube";
  454. case 4: return "Rect";
  455. case 5: return "Buffer";
  456. case 6: return "SubpassData";
  457. case (int)Dim::TileImageDataEXT: return "TileImageDataEXT";
  458. default: return "Bad";
  459. }
  460. }
  461. const char* SamplerAddressingModeString(int mode)
  462. {
  463. switch (mode) {
  464. case 0: return "None";
  465. case 1: return "ClampToEdge";
  466. case 2: return "Clamp";
  467. case 3: return "Repeat";
  468. case 4: return "RepeatMirrored";
  469. default: return "Bad";
  470. }
  471. }
  472. const char* SamplerFilterModeString(int mode)
  473. {
  474. switch (mode) {
  475. case 0: return "Nearest";
  476. case 1: return "Linear";
  477. default: return "Bad";
  478. }
  479. }
  480. const char* ImageFormatString(int format)
  481. {
  482. switch (format) {
  483. case 0: return "Unknown";
  484. // ES/Desktop float
  485. case 1: return "Rgba32f";
  486. case 2: return "Rgba16f";
  487. case 3: return "R32f";
  488. case 4: return "Rgba8";
  489. case 5: return "Rgba8Snorm";
  490. // Desktop float
  491. case 6: return "Rg32f";
  492. case 7: return "Rg16f";
  493. case 8: return "R11fG11fB10f";
  494. case 9: return "R16f";
  495. case 10: return "Rgba16";
  496. case 11: return "Rgb10A2";
  497. case 12: return "Rg16";
  498. case 13: return "Rg8";
  499. case 14: return "R16";
  500. case 15: return "R8";
  501. case 16: return "Rgba16Snorm";
  502. case 17: return "Rg16Snorm";
  503. case 18: return "Rg8Snorm";
  504. case 19: return "R16Snorm";
  505. case 20: return "R8Snorm";
  506. // ES/Desktop int
  507. case 21: return "Rgba32i";
  508. case 22: return "Rgba16i";
  509. case 23: return "Rgba8i";
  510. case 24: return "R32i";
  511. // Desktop int
  512. case 25: return "Rg32i";
  513. case 26: return "Rg16i";
  514. case 27: return "Rg8i";
  515. case 28: return "R16i";
  516. case 29: return "R8i";
  517. // ES/Desktop uint
  518. case 30: return "Rgba32ui";
  519. case 31: return "Rgba16ui";
  520. case 32: return "Rgba8ui";
  521. case 33: return "R32ui";
  522. // Desktop uint
  523. case 34: return "Rgb10a2ui";
  524. case 35: return "Rg32ui";
  525. case 36: return "Rg16ui";
  526. case 37: return "Rg8ui";
  527. case 38: return "R16ui";
  528. case 39: return "R8ui";
  529. case 40: return "R64ui";
  530. case 41: return "R64i";
  531. default:
  532. return "Bad";
  533. }
  534. }
  535. const char* ImageChannelOrderString(int format)
  536. {
  537. switch (format) {
  538. case 0: return "R";
  539. case 1: return "A";
  540. case 2: return "RG";
  541. case 3: return "RA";
  542. case 4: return "RGB";
  543. case 5: return "RGBA";
  544. case 6: return "BGRA";
  545. case 7: return "ARGB";
  546. case 8: return "Intensity";
  547. case 9: return "Luminance";
  548. case 10: return "Rx";
  549. case 11: return "RGx";
  550. case 12: return "RGBx";
  551. case 13: return "Depth";
  552. case 14: return "DepthStencil";
  553. case 15: return "sRGB";
  554. case 16: return "sRGBx";
  555. case 17: return "sRGBA";
  556. case 18: return "sBGRA";
  557. default:
  558. return "Bad";
  559. }
  560. }
  561. const char* ImageChannelDataTypeString(int type)
  562. {
  563. switch (type)
  564. {
  565. case 0: return "SnormInt8";
  566. case 1: return "SnormInt16";
  567. case 2: return "UnormInt8";
  568. case 3: return "UnormInt16";
  569. case 4: return "UnormShort565";
  570. case 5: return "UnormShort555";
  571. case 6: return "UnormInt101010";
  572. case 7: return "SignedInt8";
  573. case 8: return "SignedInt16";
  574. case 9: return "SignedInt32";
  575. case 10: return "UnsignedInt8";
  576. case 11: return "UnsignedInt16";
  577. case 12: return "UnsignedInt32";
  578. case 13: return "HalfFloat";
  579. case 14: return "Float";
  580. case 15: return "UnormInt24";
  581. case 16: return "UnormInt101010_2";
  582. default:
  583. return "Bad";
  584. }
  585. }
  586. const int ImageOperandsCeiling = 17;
  587. const char* ImageOperandsString(int format)
  588. {
  589. switch (format) {
  590. case (int)ImageOperandsShift::Bias: return "Bias";
  591. case (int)ImageOperandsShift::Lod: return "Lod";
  592. case (int)ImageOperandsShift::Grad: return "Grad";
  593. case (int)ImageOperandsShift::ConstOffset: return "ConstOffset";
  594. case (int)ImageOperandsShift::Offset: return "Offset";
  595. case (int)ImageOperandsShift::ConstOffsets: return "ConstOffsets";
  596. case (int)ImageOperandsShift::Sample: return "Sample";
  597. case (int)ImageOperandsShift::MinLod: return "MinLod";
  598. case (int)ImageOperandsShift::MakeTexelAvailableKHR: return "MakeTexelAvailableKHR";
  599. case (int)ImageOperandsShift::MakeTexelVisibleKHR: return "MakeTexelVisibleKHR";
  600. case (int)ImageOperandsShift::NonPrivateTexelKHR: return "NonPrivateTexelKHR";
  601. case (int)ImageOperandsShift::VolatileTexelKHR: return "VolatileTexelKHR";
  602. case (int)ImageOperandsShift::SignExtend: return "SignExtend";
  603. case (int)ImageOperandsShift::ZeroExtend: return "ZeroExtend";
  604. case (int)ImageOperandsShift::Nontemporal: return "Nontemporal";
  605. case (int)ImageOperandsShift::Offsets: return "Offsets";
  606. case ImageOperandsCeiling:
  607. default:
  608. return "Bad";
  609. }
  610. }
  611. const char* FPFastMathString(int mode)
  612. {
  613. switch (mode) {
  614. case 0: return "NotNaN";
  615. case 1: return "NotInf";
  616. case 2: return "NSZ";
  617. case 3: return "AllowRecip";
  618. case 4: return "Fast";
  619. default: return "Bad";
  620. }
  621. }
  622. const char* FPRoundingModeString(int mode)
  623. {
  624. switch (mode) {
  625. case 0: return "RTE";
  626. case 1: return "RTZ";
  627. case 2: return "RTP";
  628. case 3: return "RTN";
  629. default: return "Bad";
  630. }
  631. }
  632. const char* LinkageTypeString(int type)
  633. {
  634. switch (type) {
  635. case 0: return "Export";
  636. case 1: return "Import";
  637. default: return "Bad";
  638. }
  639. }
  640. const char* FuncParamAttrString(int attr)
  641. {
  642. switch (attr) {
  643. case 0: return "Zext";
  644. case 1: return "Sext";
  645. case 2: return "ByVal";
  646. case 3: return "Sret";
  647. case 4: return "NoAlias";
  648. case 5: return "NoCapture";
  649. case 6: return "NoWrite";
  650. case 7: return "NoReadWrite";
  651. default: return "Bad";
  652. }
  653. }
  654. const char* AccessQualifierString(int attr)
  655. {
  656. switch (attr) {
  657. case 0: return "ReadOnly";
  658. case 1: return "WriteOnly";
  659. case 2: return "ReadWrite";
  660. default: return "Bad";
  661. }
  662. }
  663. const int SelectControlCeiling = 2;
  664. const char* SelectControlString(int cont)
  665. {
  666. switch (cont) {
  667. case 0: return "Flatten";
  668. case 1: return "DontFlatten";
  669. case SelectControlCeiling:
  670. default: return "Bad";
  671. }
  672. }
  673. const int LoopControlCeiling = (int)LoopControlShift::PartialCount + 1;
  674. const char* LoopControlString(int cont)
  675. {
  676. switch (cont) {
  677. case (int)LoopControlShift::Unroll: return "Unroll";
  678. case (int)LoopControlShift::DontUnroll: return "DontUnroll";
  679. case (int)LoopControlShift::DependencyInfinite: return "DependencyInfinite";
  680. case (int)LoopControlShift::DependencyLength: return "DependencyLength";
  681. case (int)LoopControlShift::MinIterations: return "MinIterations";
  682. case (int)LoopControlShift::MaxIterations: return "MaxIterations";
  683. case (int)LoopControlShift::IterationMultiple: return "IterationMultiple";
  684. case (int)LoopControlShift::PeelCount: return "PeelCount";
  685. case (int)LoopControlShift::PartialCount: return "PartialCount";
  686. case LoopControlCeiling:
  687. default: return "Bad";
  688. }
  689. }
  690. const int FunctionControlCeiling = 4;
  691. const char* FunctionControlString(int cont)
  692. {
  693. switch (cont) {
  694. case 0: return "Inline";
  695. case 1: return "DontInline";
  696. case 2: return "Pure";
  697. case 3: return "Const";
  698. case FunctionControlCeiling:
  699. default: return "Bad";
  700. }
  701. }
  702. const char* MemorySemanticsString(int mem)
  703. {
  704. // Note: No bits set (None) means "Relaxed"
  705. switch (mem) {
  706. case 0: return "Bad"; // Note: this is a placeholder for 'Consume'
  707. case 1: return "Acquire";
  708. case 2: return "Release";
  709. case 3: return "AcquireRelease";
  710. case 4: return "SequentiallyConsistent";
  711. case 5: return "Bad"; // Note: reserved for future expansion
  712. case 6: return "UniformMemory";
  713. case 7: return "SubgroupMemory";
  714. case 8: return "WorkgroupMemory";
  715. case 9: return "CrossWorkgroupMemory";
  716. case 10: return "AtomicCounterMemory";
  717. case 11: return "ImageMemory";
  718. default: return "Bad";
  719. }
  720. }
  721. const int MemoryAccessCeiling = 6;
  722. const char* MemoryAccessString(int mem)
  723. {
  724. switch (mem) {
  725. case (int)MemoryAccessShift::Volatile: return "Volatile";
  726. case (int)MemoryAccessShift::Aligned: return "Aligned";
  727. case (int)MemoryAccessShift::Nontemporal: return "Nontemporal";
  728. case (int)MemoryAccessShift::MakePointerAvailableKHR: return "MakePointerAvailableKHR";
  729. case (int)MemoryAccessShift::MakePointerVisibleKHR: return "MakePointerVisibleKHR";
  730. case (int)MemoryAccessShift::NonPrivatePointerKHR: return "NonPrivatePointerKHR";
  731. default: return "Bad";
  732. }
  733. }
  734. const int CooperativeMatrixOperandsCeiling = 6;
  735. const char* CooperativeMatrixOperandsString(int op)
  736. {
  737. switch (op) {
  738. case (int)CooperativeMatrixOperandsShift::MatrixASignedComponentsKHR: return "ASignedComponentsKHR";
  739. case (int)CooperativeMatrixOperandsShift::MatrixBSignedComponentsKHR: return "BSignedComponentsKHR";
  740. case (int)CooperativeMatrixOperandsShift::MatrixCSignedComponentsKHR: return "CSignedComponentsKHR";
  741. case (int)CooperativeMatrixOperandsShift::MatrixResultSignedComponentsKHR: return "ResultSignedComponentsKHR";
  742. case (int)CooperativeMatrixOperandsShift::SaturatingAccumulationKHR: return "SaturatingAccumulationKHR";
  743. default: return "Bad";
  744. }
  745. }
  746. const int TensorAddressingOperandsCeiling = 3;
  747. const char* TensorAddressingOperandsString(int op)
  748. {
  749. switch (op) {
  750. case (int)TensorAddressingOperandsShift::TensorView: return "TensorView";
  751. case (int)TensorAddressingOperandsShift::DecodeFunc: return "DecodeFunc";
  752. default: return "Bad";
  753. }
  754. }
  755. const char* ScopeString(int mem)
  756. {
  757. switch (mem) {
  758. case 0: return "CrossDevice";
  759. case 1: return "Device";
  760. case 2: return "Workgroup";
  761. case 3: return "Subgroup";
  762. case 4: return "Invocation";
  763. default: return "Bad";
  764. }
  765. }
  766. const char* GroupOperationString(int gop)
  767. {
  768. switch (gop)
  769. {
  770. case (int)GroupOperation::Reduce: return "Reduce";
  771. case (int)GroupOperation::InclusiveScan: return "InclusiveScan";
  772. case (int)GroupOperation::ExclusiveScan: return "ExclusiveScan";
  773. case (int)GroupOperation::ClusteredReduce: return "ClusteredReduce";
  774. case (int)GroupOperation::PartitionedReduceNV: return "PartitionedReduceNV";
  775. case (int)GroupOperation::PartitionedInclusiveScanNV: return "PartitionedInclusiveScanNV";
  776. case (int)GroupOperation::PartitionedExclusiveScanNV: return "PartitionedExclusiveScanNV";
  777. default: return "Bad";
  778. }
  779. }
  780. const char* KernelEnqueueFlagsString(int flag)
  781. {
  782. switch (flag)
  783. {
  784. case 0: return "NoWait";
  785. case 1: return "WaitKernel";
  786. case 2: return "WaitWorkGroup";
  787. default: return "Bad";
  788. }
  789. }
  790. const char* KernelProfilingInfoString(int info)
  791. {
  792. switch (info)
  793. {
  794. case 0: return "CmdExecTime";
  795. default: return "Bad";
  796. }
  797. }
  798. const char* CapabilityString(int info)
  799. {
  800. switch (info)
  801. {
  802. case 0: return "Matrix";
  803. case 1: return "Shader";
  804. case 2: return "Geometry";
  805. case 3: return "Tessellation";
  806. case 4: return "Addresses";
  807. case 5: return "Linkage";
  808. case 6: return "Kernel";
  809. case 7: return "Vector16";
  810. case 8: return "Float16Buffer";
  811. case 9: return "Float16";
  812. case 10: return "Float64";
  813. case 11: return "Int64";
  814. case 12: return "Int64Atomics";
  815. case 13: return "ImageBasic";
  816. case 14: return "ImageReadWrite";
  817. case 15: return "ImageMipmap";
  818. case 16: return "Bad";
  819. case 17: return "Pipes";
  820. case 18: return "Groups";
  821. case 19: return "DeviceEnqueue";
  822. case 20: return "LiteralSampler";
  823. case 21: return "AtomicStorage";
  824. case 22: return "Int16";
  825. case 23: return "TessellationPointSize";
  826. case 24: return "GeometryPointSize";
  827. case 25: return "ImageGatherExtended";
  828. case 26: return "Bad";
  829. case 27: return "StorageImageMultisample";
  830. case 28: return "UniformBufferArrayDynamicIndexing";
  831. case 29: return "SampledImageArrayDynamicIndexing";
  832. case 30: return "StorageBufferArrayDynamicIndexing";
  833. case 31: return "StorageImageArrayDynamicIndexing";
  834. case 32: return "ClipDistance";
  835. case 33: return "CullDistance";
  836. case 34: return "ImageCubeArray";
  837. case 35: return "SampleRateShading";
  838. case 36: return "ImageRect";
  839. case 37: return "SampledRect";
  840. case 38: return "GenericPointer";
  841. case 39: return "Int8";
  842. case 40: return "InputAttachment";
  843. case 41: return "SparseResidency";
  844. case 42: return "MinLod";
  845. case 43: return "Sampled1D";
  846. case 44: return "Image1D";
  847. case 45: return "SampledCubeArray";
  848. case 46: return "SampledBuffer";
  849. case 47: return "ImageBuffer";
  850. case 48: return "ImageMSArray";
  851. case 49: return "StorageImageExtendedFormats";
  852. case 50: return "ImageQuery";
  853. case 51: return "DerivativeControl";
  854. case 52: return "InterpolationFunction";
  855. case 53: return "TransformFeedback";
  856. case 54: return "GeometryStreams";
  857. case 55: return "StorageImageReadWithoutFormat";
  858. case 56: return "StorageImageWriteWithoutFormat";
  859. case 57: return "MultiViewport";
  860. case 61: return "GroupNonUniform";
  861. case 62: return "GroupNonUniformVote";
  862. case 63: return "GroupNonUniformArithmetic";
  863. case 64: return "GroupNonUniformBallot";
  864. case 65: return "GroupNonUniformShuffle";
  865. case 66: return "GroupNonUniformShuffleRelative";
  866. case 67: return "GroupNonUniformClustered";
  867. case 68: return "GroupNonUniformQuad";
  868. case (int)Capability::SubgroupBallotKHR: return "SubgroupBallotKHR";
  869. case (int)Capability::DrawParameters: return "DrawParameters";
  870. case (int)Capability::SubgroupVoteKHR: return "SubgroupVoteKHR";
  871. case (int)Capability::GroupNonUniformRotateKHR: return "GroupNonUniformRotateKHR";
  872. case (int)Capability::StorageUniformBufferBlock16: return "StorageUniformBufferBlock16";
  873. case (int)Capability::StorageUniform16: return "StorageUniform16";
  874. case (int)Capability::StoragePushConstant16: return "StoragePushConstant16";
  875. case (int)Capability::StorageInputOutput16: return "StorageInputOutput16";
  876. case (int)Capability::StorageBuffer8BitAccess: return "StorageBuffer8BitAccess";
  877. case (int)Capability::UniformAndStorageBuffer8BitAccess: return "UniformAndStorageBuffer8BitAccess";
  878. case (int)Capability::StoragePushConstant8: return "StoragePushConstant8";
  879. case (int)Capability::DeviceGroup: return "DeviceGroup";
  880. case (int)Capability::MultiView: return "MultiView";
  881. case (int)Capability::DenormPreserve: return "DenormPreserve";
  882. case (int)Capability::DenormFlushToZero: return "DenormFlushToZero";
  883. case (int)Capability::SignedZeroInfNanPreserve: return "SignedZeroInfNanPreserve";
  884. case (int)Capability::RoundingModeRTE: return "RoundingModeRTE";
  885. case (int)Capability::RoundingModeRTZ: return "RoundingModeRTZ";
  886. case (int)Capability::StencilExportEXT: return "StencilExportEXT";
  887. case (int)Capability::Float16ImageAMD: return "Float16ImageAMD";
  888. case (int)Capability::ImageGatherBiasLodAMD: return "ImageGatherBiasLodAMD";
  889. case (int)Capability::FragmentMaskAMD: return "FragmentMaskAMD";
  890. case (int)Capability::ImageReadWriteLodAMD: return "ImageReadWriteLodAMD";
  891. case (int)Capability::AtomicStorageOps: return "AtomicStorageOps";
  892. case (int)Capability::SampleMaskPostDepthCoverage: return "SampleMaskPostDepthCoverage";
  893. case (int)Capability::GeometryShaderPassthroughNV: return "GeometryShaderPassthroughNV";
  894. case (int)Capability::ShaderViewportIndexLayerNV: return "ShaderViewportIndexLayerNV";
  895. case (int)Capability::ShaderViewportMaskNV: return "ShaderViewportMaskNV";
  896. case (int)Capability::ShaderStereoViewNV: return "ShaderStereoViewNV";
  897. case (int)Capability::PerViewAttributesNV: return "PerViewAttributesNV";
  898. case (int)Capability::GroupNonUniformPartitionedNV: return "GroupNonUniformPartitionedNV";
  899. case (int)Capability::RayTracingNV: return "RayTracingNV";
  900. case (int)Capability::RayTracingMotionBlurNV: return "RayTracingMotionBlurNV";
  901. case (int)Capability::RayTracingKHR: return "RayTracingKHR";
  902. case (int)Capability::RayCullMaskKHR: return "RayCullMaskKHR";
  903. case (int)Capability::RayQueryKHR: return "RayQueryKHR";
  904. case (int)Capability::RayTracingProvisionalKHR: return "RayTracingProvisionalKHR";
  905. case (int)Capability::RayTraversalPrimitiveCullingKHR: return "RayTraversalPrimitiveCullingKHR";
  906. case (int)Capability::RayTracingPositionFetchKHR: return "RayTracingPositionFetchKHR";
  907. case (int)Capability::DisplacementMicromapNV: return "DisplacementMicromapNV";
  908. case (int)Capability::RayTracingOpacityMicromapEXT: return "RayTracingOpacityMicromapEXT";
  909. case (int)Capability::RayTracingDisplacementMicromapNV: return "RayTracingDisplacementMicromapNV";
  910. case (int)Capability::RayQueryPositionFetchKHR: return "RayQueryPositionFetchKHR";
  911. case (int)Capability::ComputeDerivativeGroupQuadsNV: return "ComputeDerivativeGroupQuadsNV";
  912. case (int)Capability::ComputeDerivativeGroupLinearNV: return "ComputeDerivativeGroupLinearNV";
  913. case (int)Capability::FragmentBarycentricKHR: return "FragmentBarycentricKHR";
  914. case (int)Capability::MeshShadingNV: return "MeshShadingNV";
  915. case (int)Capability::ImageFootprintNV: return "ImageFootprintNV";
  916. case (int)Capability::MeshShadingEXT: return "MeshShadingEXT";
  917. // case (int)Capability::ShadingRateNV: return "ShadingRateNV"; // superseded by FragmentDensityEXT
  918. case (int)Capability::SampleMaskOverrideCoverageNV: return "SampleMaskOverrideCoverageNV";
  919. case (int)Capability::FragmentDensityEXT: return "FragmentDensityEXT";
  920. case (int)Capability::FragmentFullyCoveredEXT: return "FragmentFullyCoveredEXT";
  921. case (int)Capability::ShaderNonUniformEXT: return "ShaderNonUniformEXT";
  922. case (int)Capability::RuntimeDescriptorArrayEXT: return "RuntimeDescriptorArrayEXT";
  923. case (int)Capability::InputAttachmentArrayDynamicIndexingEXT: return "InputAttachmentArrayDynamicIndexingEXT";
  924. case (int)Capability::UniformTexelBufferArrayDynamicIndexingEXT: return "UniformTexelBufferArrayDynamicIndexingEXT";
  925. case (int)Capability::StorageTexelBufferArrayDynamicIndexingEXT: return "StorageTexelBufferArrayDynamicIndexingEXT";
  926. case (int)Capability::UniformBufferArrayNonUniformIndexingEXT: return "UniformBufferArrayNonUniformIndexingEXT";
  927. case (int)Capability::SampledImageArrayNonUniformIndexingEXT: return "SampledImageArrayNonUniformIndexingEXT";
  928. case (int)Capability::StorageBufferArrayNonUniformIndexingEXT: return "StorageBufferArrayNonUniformIndexingEXT";
  929. case (int)Capability::StorageImageArrayNonUniformIndexingEXT: return "StorageImageArrayNonUniformIndexingEXT";
  930. case (int)Capability::InputAttachmentArrayNonUniformIndexingEXT: return "InputAttachmentArrayNonUniformIndexingEXT";
  931. case (int)Capability::UniformTexelBufferArrayNonUniformIndexingEXT: return "UniformTexelBufferArrayNonUniformIndexingEXT";
  932. case (int)Capability::StorageTexelBufferArrayNonUniformIndexingEXT: return "StorageTexelBufferArrayNonUniformIndexingEXT";
  933. case (int)Capability::VulkanMemoryModelKHR: return "VulkanMemoryModelKHR";
  934. case (int)Capability::VulkanMemoryModelDeviceScopeKHR: return "VulkanMemoryModelDeviceScopeKHR";
  935. case (int)Capability::PhysicalStorageBufferAddressesEXT: return "PhysicalStorageBufferAddressesEXT";
  936. case (int)Capability::VariablePointers: return "VariablePointers";
  937. case (int)Capability::CooperativeMatrixNV: return "CooperativeMatrixNV";
  938. case (int)Capability::CooperativeMatrixKHR: return "CooperativeMatrixKHR";
  939. case (int)Capability::CooperativeMatrixReductionsNV: return "CooperativeMatrixReductionsNV";
  940. case (int)Capability::CooperativeMatrixConversionsNV: return "CooperativeMatrixConversionsNV";
  941. case (int)Capability::CooperativeMatrixPerElementOperationsNV: return "CooperativeMatrixPerElementOperationsNV";
  942. case (int)Capability::CooperativeMatrixTensorAddressingNV: return "CooperativeMatrixTensorAddressingNV";
  943. case (int)Capability::CooperativeMatrixBlockLoadsNV: return "CooperativeMatrixBlockLoadsNV";
  944. case (int)Capability::TensorAddressingNV: return "TensorAddressingNV";
  945. case (int)Capability::ShaderSMBuiltinsNV: return "ShaderSMBuiltinsNV";
  946. case (int)Capability::CooperativeVectorNV: return "CooperativeVectorNV";
  947. case (int)Capability::CooperativeVectorTrainingNV: return "CooperativeVectorTrainingNV";
  948. case (int)Capability::FragmentShaderSampleInterlockEXT: return "FragmentShaderSampleInterlockEXT";
  949. case (int)Capability::FragmentShaderPixelInterlockEXT: return "FragmentShaderPixelInterlockEXT";
  950. case (int)Capability::FragmentShaderShadingRateInterlockEXT: return "FragmentShaderShadingRateInterlockEXT";
  951. case (int)Capability::TileImageColorReadAccessEXT: return "TileImageColorReadAccessEXT";
  952. case (int)Capability::TileImageDepthReadAccessEXT: return "TileImageDepthReadAccessEXT";
  953. case (int)Capability::TileImageStencilReadAccessEXT: return "TileImageStencilReadAccessEXT";
  954. case (int)Capability::CooperativeMatrixLayoutsARM: return "CooperativeMatrixLayoutsARM";
  955. case (int)Capability::TensorsARM: return "TensorsARM";
  956. case (int)Capability::FragmentShadingRateKHR: return "FragmentShadingRateKHR";
  957. case (int)Capability::DemoteToHelperInvocationEXT: return "DemoteToHelperInvocationEXT";
  958. case (int)Capability::AtomicFloat16VectorNV: return "AtomicFloat16VectorNV";
  959. case (int)Capability::ShaderClockKHR: return "ShaderClockKHR";
  960. case (int)Capability::QuadControlKHR: return "QuadControlKHR";
  961. case (int)Capability::Int64ImageEXT: return "Int64ImageEXT";
  962. case (int)Capability::IntegerFunctions2INTEL: return "IntegerFunctions2INTEL";
  963. case (int)Capability::ExpectAssumeKHR: return "ExpectAssumeKHR";
  964. case (int)Capability::AtomicFloat16AddEXT: return "AtomicFloat16AddEXT";
  965. case (int)Capability::AtomicFloat32AddEXT: return "AtomicFloat32AddEXT";
  966. case (int)Capability::AtomicFloat64AddEXT: return "AtomicFloat64AddEXT";
  967. case (int)Capability::AtomicFloat16MinMaxEXT: return "AtomicFloat16MinMaxEXT";
  968. case (int)Capability::AtomicFloat32MinMaxEXT: return "AtomicFloat32MinMaxEXT";
  969. case (int)Capability::AtomicFloat64MinMaxEXT: return "AtomicFloat64MinMaxEXT";
  970. case (int)Capability::WorkgroupMemoryExplicitLayoutKHR: return "WorkgroupMemoryExplicitLayoutKHR";
  971. case (int)Capability::WorkgroupMemoryExplicitLayout8BitAccessKHR: return "WorkgroupMemoryExplicitLayout8BitAccessKHR";
  972. case (int)Capability::WorkgroupMemoryExplicitLayout16BitAccessKHR: return "WorkgroupMemoryExplicitLayout16BitAccessKHR";
  973. case (int)Capability::CoreBuiltinsARM: return "CoreBuiltinsARM";
  974. case (int)Capability::ShaderInvocationReorderNV: return "ShaderInvocationReorderNV";
  975. case (int)Capability::TextureSampleWeightedQCOM: return "TextureSampleWeightedQCOM";
  976. case (int)Capability::TextureBoxFilterQCOM: return "TextureBoxFilterQCOM";
  977. case (int)Capability::TextureBlockMatchQCOM: return "TextureBlockMatchQCOM";
  978. case (int)Capability::TileShadingQCOM: return "TileShadingQCOM";
  979. case (int)Capability::TextureBlockMatch2QCOM: return "TextureBlockMatch2QCOM";
  980. case (int)Capability::CooperativeMatrixConversionQCOM: return "CooperativeMatrixConversionQCOM";
  981. case (int)Capability::ReplicatedCompositesEXT: return "ReplicatedCompositesEXT";
  982. case (int)Capability::DotProductKHR: return "DotProductKHR";
  983. case (int)Capability::DotProductInputAllKHR: return "DotProductInputAllKHR";
  984. case (int)Capability::DotProductInput4x8BitKHR: return "DotProductInput4x8BitKHR";
  985. case (int)Capability::DotProductInput4x8BitPackedKHR: return "DotProductInput4x8BitPackedKHR";
  986. case (int)Capability::RayTracingClusterAccelerationStructureNV: return "RayTracingClusterAccelerationStructureNV";
  987. case (int)Capability::RayTracingSpheresGeometryNV: return "RayTracingSpheresGeometryNV";
  988. case (int)Capability::RayTracingLinearSweptSpheresGeometryNV: return "RayTracingLinearSweptSpheresGeometryNV";
  989. case (int)Capability::BFloat16TypeKHR: return "BFloat16TypeKHR";
  990. case (int)Capability::BFloat16DotProductKHR: return "BFloat16DotProductKHR";
  991. case (int)Capability::BFloat16CooperativeMatrixKHR: return "BFloat16CooperativeMatrixKHR";
  992. case (int)Capability::Float8EXT: return "Float8EXT";
  993. case (int)Capability::Float8CooperativeMatrixEXT: return "Float8CooperativeMatrixEXT";
  994. default: return "Bad";
  995. }
  996. }
  997. const char* OpcodeString(int op)
  998. {
  999. switch (op) {
  1000. case 0: return "OpNop";
  1001. case 1: return "OpUndef";
  1002. case 2: return "OpSourceContinued";
  1003. case 3: return "OpSource";
  1004. case 4: return "OpSourceExtension";
  1005. case 5: return "OpName";
  1006. case 6: return "OpMemberName";
  1007. case 7: return "OpString";
  1008. case 8: return "OpLine";
  1009. case 9: return "Bad";
  1010. case 10: return "OpExtension";
  1011. case 11: return "OpExtInstImport";
  1012. case 12: return "OpExtInst";
  1013. case 13: return "Bad";
  1014. case 14: return "OpMemoryModel";
  1015. case 15: return "OpEntryPoint";
  1016. case 16: return "OpExecutionMode";
  1017. case 17: return "OpCapability";
  1018. case 18: return "Bad";
  1019. case 19: return "OpTypeVoid";
  1020. case 20: return "OpTypeBool";
  1021. case 21: return "OpTypeInt";
  1022. case 22: return "OpTypeFloat";
  1023. case 23: return "OpTypeVector";
  1024. case 24: return "OpTypeMatrix";
  1025. case 25: return "OpTypeImage";
  1026. case 26: return "OpTypeSampler";
  1027. case 27: return "OpTypeSampledImage";
  1028. case 28: return "OpTypeArray";
  1029. case 29: return "OpTypeRuntimeArray";
  1030. case 30: return "OpTypeStruct";
  1031. case 31: return "OpTypeOpaque";
  1032. case 32: return "OpTypePointer";
  1033. case 33: return "OpTypeFunction";
  1034. case 34: return "OpTypeEvent";
  1035. case 35: return "OpTypeDeviceEvent";
  1036. case 36: return "OpTypeReserveId";
  1037. case 37: return "OpTypeQueue";
  1038. case 38: return "OpTypePipe";
  1039. case 39: return "OpTypeForwardPointer";
  1040. case 40: return "Bad";
  1041. case 41: return "OpConstantTrue";
  1042. case 42: return "OpConstantFalse";
  1043. case 43: return "OpConstant";
  1044. case 44: return "OpConstantComposite";
  1045. case 45: return "OpConstantSampler";
  1046. case 46: return "OpConstantNull";
  1047. case 47: return "Bad";
  1048. case 48: return "OpSpecConstantTrue";
  1049. case 49: return "OpSpecConstantFalse";
  1050. case 50: return "OpSpecConstant";
  1051. case 51: return "OpSpecConstantComposite";
  1052. case 52: return "OpSpecConstantOp";
  1053. case 53: return "Bad";
  1054. case 54: return "OpFunction";
  1055. case 55: return "OpFunctionParameter";
  1056. case 56: return "OpFunctionEnd";
  1057. case 57: return "OpFunctionCall";
  1058. case 58: return "Bad";
  1059. case 59: return "OpVariable";
  1060. case 60: return "OpImageTexelPointer";
  1061. case 61: return "OpLoad";
  1062. case 62: return "OpStore";
  1063. case 63: return "OpCopyMemory";
  1064. case 64: return "OpCopyMemorySized";
  1065. case 65: return "OpAccessChain";
  1066. case 66: return "OpInBoundsAccessChain";
  1067. case 67: return "OpPtrAccessChain";
  1068. case 68: return "OpArrayLength";
  1069. case 69: return "OpGenericPtrMemSemantics";
  1070. case 70: return "OpInBoundsPtrAccessChain";
  1071. case 71: return "OpDecorate";
  1072. case 72: return "OpMemberDecorate";
  1073. case 73: return "OpDecorationGroup";
  1074. case 74: return "OpGroupDecorate";
  1075. case 75: return "OpGroupMemberDecorate";
  1076. case 76: return "Bad";
  1077. case 77: return "OpVectorExtractDynamic";
  1078. case 78: return "OpVectorInsertDynamic";
  1079. case 79: return "OpVectorShuffle";
  1080. case 80: return "OpCompositeConstruct";
  1081. case 81: return "OpCompositeExtract";
  1082. case 82: return "OpCompositeInsert";
  1083. case 83: return "OpCopyObject";
  1084. case 84: return "OpTranspose";
  1085. case (int)Op::OpCopyLogical: return "OpCopyLogical";
  1086. case 85: return "Bad";
  1087. case 86: return "OpSampledImage";
  1088. case 87: return "OpImageSampleImplicitLod";
  1089. case 88: return "OpImageSampleExplicitLod";
  1090. case 89: return "OpImageSampleDrefImplicitLod";
  1091. case 90: return "OpImageSampleDrefExplicitLod";
  1092. case 91: return "OpImageSampleProjImplicitLod";
  1093. case 92: return "OpImageSampleProjExplicitLod";
  1094. case 93: return "OpImageSampleProjDrefImplicitLod";
  1095. case 94: return "OpImageSampleProjDrefExplicitLod";
  1096. case 95: return "OpImageFetch";
  1097. case 96: return "OpImageGather";
  1098. case 97: return "OpImageDrefGather";
  1099. case 98: return "OpImageRead";
  1100. case 99: return "OpImageWrite";
  1101. case 100: return "OpImage";
  1102. case 101: return "OpImageQueryFormat";
  1103. case 102: return "OpImageQueryOrder";
  1104. case 103: return "OpImageQuerySizeLod";
  1105. case 104: return "OpImageQuerySize";
  1106. case 105: return "OpImageQueryLod";
  1107. case 106: return "OpImageQueryLevels";
  1108. case 107: return "OpImageQuerySamples";
  1109. case 108: return "Bad";
  1110. case 109: return "OpConvertFToU";
  1111. case 110: return "OpConvertFToS";
  1112. case 111: return "OpConvertSToF";
  1113. case 112: return "OpConvertUToF";
  1114. case 113: return "OpUConvert";
  1115. case 114: return "OpSConvert";
  1116. case 115: return "OpFConvert";
  1117. case 116: return "OpQuantizeToF16";
  1118. case 117: return "OpConvertPtrToU";
  1119. case 118: return "OpSatConvertSToU";
  1120. case 119: return "OpSatConvertUToS";
  1121. case 120: return "OpConvertUToPtr";
  1122. case 121: return "OpPtrCastToGeneric";
  1123. case 122: return "OpGenericCastToPtr";
  1124. case 123: return "OpGenericCastToPtrExplicit";
  1125. case 124: return "OpBitcast";
  1126. case 125: return "Bad";
  1127. case 126: return "OpSNegate";
  1128. case 127: return "OpFNegate";
  1129. case 128: return "OpIAdd";
  1130. case 129: return "OpFAdd";
  1131. case 130: return "OpISub";
  1132. case 131: return "OpFSub";
  1133. case 132: return "OpIMul";
  1134. case 133: return "OpFMul";
  1135. case 134: return "OpUDiv";
  1136. case 135: return "OpSDiv";
  1137. case 136: return "OpFDiv";
  1138. case 137: return "OpUMod";
  1139. case 138: return "OpSRem";
  1140. case 139: return "OpSMod";
  1141. case 140: return "OpFRem";
  1142. case 141: return "OpFMod";
  1143. case 142: return "OpVectorTimesScalar";
  1144. case 143: return "OpMatrixTimesScalar";
  1145. case 144: return "OpVectorTimesMatrix";
  1146. case 145: return "OpMatrixTimesVector";
  1147. case 146: return "OpMatrixTimesMatrix";
  1148. case 147: return "OpOuterProduct";
  1149. case 148: return "OpDot";
  1150. case 149: return "OpIAddCarry";
  1151. case 150: return "OpISubBorrow";
  1152. case 151: return "OpUMulExtended";
  1153. case 152: return "OpSMulExtended";
  1154. case 153: return "Bad";
  1155. case 154: return "OpAny";
  1156. case 155: return "OpAll";
  1157. case 156: return "OpIsNan";
  1158. case 157: return "OpIsInf";
  1159. case 158: return "OpIsFinite";
  1160. case 159: return "OpIsNormal";
  1161. case 160: return "OpSignBitSet";
  1162. case 161: return "OpLessOrGreater";
  1163. case 162: return "OpOrdered";
  1164. case 163: return "OpUnordered";
  1165. case 164: return "OpLogicalEqual";
  1166. case 165: return "OpLogicalNotEqual";
  1167. case 166: return "OpLogicalOr";
  1168. case 167: return "OpLogicalAnd";
  1169. case 168: return "OpLogicalNot";
  1170. case 169: return "OpSelect";
  1171. case 170: return "OpIEqual";
  1172. case 171: return "OpINotEqual";
  1173. case 172: return "OpUGreaterThan";
  1174. case 173: return "OpSGreaterThan";
  1175. case 174: return "OpUGreaterThanEqual";
  1176. case 175: return "OpSGreaterThanEqual";
  1177. case 176: return "OpULessThan";
  1178. case 177: return "OpSLessThan";
  1179. case 178: return "OpULessThanEqual";
  1180. case 179: return "OpSLessThanEqual";
  1181. case 180: return "OpFOrdEqual";
  1182. case 181: return "OpFUnordEqual";
  1183. case 182: return "OpFOrdNotEqual";
  1184. case 183: return "OpFUnordNotEqual";
  1185. case 184: return "OpFOrdLessThan";
  1186. case 185: return "OpFUnordLessThan";
  1187. case 186: return "OpFOrdGreaterThan";
  1188. case 187: return "OpFUnordGreaterThan";
  1189. case 188: return "OpFOrdLessThanEqual";
  1190. case 189: return "OpFUnordLessThanEqual";
  1191. case 190: return "OpFOrdGreaterThanEqual";
  1192. case 191: return "OpFUnordGreaterThanEqual";
  1193. case 192: return "Bad";
  1194. case 193: return "Bad";
  1195. case 194: return "OpShiftRightLogical";
  1196. case 195: return "OpShiftRightArithmetic";
  1197. case 196: return "OpShiftLeftLogical";
  1198. case 197: return "OpBitwiseOr";
  1199. case 198: return "OpBitwiseXor";
  1200. case 199: return "OpBitwiseAnd";
  1201. case 200: return "OpNot";
  1202. case 201: return "OpBitFieldInsert";
  1203. case 202: return "OpBitFieldSExtract";
  1204. case 203: return "OpBitFieldUExtract";
  1205. case 204: return "OpBitReverse";
  1206. case 205: return "OpBitCount";
  1207. case 206: return "Bad";
  1208. case 207: return "OpDPdx";
  1209. case 208: return "OpDPdy";
  1210. case 209: return "OpFwidth";
  1211. case 210: return "OpDPdxFine";
  1212. case 211: return "OpDPdyFine";
  1213. case 212: return "OpFwidthFine";
  1214. case 213: return "OpDPdxCoarse";
  1215. case 214: return "OpDPdyCoarse";
  1216. case 215: return "OpFwidthCoarse";
  1217. case 216: return "Bad";
  1218. case 217: return "Bad";
  1219. case 218: return "OpEmitVertex";
  1220. case 219: return "OpEndPrimitive";
  1221. case 220: return "OpEmitStreamVertex";
  1222. case 221: return "OpEndStreamPrimitive";
  1223. case 222: return "Bad";
  1224. case 223: return "Bad";
  1225. case 224: return "OpControlBarrier";
  1226. case 225: return "OpMemoryBarrier";
  1227. case 226: return "Bad";
  1228. case 227: return "OpAtomicLoad";
  1229. case 228: return "OpAtomicStore";
  1230. case 229: return "OpAtomicExchange";
  1231. case 230: return "OpAtomicCompareExchange";
  1232. case 231: return "OpAtomicCompareExchangeWeak";
  1233. case 232: return "OpAtomicIIncrement";
  1234. case 233: return "OpAtomicIDecrement";
  1235. case 234: return "OpAtomicIAdd";
  1236. case 235: return "OpAtomicISub";
  1237. case 236: return "OpAtomicSMin";
  1238. case 237: return "OpAtomicUMin";
  1239. case 238: return "OpAtomicSMax";
  1240. case 239: return "OpAtomicUMax";
  1241. case 240: return "OpAtomicAnd";
  1242. case 241: return "OpAtomicOr";
  1243. case 242: return "OpAtomicXor";
  1244. case 243: return "Bad";
  1245. case 244: return "Bad";
  1246. case 245: return "OpPhi";
  1247. case 246: return "OpLoopMerge";
  1248. case 247: return "OpSelectionMerge";
  1249. case 248: return "OpLabel";
  1250. case 249: return "OpBranch";
  1251. case 250: return "OpBranchConditional";
  1252. case 251: return "OpSwitch";
  1253. case 252: return "OpKill";
  1254. case 253: return "OpReturn";
  1255. case 254: return "OpReturnValue";
  1256. case 255: return "OpUnreachable";
  1257. case 256: return "OpLifetimeStart";
  1258. case 257: return "OpLifetimeStop";
  1259. case 258: return "Bad";
  1260. case 259: return "OpGroupAsyncCopy";
  1261. case 260: return "OpGroupWaitEvents";
  1262. case 261: return "OpGroupAll";
  1263. case 262: return "OpGroupAny";
  1264. case 263: return "OpGroupBroadcast";
  1265. case 264: return "OpGroupIAdd";
  1266. case 265: return "OpGroupFAdd";
  1267. case 266: return "OpGroupFMin";
  1268. case 267: return "OpGroupUMin";
  1269. case 268: return "OpGroupSMin";
  1270. case 269: return "OpGroupFMax";
  1271. case 270: return "OpGroupUMax";
  1272. case 271: return "OpGroupSMax";
  1273. case 272: return "Bad";
  1274. case 273: return "Bad";
  1275. case 274: return "OpReadPipe";
  1276. case 275: return "OpWritePipe";
  1277. case 276: return "OpReservedReadPipe";
  1278. case 277: return "OpReservedWritePipe";
  1279. case 278: return "OpReserveReadPipePackets";
  1280. case 279: return "OpReserveWritePipePackets";
  1281. case 280: return "OpCommitReadPipe";
  1282. case 281: return "OpCommitWritePipe";
  1283. case 282: return "OpIsValidReserveId";
  1284. case 283: return "OpGetNumPipePackets";
  1285. case 284: return "OpGetMaxPipePackets";
  1286. case 285: return "OpGroupReserveReadPipePackets";
  1287. case 286: return "OpGroupReserveWritePipePackets";
  1288. case 287: return "OpGroupCommitReadPipe";
  1289. case 288: return "OpGroupCommitWritePipe";
  1290. case 289: return "Bad";
  1291. case 290: return "Bad";
  1292. case 291: return "OpEnqueueMarker";
  1293. case 292: return "OpEnqueueKernel";
  1294. case 293: return "OpGetKernelNDrangeSubGroupCount";
  1295. case 294: return "OpGetKernelNDrangeMaxSubGroupSize";
  1296. case 295: return "OpGetKernelWorkGroupSize";
  1297. case 296: return "OpGetKernelPreferredWorkGroupSizeMultiple";
  1298. case 297: return "OpRetainEvent";
  1299. case 298: return "OpReleaseEvent";
  1300. case 299: return "OpCreateUserEvent";
  1301. case 300: return "OpIsValidEvent";
  1302. case 301: return "OpSetUserEventStatus";
  1303. case 302: return "OpCaptureEventProfilingInfo";
  1304. case 303: return "OpGetDefaultQueue";
  1305. case 304: return "OpBuildNDRange";
  1306. case 305: return "OpImageSparseSampleImplicitLod";
  1307. case 306: return "OpImageSparseSampleExplicitLod";
  1308. case 307: return "OpImageSparseSampleDrefImplicitLod";
  1309. case 308: return "OpImageSparseSampleDrefExplicitLod";
  1310. case 309: return "OpImageSparseSampleProjImplicitLod";
  1311. case 310: return "OpImageSparseSampleProjExplicitLod";
  1312. case 311: return "OpImageSparseSampleProjDrefImplicitLod";
  1313. case 312: return "OpImageSparseSampleProjDrefExplicitLod";
  1314. case 313: return "OpImageSparseFetch";
  1315. case 314: return "OpImageSparseGather";
  1316. case 315: return "OpImageSparseDrefGather";
  1317. case 316: return "OpImageSparseTexelsResident";
  1318. case 317: return "OpNoLine";
  1319. case 318: return "OpAtomicFlagTestAndSet";
  1320. case 319: return "OpAtomicFlagClear";
  1321. case 320: return "OpImageSparseRead";
  1322. case (int)Op::OpModuleProcessed: return "OpModuleProcessed";
  1323. case (int)Op::OpExecutionModeId: return "OpExecutionModeId";
  1324. case (int)Op::OpDecorateId: return "OpDecorateId";
  1325. case 333: return "OpGroupNonUniformElect";
  1326. case 334: return "OpGroupNonUniformAll";
  1327. case 335: return "OpGroupNonUniformAny";
  1328. case 336: return "OpGroupNonUniformAllEqual";
  1329. case 337: return "OpGroupNonUniformBroadcast";
  1330. case 338: return "OpGroupNonUniformBroadcastFirst";
  1331. case 339: return "OpGroupNonUniformBallot";
  1332. case 340: return "OpGroupNonUniformInverseBallot";
  1333. case 341: return "OpGroupNonUniformBallotBitExtract";
  1334. case 342: return "OpGroupNonUniformBallotBitCount";
  1335. case 343: return "OpGroupNonUniformBallotFindLSB";
  1336. case 344: return "OpGroupNonUniformBallotFindMSB";
  1337. case 345: return "OpGroupNonUniformShuffle";
  1338. case 346: return "OpGroupNonUniformShuffleXor";
  1339. case 347: return "OpGroupNonUniformShuffleUp";
  1340. case 348: return "OpGroupNonUniformShuffleDown";
  1341. case 349: return "OpGroupNonUniformIAdd";
  1342. case 350: return "OpGroupNonUniformFAdd";
  1343. case 351: return "OpGroupNonUniformIMul";
  1344. case 352: return "OpGroupNonUniformFMul";
  1345. case 353: return "OpGroupNonUniformSMin";
  1346. case 354: return "OpGroupNonUniformUMin";
  1347. case 355: return "OpGroupNonUniformFMin";
  1348. case 356: return "OpGroupNonUniformSMax";
  1349. case 357: return "OpGroupNonUniformUMax";
  1350. case 358: return "OpGroupNonUniformFMax";
  1351. case 359: return "OpGroupNonUniformBitwiseAnd";
  1352. case 360: return "OpGroupNonUniformBitwiseOr";
  1353. case 361: return "OpGroupNonUniformBitwiseXor";
  1354. case 362: return "OpGroupNonUniformLogicalAnd";
  1355. case 363: return "OpGroupNonUniformLogicalOr";
  1356. case 364: return "OpGroupNonUniformLogicalXor";
  1357. case 365: return "OpGroupNonUniformQuadBroadcast";
  1358. case 366: return "OpGroupNonUniformQuadSwap";
  1359. case (int)Op::OpTerminateInvocation: return "OpTerminateInvocation";
  1360. case 4421: return "OpSubgroupBallotKHR";
  1361. case 4422: return "OpSubgroupFirstInvocationKHR";
  1362. case 4428: return "OpSubgroupAllKHR";
  1363. case 4429: return "OpSubgroupAnyKHR";
  1364. case 4430: return "OpSubgroupAllEqualKHR";
  1365. case 4432: return "OpSubgroupReadInvocationKHR";
  1366. case 4433: return "OpExtInstWithForwardRefsKHR";
  1367. case (int)Op::OpGroupNonUniformQuadAllKHR: return "OpGroupNonUniformQuadAllKHR";
  1368. case (int)Op::OpGroupNonUniformQuadAnyKHR: return "OpGroupNonUniformQuadAnyKHR";
  1369. case (int)Op::OpAtomicFAddEXT: return "OpAtomicFAddEXT";
  1370. case (int)Op::OpAtomicFMinEXT: return "OpAtomicFMinEXT";
  1371. case (int)Op::OpAtomicFMaxEXT: return "OpAtomicFMaxEXT";
  1372. case (int)Op::OpAssumeTrueKHR: return "OpAssumeTrueKHR";
  1373. case (int)Op::OpExpectKHR: return "OpExpectKHR";
  1374. case 5000: return "OpGroupIAddNonUniformAMD";
  1375. case 5001: return "OpGroupFAddNonUniformAMD";
  1376. case 5002: return "OpGroupFMinNonUniformAMD";
  1377. case 5003: return "OpGroupUMinNonUniformAMD";
  1378. case 5004: return "OpGroupSMinNonUniformAMD";
  1379. case 5005: return "OpGroupFMaxNonUniformAMD";
  1380. case 5006: return "OpGroupUMaxNonUniformAMD";
  1381. case 5007: return "OpGroupSMaxNonUniformAMD";
  1382. case 5011: return "OpFragmentMaskFetchAMD";
  1383. case 5012: return "OpFragmentFetchAMD";
  1384. case (int)Op::OpReadClockKHR: return "OpReadClockKHR";
  1385. case (int)Op::OpDecorateStringGOOGLE: return "OpDecorateStringGOOGLE";
  1386. case (int)Op::OpMemberDecorateStringGOOGLE: return "OpMemberDecorateStringGOOGLE";
  1387. case (int)Op::OpReportIntersectionKHR: return "OpReportIntersectionKHR";
  1388. case (int)Op::OpIgnoreIntersectionNV: return "OpIgnoreIntersectionNV";
  1389. case (int)Op::OpIgnoreIntersectionKHR: return "OpIgnoreIntersectionKHR";
  1390. case (int)Op::OpTerminateRayNV: return "OpTerminateRayNV";
  1391. case (int)Op::OpTerminateRayKHR: return "OpTerminateRayKHR";
  1392. case (int)Op::OpTraceNV: return "OpTraceNV";
  1393. case (int)Op::OpTraceRayMotionNV: return "OpTraceRayMotionNV";
  1394. case (int)Op::OpTraceRayKHR: return "OpTraceRayKHR";
  1395. case (int)Op::OpTypeAccelerationStructureKHR: return "OpTypeAccelerationStructureKHR";
  1396. case (int)Op::OpExecuteCallableNV: return "OpExecuteCallableNV";
  1397. case (int)Op::OpExecuteCallableKHR: return "OpExecuteCallableKHR";
  1398. case (int)Op::OpConvertUToAccelerationStructureKHR: return "OpConvertUToAccelerationStructureKHR";
  1399. case (int)Op::OpGroupNonUniformPartitionNV: return "OpGroupNonUniformPartitionNV";
  1400. case (int)Op::OpImageSampleFootprintNV: return "OpImageSampleFootprintNV";
  1401. case (int)Op::OpWritePackedPrimitiveIndices4x8NV: return "OpWritePackedPrimitiveIndices4x8NV";
  1402. case (int)Op::OpEmitMeshTasksEXT: return "OpEmitMeshTasksEXT";
  1403. case (int)Op::OpSetMeshOutputsEXT: return "OpSetMeshOutputsEXT";
  1404. case (int)Op::OpGroupNonUniformRotateKHR: return "OpGroupNonUniformRotateKHR";
  1405. case (int)Op::OpTypeRayQueryKHR: return "OpTypeRayQueryKHR";
  1406. case (int)Op::OpRayQueryInitializeKHR: return "OpRayQueryInitializeKHR";
  1407. case (int)Op::OpRayQueryTerminateKHR: return "OpRayQueryTerminateKHR";
  1408. case (int)Op::OpRayQueryGenerateIntersectionKHR: return "OpRayQueryGenerateIntersectionKHR";
  1409. case (int)Op::OpRayQueryConfirmIntersectionKHR: return "OpRayQueryConfirmIntersectionKHR";
  1410. case (int)Op::OpRayQueryProceedKHR: return "OpRayQueryProceedKHR";
  1411. case (int)Op::OpRayQueryGetIntersectionTypeKHR: return "OpRayQueryGetIntersectionTypeKHR";
  1412. case (int)Op::OpRayQueryGetRayTMinKHR: return "OpRayQueryGetRayTMinKHR";
  1413. case (int)Op::OpRayQueryGetRayFlagsKHR: return "OpRayQueryGetRayFlagsKHR";
  1414. case (int)Op::OpRayQueryGetIntersectionTKHR: return "OpRayQueryGetIntersectionTKHR";
  1415. case (int)Op::OpRayQueryGetIntersectionInstanceCustomIndexKHR: return "OpRayQueryGetIntersectionInstanceCustomIndexKHR";
  1416. case (int)Op::OpRayQueryGetIntersectionInstanceIdKHR: return "OpRayQueryGetIntersectionInstanceIdKHR";
  1417. case (int)Op::OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR: return "OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR";
  1418. case (int)Op::OpRayQueryGetIntersectionGeometryIndexKHR: return "OpRayQueryGetIntersectionGeometryIndexKHR";
  1419. case (int)Op::OpRayQueryGetIntersectionPrimitiveIndexKHR: return "OpRayQueryGetIntersectionPrimitiveIndexKHR";
  1420. case (int)Op::OpRayQueryGetIntersectionBarycentricsKHR: return "OpRayQueryGetIntersectionBarycentricsKHR";
  1421. case (int)Op::OpRayQueryGetIntersectionFrontFaceKHR: return "OpRayQueryGetIntersectionFrontFaceKHR";
  1422. case (int)Op::OpRayQueryGetIntersectionCandidateAABBOpaqueKHR: return "OpRayQueryGetIntersectionCandidateAABBOpaqueKHR";
  1423. case (int)Op::OpRayQueryGetIntersectionObjectRayDirectionKHR: return "OpRayQueryGetIntersectionObjectRayDirectionKHR";
  1424. case (int)Op::OpRayQueryGetIntersectionObjectRayOriginKHR: return "OpRayQueryGetIntersectionObjectRayOriginKHR";
  1425. case (int)Op::OpRayQueryGetWorldRayDirectionKHR: return "OpRayQueryGetWorldRayDirectionKHR";
  1426. case (int)Op::OpRayQueryGetWorldRayOriginKHR: return "OpRayQueryGetWorldRayOriginKHR";
  1427. case (int)Op::OpRayQueryGetIntersectionObjectToWorldKHR: return "OpRayQueryGetIntersectionObjectToWorldKHR";
  1428. case (int)Op::OpRayQueryGetIntersectionWorldToObjectKHR: return "OpRayQueryGetIntersectionWorldToObjectKHR";
  1429. case (int)Op::OpRayQueryGetIntersectionTriangleVertexPositionsKHR: return "OpRayQueryGetIntersectionTriangleVertexPositionsKHR";
  1430. case (int)Op::OpRayQueryGetClusterIdNV: return "OpRayQueryGetIntersectionClusterIdNV";
  1431. case (int)Op::OpRayQueryGetIntersectionSpherePositionNV: return "OpRayQueryGetIntersectionSpherePositionNV";
  1432. case (int)Op::OpRayQueryGetIntersectionSphereRadiusNV: return "OpRayQueryGetIntersectionSphereRadiusNV";
  1433. case (int)Op::OpRayQueryGetIntersectionLSSHitValueNV: return "OpRayQueryGetIntersectionLSSHitValueNV";
  1434. case (int)Op::OpRayQueryGetIntersectionLSSPositionsNV: return "OpRayQueryGetIntersectionLSSPositionsNV";
  1435. case (int)Op::OpRayQueryGetIntersectionLSSRadiiNV: return "OpRayQueryGetIntersectionLSSRadiiNV";
  1436. case (int)Op::OpRayQueryIsSphereHitNV: return "OpRayQueryIsSphereHitNV";
  1437. case (int)Op::OpRayQueryIsLSSHitNV: return "OpRayQueryIsLSSHitNV";
  1438. case (int)Op::OpTypeCooperativeMatrixNV: return "OpTypeCooperativeMatrixNV";
  1439. case (int)Op::OpCooperativeMatrixLoadNV: return "OpCooperativeMatrixLoadNV";
  1440. case (int)Op::OpCooperativeMatrixStoreNV: return "OpCooperativeMatrixStoreNV";
  1441. case (int)Op::OpCooperativeMatrixMulAddNV: return "OpCooperativeMatrixMulAddNV";
  1442. case (int)Op::OpCooperativeMatrixLengthNV: return "OpCooperativeMatrixLengthNV";
  1443. case (int)Op::OpTypeCooperativeMatrixKHR: return "OpTypeCooperativeMatrixKHR";
  1444. case (int)Op::OpCooperativeMatrixLoadKHR: return "OpCooperativeMatrixLoadKHR";
  1445. case (int)Op::OpCooperativeMatrixStoreKHR: return "OpCooperativeMatrixStoreKHR";
  1446. case (int)Op::OpCooperativeMatrixMulAddKHR: return "OpCooperativeMatrixMulAddKHR";
  1447. case (int)Op::OpCooperativeMatrixLengthKHR: return "OpCooperativeMatrixLengthKHR";
  1448. case (int)Op::OpDemoteToHelperInvocationEXT: return "OpDemoteToHelperInvocationEXT";
  1449. case (int)Op::OpIsHelperInvocationEXT: return "OpIsHelperInvocationEXT";
  1450. case (int)Op::OpCooperativeMatrixConvertNV: return "OpCooperativeMatrixConvertNV";
  1451. case (int)Op::OpCooperativeMatrixTransposeNV: return "OpCooperativeMatrixTransposeNV";
  1452. case (int)Op::OpCooperativeMatrixReduceNV: return "OpCooperativeMatrixReduceNV";
  1453. case (int)Op::OpCooperativeMatrixLoadTensorNV: return "OpCooperativeMatrixLoadTensorNV";
  1454. case (int)Op::OpCooperativeMatrixStoreTensorNV: return "OpCooperativeMatrixStoreTensorNV";
  1455. case (int)Op::OpCooperativeMatrixPerElementOpNV: return "OpCooperativeMatrixPerElementOpNV";
  1456. case (int)Op::OpTypeTensorLayoutNV: return "OpTypeTensorLayoutNV";
  1457. case (int)Op::OpTypeTensorViewNV: return "OpTypeTensorViewNV";
  1458. case (int)Op::OpCreateTensorLayoutNV: return "OpCreateTensorLayoutNV";
  1459. case (int)Op::OpTensorLayoutSetBlockSizeNV: return "OpTensorLayoutSetBlockSizeNV";
  1460. case (int)Op::OpTensorLayoutSetDimensionNV: return "OpTensorLayoutSetDimensionNV";
  1461. case (int)Op::OpTensorLayoutSetStrideNV: return "OpTensorLayoutSetStrideNV";
  1462. case (int)Op::OpTensorLayoutSliceNV: return "OpTensorLayoutSliceNV";
  1463. case (int)Op::OpTensorLayoutSetClampValueNV: return "OpTensorLayoutSetClampValueNV";
  1464. case (int)Op::OpCreateTensorViewNV: return "OpCreateTensorViewNV";
  1465. case (int)Op::OpTensorViewSetDimensionNV: return "OpTensorViewSetDimensionNV";
  1466. case (int)Op::OpTensorViewSetStrideNV: return "OpTensorViewSetStrideNV";
  1467. case (int)Op::OpTensorViewSetClipNV: return "OpTensorViewSetClipNV";
  1468. case (int)Op::OpTypeTensorARM: return "OpTypeTensorARM";
  1469. case (int)Op::OpTensorReadARM: return "OpTensorReadARM";
  1470. case (int)Op::OpTensorWriteARM: return "OpTensorWriteARM";
  1471. case (int)Op::OpTensorQuerySizeARM: return "OpTensorQuerySizeARM";
  1472. case (int)Op::OpTypeCooperativeVectorNV: return "OpTypeCooperativeVectorNV";
  1473. case (int)Op::OpCooperativeVectorMatrixMulNV: return "OpCooperativeVectorMatrixMulNV";
  1474. case (int)Op::OpCooperativeVectorMatrixMulAddNV: return "OpCooperativeVectorMatrixMulAddNV";
  1475. case (int)Op::OpCooperativeVectorLoadNV: return "OpCooperativeVectorLoadNV";
  1476. case (int)Op::OpCooperativeVectorStoreNV: return "OpCooperativeVectorStoreNV";
  1477. case (int)Op::OpCooperativeVectorOuterProductAccumulateNV: return "OpCooperativeVectorOuterProductAccumulateNV";
  1478. case (int)Op::OpCooperativeVectorReduceSumAccumulateNV: return "OpCooperativeVectorReduceSumAccumulateNV";
  1479. case (int)Op::OpBeginInvocationInterlockEXT: return "OpBeginInvocationInterlockEXT";
  1480. case (int)Op::OpEndInvocationInterlockEXT: return "OpEndInvocationInterlockEXT";
  1481. case (int)Op::OpTypeHitObjectNV: return "OpTypeHitObjectNV";
  1482. case (int)Op::OpHitObjectTraceRayNV: return "OpHitObjectTraceRayNV";
  1483. case (int)Op::OpHitObjectTraceRayMotionNV: return "OpHitObjectTraceRayMotionNV";
  1484. case (int)Op::OpHitObjectRecordHitNV: return "OpHitObjectRecordHitNV";
  1485. case (int)Op::OpHitObjectRecordHitMotionNV: return "OpHitObjectRecordHitMotionNV";
  1486. case (int)Op::OpHitObjectRecordHitWithIndexNV: return "OpHitObjectRecordHitWithIndexNV";
  1487. case (int)Op::OpHitObjectRecordHitWithIndexMotionNV: return "OpHitObjectRecordHitWithIndexMotionNV";
  1488. case (int)Op::OpHitObjectRecordMissNV: return "OpHitObjectRecordMissNV";
  1489. case (int)Op::OpHitObjectRecordMissMotionNV: return "OpHitObjectRecordMissMotionNV";
  1490. case (int)Op::OpHitObjectRecordEmptyNV: return "OpHitObjectRecordEmptyNV";
  1491. case (int)Op::OpHitObjectExecuteShaderNV: return "OpHitObjectExecuteShaderNV";
  1492. case (int)Op::OpReorderThreadWithHintNV: return "OpReorderThreadWithHintNV";
  1493. case (int)Op::OpReorderThreadWithHitObjectNV: return "OpReorderThreadWithHitObjectNV";
  1494. case (int)Op::OpHitObjectGetCurrentTimeNV: return "OpHitObjectGetCurrentTimeNV";
  1495. case (int)Op::OpHitObjectGetAttributesNV: return "OpHitObjectGetAttributesNV";
  1496. case (int)Op::OpHitObjectGetHitKindNV: return "OpHitObjectGetFrontFaceNV";
  1497. case (int)Op::OpHitObjectGetPrimitiveIndexNV: return "OpHitObjectGetPrimitiveIndexNV";
  1498. case (int)Op::OpHitObjectGetGeometryIndexNV: return "OpHitObjectGetGeometryIndexNV";
  1499. case (int)Op::OpHitObjectGetInstanceIdNV: return "OpHitObjectGetInstanceIdNV";
  1500. case (int)Op::OpHitObjectGetInstanceCustomIndexNV: return "OpHitObjectGetInstanceCustomIndexNV";
  1501. case (int)Op::OpHitObjectGetObjectRayDirectionNV: return "OpHitObjectGetObjectRayDirectionNV";
  1502. case (int)Op::OpHitObjectGetObjectRayOriginNV: return "OpHitObjectGetObjectRayOriginNV";
  1503. case (int)Op::OpHitObjectGetWorldRayDirectionNV: return "OpHitObjectGetWorldRayDirectionNV";
  1504. case (int)Op::OpHitObjectGetWorldRayOriginNV: return "OpHitObjectGetWorldRayOriginNV";
  1505. case (int)Op::OpHitObjectGetWorldToObjectNV: return "OpHitObjectGetWorldToObjectNV";
  1506. case (int)Op::OpHitObjectGetObjectToWorldNV: return "OpHitObjectGetObjectToWorldNV";
  1507. case (int)Op::OpHitObjectGetRayTMaxNV: return "OpHitObjectGetRayTMaxNV";
  1508. case (int)Op::OpHitObjectGetRayTMinNV: return "OpHitObjectGetRayTMinNV";
  1509. case (int)Op::OpHitObjectIsEmptyNV: return "OpHitObjectIsEmptyNV";
  1510. case (int)Op::OpHitObjectIsHitNV: return "OpHitObjectIsHitNV";
  1511. case (int)Op::OpHitObjectIsMissNV: return "OpHitObjectIsMissNV";
  1512. case (int)Op::OpHitObjectGetShaderBindingTableRecordIndexNV: return "OpHitObjectGetShaderBindingTableRecordIndexNV";
  1513. case (int)Op::OpHitObjectGetShaderRecordBufferHandleNV: return "OpHitObjectGetShaderRecordBufferHandleNV";
  1514. case (int)Op::OpHitObjectGetClusterIdNV: return "OpHitObjectGetClusterIdNV";
  1515. case (int)Op::OpHitObjectGetSpherePositionNV: return "OpHitObjectGetSpherePositionNV";
  1516. case (int)Op::OpHitObjectGetSphereRadiusNV: return "OpHitObjectGetSphereRadiusNV";
  1517. case (int)Op::OpHitObjectGetLSSPositionsNV: return "OpHitObjectGetLSSPositionsNV";
  1518. case (int)Op::OpHitObjectGetLSSRadiiNV: return "OpHitObjectGetLSSRadiiNV";
  1519. case (int)Op::OpHitObjectIsSphereHitNV: return "OpHitObjectIsSphereHitNV";
  1520. case (int)Op::OpHitObjectIsLSSHitNV: return "OpHitObjectIsLSSHitNV";
  1521. case (int)Op::OpFetchMicroTriangleVertexBarycentricNV: return "OpFetchMicroTriangleVertexBarycentricNV";
  1522. case (int)Op::OpFetchMicroTriangleVertexPositionNV: return "OpFetchMicroTriangleVertexPositionNV";
  1523. case (int)Op::OpColorAttachmentReadEXT: return "OpColorAttachmentReadEXT";
  1524. case (int)Op::OpDepthAttachmentReadEXT: return "OpDepthAttachmentReadEXT";
  1525. case (int)Op::OpStencilAttachmentReadEXT: return "OpStencilAttachmentReadEXT";
  1526. case (int)Op::OpImageSampleWeightedQCOM: return "OpImageSampleWeightedQCOM";
  1527. case (int)Op::OpImageBoxFilterQCOM: return "OpImageBoxFilterQCOM";
  1528. case (int)Op::OpImageBlockMatchSADQCOM: return "OpImageBlockMatchSADQCOM";
  1529. case (int)Op::OpImageBlockMatchSSDQCOM: return "OpImageBlockMatchSSDQCOM";
  1530. case (int)Op::OpImageBlockMatchWindowSSDQCOM: return "OpImageBlockMatchWindowSSDQCOM";
  1531. case (int)Op::OpImageBlockMatchWindowSADQCOM: return "OpImageBlockMatchWindowSADQCOM";
  1532. case (int)Op::OpImageBlockMatchGatherSSDQCOM: return "OpImageBlockMatchGatherSSDQCOM";
  1533. case (int)Op::OpImageBlockMatchGatherSADQCOM: return "OpImageBlockMatchGatherSADQCOM";
  1534. case (int)Op::OpBitCastArrayQCOM: return "OpBitCastArrayQCOM";
  1535. case (int)Op::OpCompositeConstructCoopMatQCOM: return "OpCompositeConstructCoopMatQCOM";
  1536. case (int)Op::OpCompositeExtractCoopMatQCOM: return "OpCompositeExtractCoopMatQCOM";
  1537. case (int)Op::OpExtractSubArrayQCOM: return "OpExtractSubArrayQCOM";
  1538. case (int)Op::OpConstantCompositeReplicateEXT: return "OpConstantCompositeReplicateEXT";
  1539. case (int)Op::OpSpecConstantCompositeReplicateEXT: return "OpSpecConstantCompositeReplicateEXT";
  1540. case (int)Op::OpCompositeConstructReplicateEXT: return "OpCompositeConstructReplicateEXT";
  1541. case (int)Op::OpSDotKHR: return "OpSDotKHR";
  1542. case (int)Op::OpUDotKHR: return "OpUDotKHR";
  1543. case (int)Op::OpSUDotKHR: return "OpSUDotKHR";
  1544. case (int)Op::OpSDotAccSatKHR: return "OpSDotAccSatKHR";
  1545. case (int)Op::OpUDotAccSatKHR: return "OpUDotAccSatKHR";
  1546. case (int)Op::OpSUDotAccSatKHR: return "OpSUDotAccSatKHR";
  1547. default:
  1548. return "Bad";
  1549. }
  1550. }
  1551. // The set of objects that hold all the instruction/operand
  1552. // parameterization information.
  1553. InstructionParameters InstructionDesc[OpCodeMask + 1];
  1554. OperandParameters ExecutionModeOperands[ExecutionModeCeiling];
  1555. OperandParameters DecorationOperands[DecorationCeiling];
  1556. EnumDefinition OperandClassParams[OperandCount];
  1557. EnumParameters ExecutionModeParams[ExecutionModeCeiling];
  1558. EnumParameters ImageOperandsParams[ImageOperandsCeiling];
  1559. EnumParameters DecorationParams[DecorationCeiling];
  1560. EnumParameters LoopControlParams[FunctionControlCeiling];
  1561. EnumParameters SelectionControlParams[SelectControlCeiling];
  1562. EnumParameters FunctionControlParams[FunctionControlCeiling];
  1563. EnumParameters MemoryAccessParams[MemoryAccessCeiling];
  1564. EnumParameters CooperativeMatrixOperandsParams[CooperativeMatrixOperandsCeiling];
  1565. EnumParameters TensorAddressingOperandsParams[TensorAddressingOperandsCeiling];
  1566. // Set up all the parameterizing descriptions of the opcodes, operands, etc.
  1567. void Parameterize()
  1568. {
  1569. // only do this once.
  1570. static std::once_flag initialized;
  1571. std::call_once(initialized, [](){
  1572. // Exceptions to having a result <id> and a resulting type <id>.
  1573. // (Everything is initialized to have both).
  1574. InstructionDesc[enumCast(Op::OpNop)].setResultAndType(false, false);
  1575. InstructionDesc[enumCast(Op::OpSource)].setResultAndType(false, false);
  1576. InstructionDesc[enumCast(Op::OpSourceContinued)].setResultAndType(false, false);
  1577. InstructionDesc[enumCast(Op::OpSourceExtension)].setResultAndType(false, false);
  1578. InstructionDesc[enumCast(Op::OpExtension)].setResultAndType(false, false);
  1579. InstructionDesc[enumCast(Op::OpExtInstImport)].setResultAndType(true, false);
  1580. InstructionDesc[enumCast(Op::OpCapability)].setResultAndType(false, false);
  1581. InstructionDesc[enumCast(Op::OpMemoryModel)].setResultAndType(false, false);
  1582. InstructionDesc[enumCast(Op::OpEntryPoint)].setResultAndType(false, false);
  1583. InstructionDesc[enumCast(Op::OpExecutionMode)].setResultAndType(false, false);
  1584. InstructionDesc[enumCast(Op::OpExecutionModeId)].setResultAndType(false, false);
  1585. InstructionDesc[enumCast(Op::OpTypeVoid)].setResultAndType(true, false);
  1586. InstructionDesc[enumCast(Op::OpTypeBool)].setResultAndType(true, false);
  1587. InstructionDesc[enumCast(Op::OpTypeInt)].setResultAndType(true, false);
  1588. InstructionDesc[enumCast(Op::OpTypeFloat)].setResultAndType(true, false);
  1589. InstructionDesc[enumCast(Op::OpTypeVector)].setResultAndType(true, false);
  1590. InstructionDesc[enumCast(Op::OpTypeMatrix)].setResultAndType(true, false);
  1591. InstructionDesc[enumCast(Op::OpTypeImage)].setResultAndType(true, false);
  1592. InstructionDesc[enumCast(Op::OpTypeSampler)].setResultAndType(true, false);
  1593. InstructionDesc[enumCast(Op::OpTypeSampledImage)].setResultAndType(true, false);
  1594. InstructionDesc[enumCast(Op::OpTypeArray)].setResultAndType(true, false);
  1595. InstructionDesc[enumCast(Op::OpTypeRuntimeArray)].setResultAndType(true, false);
  1596. InstructionDesc[enumCast(Op::OpTypeStruct)].setResultAndType(true, false);
  1597. InstructionDesc[enumCast(Op::OpTypeOpaque)].setResultAndType(true, false);
  1598. InstructionDesc[enumCast(Op::OpTypePointer)].setResultAndType(true, false);
  1599. InstructionDesc[enumCast(Op::OpTypeForwardPointer)].setResultAndType(false, false);
  1600. InstructionDesc[enumCast(Op::OpTypeFunction)].setResultAndType(true, false);
  1601. InstructionDesc[enumCast(Op::OpTypeEvent)].setResultAndType(true, false);
  1602. InstructionDesc[enumCast(Op::OpTypeDeviceEvent)].setResultAndType(true, false);
  1603. InstructionDesc[enumCast(Op::OpTypeReserveId)].setResultAndType(true, false);
  1604. InstructionDesc[enumCast(Op::OpTypeQueue)].setResultAndType(true, false);
  1605. InstructionDesc[enumCast(Op::OpTypePipe)].setResultAndType(true, false);
  1606. InstructionDesc[enumCast(Op::OpFunctionEnd)].setResultAndType(false, false);
  1607. InstructionDesc[enumCast(Op::OpStore)].setResultAndType(false, false);
  1608. InstructionDesc[enumCast(Op::OpImageWrite)].setResultAndType(false, false);
  1609. InstructionDesc[enumCast(Op::OpDecorationGroup)].setResultAndType(true, false);
  1610. InstructionDesc[enumCast(Op::OpDecorate)].setResultAndType(false, false);
  1611. InstructionDesc[enumCast(Op::OpDecorateId)].setResultAndType(false, false);
  1612. InstructionDesc[enumCast(Op::OpDecorateStringGOOGLE)].setResultAndType(false, false);
  1613. InstructionDesc[enumCast(Op::OpMemberDecorate)].setResultAndType(false, false);
  1614. InstructionDesc[enumCast(Op::OpMemberDecorateStringGOOGLE)].setResultAndType(false, false);
  1615. InstructionDesc[enumCast(Op::OpGroupDecorate)].setResultAndType(false, false);
  1616. InstructionDesc[enumCast(Op::OpGroupMemberDecorate)].setResultAndType(false, false);
  1617. InstructionDesc[enumCast(Op::OpName)].setResultAndType(false, false);
  1618. InstructionDesc[enumCast(Op::OpMemberName)].setResultAndType(false, false);
  1619. InstructionDesc[enumCast(Op::OpString)].setResultAndType(true, false);
  1620. InstructionDesc[enumCast(Op::OpLine)].setResultAndType(false, false);
  1621. InstructionDesc[enumCast(Op::OpNoLine)].setResultAndType(false, false);
  1622. InstructionDesc[enumCast(Op::OpCopyMemory)].setResultAndType(false, false);
  1623. InstructionDesc[enumCast(Op::OpCopyMemorySized)].setResultAndType(false, false);
  1624. InstructionDesc[enumCast(Op::OpEmitVertex)].setResultAndType(false, false);
  1625. InstructionDesc[enumCast(Op::OpEndPrimitive)].setResultAndType(false, false);
  1626. InstructionDesc[enumCast(Op::OpEmitStreamVertex)].setResultAndType(false, false);
  1627. InstructionDesc[enumCast(Op::OpEndStreamPrimitive)].setResultAndType(false, false);
  1628. InstructionDesc[enumCast(Op::OpControlBarrier)].setResultAndType(false, false);
  1629. InstructionDesc[enumCast(Op::OpMemoryBarrier)].setResultAndType(false, false);
  1630. InstructionDesc[enumCast(Op::OpAtomicStore)].setResultAndType(false, false);
  1631. InstructionDesc[enumCast(Op::OpLoopMerge)].setResultAndType(false, false);
  1632. InstructionDesc[enumCast(Op::OpSelectionMerge)].setResultAndType(false, false);
  1633. InstructionDesc[enumCast(Op::OpLabel)].setResultAndType(true, false);
  1634. InstructionDesc[enumCast(Op::OpBranch)].setResultAndType(false, false);
  1635. InstructionDesc[enumCast(Op::OpBranchConditional)].setResultAndType(false, false);
  1636. InstructionDesc[enumCast(Op::OpSwitch)].setResultAndType(false, false);
  1637. InstructionDesc[enumCast(Op::OpKill)].setResultAndType(false, false);
  1638. InstructionDesc[enumCast(Op::OpTerminateInvocation)].setResultAndType(false, false);
  1639. InstructionDesc[enumCast(Op::OpReturn)].setResultAndType(false, false);
  1640. InstructionDesc[enumCast(Op::OpReturnValue)].setResultAndType(false, false);
  1641. InstructionDesc[enumCast(Op::OpUnreachable)].setResultAndType(false, false);
  1642. InstructionDesc[enumCast(Op::OpLifetimeStart)].setResultAndType(false, false);
  1643. InstructionDesc[enumCast(Op::OpLifetimeStop)].setResultAndType(false, false);
  1644. InstructionDesc[enumCast(Op::OpCommitReadPipe)].setResultAndType(false, false);
  1645. InstructionDesc[enumCast(Op::OpCommitWritePipe)].setResultAndType(false, false);
  1646. InstructionDesc[enumCast(Op::OpGroupCommitWritePipe)].setResultAndType(false, false);
  1647. InstructionDesc[enumCast(Op::OpGroupCommitReadPipe)].setResultAndType(false, false);
  1648. InstructionDesc[enumCast(Op::OpCaptureEventProfilingInfo)].setResultAndType(false, false);
  1649. InstructionDesc[enumCast(Op::OpSetUserEventStatus)].setResultAndType(false, false);
  1650. InstructionDesc[enumCast(Op::OpRetainEvent)].setResultAndType(false, false);
  1651. InstructionDesc[enumCast(Op::OpReleaseEvent)].setResultAndType(false, false);
  1652. InstructionDesc[enumCast(Op::OpGroupWaitEvents)].setResultAndType(false, false);
  1653. InstructionDesc[enumCast(Op::OpAtomicFlagClear)].setResultAndType(false, false);
  1654. InstructionDesc[enumCast(Op::OpModuleProcessed)].setResultAndType(false, false);
  1655. InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixNV)].setResultAndType(true, false);
  1656. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].setResultAndType(false, false);
  1657. InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixKHR)].setResultAndType(true, false);
  1658. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].setResultAndType(false, false);
  1659. InstructionDesc[enumCast(Op::OpBeginInvocationInterlockEXT)].setResultAndType(false, false);
  1660. InstructionDesc[enumCast(Op::OpEndInvocationInterlockEXT)].setResultAndType(false, false);
  1661. InstructionDesc[enumCast(Op::OpAssumeTrueKHR)].setResultAndType(false, false);
  1662. InstructionDesc[enumCast(Op::OpTypeTensorLayoutNV)].setResultAndType(true, false);
  1663. InstructionDesc[enumCast(Op::OpTypeTensorViewNV)].setResultAndType(true, false);
  1664. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreTensorNV)].setResultAndType(false, false);
  1665. InstructionDesc[enumCast(Op::OpTypeCooperativeVectorNV)].setResultAndType(true, false);
  1666. InstructionDesc[enumCast(Op::OpCooperativeVectorStoreNV)].setResultAndType(false, false);
  1667. InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].setResultAndType(false, false);
  1668. InstructionDesc[enumCast(Op::OpCooperativeVectorReduceSumAccumulateNV)].setResultAndType(false, false);
  1669. InstructionDesc[enumCast(Op::OpTypeTensorARM)].setResultAndType(true, false);
  1670. InstructionDesc[enumCast(Op::OpTensorReadARM)].setResultAndType(true, true);
  1671. InstructionDesc[enumCast(Op::OpTensorWriteARM)].setResultAndType(false, false);
  1672. // Specific additional context-dependent operands
  1673. ExecutionModeOperands[enumCast(ExecutionMode::Invocations)].push(OperandLiteralNumber, "'Number of <<Invocation,invocations>>'");
  1674. ExecutionModeOperands[enumCast(ExecutionMode::LocalSize)].push(OperandLiteralNumber, "'x size'");
  1675. ExecutionModeOperands[enumCast(ExecutionMode::LocalSize)].push(OperandLiteralNumber, "'y size'");
  1676. ExecutionModeOperands[enumCast(ExecutionMode::LocalSize)].push(OperandLiteralNumber, "'z size'");
  1677. ExecutionModeOperands[enumCast(ExecutionMode::LocalSizeHint)].push(OperandLiteralNumber, "'x size'");
  1678. ExecutionModeOperands[enumCast(ExecutionMode::LocalSizeHint)].push(OperandLiteralNumber, "'y size'");
  1679. ExecutionModeOperands[enumCast(ExecutionMode::LocalSizeHint)].push(OperandLiteralNumber, "'z size'");
  1680. ExecutionModeOperands[enumCast(ExecutionMode::OutputVertices)].push(OperandLiteralNumber, "'Vertex count'");
  1681. ExecutionModeOperands[enumCast(ExecutionMode::VecTypeHint)].push(OperandLiteralNumber, "'Vector type'");
  1682. DecorationOperands[enumCast(Decoration::Stream)].push(OperandLiteralNumber, "'Stream Number'");
  1683. DecorationOperands[enumCast(Decoration::Location)].push(OperandLiteralNumber, "'Location'");
  1684. DecorationOperands[enumCast(Decoration::Component)].push(OperandLiteralNumber, "'Component'");
  1685. DecorationOperands[enumCast(Decoration::Index)].push(OperandLiteralNumber, "'Index'");
  1686. DecorationOperands[enumCast(Decoration::Binding)].push(OperandLiteralNumber, "'Binding Point'");
  1687. DecorationOperands[enumCast(Decoration::DescriptorSet)].push(OperandLiteralNumber, "'Descriptor Set'");
  1688. DecorationOperands[enumCast(Decoration::Offset)].push(OperandLiteralNumber, "'Byte Offset'");
  1689. DecorationOperands[enumCast(Decoration::XfbBuffer)].push(OperandLiteralNumber, "'XFB Buffer Number'");
  1690. DecorationOperands[enumCast(Decoration::XfbStride)].push(OperandLiteralNumber, "'XFB Stride'");
  1691. DecorationOperands[enumCast(Decoration::ArrayStride)].push(OperandLiteralNumber, "'Array Stride'");
  1692. DecorationOperands[enumCast(Decoration::MatrixStride)].push(OperandLiteralNumber, "'Matrix Stride'");
  1693. DecorationOperands[enumCast(Decoration::BuiltIn)].push(OperandLiteralNumber, "See <<BuiltIn,*BuiltIn*>>");
  1694. DecorationOperands[enumCast(Decoration::FPRoundingMode)].push(OperandFPRoundingMode, "'Floating-Point Rounding Mode'");
  1695. DecorationOperands[enumCast(Decoration::FPFastMathMode)].push(OperandFPFastMath, "'Fast-Math Mode'");
  1696. DecorationOperands[enumCast(Decoration::LinkageAttributes)].push(OperandLiteralString, "'Name'");
  1697. DecorationOperands[enumCast(Decoration::LinkageAttributes)].push(OperandLinkageType, "'Linkage Type'");
  1698. DecorationOperands[enumCast(Decoration::FuncParamAttr)].push(OperandFuncParamAttr, "'Function Parameter Attribute'");
  1699. DecorationOperands[enumCast(Decoration::SpecId)].push(OperandLiteralNumber, "'Specialization Constant ID'");
  1700. DecorationOperands[enumCast(Decoration::InputAttachmentIndex)].push(OperandLiteralNumber, "'Attachment Index'");
  1701. DecorationOperands[enumCast(Decoration::Alignment)].push(OperandLiteralNumber, "'Alignment'");
  1702. OperandClassParams[OperandSource].set(0, SourceString, nullptr);
  1703. OperandClassParams[OperandExecutionModel].set(0, ExecutionModelString, nullptr);
  1704. OperandClassParams[OperandAddressing].set(0, AddressingString, nullptr);
  1705. OperandClassParams[OperandMemory].set(0, MemoryString, nullptr);
  1706. OperandClassParams[OperandExecutionMode].set(ExecutionModeCeiling, ExecutionModeString, ExecutionModeParams);
  1707. OperandClassParams[OperandExecutionMode].setOperands(ExecutionModeOperands);
  1708. OperandClassParams[OperandStorage].set(0, StorageClassString, nullptr);
  1709. OperandClassParams[OperandDimensionality].set(0, DimensionString, nullptr);
  1710. OperandClassParams[OperandSamplerAddressingMode].set(0, SamplerAddressingModeString, nullptr);
  1711. OperandClassParams[OperandSamplerFilterMode].set(0, SamplerFilterModeString, nullptr);
  1712. OperandClassParams[OperandSamplerImageFormat].set(0, ImageFormatString, nullptr);
  1713. OperandClassParams[OperandImageChannelOrder].set(0, ImageChannelOrderString, nullptr);
  1714. OperandClassParams[OperandImageChannelDataType].set(0, ImageChannelDataTypeString, nullptr);
  1715. OperandClassParams[OperandImageOperands].set(ImageOperandsCeiling, ImageOperandsString, ImageOperandsParams, true);
  1716. OperandClassParams[OperandFPFastMath].set(0, FPFastMathString, nullptr, true);
  1717. OperandClassParams[OperandFPRoundingMode].set(0, FPRoundingModeString, nullptr);
  1718. OperandClassParams[OperandLinkageType].set(0, LinkageTypeString, nullptr);
  1719. OperandClassParams[OperandFuncParamAttr].set(0, FuncParamAttrString, nullptr);
  1720. OperandClassParams[OperandAccessQualifier].set(0, AccessQualifierString, nullptr);
  1721. OperandClassParams[OperandDecoration].set(DecorationCeiling, DecorationString, DecorationParams);
  1722. OperandClassParams[OperandDecoration].setOperands(DecorationOperands);
  1723. OperandClassParams[OperandBuiltIn].set(0, BuiltInString, nullptr);
  1724. OperandClassParams[OperandSelect].set(SelectControlCeiling, SelectControlString, SelectionControlParams, true);
  1725. OperandClassParams[OperandLoop].set(LoopControlCeiling, LoopControlString, LoopControlParams, true);
  1726. OperandClassParams[OperandFunction].set(FunctionControlCeiling, FunctionControlString, FunctionControlParams, true);
  1727. OperandClassParams[OperandMemorySemantics].set(0, MemorySemanticsString, nullptr, true);
  1728. OperandClassParams[OperandMemoryAccess].set(MemoryAccessCeiling, MemoryAccessString, MemoryAccessParams, true);
  1729. OperandClassParams[OperandScope].set(0, ScopeString, nullptr);
  1730. OperandClassParams[OperandGroupOperation].set(0, GroupOperationString, nullptr);
  1731. OperandClassParams[OperandKernelEnqueueFlags].set(0, KernelEnqueueFlagsString, nullptr);
  1732. OperandClassParams[OperandKernelProfilingInfo].set(0, KernelProfilingInfoString, nullptr, true);
  1733. OperandClassParams[OperandCapability].set(0, CapabilityString, nullptr);
  1734. OperandClassParams[OperandCooperativeMatrixOperands].set(CooperativeMatrixOperandsCeiling, CooperativeMatrixOperandsString, CooperativeMatrixOperandsParams, true);
  1735. OperandClassParams[OperandTensorAddressingOperands].set(TensorAddressingOperandsCeiling, TensorAddressingOperandsString, TensorAddressingOperandsParams, true);
  1736. OperandClassParams[OperandOpcode].set(OpCodeMask + 1, OpcodeString, nullptr);
  1737. // set name of operator, an initial set of <id> style operands, and the description
  1738. InstructionDesc[enumCast(Op::OpSource)].operands.push(OperandSource, "");
  1739. InstructionDesc[enumCast(Op::OpSource)].operands.push(OperandLiteralNumber, "'Version'");
  1740. InstructionDesc[enumCast(Op::OpSource)].operands.push(OperandId, "'File'", true);
  1741. InstructionDesc[enumCast(Op::OpSource)].operands.push(OperandLiteralString, "'Source'", true);
  1742. InstructionDesc[enumCast(Op::OpSourceContinued)].operands.push(OperandLiteralString, "'Continued Source'");
  1743. InstructionDesc[enumCast(Op::OpSourceExtension)].operands.push(OperandLiteralString, "'Extension'");
  1744. InstructionDesc[enumCast(Op::OpName)].operands.push(OperandId, "'Target'");
  1745. InstructionDesc[enumCast(Op::OpName)].operands.push(OperandLiteralString, "'Name'");
  1746. InstructionDesc[enumCast(Op::OpMemberName)].operands.push(OperandId, "'Type'");
  1747. InstructionDesc[enumCast(Op::OpMemberName)].operands.push(OperandLiteralNumber, "'Member'");
  1748. InstructionDesc[enumCast(Op::OpMemberName)].operands.push(OperandLiteralString, "'Name'");
  1749. InstructionDesc[enumCast(Op::OpString)].operands.push(OperandLiteralString, "'String'");
  1750. InstructionDesc[enumCast(Op::OpLine)].operands.push(OperandId, "'File'");
  1751. InstructionDesc[enumCast(Op::OpLine)].operands.push(OperandLiteralNumber, "'Line'");
  1752. InstructionDesc[enumCast(Op::OpLine)].operands.push(OperandLiteralNumber, "'Column'");
  1753. InstructionDesc[enumCast(Op::OpExtension)].operands.push(OperandLiteralString, "'Name'");
  1754. InstructionDesc[enumCast(Op::OpExtInstImport)].operands.push(OperandLiteralString, "'Name'");
  1755. InstructionDesc[enumCast(Op::OpCapability)].operands.push(OperandCapability, "'Capability'");
  1756. InstructionDesc[enumCast(Op::OpMemoryModel)].operands.push(OperandAddressing, "");
  1757. InstructionDesc[enumCast(Op::OpMemoryModel)].operands.push(OperandMemory, "");
  1758. InstructionDesc[enumCast(Op::OpEntryPoint)].operands.push(OperandExecutionModel, "");
  1759. InstructionDesc[enumCast(Op::OpEntryPoint)].operands.push(OperandId, "'Entry Point'");
  1760. InstructionDesc[enumCast(Op::OpEntryPoint)].operands.push(OperandLiteralString, "'Name'");
  1761. InstructionDesc[enumCast(Op::OpEntryPoint)].operands.push(OperandVariableIds, "'Interface'");
  1762. InstructionDesc[enumCast(Op::OpExecutionMode)].operands.push(OperandId, "'Entry Point'");
  1763. InstructionDesc[enumCast(Op::OpExecutionMode)].operands.push(OperandExecutionMode, "'Mode'");
  1764. InstructionDesc[enumCast(Op::OpExecutionMode)].operands.push(OperandOptionalLiteral, "See <<Execution_Mode,Execution Mode>>");
  1765. InstructionDesc[enumCast(Op::OpExecutionModeId)].operands.push(OperandId, "'Entry Point'");
  1766. InstructionDesc[enumCast(Op::OpExecutionModeId)].operands.push(OperandExecutionMode, "'Mode'");
  1767. InstructionDesc[enumCast(Op::OpExecutionModeId)].operands.push(OperandVariableIds, "See <<Execution_Mode,Execution Mode>>");
  1768. InstructionDesc[enumCast(Op::OpTypeInt)].operands.push(OperandLiteralNumber, "'Width'");
  1769. InstructionDesc[enumCast(Op::OpTypeInt)].operands.push(OperandLiteralNumber, "'Signedness'");
  1770. InstructionDesc[enumCast(Op::OpTypeFloat)].operands.push(OperandLiteralNumber, "'Width'");
  1771. InstructionDesc[enumCast(Op::OpTypeFloat)].operands.push(OperandOptionalLiteral, "'FP Encoding'");
  1772. InstructionDesc[enumCast(Op::OpTypeVector)].operands.push(OperandId, "'Component Type'");
  1773. InstructionDesc[enumCast(Op::OpTypeVector)].operands.push(OperandLiteralNumber, "'Component Count'");
  1774. InstructionDesc[enumCast(Op::OpTypeMatrix)].operands.push(OperandId, "'Column Type'");
  1775. InstructionDesc[enumCast(Op::OpTypeMatrix)].operands.push(OperandLiteralNumber, "'Column Count'");
  1776. InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandId, "'Sampled Type'");
  1777. InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandDimensionality, "");
  1778. InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandLiteralNumber, "'Depth'");
  1779. InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandLiteralNumber, "'Arrayed'");
  1780. InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandLiteralNumber, "'MS'");
  1781. InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandLiteralNumber, "'Sampled'");
  1782. InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandSamplerImageFormat, "");
  1783. InstructionDesc[enumCast(Op::OpTypeImage)].operands.push(OperandAccessQualifier, "", true);
  1784. InstructionDesc[enumCast(Op::OpTypeSampledImage)].operands.push(OperandId, "'Image Type'");
  1785. InstructionDesc[enumCast(Op::OpTypeArray)].operands.push(OperandId, "'Element Type'");
  1786. InstructionDesc[enumCast(Op::OpTypeArray)].operands.push(OperandId, "'Length'");
  1787. InstructionDesc[enumCast(Op::OpTypeRuntimeArray)].operands.push(OperandId, "'Element Type'");
  1788. InstructionDesc[enumCast(Op::OpTypeStruct)].operands.push(OperandVariableIds, "'Member 0 type', +\n'member 1 type', +\n...");
  1789. InstructionDesc[enumCast(Op::OpTypeOpaque)].operands.push(OperandLiteralString, "The name of the opaque type.");
  1790. InstructionDesc[enumCast(Op::OpTypePointer)].operands.push(OperandStorage, "");
  1791. InstructionDesc[enumCast(Op::OpTypePointer)].operands.push(OperandId, "'Type'");
  1792. InstructionDesc[enumCast(Op::OpTypeForwardPointer)].operands.push(OperandId, "'Pointer Type'");
  1793. InstructionDesc[enumCast(Op::OpTypeForwardPointer)].operands.push(OperandStorage, "");
  1794. InstructionDesc[enumCast(Op::OpTypePipe)].operands.push(OperandAccessQualifier, "'Qualifier'");
  1795. InstructionDesc[enumCast(Op::OpTypeFunction)].operands.push(OperandId, "'Return Type'");
  1796. InstructionDesc[enumCast(Op::OpTypeFunction)].operands.push(OperandVariableIds, "'Parameter 0 Type', +\n'Parameter 1 Type', +\n...");
  1797. InstructionDesc[enumCast(Op::OpConstant)].operands.push(OperandVariableLiterals, "'Value'");
  1798. InstructionDesc[enumCast(Op::OpConstantComposite)].operands.push(OperandVariableIds, "'Constituents'");
  1799. InstructionDesc[enumCast(Op::OpConstantSampler)].operands.push(OperandSamplerAddressingMode, "");
  1800. InstructionDesc[enumCast(Op::OpConstantSampler)].operands.push(OperandLiteralNumber, "'Param'");
  1801. InstructionDesc[enumCast(Op::OpConstantSampler)].operands.push(OperandSamplerFilterMode, "");
  1802. InstructionDesc[enumCast(Op::OpSpecConstant)].operands.push(OperandVariableLiterals, "'Value'");
  1803. InstructionDesc[enumCast(Op::OpSpecConstantComposite)].operands.push(OperandVariableIds, "'Constituents'");
  1804. InstructionDesc[enumCast(Op::OpSpecConstantOp)].operands.push(OperandLiteralNumber, "'Opcode'");
  1805. InstructionDesc[enumCast(Op::OpSpecConstantOp)].operands.push(OperandVariableIds, "'Operands'");
  1806. InstructionDesc[enumCast(Op::OpVariable)].operands.push(OperandStorage, "");
  1807. InstructionDesc[enumCast(Op::OpVariable)].operands.push(OperandId, "'Initializer'", true);
  1808. InstructionDesc[enumCast(Op::OpFunction)].operands.push(OperandFunction, "");
  1809. InstructionDesc[enumCast(Op::OpFunction)].operands.push(OperandId, "'Function Type'");
  1810. InstructionDesc[enumCast(Op::OpFunctionCall)].operands.push(OperandId, "'Function'");
  1811. InstructionDesc[enumCast(Op::OpFunctionCall)].operands.push(OperandVariableIds, "'Argument 0', +\n'Argument 1', +\n...");
  1812. InstructionDesc[enumCast(Op::OpExtInst)].operands.push(OperandId, "'Set'");
  1813. InstructionDesc[enumCast(Op::OpExtInst)].operands.push(OperandLiteralNumber, "'Instruction'");
  1814. InstructionDesc[enumCast(Op::OpExtInst)].operands.push(OperandVariableIds, "'Operand 1', +\n'Operand 2', +\n...");
  1815. InstructionDesc[enumCast(Op::OpExtInstWithForwardRefsKHR)].operands.push(OperandId, "'Set'");
  1816. InstructionDesc[enumCast(Op::OpExtInstWithForwardRefsKHR)].operands.push(OperandLiteralNumber, "'Instruction'");
  1817. InstructionDesc[enumCast(Op::OpExtInstWithForwardRefsKHR)].operands.push(OperandVariableIds, "'Operand 1', +\n'Operand 2', +\n...");
  1818. InstructionDesc[enumCast(Op::OpLoad)].operands.push(OperandId, "'Pointer'");
  1819. InstructionDesc[enumCast(Op::OpLoad)].operands.push(OperandMemoryAccess, "", true);
  1820. InstructionDesc[enumCast(Op::OpLoad)].operands.push(OperandLiteralNumber, "", true);
  1821. InstructionDesc[enumCast(Op::OpLoad)].operands.push(OperandId, "", true);
  1822. InstructionDesc[enumCast(Op::OpStore)].operands.push(OperandId, "'Pointer'");
  1823. InstructionDesc[enumCast(Op::OpStore)].operands.push(OperandId, "'Object'");
  1824. InstructionDesc[enumCast(Op::OpStore)].operands.push(OperandMemoryAccess, "", true);
  1825. InstructionDesc[enumCast(Op::OpStore)].operands.push(OperandLiteralNumber, "", true);
  1826. InstructionDesc[enumCast(Op::OpStore)].operands.push(OperandId, "", true);
  1827. InstructionDesc[enumCast(Op::OpPhi)].operands.push(OperandVariableIds, "'Variable, Parent, ...'");
  1828. InstructionDesc[enumCast(Op::OpDecorate)].operands.push(OperandId, "'Target'");
  1829. InstructionDesc[enumCast(Op::OpDecorate)].operands.push(OperandDecoration, "");
  1830. InstructionDesc[enumCast(Op::OpDecorate)].operands.push(OperandVariableLiterals, "See <<Decoration,'Decoration'>>.");
  1831. InstructionDesc[enumCast(Op::OpDecorateId)].operands.push(OperandId, "'Target'");
  1832. InstructionDesc[enumCast(Op::OpDecorateId)].operands.push(OperandDecoration, "");
  1833. InstructionDesc[enumCast(Op::OpDecorateId)].operands.push(OperandVariableIds, "See <<Decoration,'Decoration'>>.");
  1834. InstructionDesc[enumCast(Op::OpDecorateStringGOOGLE)].operands.push(OperandId, "'Target'");
  1835. InstructionDesc[enumCast(Op::OpDecorateStringGOOGLE)].operands.push(OperandDecoration, "");
  1836. InstructionDesc[enumCast(Op::OpDecorateStringGOOGLE)].operands.push(OperandVariableLiteralStrings, "'Literal Strings'");
  1837. InstructionDesc[enumCast(Op::OpMemberDecorate)].operands.push(OperandId, "'Structure Type'");
  1838. InstructionDesc[enumCast(Op::OpMemberDecorate)].operands.push(OperandLiteralNumber, "'Member'");
  1839. InstructionDesc[enumCast(Op::OpMemberDecorate)].operands.push(OperandDecoration, "");
  1840. InstructionDesc[enumCast(Op::OpMemberDecorate)].operands.push(OperandVariableLiterals, "See <<Decoration,'Decoration'>>.");
  1841. InstructionDesc[enumCast(Op::OpMemberDecorateStringGOOGLE)].operands.push(OperandId, "'Structure Type'");
  1842. InstructionDesc[enumCast(Op::OpMemberDecorateStringGOOGLE)].operands.push(OperandLiteralNumber, "'Member'");
  1843. InstructionDesc[enumCast(Op::OpMemberDecorateStringGOOGLE)].operands.push(OperandDecoration, "");
  1844. InstructionDesc[enumCast(Op::OpMemberDecorateStringGOOGLE)].operands.push(OperandVariableLiteralStrings, "'Literal Strings'");
  1845. InstructionDesc[enumCast(Op::OpGroupDecorate)].operands.push(OperandId, "'Decoration Group'");
  1846. InstructionDesc[enumCast(Op::OpGroupDecorate)].operands.push(OperandVariableIds, "'Targets'");
  1847. InstructionDesc[enumCast(Op::OpGroupMemberDecorate)].operands.push(OperandId, "'Decoration Group'");
  1848. InstructionDesc[enumCast(Op::OpGroupMemberDecorate)].operands.push(OperandVariableIdLiteral, "'Targets'");
  1849. InstructionDesc[enumCast(Op::OpVectorExtractDynamic)].operands.push(OperandId, "'Vector'");
  1850. InstructionDesc[enumCast(Op::OpVectorExtractDynamic)].operands.push(OperandId, "'Index'");
  1851. InstructionDesc[enumCast(Op::OpVectorInsertDynamic)].operands.push(OperandId, "'Vector'");
  1852. InstructionDesc[enumCast(Op::OpVectorInsertDynamic)].operands.push(OperandId, "'Component'");
  1853. InstructionDesc[enumCast(Op::OpVectorInsertDynamic)].operands.push(OperandId, "'Index'");
  1854. InstructionDesc[enumCast(Op::OpVectorShuffle)].operands.push(OperandId, "'Vector 1'");
  1855. InstructionDesc[enumCast(Op::OpVectorShuffle)].operands.push(OperandId, "'Vector 2'");
  1856. InstructionDesc[enumCast(Op::OpVectorShuffle)].operands.push(OperandVariableLiterals, "'Components'");
  1857. InstructionDesc[enumCast(Op::OpCompositeConstruct)].operands.push(OperandVariableIds, "'Constituents'");
  1858. InstructionDesc[enumCast(Op::OpCompositeExtract)].operands.push(OperandId, "'Composite'");
  1859. InstructionDesc[enumCast(Op::OpCompositeExtract)].operands.push(OperandVariableLiterals, "'Indexes'");
  1860. InstructionDesc[enumCast(Op::OpCompositeInsert)].operands.push(OperandId, "'Object'");
  1861. InstructionDesc[enumCast(Op::OpCompositeInsert)].operands.push(OperandId, "'Composite'");
  1862. InstructionDesc[enumCast(Op::OpCompositeInsert)].operands.push(OperandVariableLiterals, "'Indexes'");
  1863. InstructionDesc[enumCast(Op::OpCopyObject)].operands.push(OperandId, "'Operand'");
  1864. InstructionDesc[enumCast(Op::OpCopyMemory)].operands.push(OperandId, "'Target'");
  1865. InstructionDesc[enumCast(Op::OpCopyMemory)].operands.push(OperandId, "'Source'");
  1866. InstructionDesc[enumCast(Op::OpCopyMemory)].operands.push(OperandMemoryAccess, "", true);
  1867. InstructionDesc[enumCast(Op::OpCopyMemorySized)].operands.push(OperandId, "'Target'");
  1868. InstructionDesc[enumCast(Op::OpCopyMemorySized)].operands.push(OperandId, "'Source'");
  1869. InstructionDesc[enumCast(Op::OpCopyMemorySized)].operands.push(OperandId, "'Size'");
  1870. InstructionDesc[enumCast(Op::OpCopyMemorySized)].operands.push(OperandMemoryAccess, "", true);
  1871. InstructionDesc[enumCast(Op::OpSampledImage)].operands.push(OperandId, "'Image'");
  1872. InstructionDesc[enumCast(Op::OpSampledImage)].operands.push(OperandId, "'Sampler'");
  1873. InstructionDesc[enumCast(Op::OpImage)].operands.push(OperandId, "'Sampled Image'");
  1874. InstructionDesc[enumCast(Op::OpImageRead)].operands.push(OperandId, "'Image'");
  1875. InstructionDesc[enumCast(Op::OpImageRead)].operands.push(OperandId, "'Coordinate'");
  1876. InstructionDesc[enumCast(Op::OpImageRead)].operands.push(OperandImageOperands, "", true);
  1877. InstructionDesc[enumCast(Op::OpImageRead)].operands.push(OperandVariableIds, "", true);
  1878. InstructionDesc[enumCast(Op::OpImageWrite)].operands.push(OperandId, "'Image'");
  1879. InstructionDesc[enumCast(Op::OpImageWrite)].operands.push(OperandId, "'Coordinate'");
  1880. InstructionDesc[enumCast(Op::OpImageWrite)].operands.push(OperandId, "'Texel'");
  1881. InstructionDesc[enumCast(Op::OpImageWrite)].operands.push(OperandImageOperands, "", true);
  1882. InstructionDesc[enumCast(Op::OpImageWrite)].operands.push(OperandVariableIds, "", true);
  1883. InstructionDesc[enumCast(Op::OpImageSampleImplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1884. InstructionDesc[enumCast(Op::OpImageSampleImplicitLod)].operands.push(OperandId, "'Coordinate'");
  1885. InstructionDesc[enumCast(Op::OpImageSampleImplicitLod)].operands.push(OperandImageOperands, "", true);
  1886. InstructionDesc[enumCast(Op::OpImageSampleImplicitLod)].operands.push(OperandVariableIds, "", true);
  1887. InstructionDesc[enumCast(Op::OpImageSampleExplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1888. InstructionDesc[enumCast(Op::OpImageSampleExplicitLod)].operands.push(OperandId, "'Coordinate'");
  1889. InstructionDesc[enumCast(Op::OpImageSampleExplicitLod)].operands.push(OperandImageOperands, "", true);
  1890. InstructionDesc[enumCast(Op::OpImageSampleExplicitLod)].operands.push(OperandVariableIds, "", true);
  1891. InstructionDesc[enumCast(Op::OpImageSampleDrefImplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1892. InstructionDesc[enumCast(Op::OpImageSampleDrefImplicitLod)].operands.push(OperandId, "'Coordinate'");
  1893. InstructionDesc[enumCast(Op::OpImageSampleDrefImplicitLod)].operands.push(OperandId, "'D~ref~'");
  1894. InstructionDesc[enumCast(Op::OpImageSampleDrefImplicitLod)].operands.push(OperandImageOperands, "", true);
  1895. InstructionDesc[enumCast(Op::OpImageSampleDrefImplicitLod)].operands.push(OperandVariableIds, "", true);
  1896. InstructionDesc[enumCast(Op::OpImageSampleDrefExplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1897. InstructionDesc[enumCast(Op::OpImageSampleDrefExplicitLod)].operands.push(OperandId, "'Coordinate'");
  1898. InstructionDesc[enumCast(Op::OpImageSampleDrefExplicitLod)].operands.push(OperandId, "'D~ref~'");
  1899. InstructionDesc[enumCast(Op::OpImageSampleDrefExplicitLod)].operands.push(OperandImageOperands, "", true);
  1900. InstructionDesc[enumCast(Op::OpImageSampleDrefExplicitLod)].operands.push(OperandVariableIds, "", true);
  1901. InstructionDesc[enumCast(Op::OpImageSampleProjImplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1902. InstructionDesc[enumCast(Op::OpImageSampleProjImplicitLod)].operands.push(OperandId, "'Coordinate'");
  1903. InstructionDesc[enumCast(Op::OpImageSampleProjImplicitLod)].operands.push(OperandImageOperands, "", true);
  1904. InstructionDesc[enumCast(Op::OpImageSampleProjImplicitLod)].operands.push(OperandVariableIds, "", true);
  1905. InstructionDesc[enumCast(Op::OpImageSampleProjExplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1906. InstructionDesc[enumCast(Op::OpImageSampleProjExplicitLod)].operands.push(OperandId, "'Coordinate'");
  1907. InstructionDesc[enumCast(Op::OpImageSampleProjExplicitLod)].operands.push(OperandImageOperands, "", true);
  1908. InstructionDesc[enumCast(Op::OpImageSampleProjExplicitLod)].operands.push(OperandVariableIds, "", true);
  1909. InstructionDesc[enumCast(Op::OpImageSampleProjDrefImplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1910. InstructionDesc[enumCast(Op::OpImageSampleProjDrefImplicitLod)].operands.push(OperandId, "'Coordinate'");
  1911. InstructionDesc[enumCast(Op::OpImageSampleProjDrefImplicitLod)].operands.push(OperandId, "'D~ref~'");
  1912. InstructionDesc[enumCast(Op::OpImageSampleProjDrefImplicitLod)].operands.push(OperandImageOperands, "", true);
  1913. InstructionDesc[enumCast(Op::OpImageSampleProjDrefImplicitLod)].operands.push(OperandVariableIds, "", true);
  1914. InstructionDesc[enumCast(Op::OpImageSampleProjDrefExplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1915. InstructionDesc[enumCast(Op::OpImageSampleProjDrefExplicitLod)].operands.push(OperandId, "'Coordinate'");
  1916. InstructionDesc[enumCast(Op::OpImageSampleProjDrefExplicitLod)].operands.push(OperandId, "'D~ref~'");
  1917. InstructionDesc[enumCast(Op::OpImageSampleProjDrefExplicitLod)].operands.push(OperandImageOperands, "", true);
  1918. InstructionDesc[enumCast(Op::OpImageSampleProjDrefExplicitLod)].operands.push(OperandVariableIds, "", true);
  1919. InstructionDesc[enumCast(Op::OpImageFetch)].operands.push(OperandId, "'Image'");
  1920. InstructionDesc[enumCast(Op::OpImageFetch)].operands.push(OperandId, "'Coordinate'");
  1921. InstructionDesc[enumCast(Op::OpImageFetch)].operands.push(OperandImageOperands, "", true);
  1922. InstructionDesc[enumCast(Op::OpImageFetch)].operands.push(OperandVariableIds, "", true);
  1923. InstructionDesc[enumCast(Op::OpImageGather)].operands.push(OperandId, "'Sampled Image'");
  1924. InstructionDesc[enumCast(Op::OpImageGather)].operands.push(OperandId, "'Coordinate'");
  1925. InstructionDesc[enumCast(Op::OpImageGather)].operands.push(OperandId, "'Component'");
  1926. InstructionDesc[enumCast(Op::OpImageGather)].operands.push(OperandImageOperands, "", true);
  1927. InstructionDesc[enumCast(Op::OpImageGather)].operands.push(OperandVariableIds, "", true);
  1928. InstructionDesc[enumCast(Op::OpImageDrefGather)].operands.push(OperandId, "'Sampled Image'");
  1929. InstructionDesc[enumCast(Op::OpImageDrefGather)].operands.push(OperandId, "'Coordinate'");
  1930. InstructionDesc[enumCast(Op::OpImageDrefGather)].operands.push(OperandId, "'D~ref~'");
  1931. InstructionDesc[enumCast(Op::OpImageDrefGather)].operands.push(OperandImageOperands, "", true);
  1932. InstructionDesc[enumCast(Op::OpImageDrefGather)].operands.push(OperandVariableIds, "", true);
  1933. InstructionDesc[enumCast(Op::OpImageSparseSampleImplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1934. InstructionDesc[enumCast(Op::OpImageSparseSampleImplicitLod)].operands.push(OperandId, "'Coordinate'");
  1935. InstructionDesc[enumCast(Op::OpImageSparseSampleImplicitLod)].operands.push(OperandImageOperands, "", true);
  1936. InstructionDesc[enumCast(Op::OpImageSparseSampleImplicitLod)].operands.push(OperandVariableIds, "", true);
  1937. InstructionDesc[enumCast(Op::OpImageSparseSampleExplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1938. InstructionDesc[enumCast(Op::OpImageSparseSampleExplicitLod)].operands.push(OperandId, "'Coordinate'");
  1939. InstructionDesc[enumCast(Op::OpImageSparseSampleExplicitLod)].operands.push(OperandImageOperands, "", true);
  1940. InstructionDesc[enumCast(Op::OpImageSparseSampleExplicitLod)].operands.push(OperandVariableIds, "", true);
  1941. InstructionDesc[enumCast(Op::OpImageSparseSampleDrefImplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1942. InstructionDesc[enumCast(Op::OpImageSparseSampleDrefImplicitLod)].operands.push(OperandId, "'Coordinate'");
  1943. InstructionDesc[enumCast(Op::OpImageSparseSampleDrefImplicitLod)].operands.push(OperandId, "'D~ref~'");
  1944. InstructionDesc[enumCast(Op::OpImageSparseSampleDrefImplicitLod)].operands.push(OperandImageOperands, "", true);
  1945. InstructionDesc[enumCast(Op::OpImageSparseSampleDrefImplicitLod)].operands.push(OperandVariableIds, "", true);
  1946. InstructionDesc[enumCast(Op::OpImageSparseSampleDrefExplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1947. InstructionDesc[enumCast(Op::OpImageSparseSampleDrefExplicitLod)].operands.push(OperandId, "'Coordinate'");
  1948. InstructionDesc[enumCast(Op::OpImageSparseSampleDrefExplicitLod)].operands.push(OperandId, "'D~ref~'");
  1949. InstructionDesc[enumCast(Op::OpImageSparseSampleDrefExplicitLod)].operands.push(OperandImageOperands, "", true);
  1950. InstructionDesc[enumCast(Op::OpImageSparseSampleDrefExplicitLod)].operands.push(OperandVariableIds, "", true);
  1951. InstructionDesc[enumCast(Op::OpImageSparseSampleProjImplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1952. InstructionDesc[enumCast(Op::OpImageSparseSampleProjImplicitLod)].operands.push(OperandId, "'Coordinate'");
  1953. InstructionDesc[enumCast(Op::OpImageSparseSampleProjImplicitLod)].operands.push(OperandImageOperands, "", true);
  1954. InstructionDesc[enumCast(Op::OpImageSparseSampleProjImplicitLod)].operands.push(OperandVariableIds, "", true);
  1955. InstructionDesc[enumCast(Op::OpImageSparseSampleProjExplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1956. InstructionDesc[enumCast(Op::OpImageSparseSampleProjExplicitLod)].operands.push(OperandId, "'Coordinate'");
  1957. InstructionDesc[enumCast(Op::OpImageSparseSampleProjExplicitLod)].operands.push(OperandImageOperands, "", true);
  1958. InstructionDesc[enumCast(Op::OpImageSparseSampleProjExplicitLod)].operands.push(OperandVariableIds, "", true);
  1959. InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefImplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1960. InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefImplicitLod)].operands.push(OperandId, "'Coordinate'");
  1961. InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefImplicitLod)].operands.push(OperandId, "'D~ref~'");
  1962. InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefImplicitLod)].operands.push(OperandImageOperands, "", true);
  1963. InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefImplicitLod)].operands.push(OperandVariableIds, "", true);
  1964. InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefExplicitLod)].operands.push(OperandId, "'Sampled Image'");
  1965. InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefExplicitLod)].operands.push(OperandId, "'Coordinate'");
  1966. InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefExplicitLod)].operands.push(OperandId, "'D~ref~'");
  1967. InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefExplicitLod)].operands.push(OperandImageOperands, "", true);
  1968. InstructionDesc[enumCast(Op::OpImageSparseSampleProjDrefExplicitLod)].operands.push(OperandVariableIds, "", true);
  1969. InstructionDesc[enumCast(Op::OpImageSparseFetch)].operands.push(OperandId, "'Image'");
  1970. InstructionDesc[enumCast(Op::OpImageSparseFetch)].operands.push(OperandId, "'Coordinate'");
  1971. InstructionDesc[enumCast(Op::OpImageSparseFetch)].operands.push(OperandImageOperands, "", true);
  1972. InstructionDesc[enumCast(Op::OpImageSparseFetch)].operands.push(OperandVariableIds, "", true);
  1973. InstructionDesc[enumCast(Op::OpImageSparseGather)].operands.push(OperandId, "'Sampled Image'");
  1974. InstructionDesc[enumCast(Op::OpImageSparseGather)].operands.push(OperandId, "'Coordinate'");
  1975. InstructionDesc[enumCast(Op::OpImageSparseGather)].operands.push(OperandId, "'Component'");
  1976. InstructionDesc[enumCast(Op::OpImageSparseGather)].operands.push(OperandImageOperands, "", true);
  1977. InstructionDesc[enumCast(Op::OpImageSparseGather)].operands.push(OperandVariableIds, "", true);
  1978. InstructionDesc[enumCast(Op::OpImageSparseDrefGather)].operands.push(OperandId, "'Sampled Image'");
  1979. InstructionDesc[enumCast(Op::OpImageSparseDrefGather)].operands.push(OperandId, "'Coordinate'");
  1980. InstructionDesc[enumCast(Op::OpImageSparseDrefGather)].operands.push(OperandId, "'D~ref~'");
  1981. InstructionDesc[enumCast(Op::OpImageSparseDrefGather)].operands.push(OperandImageOperands, "", true);
  1982. InstructionDesc[enumCast(Op::OpImageSparseDrefGather)].operands.push(OperandVariableIds, "", true);
  1983. InstructionDesc[enumCast(Op::OpImageSparseRead)].operands.push(OperandId, "'Image'");
  1984. InstructionDesc[enumCast(Op::OpImageSparseRead)].operands.push(OperandId, "'Coordinate'");
  1985. InstructionDesc[enumCast(Op::OpImageSparseRead)].operands.push(OperandImageOperands, "", true);
  1986. InstructionDesc[enumCast(Op::OpImageSparseRead)].operands.push(OperandVariableIds, "", true);
  1987. InstructionDesc[enumCast(Op::OpImageSparseTexelsResident)].operands.push(OperandId, "'Resident Code'");
  1988. InstructionDesc[enumCast(Op::OpImageQuerySizeLod)].operands.push(OperandId, "'Image'");
  1989. InstructionDesc[enumCast(Op::OpImageQuerySizeLod)].operands.push(OperandId, "'Level of Detail'");
  1990. InstructionDesc[enumCast(Op::OpImageQuerySize)].operands.push(OperandId, "'Image'");
  1991. InstructionDesc[enumCast(Op::OpImageQueryLod)].operands.push(OperandId, "'Image'");
  1992. InstructionDesc[enumCast(Op::OpImageQueryLod)].operands.push(OperandId, "'Coordinate'");
  1993. InstructionDesc[enumCast(Op::OpImageQueryLevels)].operands.push(OperandId, "'Image'");
  1994. InstructionDesc[enumCast(Op::OpImageQuerySamples)].operands.push(OperandId, "'Image'");
  1995. InstructionDesc[enumCast(Op::OpImageQueryFormat)].operands.push(OperandId, "'Image'");
  1996. InstructionDesc[enumCast(Op::OpImageQueryOrder)].operands.push(OperandId, "'Image'");
  1997. InstructionDesc[enumCast(Op::OpAccessChain)].operands.push(OperandId, "'Base'");
  1998. InstructionDesc[enumCast(Op::OpAccessChain)].operands.push(OperandVariableIds, "'Indexes'");
  1999. InstructionDesc[enumCast(Op::OpInBoundsAccessChain)].operands.push(OperandId, "'Base'");
  2000. InstructionDesc[enumCast(Op::OpInBoundsAccessChain)].operands.push(OperandVariableIds, "'Indexes'");
  2001. InstructionDesc[enumCast(Op::OpPtrAccessChain)].operands.push(OperandId, "'Base'");
  2002. InstructionDesc[enumCast(Op::OpPtrAccessChain)].operands.push(OperandId, "'Element'");
  2003. InstructionDesc[enumCast(Op::OpPtrAccessChain)].operands.push(OperandVariableIds, "'Indexes'");
  2004. InstructionDesc[enumCast(Op::OpInBoundsPtrAccessChain)].operands.push(OperandId, "'Base'");
  2005. InstructionDesc[enumCast(Op::OpInBoundsPtrAccessChain)].operands.push(OperandId, "'Element'");
  2006. InstructionDesc[enumCast(Op::OpInBoundsPtrAccessChain)].operands.push(OperandVariableIds, "'Indexes'");
  2007. InstructionDesc[enumCast(Op::OpSNegate)].operands.push(OperandId, "'Operand'");
  2008. InstructionDesc[enumCast(Op::OpFNegate)].operands.push(OperandId, "'Operand'");
  2009. InstructionDesc[enumCast(Op::OpNot)].operands.push(OperandId, "'Operand'");
  2010. InstructionDesc[enumCast(Op::OpAny)].operands.push(OperandId, "'Vector'");
  2011. InstructionDesc[enumCast(Op::OpAll)].operands.push(OperandId, "'Vector'");
  2012. InstructionDesc[enumCast(Op::OpConvertFToU)].operands.push(OperandId, "'Float Value'");
  2013. InstructionDesc[enumCast(Op::OpConvertFToS)].operands.push(OperandId, "'Float Value'");
  2014. InstructionDesc[enumCast(Op::OpConvertSToF)].operands.push(OperandId, "'Signed Value'");
  2015. InstructionDesc[enumCast(Op::OpConvertUToF)].operands.push(OperandId, "'Unsigned Value'");
  2016. InstructionDesc[enumCast(Op::OpUConvert)].operands.push(OperandId, "'Unsigned Value'");
  2017. InstructionDesc[enumCast(Op::OpSConvert)].operands.push(OperandId, "'Signed Value'");
  2018. InstructionDesc[enumCast(Op::OpFConvert)].operands.push(OperandId, "'Float Value'");
  2019. InstructionDesc[enumCast(Op::OpSatConvertSToU)].operands.push(OperandId, "'Signed Value'");
  2020. InstructionDesc[enumCast(Op::OpSatConvertUToS)].operands.push(OperandId, "'Unsigned Value'");
  2021. InstructionDesc[enumCast(Op::OpConvertPtrToU)].operands.push(OperandId, "'Pointer'");
  2022. InstructionDesc[enumCast(Op::OpConvertUToPtr)].operands.push(OperandId, "'Integer Value'");
  2023. InstructionDesc[enumCast(Op::OpPtrCastToGeneric)].operands.push(OperandId, "'Pointer'");
  2024. InstructionDesc[enumCast(Op::OpGenericCastToPtr)].operands.push(OperandId, "'Pointer'");
  2025. InstructionDesc[enumCast(Op::OpGenericCastToPtrExplicit)].operands.push(OperandId, "'Pointer'");
  2026. InstructionDesc[enumCast(Op::OpGenericCastToPtrExplicit)].operands.push(OperandStorage, "'Storage'");
  2027. InstructionDesc[enumCast(Op::OpGenericPtrMemSemantics)].operands.push(OperandId, "'Pointer'");
  2028. InstructionDesc[enumCast(Op::OpBitcast)].operands.push(OperandId, "'Operand'");
  2029. InstructionDesc[enumCast(Op::OpQuantizeToF16)].operands.push(OperandId, "'Value'");
  2030. InstructionDesc[enumCast(Op::OpTranspose)].operands.push(OperandId, "'Matrix'");
  2031. InstructionDesc[enumCast(Op::OpCopyLogical)].operands.push(OperandId, "'Operand'");
  2032. InstructionDesc[enumCast(Op::OpIsNan)].operands.push(OperandId, "'x'");
  2033. InstructionDesc[enumCast(Op::OpIsInf)].operands.push(OperandId, "'x'");
  2034. InstructionDesc[enumCast(Op::OpIsFinite)].operands.push(OperandId, "'x'");
  2035. InstructionDesc[enumCast(Op::OpIsNormal)].operands.push(OperandId, "'x'");
  2036. InstructionDesc[enumCast(Op::OpSignBitSet)].operands.push(OperandId, "'x'");
  2037. InstructionDesc[enumCast(Op::OpLessOrGreater)].operands.push(OperandId, "'x'");
  2038. InstructionDesc[enumCast(Op::OpLessOrGreater)].operands.push(OperandId, "'y'");
  2039. InstructionDesc[enumCast(Op::OpOrdered)].operands.push(OperandId, "'x'");
  2040. InstructionDesc[enumCast(Op::OpOrdered)].operands.push(OperandId, "'y'");
  2041. InstructionDesc[enumCast(Op::OpUnordered)].operands.push(OperandId, "'x'");
  2042. InstructionDesc[enumCast(Op::OpUnordered)].operands.push(OperandId, "'y'");
  2043. InstructionDesc[enumCast(Op::OpArrayLength)].operands.push(OperandId, "'Structure'");
  2044. InstructionDesc[enumCast(Op::OpArrayLength)].operands.push(OperandLiteralNumber, "'Array member'");
  2045. InstructionDesc[enumCast(Op::OpIAdd)].operands.push(OperandId, "'Operand 1'");
  2046. InstructionDesc[enumCast(Op::OpIAdd)].operands.push(OperandId, "'Operand 2'");
  2047. InstructionDesc[enumCast(Op::OpFAdd)].operands.push(OperandId, "'Operand 1'");
  2048. InstructionDesc[enumCast(Op::OpFAdd)].operands.push(OperandId, "'Operand 2'");
  2049. InstructionDesc[enumCast(Op::OpISub)].operands.push(OperandId, "'Operand 1'");
  2050. InstructionDesc[enumCast(Op::OpISub)].operands.push(OperandId, "'Operand 2'");
  2051. InstructionDesc[enumCast(Op::OpFSub)].operands.push(OperandId, "'Operand 1'");
  2052. InstructionDesc[enumCast(Op::OpFSub)].operands.push(OperandId, "'Operand 2'");
  2053. InstructionDesc[enumCast(Op::OpIMul)].operands.push(OperandId, "'Operand 1'");
  2054. InstructionDesc[enumCast(Op::OpIMul)].operands.push(OperandId, "'Operand 2'");
  2055. InstructionDesc[enumCast(Op::OpFMul)].operands.push(OperandId, "'Operand 1'");
  2056. InstructionDesc[enumCast(Op::OpFMul)].operands.push(OperandId, "'Operand 2'");
  2057. InstructionDesc[enumCast(Op::OpUDiv)].operands.push(OperandId, "'Operand 1'");
  2058. InstructionDesc[enumCast(Op::OpUDiv)].operands.push(OperandId, "'Operand 2'");
  2059. InstructionDesc[enumCast(Op::OpSDiv)].operands.push(OperandId, "'Operand 1'");
  2060. InstructionDesc[enumCast(Op::OpSDiv)].operands.push(OperandId, "'Operand 2'");
  2061. InstructionDesc[enumCast(Op::OpFDiv)].operands.push(OperandId, "'Operand 1'");
  2062. InstructionDesc[enumCast(Op::OpFDiv)].operands.push(OperandId, "'Operand 2'");
  2063. InstructionDesc[enumCast(Op::OpUMod)].operands.push(OperandId, "'Operand 1'");
  2064. InstructionDesc[enumCast(Op::OpUMod)].operands.push(OperandId, "'Operand 2'");
  2065. InstructionDesc[enumCast(Op::OpSRem)].operands.push(OperandId, "'Operand 1'");
  2066. InstructionDesc[enumCast(Op::OpSRem)].operands.push(OperandId, "'Operand 2'");
  2067. InstructionDesc[enumCast(Op::OpSMod)].operands.push(OperandId, "'Operand 1'");
  2068. InstructionDesc[enumCast(Op::OpSMod)].operands.push(OperandId, "'Operand 2'");
  2069. InstructionDesc[enumCast(Op::OpFRem)].operands.push(OperandId, "'Operand 1'");
  2070. InstructionDesc[enumCast(Op::OpFRem)].operands.push(OperandId, "'Operand 2'");
  2071. InstructionDesc[enumCast(Op::OpFMod)].operands.push(OperandId, "'Operand 1'");
  2072. InstructionDesc[enumCast(Op::OpFMod)].operands.push(OperandId, "'Operand 2'");
  2073. InstructionDesc[enumCast(Op::OpVectorTimesScalar)].operands.push(OperandId, "'Vector'");
  2074. InstructionDesc[enumCast(Op::OpVectorTimesScalar)].operands.push(OperandId, "'Scalar'");
  2075. InstructionDesc[enumCast(Op::OpMatrixTimesScalar)].operands.push(OperandId, "'Matrix'");
  2076. InstructionDesc[enumCast(Op::OpMatrixTimesScalar)].operands.push(OperandId, "'Scalar'");
  2077. InstructionDesc[enumCast(Op::OpVectorTimesMatrix)].operands.push(OperandId, "'Vector'");
  2078. InstructionDesc[enumCast(Op::OpVectorTimesMatrix)].operands.push(OperandId, "'Matrix'");
  2079. InstructionDesc[enumCast(Op::OpMatrixTimesVector)].operands.push(OperandId, "'Matrix'");
  2080. InstructionDesc[enumCast(Op::OpMatrixTimesVector)].operands.push(OperandId, "'Vector'");
  2081. InstructionDesc[enumCast(Op::OpMatrixTimesMatrix)].operands.push(OperandId, "'LeftMatrix'");
  2082. InstructionDesc[enumCast(Op::OpMatrixTimesMatrix)].operands.push(OperandId, "'RightMatrix'");
  2083. InstructionDesc[enumCast(Op::OpOuterProduct)].operands.push(OperandId, "'Vector 1'");
  2084. InstructionDesc[enumCast(Op::OpOuterProduct)].operands.push(OperandId, "'Vector 2'");
  2085. InstructionDesc[enumCast(Op::OpDot)].operands.push(OperandId, "'Vector 1'");
  2086. InstructionDesc[enumCast(Op::OpDot)].operands.push(OperandId, "'Vector 2'");
  2087. InstructionDesc[enumCast(Op::OpIAddCarry)].operands.push(OperandId, "'Operand 1'");
  2088. InstructionDesc[enumCast(Op::OpIAddCarry)].operands.push(OperandId, "'Operand 2'");
  2089. InstructionDesc[enumCast(Op::OpISubBorrow)].operands.push(OperandId, "'Operand 1'");
  2090. InstructionDesc[enumCast(Op::OpISubBorrow)].operands.push(OperandId, "'Operand 2'");
  2091. InstructionDesc[enumCast(Op::OpUMulExtended)].operands.push(OperandId, "'Operand 1'");
  2092. InstructionDesc[enumCast(Op::OpUMulExtended)].operands.push(OperandId, "'Operand 2'");
  2093. InstructionDesc[enumCast(Op::OpSMulExtended)].operands.push(OperandId, "'Operand 1'");
  2094. InstructionDesc[enumCast(Op::OpSMulExtended)].operands.push(OperandId, "'Operand 2'");
  2095. InstructionDesc[enumCast(Op::OpShiftRightLogical)].operands.push(OperandId, "'Base'");
  2096. InstructionDesc[enumCast(Op::OpShiftRightLogical)].operands.push(OperandId, "'Shift'");
  2097. InstructionDesc[enumCast(Op::OpShiftRightArithmetic)].operands.push(OperandId, "'Base'");
  2098. InstructionDesc[enumCast(Op::OpShiftRightArithmetic)].operands.push(OperandId, "'Shift'");
  2099. InstructionDesc[enumCast(Op::OpShiftLeftLogical)].operands.push(OperandId, "'Base'");
  2100. InstructionDesc[enumCast(Op::OpShiftLeftLogical)].operands.push(OperandId, "'Shift'");
  2101. InstructionDesc[enumCast(Op::OpLogicalOr)].operands.push(OperandId, "'Operand 1'");
  2102. InstructionDesc[enumCast(Op::OpLogicalOr)].operands.push(OperandId, "'Operand 2'");
  2103. InstructionDesc[enumCast(Op::OpLogicalAnd)].operands.push(OperandId, "'Operand 1'");
  2104. InstructionDesc[enumCast(Op::OpLogicalAnd)].operands.push(OperandId, "'Operand 2'");
  2105. InstructionDesc[enumCast(Op::OpLogicalEqual)].operands.push(OperandId, "'Operand 1'");
  2106. InstructionDesc[enumCast(Op::OpLogicalEqual)].operands.push(OperandId, "'Operand 2'");
  2107. InstructionDesc[enumCast(Op::OpLogicalNotEqual)].operands.push(OperandId, "'Operand 1'");
  2108. InstructionDesc[enumCast(Op::OpLogicalNotEqual)].operands.push(OperandId, "'Operand 2'");
  2109. InstructionDesc[enumCast(Op::OpLogicalNot)].operands.push(OperandId, "'Operand'");
  2110. InstructionDesc[enumCast(Op::OpBitwiseOr)].operands.push(OperandId, "'Operand 1'");
  2111. InstructionDesc[enumCast(Op::OpBitwiseOr)].operands.push(OperandId, "'Operand 2'");
  2112. InstructionDesc[enumCast(Op::OpBitwiseXor)].operands.push(OperandId, "'Operand 1'");
  2113. InstructionDesc[enumCast(Op::OpBitwiseXor)].operands.push(OperandId, "'Operand 2'");
  2114. InstructionDesc[enumCast(Op::OpBitwiseAnd)].operands.push(OperandId, "'Operand 1'");
  2115. InstructionDesc[enumCast(Op::OpBitwiseAnd)].operands.push(OperandId, "'Operand 2'");
  2116. InstructionDesc[enumCast(Op::OpBitFieldInsert)].operands.push(OperandId, "'Base'");
  2117. InstructionDesc[enumCast(Op::OpBitFieldInsert)].operands.push(OperandId, "'Insert'");
  2118. InstructionDesc[enumCast(Op::OpBitFieldInsert)].operands.push(OperandId, "'Offset'");
  2119. InstructionDesc[enumCast(Op::OpBitFieldInsert)].operands.push(OperandId, "'Count'");
  2120. InstructionDesc[enumCast(Op::OpBitFieldSExtract)].operands.push(OperandId, "'Base'");
  2121. InstructionDesc[enumCast(Op::OpBitFieldSExtract)].operands.push(OperandId, "'Offset'");
  2122. InstructionDesc[enumCast(Op::OpBitFieldSExtract)].operands.push(OperandId, "'Count'");
  2123. InstructionDesc[enumCast(Op::OpBitFieldUExtract)].operands.push(OperandId, "'Base'");
  2124. InstructionDesc[enumCast(Op::OpBitFieldUExtract)].operands.push(OperandId, "'Offset'");
  2125. InstructionDesc[enumCast(Op::OpBitFieldUExtract)].operands.push(OperandId, "'Count'");
  2126. InstructionDesc[enumCast(Op::OpBitReverse)].operands.push(OperandId, "'Base'");
  2127. InstructionDesc[enumCast(Op::OpBitCount)].operands.push(OperandId, "'Base'");
  2128. InstructionDesc[enumCast(Op::OpSelect)].operands.push(OperandId, "'Condition'");
  2129. InstructionDesc[enumCast(Op::OpSelect)].operands.push(OperandId, "'Object 1'");
  2130. InstructionDesc[enumCast(Op::OpSelect)].operands.push(OperandId, "'Object 2'");
  2131. InstructionDesc[enumCast(Op::OpIEqual)].operands.push(OperandId, "'Operand 1'");
  2132. InstructionDesc[enumCast(Op::OpIEqual)].operands.push(OperandId, "'Operand 2'");
  2133. InstructionDesc[enumCast(Op::OpFOrdEqual)].operands.push(OperandId, "'Operand 1'");
  2134. InstructionDesc[enumCast(Op::OpFOrdEqual)].operands.push(OperandId, "'Operand 2'");
  2135. InstructionDesc[enumCast(Op::OpFUnordEqual)].operands.push(OperandId, "'Operand 1'");
  2136. InstructionDesc[enumCast(Op::OpFUnordEqual)].operands.push(OperandId, "'Operand 2'");
  2137. InstructionDesc[enumCast(Op::OpINotEqual)].operands.push(OperandId, "'Operand 1'");
  2138. InstructionDesc[enumCast(Op::OpINotEqual)].operands.push(OperandId, "'Operand 2'");
  2139. InstructionDesc[enumCast(Op::OpFOrdNotEqual)].operands.push(OperandId, "'Operand 1'");
  2140. InstructionDesc[enumCast(Op::OpFOrdNotEqual)].operands.push(OperandId, "'Operand 2'");
  2141. InstructionDesc[enumCast(Op::OpFUnordNotEqual)].operands.push(OperandId, "'Operand 1'");
  2142. InstructionDesc[enumCast(Op::OpFUnordNotEqual)].operands.push(OperandId, "'Operand 2'");
  2143. InstructionDesc[enumCast(Op::OpULessThan)].operands.push(OperandId, "'Operand 1'");
  2144. InstructionDesc[enumCast(Op::OpULessThan)].operands.push(OperandId, "'Operand 2'");
  2145. InstructionDesc[enumCast(Op::OpSLessThan)].operands.push(OperandId, "'Operand 1'");
  2146. InstructionDesc[enumCast(Op::OpSLessThan)].operands.push(OperandId, "'Operand 2'");
  2147. InstructionDesc[enumCast(Op::OpFOrdLessThan)].operands.push(OperandId, "'Operand 1'");
  2148. InstructionDesc[enumCast(Op::OpFOrdLessThan)].operands.push(OperandId, "'Operand 2'");
  2149. InstructionDesc[enumCast(Op::OpFUnordLessThan)].operands.push(OperandId, "'Operand 1'");
  2150. InstructionDesc[enumCast(Op::OpFUnordLessThan)].operands.push(OperandId, "'Operand 2'");
  2151. InstructionDesc[enumCast(Op::OpUGreaterThan)].operands.push(OperandId, "'Operand 1'");
  2152. InstructionDesc[enumCast(Op::OpUGreaterThan)].operands.push(OperandId, "'Operand 2'");
  2153. InstructionDesc[enumCast(Op::OpSGreaterThan)].operands.push(OperandId, "'Operand 1'");
  2154. InstructionDesc[enumCast(Op::OpSGreaterThan)].operands.push(OperandId, "'Operand 2'");
  2155. InstructionDesc[enumCast(Op::OpFOrdGreaterThan)].operands.push(OperandId, "'Operand 1'");
  2156. InstructionDesc[enumCast(Op::OpFOrdGreaterThan)].operands.push(OperandId, "'Operand 2'");
  2157. InstructionDesc[enumCast(Op::OpFUnordGreaterThan)].operands.push(OperandId, "'Operand 1'");
  2158. InstructionDesc[enumCast(Op::OpFUnordGreaterThan)].operands.push(OperandId, "'Operand 2'");
  2159. InstructionDesc[enumCast(Op::OpULessThanEqual)].operands.push(OperandId, "'Operand 1'");
  2160. InstructionDesc[enumCast(Op::OpULessThanEqual)].operands.push(OperandId, "'Operand 2'");
  2161. InstructionDesc[enumCast(Op::OpSLessThanEqual)].operands.push(OperandId, "'Operand 1'");
  2162. InstructionDesc[enumCast(Op::OpSLessThanEqual)].operands.push(OperandId, "'Operand 2'");
  2163. InstructionDesc[enumCast(Op::OpFOrdLessThanEqual)].operands.push(OperandId, "'Operand 1'");
  2164. InstructionDesc[enumCast(Op::OpFOrdLessThanEqual)].operands.push(OperandId, "'Operand 2'");
  2165. InstructionDesc[enumCast(Op::OpFUnordLessThanEqual)].operands.push(OperandId, "'Operand 1'");
  2166. InstructionDesc[enumCast(Op::OpFUnordLessThanEqual)].operands.push(OperandId, "'Operand 2'");
  2167. InstructionDesc[enumCast(Op::OpUGreaterThanEqual)].operands.push(OperandId, "'Operand 1'");
  2168. InstructionDesc[enumCast(Op::OpUGreaterThanEqual)].operands.push(OperandId, "'Operand 2'");
  2169. InstructionDesc[enumCast(Op::OpSGreaterThanEqual)].operands.push(OperandId, "'Operand 1'");
  2170. InstructionDesc[enumCast(Op::OpSGreaterThanEqual)].operands.push(OperandId, "'Operand 2'");
  2171. InstructionDesc[enumCast(Op::OpFOrdGreaterThanEqual)].operands.push(OperandId, "'Operand 1'");
  2172. InstructionDesc[enumCast(Op::OpFOrdGreaterThanEqual)].operands.push(OperandId, "'Operand 2'");
  2173. InstructionDesc[enumCast(Op::OpFUnordGreaterThanEqual)].operands.push(OperandId, "'Operand 1'");
  2174. InstructionDesc[enumCast(Op::OpFUnordGreaterThanEqual)].operands.push(OperandId, "'Operand 2'");
  2175. InstructionDesc[enumCast(Op::OpDPdx)].operands.push(OperandId, "'P'");
  2176. InstructionDesc[enumCast(Op::OpDPdy)].operands.push(OperandId, "'P'");
  2177. InstructionDesc[enumCast(Op::OpFwidth)].operands.push(OperandId, "'P'");
  2178. InstructionDesc[enumCast(Op::OpDPdxFine)].operands.push(OperandId, "'P'");
  2179. InstructionDesc[enumCast(Op::OpDPdyFine)].operands.push(OperandId, "'P'");
  2180. InstructionDesc[enumCast(Op::OpFwidthFine)].operands.push(OperandId, "'P'");
  2181. InstructionDesc[enumCast(Op::OpDPdxCoarse)].operands.push(OperandId, "'P'");
  2182. InstructionDesc[enumCast(Op::OpDPdyCoarse)].operands.push(OperandId, "'P'");
  2183. InstructionDesc[enumCast(Op::OpFwidthCoarse)].operands.push(OperandId, "'P'");
  2184. InstructionDesc[enumCast(Op::OpEmitStreamVertex)].operands.push(OperandId, "'Stream'");
  2185. InstructionDesc[enumCast(Op::OpEndStreamPrimitive)].operands.push(OperandId, "'Stream'");
  2186. InstructionDesc[enumCast(Op::OpControlBarrier)].operands.push(OperandScope, "'Execution'");
  2187. InstructionDesc[enumCast(Op::OpControlBarrier)].operands.push(OperandScope, "'Memory'");
  2188. InstructionDesc[enumCast(Op::OpControlBarrier)].operands.push(OperandMemorySemantics, "'Semantics'");
  2189. InstructionDesc[enumCast(Op::OpMemoryBarrier)].operands.push(OperandScope, "'Memory'");
  2190. InstructionDesc[enumCast(Op::OpMemoryBarrier)].operands.push(OperandMemorySemantics, "'Semantics'");
  2191. InstructionDesc[enumCast(Op::OpImageTexelPointer)].operands.push(OperandId, "'Image'");
  2192. InstructionDesc[enumCast(Op::OpImageTexelPointer)].operands.push(OperandId, "'Coordinate'");
  2193. InstructionDesc[enumCast(Op::OpImageTexelPointer)].operands.push(OperandId, "'Sample'");
  2194. InstructionDesc[enumCast(Op::OpAtomicLoad)].operands.push(OperandId, "'Pointer'");
  2195. InstructionDesc[enumCast(Op::OpAtomicLoad)].operands.push(OperandScope, "'Scope'");
  2196. InstructionDesc[enumCast(Op::OpAtomicLoad)].operands.push(OperandMemorySemantics, "'Semantics'");
  2197. InstructionDesc[enumCast(Op::OpAtomicStore)].operands.push(OperandId, "'Pointer'");
  2198. InstructionDesc[enumCast(Op::OpAtomicStore)].operands.push(OperandScope, "'Scope'");
  2199. InstructionDesc[enumCast(Op::OpAtomicStore)].operands.push(OperandMemorySemantics, "'Semantics'");
  2200. InstructionDesc[enumCast(Op::OpAtomicStore)].operands.push(OperandId, "'Value'");
  2201. InstructionDesc[enumCast(Op::OpAtomicExchange)].operands.push(OperandId, "'Pointer'");
  2202. InstructionDesc[enumCast(Op::OpAtomicExchange)].operands.push(OperandScope, "'Scope'");
  2203. InstructionDesc[enumCast(Op::OpAtomicExchange)].operands.push(OperandMemorySemantics, "'Semantics'");
  2204. InstructionDesc[enumCast(Op::OpAtomicExchange)].operands.push(OperandId, "'Value'");
  2205. InstructionDesc[enumCast(Op::OpAtomicCompareExchange)].operands.push(OperandId, "'Pointer'");
  2206. InstructionDesc[enumCast(Op::OpAtomicCompareExchange)].operands.push(OperandScope, "'Scope'");
  2207. InstructionDesc[enumCast(Op::OpAtomicCompareExchange)].operands.push(OperandMemorySemantics, "'Equal'");
  2208. InstructionDesc[enumCast(Op::OpAtomicCompareExchange)].operands.push(OperandMemorySemantics, "'Unequal'");
  2209. InstructionDesc[enumCast(Op::OpAtomicCompareExchange)].operands.push(OperandId, "'Value'");
  2210. InstructionDesc[enumCast(Op::OpAtomicCompareExchange)].operands.push(OperandId, "'Comparator'");
  2211. InstructionDesc[enumCast(Op::OpAtomicCompareExchangeWeak)].operands.push(OperandId, "'Pointer'");
  2212. InstructionDesc[enumCast(Op::OpAtomicCompareExchangeWeak)].operands.push(OperandScope, "'Scope'");
  2213. InstructionDesc[enumCast(Op::OpAtomicCompareExchangeWeak)].operands.push(OperandMemorySemantics, "'Equal'");
  2214. InstructionDesc[enumCast(Op::OpAtomicCompareExchangeWeak)].operands.push(OperandMemorySemantics, "'Unequal'");
  2215. InstructionDesc[enumCast(Op::OpAtomicCompareExchangeWeak)].operands.push(OperandId, "'Value'");
  2216. InstructionDesc[enumCast(Op::OpAtomicCompareExchangeWeak)].operands.push(OperandId, "'Comparator'");
  2217. InstructionDesc[enumCast(Op::OpAtomicIIncrement)].operands.push(OperandId, "'Pointer'");
  2218. InstructionDesc[enumCast(Op::OpAtomicIIncrement)].operands.push(OperandScope, "'Scope'");
  2219. InstructionDesc[enumCast(Op::OpAtomicIIncrement)].operands.push(OperandMemorySemantics, "'Semantics'");
  2220. InstructionDesc[enumCast(Op::OpAtomicIDecrement)].operands.push(OperandId, "'Pointer'");
  2221. InstructionDesc[enumCast(Op::OpAtomicIDecrement)].operands.push(OperandScope, "'Scope'");
  2222. InstructionDesc[enumCast(Op::OpAtomicIDecrement)].operands.push(OperandMemorySemantics, "'Semantics'");
  2223. InstructionDesc[enumCast(Op::OpAtomicIAdd)].operands.push(OperandId, "'Pointer'");
  2224. InstructionDesc[enumCast(Op::OpAtomicIAdd)].operands.push(OperandScope, "'Scope'");
  2225. InstructionDesc[enumCast(Op::OpAtomicIAdd)].operands.push(OperandMemorySemantics, "'Semantics'");
  2226. InstructionDesc[enumCast(Op::OpAtomicIAdd)].operands.push(OperandId, "'Value'");
  2227. InstructionDesc[enumCast(Op::OpAtomicFAddEXT)].operands.push(OperandId, "'Pointer'");
  2228. InstructionDesc[enumCast(Op::OpAtomicFAddEXT)].operands.push(OperandScope, "'Scope'");
  2229. InstructionDesc[enumCast(Op::OpAtomicFAddEXT)].operands.push(OperandMemorySemantics, "'Semantics'");
  2230. InstructionDesc[enumCast(Op::OpAtomicFAddEXT)].operands.push(OperandId, "'Value'");
  2231. InstructionDesc[enumCast(Op::OpAssumeTrueKHR)].operands.push(OperandId, "'Condition'");
  2232. InstructionDesc[enumCast(Op::OpExpectKHR)].operands.push(OperandId, "'Value'");
  2233. InstructionDesc[enumCast(Op::OpExpectKHR)].operands.push(OperandId, "'ExpectedValue'");
  2234. InstructionDesc[enumCast(Op::OpAtomicISub)].operands.push(OperandId, "'Pointer'");
  2235. InstructionDesc[enumCast(Op::OpAtomicISub)].operands.push(OperandScope, "'Scope'");
  2236. InstructionDesc[enumCast(Op::OpAtomicISub)].operands.push(OperandMemorySemantics, "'Semantics'");
  2237. InstructionDesc[enumCast(Op::OpAtomicISub)].operands.push(OperandId, "'Value'");
  2238. InstructionDesc[enumCast(Op::OpAtomicUMin)].operands.push(OperandId, "'Pointer'");
  2239. InstructionDesc[enumCast(Op::OpAtomicUMin)].operands.push(OperandScope, "'Scope'");
  2240. InstructionDesc[enumCast(Op::OpAtomicUMin)].operands.push(OperandMemorySemantics, "'Semantics'");
  2241. InstructionDesc[enumCast(Op::OpAtomicUMin)].operands.push(OperandId, "'Value'");
  2242. InstructionDesc[enumCast(Op::OpAtomicUMax)].operands.push(OperandId, "'Pointer'");
  2243. InstructionDesc[enumCast(Op::OpAtomicUMax)].operands.push(OperandScope, "'Scope'");
  2244. InstructionDesc[enumCast(Op::OpAtomicUMax)].operands.push(OperandMemorySemantics, "'Semantics'");
  2245. InstructionDesc[enumCast(Op::OpAtomicUMax)].operands.push(OperandId, "'Value'");
  2246. InstructionDesc[enumCast(Op::OpAtomicSMin)].operands.push(OperandId, "'Pointer'");
  2247. InstructionDesc[enumCast(Op::OpAtomicSMin)].operands.push(OperandScope, "'Scope'");
  2248. InstructionDesc[enumCast(Op::OpAtomicSMin)].operands.push(OperandMemorySemantics, "'Semantics'");
  2249. InstructionDesc[enumCast(Op::OpAtomicSMin)].operands.push(OperandId, "'Value'");
  2250. InstructionDesc[enumCast(Op::OpAtomicSMax)].operands.push(OperandId, "'Pointer'");
  2251. InstructionDesc[enumCast(Op::OpAtomicSMax)].operands.push(OperandScope, "'Scope'");
  2252. InstructionDesc[enumCast(Op::OpAtomicSMax)].operands.push(OperandMemorySemantics, "'Semantics'");
  2253. InstructionDesc[enumCast(Op::OpAtomicSMax)].operands.push(OperandId, "'Value'");
  2254. InstructionDesc[enumCast(Op::OpAtomicFMinEXT)].operands.push(OperandId, "'Pointer'");
  2255. InstructionDesc[enumCast(Op::OpAtomicFMinEXT)].operands.push(OperandScope, "'Scope'");
  2256. InstructionDesc[enumCast(Op::OpAtomicFMinEXT)].operands.push(OperandMemorySemantics, "'Semantics'");
  2257. InstructionDesc[enumCast(Op::OpAtomicFMinEXT)].operands.push(OperandId, "'Value'");
  2258. InstructionDesc[enumCast(Op::OpAtomicFMaxEXT)].operands.push(OperandId, "'Pointer'");
  2259. InstructionDesc[enumCast(Op::OpAtomicFMaxEXT)].operands.push(OperandScope, "'Scope'");
  2260. InstructionDesc[enumCast(Op::OpAtomicFMaxEXT)].operands.push(OperandMemorySemantics, "'Semantics'");
  2261. InstructionDesc[enumCast(Op::OpAtomicFMaxEXT)].operands.push(OperandId, "'Value'");
  2262. InstructionDesc[enumCast(Op::OpAtomicAnd)].operands.push(OperandId, "'Pointer'");
  2263. InstructionDesc[enumCast(Op::OpAtomicAnd)].operands.push(OperandScope, "'Scope'");
  2264. InstructionDesc[enumCast(Op::OpAtomicAnd)].operands.push(OperandMemorySemantics, "'Semantics'");
  2265. InstructionDesc[enumCast(Op::OpAtomicAnd)].operands.push(OperandId, "'Value'");
  2266. InstructionDesc[enumCast(Op::OpAtomicOr)].operands.push(OperandId, "'Pointer'");
  2267. InstructionDesc[enumCast(Op::OpAtomicOr)].operands.push(OperandScope, "'Scope'");
  2268. InstructionDesc[enumCast(Op::OpAtomicOr)].operands.push(OperandMemorySemantics, "'Semantics'");
  2269. InstructionDesc[enumCast(Op::OpAtomicOr)].operands.push(OperandId, "'Value'");
  2270. InstructionDesc[enumCast(Op::OpAtomicXor)].operands.push(OperandId, "'Pointer'");
  2271. InstructionDesc[enumCast(Op::OpAtomicXor)].operands.push(OperandScope, "'Scope'");
  2272. InstructionDesc[enumCast(Op::OpAtomicXor)].operands.push(OperandMemorySemantics, "'Semantics'");
  2273. InstructionDesc[enumCast(Op::OpAtomicXor)].operands.push(OperandId, "'Value'");
  2274. InstructionDesc[enumCast(Op::OpAtomicFlagTestAndSet)].operands.push(OperandId, "'Pointer'");
  2275. InstructionDesc[enumCast(Op::OpAtomicFlagTestAndSet)].operands.push(OperandScope, "'Scope'");
  2276. InstructionDesc[enumCast(Op::OpAtomicFlagTestAndSet)].operands.push(OperandMemorySemantics, "'Semantics'");
  2277. InstructionDesc[enumCast(Op::OpAtomicFlagClear)].operands.push(OperandId, "'Pointer'");
  2278. InstructionDesc[enumCast(Op::OpAtomicFlagClear)].operands.push(OperandScope, "'Scope'");
  2279. InstructionDesc[enumCast(Op::OpAtomicFlagClear)].operands.push(OperandMemorySemantics, "'Semantics'");
  2280. InstructionDesc[enumCast(Op::OpLoopMerge)].operands.push(OperandId, "'Merge Block'");
  2281. InstructionDesc[enumCast(Op::OpLoopMerge)].operands.push(OperandId, "'Continue Target'");
  2282. InstructionDesc[enumCast(Op::OpLoopMerge)].operands.push(OperandLoop, "");
  2283. InstructionDesc[enumCast(Op::OpLoopMerge)].operands.push(OperandOptionalLiteral, "");
  2284. InstructionDesc[enumCast(Op::OpSelectionMerge)].operands.push(OperandId, "'Merge Block'");
  2285. InstructionDesc[enumCast(Op::OpSelectionMerge)].operands.push(OperandSelect, "");
  2286. InstructionDesc[enumCast(Op::OpBranch)].operands.push(OperandId, "'Target Label'");
  2287. InstructionDesc[enumCast(Op::OpBranchConditional)].operands.push(OperandId, "'Condition'");
  2288. InstructionDesc[enumCast(Op::OpBranchConditional)].operands.push(OperandId, "'True Label'");
  2289. InstructionDesc[enumCast(Op::OpBranchConditional)].operands.push(OperandId, "'False Label'");
  2290. InstructionDesc[enumCast(Op::OpBranchConditional)].operands.push(OperandVariableLiterals, "'Branch weights'");
  2291. InstructionDesc[enumCast(Op::OpSwitch)].operands.push(OperandId, "'Selector'");
  2292. InstructionDesc[enumCast(Op::OpSwitch)].operands.push(OperandId, "'Default'");
  2293. InstructionDesc[enumCast(Op::OpSwitch)].operands.push(OperandVariableLiteralId, "'Target'");
  2294. InstructionDesc[enumCast(Op::OpReturnValue)].operands.push(OperandId, "'Value'");
  2295. InstructionDesc[enumCast(Op::OpLifetimeStart)].operands.push(OperandId, "'Pointer'");
  2296. InstructionDesc[enumCast(Op::OpLifetimeStart)].operands.push(OperandLiteralNumber, "'Size'");
  2297. InstructionDesc[enumCast(Op::OpLifetimeStop)].operands.push(OperandId, "'Pointer'");
  2298. InstructionDesc[enumCast(Op::OpLifetimeStop)].operands.push(OperandLiteralNumber, "'Size'");
  2299. InstructionDesc[enumCast(Op::OpGroupAsyncCopy)].operands.push(OperandScope, "'Execution'");
  2300. InstructionDesc[enumCast(Op::OpGroupAsyncCopy)].operands.push(OperandId, "'Destination'");
  2301. InstructionDesc[enumCast(Op::OpGroupAsyncCopy)].operands.push(OperandId, "'Source'");
  2302. InstructionDesc[enumCast(Op::OpGroupAsyncCopy)].operands.push(OperandId, "'Num Elements'");
  2303. InstructionDesc[enumCast(Op::OpGroupAsyncCopy)].operands.push(OperandId, "'Stride'");
  2304. InstructionDesc[enumCast(Op::OpGroupAsyncCopy)].operands.push(OperandId, "'Event'");
  2305. InstructionDesc[enumCast(Op::OpGroupWaitEvents)].operands.push(OperandScope, "'Execution'");
  2306. InstructionDesc[enumCast(Op::OpGroupWaitEvents)].operands.push(OperandId, "'Num Events'");
  2307. InstructionDesc[enumCast(Op::OpGroupWaitEvents)].operands.push(OperandId, "'Events List'");
  2308. InstructionDesc[enumCast(Op::OpGroupAll)].operands.push(OperandScope, "'Execution'");
  2309. InstructionDesc[enumCast(Op::OpGroupAll)].operands.push(OperandId, "'Predicate'");
  2310. InstructionDesc[enumCast(Op::OpGroupAny)].operands.push(OperandScope, "'Execution'");
  2311. InstructionDesc[enumCast(Op::OpGroupAny)].operands.push(OperandId, "'Predicate'");
  2312. InstructionDesc[enumCast(Op::OpGroupBroadcast)].operands.push(OperandScope, "'Execution'");
  2313. InstructionDesc[enumCast(Op::OpGroupBroadcast)].operands.push(OperandId, "'Value'");
  2314. InstructionDesc[enumCast(Op::OpGroupBroadcast)].operands.push(OperandId, "'LocalId'");
  2315. InstructionDesc[enumCast(Op::OpGroupIAdd)].operands.push(OperandScope, "'Execution'");
  2316. InstructionDesc[enumCast(Op::OpGroupIAdd)].operands.push(OperandGroupOperation, "'Operation'");
  2317. InstructionDesc[enumCast(Op::OpGroupIAdd)].operands.push(OperandId, "'X'");
  2318. InstructionDesc[enumCast(Op::OpGroupFAdd)].operands.push(OperandScope, "'Execution'");
  2319. InstructionDesc[enumCast(Op::OpGroupFAdd)].operands.push(OperandGroupOperation, "'Operation'");
  2320. InstructionDesc[enumCast(Op::OpGroupFAdd)].operands.push(OperandId, "'X'");
  2321. InstructionDesc[enumCast(Op::OpGroupUMin)].operands.push(OperandScope, "'Execution'");
  2322. InstructionDesc[enumCast(Op::OpGroupUMin)].operands.push(OperandGroupOperation, "'Operation'");
  2323. InstructionDesc[enumCast(Op::OpGroupUMin)].operands.push(OperandId, "'X'");
  2324. InstructionDesc[enumCast(Op::OpGroupSMin)].operands.push(OperandScope, "'Execution'");
  2325. InstructionDesc[enumCast(Op::OpGroupSMin)].operands.push(OperandGroupOperation, "'Operation'");
  2326. InstructionDesc[enumCast(Op::OpGroupSMin)].operands.push(OperandId, "X");
  2327. InstructionDesc[enumCast(Op::OpGroupFMin)].operands.push(OperandScope, "'Execution'");
  2328. InstructionDesc[enumCast(Op::OpGroupFMin)].operands.push(OperandGroupOperation, "'Operation'");
  2329. InstructionDesc[enumCast(Op::OpGroupFMin)].operands.push(OperandId, "X");
  2330. InstructionDesc[enumCast(Op::OpGroupUMax)].operands.push(OperandScope, "'Execution'");
  2331. InstructionDesc[enumCast(Op::OpGroupUMax)].operands.push(OperandGroupOperation, "'Operation'");
  2332. InstructionDesc[enumCast(Op::OpGroupUMax)].operands.push(OperandId, "X");
  2333. InstructionDesc[enumCast(Op::OpGroupSMax)].operands.push(OperandScope, "'Execution'");
  2334. InstructionDesc[enumCast(Op::OpGroupSMax)].operands.push(OperandGroupOperation, "'Operation'");
  2335. InstructionDesc[enumCast(Op::OpGroupSMax)].operands.push(OperandId, "X");
  2336. InstructionDesc[enumCast(Op::OpGroupFMax)].operands.push(OperandScope, "'Execution'");
  2337. InstructionDesc[enumCast(Op::OpGroupFMax)].operands.push(OperandGroupOperation, "'Operation'");
  2338. InstructionDesc[enumCast(Op::OpGroupFMax)].operands.push(OperandId, "X");
  2339. InstructionDesc[enumCast(Op::OpReadPipe)].operands.push(OperandId, "'Pipe'");
  2340. InstructionDesc[enumCast(Op::OpReadPipe)].operands.push(OperandId, "'Pointer'");
  2341. InstructionDesc[enumCast(Op::OpReadPipe)].operands.push(OperandId, "'Packet Size'");
  2342. InstructionDesc[enumCast(Op::OpReadPipe)].operands.push(OperandId, "'Packet Alignment'");
  2343. InstructionDesc[enumCast(Op::OpWritePipe)].operands.push(OperandId, "'Pipe'");
  2344. InstructionDesc[enumCast(Op::OpWritePipe)].operands.push(OperandId, "'Pointer'");
  2345. InstructionDesc[enumCast(Op::OpWritePipe)].operands.push(OperandId, "'Packet Size'");
  2346. InstructionDesc[enumCast(Op::OpWritePipe)].operands.push(OperandId, "'Packet Alignment'");
  2347. InstructionDesc[enumCast(Op::OpReservedReadPipe)].operands.push(OperandId, "'Pipe'");
  2348. InstructionDesc[enumCast(Op::OpReservedReadPipe)].operands.push(OperandId, "'Reserve Id'");
  2349. InstructionDesc[enumCast(Op::OpReservedReadPipe)].operands.push(OperandId, "'Index'");
  2350. InstructionDesc[enumCast(Op::OpReservedReadPipe)].operands.push(OperandId, "'Pointer'");
  2351. InstructionDesc[enumCast(Op::OpReservedReadPipe)].operands.push(OperandId, "'Packet Size'");
  2352. InstructionDesc[enumCast(Op::OpReservedReadPipe)].operands.push(OperandId, "'Packet Alignment'");
  2353. InstructionDesc[enumCast(Op::OpReservedWritePipe)].operands.push(OperandId, "'Pipe'");
  2354. InstructionDesc[enumCast(Op::OpReservedWritePipe)].operands.push(OperandId, "'Reserve Id'");
  2355. InstructionDesc[enumCast(Op::OpReservedWritePipe)].operands.push(OperandId, "'Index'");
  2356. InstructionDesc[enumCast(Op::OpReservedWritePipe)].operands.push(OperandId, "'Pointer'");
  2357. InstructionDesc[enumCast(Op::OpReservedWritePipe)].operands.push(OperandId, "'Packet Size'");
  2358. InstructionDesc[enumCast(Op::OpReservedWritePipe)].operands.push(OperandId, "'Packet Alignment'");
  2359. InstructionDesc[enumCast(Op::OpReserveReadPipePackets)].operands.push(OperandId, "'Pipe'");
  2360. InstructionDesc[enumCast(Op::OpReserveReadPipePackets)].operands.push(OperandId, "'Num Packets'");
  2361. InstructionDesc[enumCast(Op::OpReserveReadPipePackets)].operands.push(OperandId, "'Packet Size'");
  2362. InstructionDesc[enumCast(Op::OpReserveReadPipePackets)].operands.push(OperandId, "'Packet Alignment'");
  2363. InstructionDesc[enumCast(Op::OpReserveWritePipePackets)].operands.push(OperandId, "'Pipe'");
  2364. InstructionDesc[enumCast(Op::OpReserveWritePipePackets)].operands.push(OperandId, "'Num Packets'");
  2365. InstructionDesc[enumCast(Op::OpReserveWritePipePackets)].operands.push(OperandId, "'Packet Size'");
  2366. InstructionDesc[enumCast(Op::OpReserveWritePipePackets)].operands.push(OperandId, "'Packet Alignment'");
  2367. InstructionDesc[enumCast(Op::OpCommitReadPipe)].operands.push(OperandId, "'Pipe'");
  2368. InstructionDesc[enumCast(Op::OpCommitReadPipe)].operands.push(OperandId, "'Reserve Id'");
  2369. InstructionDesc[enumCast(Op::OpCommitReadPipe)].operands.push(OperandId, "'Packet Size'");
  2370. InstructionDesc[enumCast(Op::OpCommitReadPipe)].operands.push(OperandId, "'Packet Alignment'");
  2371. InstructionDesc[enumCast(Op::OpCommitWritePipe)].operands.push(OperandId, "'Pipe'");
  2372. InstructionDesc[enumCast(Op::OpCommitWritePipe)].operands.push(OperandId, "'Reserve Id'");
  2373. InstructionDesc[enumCast(Op::OpCommitWritePipe)].operands.push(OperandId, "'Packet Size'");
  2374. InstructionDesc[enumCast(Op::OpCommitWritePipe)].operands.push(OperandId, "'Packet Alignment'");
  2375. InstructionDesc[enumCast(Op::OpIsValidReserveId)].operands.push(OperandId, "'Reserve Id'");
  2376. InstructionDesc[enumCast(Op::OpGetNumPipePackets)].operands.push(OperandId, "'Pipe'");
  2377. InstructionDesc[enumCast(Op::OpGetNumPipePackets)].operands.push(OperandId, "'Packet Size'");
  2378. InstructionDesc[enumCast(Op::OpGetNumPipePackets)].operands.push(OperandId, "'Packet Alignment'");
  2379. InstructionDesc[enumCast(Op::OpGetMaxPipePackets)].operands.push(OperandId, "'Pipe'");
  2380. InstructionDesc[enumCast(Op::OpGetMaxPipePackets)].operands.push(OperandId, "'Packet Size'");
  2381. InstructionDesc[enumCast(Op::OpGetMaxPipePackets)].operands.push(OperandId, "'Packet Alignment'");
  2382. InstructionDesc[enumCast(Op::OpGroupReserveReadPipePackets)].operands.push(OperandScope, "'Execution'");
  2383. InstructionDesc[enumCast(Op::OpGroupReserveReadPipePackets)].operands.push(OperandId, "'Pipe'");
  2384. InstructionDesc[enumCast(Op::OpGroupReserveReadPipePackets)].operands.push(OperandId, "'Num Packets'");
  2385. InstructionDesc[enumCast(Op::OpGroupReserveReadPipePackets)].operands.push(OperandId, "'Packet Size'");
  2386. InstructionDesc[enumCast(Op::OpGroupReserveReadPipePackets)].operands.push(OperandId, "'Packet Alignment'");
  2387. InstructionDesc[enumCast(Op::OpGroupReserveWritePipePackets)].operands.push(OperandScope, "'Execution'");
  2388. InstructionDesc[enumCast(Op::OpGroupReserveWritePipePackets)].operands.push(OperandId, "'Pipe'");
  2389. InstructionDesc[enumCast(Op::OpGroupReserveWritePipePackets)].operands.push(OperandId, "'Num Packets'");
  2390. InstructionDesc[enumCast(Op::OpGroupReserveWritePipePackets)].operands.push(OperandId, "'Packet Size'");
  2391. InstructionDesc[enumCast(Op::OpGroupReserveWritePipePackets)].operands.push(OperandId, "'Packet Alignment'");
  2392. InstructionDesc[enumCast(Op::OpGroupCommitReadPipe)].operands.push(OperandScope, "'Execution'");
  2393. InstructionDesc[enumCast(Op::OpGroupCommitReadPipe)].operands.push(OperandId, "'Pipe'");
  2394. InstructionDesc[enumCast(Op::OpGroupCommitReadPipe)].operands.push(OperandId, "'Reserve Id'");
  2395. InstructionDesc[enumCast(Op::OpGroupCommitReadPipe)].operands.push(OperandId, "'Packet Size'");
  2396. InstructionDesc[enumCast(Op::OpGroupCommitReadPipe)].operands.push(OperandId, "'Packet Alignment'");
  2397. InstructionDesc[enumCast(Op::OpGroupCommitWritePipe)].operands.push(OperandScope, "'Execution'");
  2398. InstructionDesc[enumCast(Op::OpGroupCommitWritePipe)].operands.push(OperandId, "'Pipe'");
  2399. InstructionDesc[enumCast(Op::OpGroupCommitWritePipe)].operands.push(OperandId, "'Reserve Id'");
  2400. InstructionDesc[enumCast(Op::OpGroupCommitWritePipe)].operands.push(OperandId, "'Packet Size'");
  2401. InstructionDesc[enumCast(Op::OpGroupCommitWritePipe)].operands.push(OperandId, "'Packet Alignment'");
  2402. InstructionDesc[enumCast(Op::OpBuildNDRange)].operands.push(OperandId, "'GlobalWorkSize'");
  2403. InstructionDesc[enumCast(Op::OpBuildNDRange)].operands.push(OperandId, "'LocalWorkSize'");
  2404. InstructionDesc[enumCast(Op::OpBuildNDRange)].operands.push(OperandId, "'GlobalWorkOffset'");
  2405. InstructionDesc[enumCast(Op::OpCaptureEventProfilingInfo)].operands.push(OperandId, "'Event'");
  2406. InstructionDesc[enumCast(Op::OpCaptureEventProfilingInfo)].operands.push(OperandId, "'Profiling Info'");
  2407. InstructionDesc[enumCast(Op::OpCaptureEventProfilingInfo)].operands.push(OperandId, "'Value'");
  2408. InstructionDesc[enumCast(Op::OpSetUserEventStatus)].operands.push(OperandId, "'Event'");
  2409. InstructionDesc[enumCast(Op::OpSetUserEventStatus)].operands.push(OperandId, "'Status'");
  2410. InstructionDesc[enumCast(Op::OpIsValidEvent)].operands.push(OperandId, "'Event'");
  2411. InstructionDesc[enumCast(Op::OpRetainEvent)].operands.push(OperandId, "'Event'");
  2412. InstructionDesc[enumCast(Op::OpReleaseEvent)].operands.push(OperandId, "'Event'");
  2413. InstructionDesc[enumCast(Op::OpGetKernelWorkGroupSize)].operands.push(OperandId, "'Invoke'");
  2414. InstructionDesc[enumCast(Op::OpGetKernelWorkGroupSize)].operands.push(OperandId, "'Param'");
  2415. InstructionDesc[enumCast(Op::OpGetKernelWorkGroupSize)].operands.push(OperandId, "'Param Size'");
  2416. InstructionDesc[enumCast(Op::OpGetKernelWorkGroupSize)].operands.push(OperandId, "'Param Align'");
  2417. InstructionDesc[enumCast(Op::OpGetKernelPreferredWorkGroupSizeMultiple)].operands.push(OperandId, "'Invoke'");
  2418. InstructionDesc[enumCast(Op::OpGetKernelPreferredWorkGroupSizeMultiple)].operands.push(OperandId, "'Param'");
  2419. InstructionDesc[enumCast(Op::OpGetKernelPreferredWorkGroupSizeMultiple)].operands.push(OperandId, "'Param Size'");
  2420. InstructionDesc[enumCast(Op::OpGetKernelPreferredWorkGroupSizeMultiple)].operands.push(OperandId, "'Param Align'");
  2421. InstructionDesc[enumCast(Op::OpGetKernelNDrangeSubGroupCount)].operands.push(OperandId, "'ND Range'");
  2422. InstructionDesc[enumCast(Op::OpGetKernelNDrangeSubGroupCount)].operands.push(OperandId, "'Invoke'");
  2423. InstructionDesc[enumCast(Op::OpGetKernelNDrangeSubGroupCount)].operands.push(OperandId, "'Param'");
  2424. InstructionDesc[enumCast(Op::OpGetKernelNDrangeSubGroupCount)].operands.push(OperandId, "'Param Size'");
  2425. InstructionDesc[enumCast(Op::OpGetKernelNDrangeSubGroupCount)].operands.push(OperandId, "'Param Align'");
  2426. InstructionDesc[enumCast(Op::OpGetKernelNDrangeMaxSubGroupSize)].operands.push(OperandId, "'ND Range'");
  2427. InstructionDesc[enumCast(Op::OpGetKernelNDrangeMaxSubGroupSize)].operands.push(OperandId, "'Invoke'");
  2428. InstructionDesc[enumCast(Op::OpGetKernelNDrangeMaxSubGroupSize)].operands.push(OperandId, "'Param'");
  2429. InstructionDesc[enumCast(Op::OpGetKernelNDrangeMaxSubGroupSize)].operands.push(OperandId, "'Param Size'");
  2430. InstructionDesc[enumCast(Op::OpGetKernelNDrangeMaxSubGroupSize)].operands.push(OperandId, "'Param Align'");
  2431. InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Queue'");
  2432. InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Flags'");
  2433. InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'ND Range'");
  2434. InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Num Events'");
  2435. InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Wait Events'");
  2436. InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Ret Event'");
  2437. InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Invoke'");
  2438. InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Param'");
  2439. InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Param Size'");
  2440. InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandId, "'Param Align'");
  2441. InstructionDesc[enumCast(Op::OpEnqueueKernel)].operands.push(OperandVariableIds, "'Local Size'");
  2442. InstructionDesc[enumCast(Op::OpEnqueueMarker)].operands.push(OperandId, "'Queue'");
  2443. InstructionDesc[enumCast(Op::OpEnqueueMarker)].operands.push(OperandId, "'Num Events'");
  2444. InstructionDesc[enumCast(Op::OpEnqueueMarker)].operands.push(OperandId, "'Wait Events'");
  2445. InstructionDesc[enumCast(Op::OpEnqueueMarker)].operands.push(OperandId, "'Ret Event'");
  2446. InstructionDesc[enumCast(Op::OpGroupNonUniformElect)].operands.push(OperandScope, "'Execution'");
  2447. InstructionDesc[enumCast(Op::OpGroupNonUniformAll)].operands.push(OperandScope, "'Execution'");
  2448. InstructionDesc[enumCast(Op::OpGroupNonUniformAll)].operands.push(OperandId, "X");
  2449. InstructionDesc[enumCast(Op::OpGroupNonUniformAny)].operands.push(OperandScope, "'Execution'");
  2450. InstructionDesc[enumCast(Op::OpGroupNonUniformAny)].operands.push(OperandId, "X");
  2451. InstructionDesc[enumCast(Op::OpGroupNonUniformAllEqual)].operands.push(OperandScope, "'Execution'");
  2452. InstructionDesc[enumCast(Op::OpGroupNonUniformAllEqual)].operands.push(OperandId, "X");
  2453. InstructionDesc[enumCast(Op::OpGroupNonUniformBroadcast)].operands.push(OperandScope, "'Execution'");
  2454. InstructionDesc[enumCast(Op::OpGroupNonUniformBroadcast)].operands.push(OperandId, "X");
  2455. InstructionDesc[enumCast(Op::OpGroupNonUniformBroadcast)].operands.push(OperandId, "ID");
  2456. InstructionDesc[enumCast(Op::OpGroupNonUniformBroadcastFirst)].operands.push(OperandScope, "'Execution'");
  2457. InstructionDesc[enumCast(Op::OpGroupNonUniformBroadcastFirst)].operands.push(OperandId, "X");
  2458. InstructionDesc[enumCast(Op::OpGroupNonUniformBallot)].operands.push(OperandScope, "'Execution'");
  2459. InstructionDesc[enumCast(Op::OpGroupNonUniformBallot)].operands.push(OperandId, "X");
  2460. InstructionDesc[enumCast(Op::OpGroupNonUniformInverseBallot)].operands.push(OperandScope, "'Execution'");
  2461. InstructionDesc[enumCast(Op::OpGroupNonUniformInverseBallot)].operands.push(OperandId, "X");
  2462. InstructionDesc[enumCast(Op::OpGroupNonUniformBallotBitExtract)].operands.push(OperandScope, "'Execution'");
  2463. InstructionDesc[enumCast(Op::OpGroupNonUniformBallotBitExtract)].operands.push(OperandId, "X");
  2464. InstructionDesc[enumCast(Op::OpGroupNonUniformBallotBitExtract)].operands.push(OperandId, "Bit");
  2465. InstructionDesc[enumCast(Op::OpGroupNonUniformBallotBitCount)].operands.push(OperandScope, "'Execution'");
  2466. InstructionDesc[enumCast(Op::OpGroupNonUniformBallotBitCount)].operands.push(OperandGroupOperation, "'Operation'");
  2467. InstructionDesc[enumCast(Op::OpGroupNonUniformBallotBitCount)].operands.push(OperandId, "X");
  2468. InstructionDesc[enumCast(Op::OpGroupNonUniformBallotFindLSB)].operands.push(OperandScope, "'Execution'");
  2469. InstructionDesc[enumCast(Op::OpGroupNonUniformBallotFindLSB)].operands.push(OperandId, "X");
  2470. InstructionDesc[enumCast(Op::OpGroupNonUniformBallotFindMSB)].operands.push(OperandScope, "'Execution'");
  2471. InstructionDesc[enumCast(Op::OpGroupNonUniformBallotFindMSB)].operands.push(OperandId, "X");
  2472. InstructionDesc[enumCast(Op::OpGroupNonUniformShuffle)].operands.push(OperandScope, "'Execution'");
  2473. InstructionDesc[enumCast(Op::OpGroupNonUniformShuffle)].operands.push(OperandId, "X");
  2474. InstructionDesc[enumCast(Op::OpGroupNonUniformShuffle)].operands.push(OperandId, "'Id'");
  2475. InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleXor)].operands.push(OperandScope, "'Execution'");
  2476. InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleXor)].operands.push(OperandId, "X");
  2477. InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleXor)].operands.push(OperandId, "Mask");
  2478. InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleUp)].operands.push(OperandScope, "'Execution'");
  2479. InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleUp)].operands.push(OperandId, "X");
  2480. InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleUp)].operands.push(OperandId, "Offset");
  2481. InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleDown)].operands.push(OperandScope, "'Execution'");
  2482. InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleDown)].operands.push(OperandId, "X");
  2483. InstructionDesc[enumCast(Op::OpGroupNonUniformShuffleDown)].operands.push(OperandId, "Offset");
  2484. InstructionDesc[enumCast(Op::OpGroupNonUniformIAdd)].operands.push(OperandScope, "'Execution'");
  2485. InstructionDesc[enumCast(Op::OpGroupNonUniformIAdd)].operands.push(OperandGroupOperation, "'Operation'");
  2486. InstructionDesc[enumCast(Op::OpGroupNonUniformIAdd)].operands.push(OperandId, "X");
  2487. InstructionDesc[enumCast(Op::OpGroupNonUniformIAdd)].operands.push(OperandId, "'ClusterSize'", true);
  2488. InstructionDesc[enumCast(Op::OpGroupNonUniformFAdd)].operands.push(OperandScope, "'Execution'");
  2489. InstructionDesc[enumCast(Op::OpGroupNonUniformFAdd)].operands.push(OperandGroupOperation, "'Operation'");
  2490. InstructionDesc[enumCast(Op::OpGroupNonUniformFAdd)].operands.push(OperandId, "X");
  2491. InstructionDesc[enumCast(Op::OpGroupNonUniformFAdd)].operands.push(OperandId, "'ClusterSize'", true);
  2492. InstructionDesc[enumCast(Op::OpGroupNonUniformIMul)].operands.push(OperandScope, "'Execution'");
  2493. InstructionDesc[enumCast(Op::OpGroupNonUniformIMul)].operands.push(OperandGroupOperation, "'Operation'");
  2494. InstructionDesc[enumCast(Op::OpGroupNonUniformIMul)].operands.push(OperandId, "X");
  2495. InstructionDesc[enumCast(Op::OpGroupNonUniformIMul)].operands.push(OperandId, "'ClusterSize'", true);
  2496. InstructionDesc[enumCast(Op::OpGroupNonUniformFMul)].operands.push(OperandScope, "'Execution'");
  2497. InstructionDesc[enumCast(Op::OpGroupNonUniformFMul)].operands.push(OperandGroupOperation, "'Operation'");
  2498. InstructionDesc[enumCast(Op::OpGroupNonUniformFMul)].operands.push(OperandId, "X");
  2499. InstructionDesc[enumCast(Op::OpGroupNonUniformFMul)].operands.push(OperandId, "'ClusterSize'", true);
  2500. InstructionDesc[enumCast(Op::OpGroupNonUniformSMin)].operands.push(OperandScope, "'Execution'");
  2501. InstructionDesc[enumCast(Op::OpGroupNonUniformSMin)].operands.push(OperandGroupOperation, "'Operation'");
  2502. InstructionDesc[enumCast(Op::OpGroupNonUniformSMin)].operands.push(OperandId, "X");
  2503. InstructionDesc[enumCast(Op::OpGroupNonUniformSMin)].operands.push(OperandId, "'ClusterSize'", true);
  2504. InstructionDesc[enumCast(Op::OpGroupNonUniformUMin)].operands.push(OperandScope, "'Execution'");
  2505. InstructionDesc[enumCast(Op::OpGroupNonUniformUMin)].operands.push(OperandGroupOperation, "'Operation'");
  2506. InstructionDesc[enumCast(Op::OpGroupNonUniformUMin)].operands.push(OperandId, "X");
  2507. InstructionDesc[enumCast(Op::OpGroupNonUniformUMin)].operands.push(OperandId, "'ClusterSize'", true);
  2508. InstructionDesc[enumCast(Op::OpGroupNonUniformFMin)].operands.push(OperandScope, "'Execution'");
  2509. InstructionDesc[enumCast(Op::OpGroupNonUniformFMin)].operands.push(OperandGroupOperation, "'Operation'");
  2510. InstructionDesc[enumCast(Op::OpGroupNonUniformFMin)].operands.push(OperandId, "X");
  2511. InstructionDesc[enumCast(Op::OpGroupNonUniformFMin)].operands.push(OperandId, "'ClusterSize'", true);
  2512. InstructionDesc[enumCast(Op::OpGroupNonUniformSMax)].operands.push(OperandScope, "'Execution'");
  2513. InstructionDesc[enumCast(Op::OpGroupNonUniformSMax)].operands.push(OperandGroupOperation, "'Operation'");
  2514. InstructionDesc[enumCast(Op::OpGroupNonUniformSMax)].operands.push(OperandId, "X");
  2515. InstructionDesc[enumCast(Op::OpGroupNonUniformSMax)].operands.push(OperandId, "'ClusterSize'", true);
  2516. InstructionDesc[enumCast(Op::OpGroupNonUniformUMax)].operands.push(OperandScope, "'Execution'");
  2517. InstructionDesc[enumCast(Op::OpGroupNonUniformUMax)].operands.push(OperandGroupOperation, "'Operation'");
  2518. InstructionDesc[enumCast(Op::OpGroupNonUniformUMax)].operands.push(OperandId, "X");
  2519. InstructionDesc[enumCast(Op::OpGroupNonUniformUMax)].operands.push(OperandId, "'ClusterSize'", true);
  2520. InstructionDesc[enumCast(Op::OpGroupNonUniformFMax)].operands.push(OperandScope, "'Execution'");
  2521. InstructionDesc[enumCast(Op::OpGroupNonUniformFMax)].operands.push(OperandGroupOperation, "'Operation'");
  2522. InstructionDesc[enumCast(Op::OpGroupNonUniformFMax)].operands.push(OperandId, "X");
  2523. InstructionDesc[enumCast(Op::OpGroupNonUniformFMax)].operands.push(OperandId, "'ClusterSize'", true);
  2524. InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseAnd)].operands.push(OperandScope, "'Execution'");
  2525. InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseAnd)].operands.push(OperandGroupOperation, "'Operation'");
  2526. InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseAnd)].operands.push(OperandId, "X");
  2527. InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseAnd)].operands.push(OperandId, "'ClusterSize'", true);
  2528. InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseOr)].operands.push(OperandScope, "'Execution'");
  2529. InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseOr)].operands.push(OperandGroupOperation, "'Operation'");
  2530. InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseOr)].operands.push(OperandId, "X");
  2531. InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseOr)].operands.push(OperandId, "'ClusterSize'", true);
  2532. InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseXor)].operands.push(OperandScope, "'Execution'");
  2533. InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseXor)].operands.push(OperandGroupOperation, "'Operation'");
  2534. InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseXor)].operands.push(OperandId, "X");
  2535. InstructionDesc[enumCast(Op::OpGroupNonUniformBitwiseXor)].operands.push(OperandId, "'ClusterSize'", true);
  2536. InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalAnd)].operands.push(OperandScope, "'Execution'");
  2537. InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalAnd)].operands.push(OperandGroupOperation, "'Operation'");
  2538. InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalAnd)].operands.push(OperandId, "X");
  2539. InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalAnd)].operands.push(OperandId, "'ClusterSize'", true);
  2540. InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalOr)].operands.push(OperandScope, "'Execution'");
  2541. InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalOr)].operands.push(OperandGroupOperation, "'Operation'");
  2542. InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalOr)].operands.push(OperandId, "X");
  2543. InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalOr)].operands.push(OperandId, "'ClusterSize'", true);
  2544. InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalXor)].operands.push(OperandScope, "'Execution'");
  2545. InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalXor)].operands.push(OperandGroupOperation, "'Operation'");
  2546. InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalXor)].operands.push(OperandId, "X");
  2547. InstructionDesc[enumCast(Op::OpGroupNonUniformLogicalXor)].operands.push(OperandId, "'ClusterSize'", true);
  2548. InstructionDesc[enumCast(Op::OpGroupNonUniformQuadBroadcast)].operands.push(OperandScope, "'Execution'");
  2549. InstructionDesc[enumCast(Op::OpGroupNonUniformQuadBroadcast)].operands.push(OperandId, "X");
  2550. InstructionDesc[enumCast(Op::OpGroupNonUniformQuadBroadcast)].operands.push(OperandId, "'Id'");
  2551. InstructionDesc[enumCast(Op::OpGroupNonUniformQuadSwap)].operands.push(OperandScope, "'Execution'");
  2552. InstructionDesc[enumCast(Op::OpGroupNonUniformQuadSwap)].operands.push(OperandId, "X");
  2553. InstructionDesc[enumCast(Op::OpGroupNonUniformQuadSwap)].operands.push(OperandId, "'Direction'");
  2554. InstructionDesc[enumCast(Op::OpSubgroupBallotKHR)].operands.push(OperandId, "'Predicate'");
  2555. InstructionDesc[enumCast(Op::OpSubgroupFirstInvocationKHR)].operands.push(OperandId, "'Value'");
  2556. InstructionDesc[enumCast(Op::OpSubgroupAnyKHR)].operands.push(OperandScope, "'Execution'");
  2557. InstructionDesc[enumCast(Op::OpSubgroupAnyKHR)].operands.push(OperandId, "'Predicate'");
  2558. InstructionDesc[enumCast(Op::OpSubgroupAllKHR)].operands.push(OperandScope, "'Execution'");
  2559. InstructionDesc[enumCast(Op::OpSubgroupAllKHR)].operands.push(OperandId, "'Predicate'");
  2560. InstructionDesc[enumCast(Op::OpSubgroupAllEqualKHR)].operands.push(OperandScope, "'Execution'");
  2561. InstructionDesc[enumCast(Op::OpSubgroupAllEqualKHR)].operands.push(OperandId, "'Predicate'");
  2562. InstructionDesc[enumCast(Op::OpGroupNonUniformRotateKHR)].operands.push(OperandScope, "'Execution'");
  2563. InstructionDesc[enumCast(Op::OpGroupNonUniformRotateKHR)].operands.push(OperandId, "'X'");
  2564. InstructionDesc[enumCast(Op::OpGroupNonUniformRotateKHR)].operands.push(OperandId, "'Delta'");
  2565. InstructionDesc[enumCast(Op::OpGroupNonUniformRotateKHR)].operands.push(OperandId, "'ClusterSize'", true);
  2566. InstructionDesc[enumCast(Op::OpSubgroupReadInvocationKHR)].operands.push(OperandId, "'Value'");
  2567. InstructionDesc[enumCast(Op::OpSubgroupReadInvocationKHR)].operands.push(OperandId, "'Index'");
  2568. InstructionDesc[enumCast(Op::OpModuleProcessed)].operands.push(OperandLiteralString, "'process'");
  2569. InstructionDesc[enumCast(Op::OpGroupIAddNonUniformAMD)].operands.push(OperandScope, "'Execution'");
  2570. InstructionDesc[enumCast(Op::OpGroupIAddNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
  2571. InstructionDesc[enumCast(Op::OpGroupIAddNonUniformAMD)].operands.push(OperandId, "'X'");
  2572. InstructionDesc[enumCast(Op::OpGroupFAddNonUniformAMD)].operands.push(OperandScope, "'Execution'");
  2573. InstructionDesc[enumCast(Op::OpGroupFAddNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
  2574. InstructionDesc[enumCast(Op::OpGroupFAddNonUniformAMD)].operands.push(OperandId, "'X'");
  2575. InstructionDesc[enumCast(Op::OpGroupUMinNonUniformAMD)].operands.push(OperandScope, "'Execution'");
  2576. InstructionDesc[enumCast(Op::OpGroupUMinNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
  2577. InstructionDesc[enumCast(Op::OpGroupUMinNonUniformAMD)].operands.push(OperandId, "'X'");
  2578. InstructionDesc[enumCast(Op::OpGroupSMinNonUniformAMD)].operands.push(OperandScope, "'Execution'");
  2579. InstructionDesc[enumCast(Op::OpGroupSMinNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
  2580. InstructionDesc[enumCast(Op::OpGroupSMinNonUniformAMD)].operands.push(OperandId, "X");
  2581. InstructionDesc[enumCast(Op::OpGroupFMinNonUniformAMD)].operands.push(OperandScope, "'Execution'");
  2582. InstructionDesc[enumCast(Op::OpGroupFMinNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
  2583. InstructionDesc[enumCast(Op::OpGroupFMinNonUniformAMD)].operands.push(OperandId, "X");
  2584. InstructionDesc[enumCast(Op::OpGroupUMaxNonUniformAMD)].operands.push(OperandScope, "'Execution'");
  2585. InstructionDesc[enumCast(Op::OpGroupUMaxNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
  2586. InstructionDesc[enumCast(Op::OpGroupUMaxNonUniformAMD)].operands.push(OperandId, "X");
  2587. InstructionDesc[enumCast(Op::OpGroupSMaxNonUniformAMD)].operands.push(OperandScope, "'Execution'");
  2588. InstructionDesc[enumCast(Op::OpGroupSMaxNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
  2589. InstructionDesc[enumCast(Op::OpGroupSMaxNonUniformAMD)].operands.push(OperandId, "X");
  2590. InstructionDesc[enumCast(Op::OpGroupFMaxNonUniformAMD)].operands.push(OperandScope, "'Execution'");
  2591. InstructionDesc[enumCast(Op::OpGroupFMaxNonUniformAMD)].operands.push(OperandGroupOperation, "'Operation'");
  2592. InstructionDesc[enumCast(Op::OpGroupFMaxNonUniformAMD)].operands.push(OperandId, "X");
  2593. InstructionDesc[enumCast(Op::OpFragmentMaskFetchAMD)].operands.push(OperandId, "'Image'");
  2594. InstructionDesc[enumCast(Op::OpFragmentMaskFetchAMD)].operands.push(OperandId, "'Coordinate'");
  2595. InstructionDesc[enumCast(Op::OpFragmentFetchAMD)].operands.push(OperandId, "'Image'");
  2596. InstructionDesc[enumCast(Op::OpFragmentFetchAMD)].operands.push(OperandId, "'Coordinate'");
  2597. InstructionDesc[enumCast(Op::OpFragmentFetchAMD)].operands.push(OperandId, "'Fragment Index'");
  2598. InstructionDesc[enumCast(Op::OpGroupNonUniformPartitionNV)].operands.push(OperandId, "X");
  2599. InstructionDesc[enumCast(Op::OpGroupNonUniformQuadAllKHR)].operands.push(OperandId, "'Predicate'");
  2600. InstructionDesc[enumCast(Op::OpGroupNonUniformQuadAnyKHR)].operands.push(OperandId, "'Predicate'");
  2601. InstructionDesc[enumCast(Op::OpTypeAccelerationStructureKHR)].setResultAndType(true, false);
  2602. InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'Acceleration Structure'");
  2603. InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'Ray Flags'");
  2604. InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'Cull Mask'");
  2605. InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'SBT Record Offset'");
  2606. InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'SBT Record Stride'");
  2607. InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'Miss Index'");
  2608. InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'Ray Origin'");
  2609. InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'TMin'");
  2610. InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'Ray Direction'");
  2611. InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'TMax'");
  2612. InstructionDesc[enumCast(Op::OpTraceNV)].operands.push(OperandId, "'Payload'");
  2613. InstructionDesc[enumCast(Op::OpTraceNV)].setResultAndType(false, false);
  2614. InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Acceleration Structure'");
  2615. InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Ray Flags'");
  2616. InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Cull Mask'");
  2617. InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'SBT Record Offset'");
  2618. InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'SBT Record Stride'");
  2619. InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Miss Index'");
  2620. InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Ray Origin'");
  2621. InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'TMin'");
  2622. InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Ray Direction'");
  2623. InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'TMax'");
  2624. InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Time'");
  2625. InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].operands.push(OperandId, "'Payload'");
  2626. InstructionDesc[enumCast(Op::OpTraceRayMotionNV)].setResultAndType(false, false);
  2627. InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'Acceleration Structure'");
  2628. InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'Ray Flags'");
  2629. InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'Cull Mask'");
  2630. InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'SBT Record Offset'");
  2631. InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'SBT Record Stride'");
  2632. InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'Miss Index'");
  2633. InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'Ray Origin'");
  2634. InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'TMin'");
  2635. InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'Ray Direction'");
  2636. InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'TMax'");
  2637. InstructionDesc[enumCast(Op::OpTraceRayKHR)].operands.push(OperandId, "'Payload'");
  2638. InstructionDesc[enumCast(Op::OpTraceRayKHR)].setResultAndType(false, false);
  2639. InstructionDesc[enumCast(Op::OpReportIntersectionKHR)].operands.push(OperandId, "'Hit Parameter'");
  2640. InstructionDesc[enumCast(Op::OpReportIntersectionKHR)].operands.push(OperandId, "'Hit Kind'");
  2641. InstructionDesc[enumCast(Op::OpIgnoreIntersectionNV)].setResultAndType(false, false);
  2642. InstructionDesc[enumCast(Op::OpIgnoreIntersectionKHR)].setResultAndType(false, false);
  2643. InstructionDesc[enumCast(Op::OpTerminateRayNV)].setResultAndType(false, false);
  2644. InstructionDesc[enumCast(Op::OpTerminateRayKHR)].setResultAndType(false, false);
  2645. InstructionDesc[enumCast(Op::OpExecuteCallableNV)].operands.push(OperandId, "SBT Record Index");
  2646. InstructionDesc[enumCast(Op::OpExecuteCallableNV)].operands.push(OperandId, "CallableData ID");
  2647. InstructionDesc[enumCast(Op::OpExecuteCallableNV)].setResultAndType(false, false);
  2648. InstructionDesc[enumCast(Op::OpExecuteCallableKHR)].operands.push(OperandId, "SBT Record Index");
  2649. InstructionDesc[enumCast(Op::OpExecuteCallableKHR)].operands.push(OperandId, "CallableData");
  2650. InstructionDesc[enumCast(Op::OpExecuteCallableKHR)].setResultAndType(false, false);
  2651. InstructionDesc[enumCast(Op::OpConvertUToAccelerationStructureKHR)].operands.push(OperandId, "Value");
  2652. InstructionDesc[enumCast(Op::OpConvertUToAccelerationStructureKHR)].setResultAndType(true, true);
  2653. // Ray Query
  2654. InstructionDesc[enumCast(Op::OpTypeAccelerationStructureKHR)].setResultAndType(true, false);
  2655. InstructionDesc[enumCast(Op::OpTypeRayQueryKHR)].setResultAndType(true, false);
  2656. InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'RayQuery'");
  2657. InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'AccelerationS'");
  2658. InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'RayFlags'");
  2659. InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'CullMask'");
  2660. InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'Origin'");
  2661. InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'Tmin'");
  2662. InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'Direction'");
  2663. InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].operands.push(OperandId, "'Tmax'");
  2664. InstructionDesc[enumCast(Op::OpRayQueryInitializeKHR)].setResultAndType(false, false);
  2665. InstructionDesc[enumCast(Op::OpRayQueryTerminateKHR)].operands.push(OperandId, "'RayQuery'");
  2666. InstructionDesc[enumCast(Op::OpRayQueryTerminateKHR)].setResultAndType(false, false);
  2667. InstructionDesc[enumCast(Op::OpRayQueryGenerateIntersectionKHR)].operands.push(OperandId, "'RayQuery'");
  2668. InstructionDesc[enumCast(Op::OpRayQueryGenerateIntersectionKHR)].operands.push(OperandId, "'THit'");
  2669. InstructionDesc[enumCast(Op::OpRayQueryGenerateIntersectionKHR)].setResultAndType(false, false);
  2670. InstructionDesc[enumCast(Op::OpRayQueryConfirmIntersectionKHR)].operands.push(OperandId, "'RayQuery'");
  2671. InstructionDesc[enumCast(Op::OpRayQueryConfirmIntersectionKHR)].setResultAndType(false, false);
  2672. InstructionDesc[enumCast(Op::OpRayQueryProceedKHR)].operands.push(OperandId, "'RayQuery'");
  2673. InstructionDesc[enumCast(Op::OpRayQueryProceedKHR)].setResultAndType(true, true);
  2674. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTypeKHR)].operands.push(OperandId, "'RayQuery'");
  2675. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTypeKHR)].operands.push(OperandId, "'Committed'");
  2676. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTypeKHR)].setResultAndType(true, true);
  2677. InstructionDesc[enumCast(Op::OpRayQueryGetRayTMinKHR)].operands.push(OperandId, "'RayQuery'");
  2678. InstructionDesc[enumCast(Op::OpRayQueryGetRayTMinKHR)].setResultAndType(true, true);
  2679. InstructionDesc[enumCast(Op::OpRayQueryGetRayFlagsKHR)].operands.push(OperandId, "'RayQuery'");
  2680. InstructionDesc[enumCast(Op::OpRayQueryGetRayFlagsKHR)].setResultAndType(true, true);
  2681. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTKHR)].operands.push(OperandId, "'RayQuery'");
  2682. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTKHR)].operands.push(OperandId, "'Committed'");
  2683. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTKHR)].setResultAndType(true, true);
  2684. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceCustomIndexKHR)].operands.push(OperandId, "'RayQuery'");
  2685. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceCustomIndexKHR)].operands.push(OperandId, "'Committed'");
  2686. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceCustomIndexKHR)].setResultAndType(true, true);
  2687. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceIdKHR)].operands.push(OperandId, "'RayQuery'");
  2688. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceIdKHR)].operands.push(OperandId, "'Committed'");
  2689. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceIdKHR)].setResultAndType(true, true);
  2690. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR)].operands.push(OperandId, "'RayQuery'");
  2691. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR)].operands.push(OperandId, "'Committed'");
  2692. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR)].setResultAndType(true, true);
  2693. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionGeometryIndexKHR)].operands.push(OperandId, "'RayQuery'");
  2694. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionGeometryIndexKHR)].operands.push(OperandId, "'Committed'");
  2695. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionGeometryIndexKHR)].setResultAndType(true, true);
  2696. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionPrimitiveIndexKHR)].operands.push(OperandId, "'RayQuery'");
  2697. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionPrimitiveIndexKHR)].operands.push(OperandId, "'Committed'");
  2698. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionPrimitiveIndexKHR)].setResultAndType(true, true);
  2699. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionBarycentricsKHR)].operands.push(OperandId, "'RayQuery'");
  2700. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionBarycentricsKHR)].operands.push(OperandId, "'Committed'");
  2701. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionBarycentricsKHR)].setResultAndType(true, true);
  2702. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionFrontFaceKHR)].operands.push(OperandId, "'RayQuery'");
  2703. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionFrontFaceKHR)].operands.push(OperandId, "'Committed'");
  2704. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionFrontFaceKHR)].setResultAndType(true, true);
  2705. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionCandidateAABBOpaqueKHR)].operands.push(OperandId, "'RayQuery'");
  2706. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionCandidateAABBOpaqueKHR)].setResultAndType(true, true);
  2707. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectRayDirectionKHR)].operands.push(OperandId, "'RayQuery'");
  2708. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectRayDirectionKHR)].operands.push(OperandId, "'Committed'");
  2709. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectRayDirectionKHR)].setResultAndType(true, true);
  2710. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectRayOriginKHR)].operands.push(OperandId, "'RayQuery'");
  2711. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectRayOriginKHR)].operands.push(OperandId, "'Committed'");
  2712. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectRayOriginKHR)].setResultAndType(true, true);
  2713. InstructionDesc[enumCast(Op::OpRayQueryGetWorldRayDirectionKHR)].operands.push(OperandId, "'RayQuery'");
  2714. InstructionDesc[enumCast(Op::OpRayQueryGetWorldRayDirectionKHR)].setResultAndType(true, true);
  2715. InstructionDesc[enumCast(Op::OpRayQueryGetWorldRayOriginKHR)].operands.push(OperandId, "'RayQuery'");
  2716. InstructionDesc[enumCast(Op::OpRayQueryGetWorldRayOriginKHR)].setResultAndType(true, true);
  2717. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectToWorldKHR)].operands.push(OperandId, "'RayQuery'");
  2718. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectToWorldKHR)].operands.push(OperandId, "'Committed'");
  2719. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionObjectToWorldKHR)].setResultAndType(true, true);
  2720. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionWorldToObjectKHR)].operands.push(OperandId, "'RayQuery'");
  2721. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionWorldToObjectKHR)].operands.push(OperandId, "'Committed'");
  2722. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionWorldToObjectKHR)].setResultAndType(true, true);
  2723. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTriangleVertexPositionsKHR)].operands.push(OperandId, "'RayQuery'");
  2724. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTriangleVertexPositionsKHR)].operands.push(OperandId, "'Committed'");
  2725. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionTriangleVertexPositionsKHR)].setResultAndType(true, true);
  2726. InstructionDesc[enumCast(Op::OpRayQueryGetClusterIdNV)].operands.push(OperandId, "'RayQuery'");
  2727. InstructionDesc[enumCast(Op::OpRayQueryGetClusterIdNV)].operands.push(OperandId, "'Committed'");
  2728. InstructionDesc[enumCast(Op::OpRayQueryGetClusterIdNV)].setResultAndType(true, true);
  2729. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionSpherePositionNV)].operands.push(OperandId, "'RayQuery'");
  2730. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionSpherePositionNV)].operands.push(OperandId, "'Committed'");
  2731. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionSpherePositionNV)].setResultAndType(true, true);
  2732. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionSphereRadiusNV)].operands.push(OperandId, "'RayQuery'");
  2733. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionSphereRadiusNV)].operands.push(OperandId, "'Committed'");
  2734. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionSphereRadiusNV)].setResultAndType(true, true);
  2735. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSHitValueNV)].operands.push(OperandId, "'RayQuery'");
  2736. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSHitValueNV)].operands.push(OperandId, "'Committed'");
  2737. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSHitValueNV)].setResultAndType(true, true);
  2738. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSPositionsNV)].operands.push(OperandId, "'RayQuery'");
  2739. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSPositionsNV)].operands.push(OperandId, "'Committed'");
  2740. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSPositionsNV)].setResultAndType(true, true);
  2741. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSRadiiNV)].operands.push(OperandId, "'RayQuery'");
  2742. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSRadiiNV)].operands.push(OperandId, "'Committed'");
  2743. InstructionDesc[enumCast(Op::OpRayQueryGetIntersectionLSSRadiiNV)].setResultAndType(true, true);
  2744. InstructionDesc[enumCast(Op::OpRayQueryIsSphereHitNV)].operands.push(OperandId, "'RayQuery'");
  2745. InstructionDesc[enumCast(Op::OpRayQueryIsSphereHitNV)].operands.push(OperandId, "'Committed'");
  2746. InstructionDesc[enumCast(Op::OpRayQueryIsSphereHitNV)].setResultAndType(true, true);
  2747. InstructionDesc[enumCast(Op::OpRayQueryIsLSSHitNV)].operands.push(OperandId, "'RayQuery'");
  2748. InstructionDesc[enumCast(Op::OpRayQueryIsLSSHitNV)].operands.push(OperandId, "'Committed'");
  2749. InstructionDesc[enumCast(Op::OpRayQueryIsLSSHitNV)].setResultAndType(true, true);
  2750. InstructionDesc[enumCast(Op::OpImageSampleFootprintNV)].operands.push(OperandId, "'Sampled Image'");
  2751. InstructionDesc[enumCast(Op::OpImageSampleFootprintNV)].operands.push(OperandId, "'Coordinate'");
  2752. InstructionDesc[enumCast(Op::OpImageSampleFootprintNV)].operands.push(OperandId, "'Granularity'");
  2753. InstructionDesc[enumCast(Op::OpImageSampleFootprintNV)].operands.push(OperandId, "'Coarse'");
  2754. InstructionDesc[enumCast(Op::OpImageSampleFootprintNV)].operands.push(OperandImageOperands, "", true);
  2755. InstructionDesc[enumCast(Op::OpImageSampleFootprintNV)].operands.push(OperandVariableIds, "", true);
  2756. InstructionDesc[enumCast(Op::OpWritePackedPrimitiveIndices4x8NV)].operands.push(OperandId, "'Index Offset'");
  2757. InstructionDesc[enumCast(Op::OpWritePackedPrimitiveIndices4x8NV)].operands.push(OperandId, "'Packed Indices'");
  2758. InstructionDesc[enumCast(Op::OpEmitMeshTasksEXT)].operands.push(OperandId, "'groupCountX'");
  2759. InstructionDesc[enumCast(Op::OpEmitMeshTasksEXT)].operands.push(OperandId, "'groupCountY'");
  2760. InstructionDesc[enumCast(Op::OpEmitMeshTasksEXT)].operands.push(OperandId, "'groupCountZ'");
  2761. InstructionDesc[enumCast(Op::OpEmitMeshTasksEXT)].operands.push(OperandId, "'Payload'");
  2762. InstructionDesc[enumCast(Op::OpEmitMeshTasksEXT)].setResultAndType(false, false);
  2763. InstructionDesc[enumCast(Op::OpSetMeshOutputsEXT)].operands.push(OperandId, "'vertexCount'");
  2764. InstructionDesc[enumCast(Op::OpSetMeshOutputsEXT)].operands.push(OperandId, "'primitiveCount'");
  2765. InstructionDesc[enumCast(Op::OpSetMeshOutputsEXT)].setResultAndType(false, false);
  2766. InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixNV)].operands.push(OperandId, "'Component Type'");
  2767. InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixNV)].operands.push(OperandId, "'Scope'");
  2768. InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixNV)].operands.push(OperandId, "'Rows'");
  2769. InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixNV)].operands.push(OperandId, "'Columns'");
  2770. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadNV)].operands.push(OperandId, "'Pointer'");
  2771. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadNV)].operands.push(OperandId, "'Stride'");
  2772. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadNV)].operands.push(OperandId, "'Column Major'");
  2773. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadNV)].operands.push(OperandMemoryAccess, "'Memory Access'");
  2774. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadNV)].operands.push(OperandLiteralNumber, "", true);
  2775. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadNV)].operands.push(OperandId, "", true);
  2776. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].operands.push(OperandId, "'Pointer'");
  2777. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].operands.push(OperandId, "'Object'");
  2778. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].operands.push(OperandId, "'Stride'");
  2779. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].operands.push(OperandId, "'Column Major'");
  2780. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].operands.push(OperandMemoryAccess, "'Memory Access'");
  2781. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].operands.push(OperandLiteralNumber, "", true);
  2782. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreNV)].operands.push(OperandId, "", true);
  2783. InstructionDesc[enumCast(Op::OpCooperativeMatrixMulAddNV)].operands.push(OperandId, "'A'");
  2784. InstructionDesc[enumCast(Op::OpCooperativeMatrixMulAddNV)].operands.push(OperandId, "'B'");
  2785. InstructionDesc[enumCast(Op::OpCooperativeMatrixMulAddNV)].operands.push(OperandId, "'C'");
  2786. InstructionDesc[enumCast(Op::OpCooperativeMatrixLengthNV)].operands.push(OperandId, "'Type'");
  2787. InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixKHR)].operands.push(OperandId, "'Component Type'");
  2788. InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixKHR)].operands.push(OperandId, "'Scope'");
  2789. InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixKHR)].operands.push(OperandId, "'Rows'");
  2790. InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixKHR)].operands.push(OperandId, "'Columns'");
  2791. InstructionDesc[enumCast(Op::OpTypeCooperativeMatrixKHR)].operands.push(OperandId, "'Use'");
  2792. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadKHR)].operands.push(OperandId, "'Pointer'");
  2793. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadKHR)].operands.push(OperandId, "'Memory Layout'");
  2794. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadKHR)].operands.push(OperandId, "'Stride'");
  2795. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadKHR)].operands.push(OperandMemoryAccess, "'Memory Access'");
  2796. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadKHR)].operands.push(OperandLiteralNumber, "", true);
  2797. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadKHR)].operands.push(OperandId, "", true);
  2798. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].operands.push(OperandId, "'Pointer'");
  2799. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].operands.push(OperandId, "'Object'");
  2800. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].operands.push(OperandId, "'Memory Layout'");
  2801. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].operands.push(OperandId, "'Stride'");
  2802. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].operands.push(OperandMemoryAccess, "'Memory Access'");
  2803. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].operands.push(OperandLiteralNumber, "", true);
  2804. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreKHR)].operands.push(OperandId, "", true);
  2805. InstructionDesc[enumCast(Op::OpCooperativeMatrixMulAddKHR)].operands.push(OperandId, "'A'");
  2806. InstructionDesc[enumCast(Op::OpCooperativeMatrixMulAddKHR)].operands.push(OperandId, "'B'");
  2807. InstructionDesc[enumCast(Op::OpCooperativeMatrixMulAddKHR)].operands.push(OperandId, "'C'");
  2808. InstructionDesc[enumCast(Op::OpCooperativeMatrixMulAddKHR)].operands.push(OperandCooperativeMatrixOperands, "'Cooperative Matrix Operands'", true);
  2809. InstructionDesc[enumCast(Op::OpCooperativeMatrixLengthKHR)].operands.push(OperandId, "'Type'");
  2810. InstructionDesc[enumCast(Op::OpTypeCooperativeVectorNV)].operands.push(OperandId, "'Component Type'");
  2811. InstructionDesc[enumCast(Op::OpTypeCooperativeVectorNV)].operands.push(OperandId, "'Components'");
  2812. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'Input'");
  2813. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'InputInterpretation'");
  2814. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'Matrix'");
  2815. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'MatrixOffset'");
  2816. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'MatrixInterpretation'");
  2817. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'M'");
  2818. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'K'");
  2819. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'MemoryLayout'");
  2820. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'Transpose'");
  2821. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandId, "'MatrixStride'", true);
  2822. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulNV)].operands.push(OperandCooperativeMatrixOperands, "'Cooperative Matrix Operands'", true);
  2823. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'Input'");
  2824. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'InputInterpretation'");
  2825. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'Matrix'");
  2826. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'MatrixOffset'");
  2827. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'MatrixInterpretation'");
  2828. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'Bias'");
  2829. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'BiasOffset'");
  2830. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'BiasInterpretation'");
  2831. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'M'");
  2832. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'K'");
  2833. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'MemoryLayout'");
  2834. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'Transpose'");
  2835. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandId, "'MatrixStride'", true);
  2836. InstructionDesc[enumCast(Op::OpCooperativeVectorMatrixMulAddNV)].operands.push(OperandCooperativeMatrixOperands, "'Cooperative Matrix Operands'", true);
  2837. InstructionDesc[enumCast(Op::OpCooperativeVectorLoadNV)].operands.push(OperandId, "'Pointer'");
  2838. InstructionDesc[enumCast(Op::OpCooperativeVectorLoadNV)].operands.push(OperandId, "'Offset'");
  2839. InstructionDesc[enumCast(Op::OpCooperativeVectorLoadNV)].operands.push(OperandMemoryAccess, "'Memory Access'");
  2840. InstructionDesc[enumCast(Op::OpCooperativeVectorLoadNV)].operands.push(OperandLiteralNumber, "", true);
  2841. InstructionDesc[enumCast(Op::OpCooperativeVectorLoadNV)].operands.push(OperandId, "", true);
  2842. InstructionDesc[enumCast(Op::OpCooperativeVectorStoreNV)].operands.push(OperandId, "'Pointer'");
  2843. InstructionDesc[enumCast(Op::OpCooperativeVectorStoreNV)].operands.push(OperandId, "'Offset'");
  2844. InstructionDesc[enumCast(Op::OpCooperativeVectorStoreNV)].operands.push(OperandId, "'Object'");
  2845. InstructionDesc[enumCast(Op::OpCooperativeVectorStoreNV)].operands.push(OperandMemoryAccess, "'Memory Access'");
  2846. InstructionDesc[enumCast(Op::OpCooperativeVectorStoreNV)].operands.push(OperandLiteralNumber, "", true);
  2847. InstructionDesc[enumCast(Op::OpCooperativeVectorStoreNV)].operands.push(OperandId, "", true);
  2848. InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].operands.push(OperandId, "'Pointer'");
  2849. InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].operands.push(OperandId, "'Offset'");
  2850. InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].operands.push(OperandId, "'A'");
  2851. InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].operands.push(OperandId, "'B'");
  2852. InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].operands.push(OperandId, "'MemoryLayout'");
  2853. InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].operands.push(OperandId, "'MatrixInterpretation'");
  2854. InstructionDesc[enumCast(Op::OpCooperativeVectorOuterProductAccumulateNV)].operands.push(OperandId, "'MatrixStride'", true);
  2855. InstructionDesc[enumCast(Op::OpCooperativeVectorReduceSumAccumulateNV)].operands.push(OperandId, "'Pointer'");
  2856. InstructionDesc[enumCast(Op::OpCooperativeVectorReduceSumAccumulateNV)].operands.push(OperandId, "'Offset'");
  2857. InstructionDesc[enumCast(Op::OpCooperativeVectorReduceSumAccumulateNV)].operands.push(OperandId, "'V'");
  2858. InstructionDesc[enumCast(Op::OpDemoteToHelperInvocationEXT)].setResultAndType(false, false);
  2859. InstructionDesc[enumCast(Op::OpReadClockKHR)].operands.push(OperandScope, "'Scope'");
  2860. InstructionDesc[enumCast(Op::OpTypeHitObjectNV)].setResultAndType(true, false);
  2861. InstructionDesc[enumCast(Op::OpHitObjectGetShaderRecordBufferHandleNV)].operands.push(OperandId, "'HitObject'");
  2862. InstructionDesc[enumCast(Op::OpHitObjectGetShaderRecordBufferHandleNV)].setResultAndType(true, true);
  2863. InstructionDesc[enumCast(Op::OpReorderThreadWithHintNV)].operands.push(OperandId, "'Hint'");
  2864. InstructionDesc[enumCast(Op::OpReorderThreadWithHintNV)].operands.push(OperandId, "'Bits'");
  2865. InstructionDesc[enumCast(Op::OpReorderThreadWithHintNV)].setResultAndType(false, false);
  2866. InstructionDesc[enumCast(Op::OpReorderThreadWithHitObjectNV)].operands.push(OperandId, "'HitObject'");
  2867. InstructionDesc[enumCast(Op::OpReorderThreadWithHitObjectNV)].operands.push(OperandId, "'Hint'");
  2868. InstructionDesc[enumCast(Op::OpReorderThreadWithHitObjectNV)].operands.push(OperandId, "'Bits'");
  2869. InstructionDesc[enumCast(Op::OpReorderThreadWithHitObjectNV)].setResultAndType(false, false);
  2870. InstructionDesc[enumCast(Op::OpHitObjectGetCurrentTimeNV)].operands.push(OperandId, "'HitObject'");
  2871. InstructionDesc[enumCast(Op::OpHitObjectGetCurrentTimeNV)].setResultAndType(true, true);
  2872. InstructionDesc[enumCast(Op::OpHitObjectGetHitKindNV)].operands.push(OperandId, "'HitObject'");
  2873. InstructionDesc[enumCast(Op::OpHitObjectGetHitKindNV)].setResultAndType(true, true);
  2874. InstructionDesc[enumCast(Op::OpHitObjectGetPrimitiveIndexNV)].operands.push(OperandId, "'HitObject'");
  2875. InstructionDesc[enumCast(Op::OpHitObjectGetPrimitiveIndexNV)].setResultAndType(true, true);
  2876. InstructionDesc[enumCast(Op::OpHitObjectGetGeometryIndexNV)].operands.push(OperandId, "'HitObject'");
  2877. InstructionDesc[enumCast(Op::OpHitObjectGetGeometryIndexNV)].setResultAndType(true, true);
  2878. InstructionDesc[enumCast(Op::OpHitObjectGetInstanceIdNV)].operands.push(OperandId, "'HitObject'");
  2879. InstructionDesc[enumCast(Op::OpHitObjectGetInstanceIdNV)].setResultAndType(true, true);
  2880. InstructionDesc[enumCast(Op::OpHitObjectGetInstanceCustomIndexNV)].operands.push(OperandId, "'HitObject'");
  2881. InstructionDesc[enumCast(Op::OpHitObjectGetInstanceCustomIndexNV)].setResultAndType(true, true);
  2882. InstructionDesc[enumCast(Op::OpHitObjectGetObjectRayDirectionNV)].operands.push(OperandId, "'HitObject'");
  2883. InstructionDesc[enumCast(Op::OpHitObjectGetObjectRayDirectionNV)].setResultAndType(true, true);
  2884. InstructionDesc[enumCast(Op::OpHitObjectGetObjectRayOriginNV)].operands.push(OperandId, "'HitObject'");
  2885. InstructionDesc[enumCast(Op::OpHitObjectGetObjectRayOriginNV)].setResultAndType(true, true);
  2886. InstructionDesc[enumCast(Op::OpHitObjectGetWorldRayDirectionNV)].operands.push(OperandId, "'HitObject'");
  2887. InstructionDesc[enumCast(Op::OpHitObjectGetWorldRayDirectionNV)].setResultAndType(true, true);
  2888. InstructionDesc[enumCast(Op::OpHitObjectGetWorldRayOriginNV)].operands.push(OperandId, "'HitObject'");
  2889. InstructionDesc[enumCast(Op::OpHitObjectGetWorldRayOriginNV)].setResultAndType(true, true);
  2890. InstructionDesc[enumCast(Op::OpHitObjectGetWorldToObjectNV)].operands.push(OperandId, "'HitObject'");
  2891. InstructionDesc[enumCast(Op::OpHitObjectGetWorldToObjectNV)].setResultAndType(true, true);
  2892. InstructionDesc[enumCast(Op::OpHitObjectGetObjectToWorldNV)].operands.push(OperandId, "'HitObject'");
  2893. InstructionDesc[enumCast(Op::OpHitObjectGetObjectToWorldNV)].setResultAndType(true, true);
  2894. InstructionDesc[enumCast(Op::OpHitObjectGetRayTMaxNV)].operands.push(OperandId, "'HitObject'");
  2895. InstructionDesc[enumCast(Op::OpHitObjectGetRayTMaxNV)].setResultAndType(true, true);
  2896. InstructionDesc[enumCast(Op::OpHitObjectGetRayTMinNV)].operands.push(OperandId, "'HitObject'");
  2897. InstructionDesc[enumCast(Op::OpHitObjectGetRayTMinNV)].setResultAndType(true, true);
  2898. InstructionDesc[enumCast(Op::OpHitObjectGetShaderBindingTableRecordIndexNV)].operands.push(OperandId, "'HitObject'");
  2899. InstructionDesc[enumCast(Op::OpHitObjectGetShaderBindingTableRecordIndexNV)].setResultAndType(true, true);
  2900. InstructionDesc[enumCast(Op::OpHitObjectIsEmptyNV)].operands.push(OperandId, "'HitObject'");
  2901. InstructionDesc[enumCast(Op::OpHitObjectIsEmptyNV)].setResultAndType(true, true);
  2902. InstructionDesc[enumCast(Op::OpHitObjectIsHitNV)].operands.push(OperandId, "'HitObject'");
  2903. InstructionDesc[enumCast(Op::OpHitObjectIsHitNV)].setResultAndType(true, true);
  2904. InstructionDesc[enumCast(Op::OpHitObjectIsMissNV)].operands.push(OperandId, "'HitObject'");
  2905. InstructionDesc[enumCast(Op::OpHitObjectIsMissNV)].setResultAndType(true, true);
  2906. InstructionDesc[enumCast(Op::OpHitObjectGetAttributesNV)].operands.push(OperandId, "'HitObject'");
  2907. InstructionDesc[enumCast(Op::OpHitObjectGetAttributesNV)].operands.push(OperandId, "'HitObjectAttribute'");
  2908. InstructionDesc[enumCast(Op::OpHitObjectGetAttributesNV)].setResultAndType(false, false);
  2909. InstructionDesc[enumCast(Op::OpHitObjectExecuteShaderNV)].operands.push(OperandId, "'HitObject'");
  2910. InstructionDesc[enumCast(Op::OpHitObjectExecuteShaderNV)].operands.push(OperandId, "'Payload'");
  2911. InstructionDesc[enumCast(Op::OpHitObjectExecuteShaderNV)].setResultAndType(false, false);
  2912. InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'HitObject'");
  2913. InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'Acceleration Structure'");
  2914. InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'InstanceId'");
  2915. InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'PrimitiveId'");
  2916. InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'GeometryIndex'");
  2917. InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'HitKind'");
  2918. InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'SBT Record Offset'");
  2919. InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'SBT Record Stride'");
  2920. InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'Origin'");
  2921. InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'TMin'");
  2922. InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'Direction'");
  2923. InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'TMax'");
  2924. InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].operands.push(OperandId, "'HitObject Attribute'");
  2925. InstructionDesc[enumCast(Op::OpHitObjectRecordHitNV)].setResultAndType(false, false);
  2926. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'HitObject'");
  2927. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'Acceleration Structure'");
  2928. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'InstanceId'");
  2929. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'PrimitiveId'");
  2930. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'GeometryIndex'");
  2931. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'HitKind'");
  2932. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'SBT Record Offset'");
  2933. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'SBT Record Stride'");
  2934. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'Origin'");
  2935. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'TMin'");
  2936. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'Direction'");
  2937. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'TMax'");
  2938. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'Current Time'");
  2939. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].operands.push(OperandId, "'HitObject Attribute'");
  2940. InstructionDesc[enumCast(Op::OpHitObjectRecordHitMotionNV)].setResultAndType(false, false);
  2941. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'HitObject'");
  2942. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'Acceleration Structure'");
  2943. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'InstanceId'");
  2944. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'PrimitiveId'");
  2945. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'GeometryIndex'");
  2946. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'HitKind'");
  2947. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'SBT Record Index'");
  2948. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'Origin'");
  2949. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'TMin'");
  2950. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'Direction'");
  2951. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'TMax'");
  2952. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].operands.push(OperandId, "'HitObject Attribute'");
  2953. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexNV)].setResultAndType(false, false);
  2954. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'HitObject'");
  2955. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'Acceleration Structure'");
  2956. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'InstanceId'");
  2957. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'PrimitiveId'");
  2958. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'GeometryIndex'");
  2959. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'HitKind'");
  2960. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'SBT Record Index'");
  2961. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'Origin'");
  2962. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'TMin'");
  2963. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'Direction'");
  2964. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'TMax'");
  2965. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'Current Time'");
  2966. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].operands.push(OperandId, "'HitObject Attribute'");
  2967. InstructionDesc[enumCast(Op::OpHitObjectRecordHitWithIndexMotionNV)].setResultAndType(false, false);
  2968. InstructionDesc[enumCast(Op::OpHitObjectRecordMissNV)].operands.push(OperandId, "'HitObject'");
  2969. InstructionDesc[enumCast(Op::OpHitObjectRecordMissNV)].operands.push(OperandId, "'SBT Index'");
  2970. InstructionDesc[enumCast(Op::OpHitObjectRecordMissNV)].operands.push(OperandId, "'Origin'");
  2971. InstructionDesc[enumCast(Op::OpHitObjectRecordMissNV)].operands.push(OperandId, "'TMin'");
  2972. InstructionDesc[enumCast(Op::OpHitObjectRecordMissNV)].operands.push(OperandId, "'Direction'");
  2973. InstructionDesc[enumCast(Op::OpHitObjectRecordMissNV)].operands.push(OperandId, "'TMax'");
  2974. InstructionDesc[enumCast(Op::OpHitObjectRecordMissNV)].setResultAndType(false, false);
  2975. InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].operands.push(OperandId, "'HitObject'");
  2976. InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].operands.push(OperandId, "'SBT Index'");
  2977. InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].operands.push(OperandId, "'Origin'");
  2978. InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].operands.push(OperandId, "'TMin'");
  2979. InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].operands.push(OperandId, "'Direction'");
  2980. InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].operands.push(OperandId, "'TMax'");
  2981. InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].operands.push(OperandId, "'Current Time'");
  2982. InstructionDesc[enumCast(Op::OpHitObjectRecordMissMotionNV)].setResultAndType(false, false);
  2983. InstructionDesc[enumCast(Op::OpHitObjectRecordEmptyNV)].operands.push(OperandId, "'HitObject'");
  2984. InstructionDesc[enumCast(Op::OpHitObjectRecordEmptyNV)].setResultAndType(false, false);
  2985. InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'HitObject'");
  2986. InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'Acceleration Structure'");
  2987. InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'RayFlags'");
  2988. InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'Cullmask'");
  2989. InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'SBT Record Offset'");
  2990. InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'SBT Record Stride'");
  2991. InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'Miss Index'");
  2992. InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'Origin'");
  2993. InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'TMin'");
  2994. InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'Direction'");
  2995. InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'TMax'");
  2996. InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].operands.push(OperandId, "'Payload'");
  2997. InstructionDesc[enumCast(Op::OpHitObjectTraceRayNV)].setResultAndType(false, false);
  2998. InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'HitObject'");
  2999. InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'Acceleration Structure'");
  3000. InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'RayFlags'");
  3001. InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'Cullmask'");
  3002. InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'SBT Record Offset'");
  3003. InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'SBT Record Stride'");
  3004. InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'Miss Index'");
  3005. InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'Origin'");
  3006. InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'TMin'");
  3007. InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'Direction'");
  3008. InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'TMax'");
  3009. InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'Time'");
  3010. InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].operands.push(OperandId, "'Payload'");
  3011. InstructionDesc[enumCast(Op::OpHitObjectTraceRayMotionNV)].setResultAndType(false, false);
  3012. InstructionDesc[enumCast(Op::OpHitObjectGetClusterIdNV)].operands.push(OperandId, "'HitObject'");
  3013. InstructionDesc[enumCast(Op::OpHitObjectGetClusterIdNV)].setResultAndType(true, true);
  3014. InstructionDesc[enumCast(Op::OpHitObjectGetSpherePositionNV)].operands.push(OperandId, "'HitObject'");
  3015. InstructionDesc[enumCast(Op::OpHitObjectGetSpherePositionNV)].setResultAndType(true, true);
  3016. InstructionDesc[enumCast(Op::OpHitObjectGetSphereRadiusNV)].operands.push(OperandId, "'HitObject'");
  3017. InstructionDesc[enumCast(Op::OpHitObjectGetSphereRadiusNV)].setResultAndType(true, true);
  3018. InstructionDesc[enumCast(Op::OpHitObjectGetLSSPositionsNV)].operands.push(OperandId, "'HitObject'");
  3019. InstructionDesc[enumCast(Op::OpHitObjectGetLSSPositionsNV)].setResultAndType(true, true);
  3020. InstructionDesc[enumCast(Op::OpHitObjectGetLSSRadiiNV)].operands.push(OperandId, "'HitObject'");
  3021. InstructionDesc[enumCast(Op::OpHitObjectGetLSSRadiiNV)].setResultAndType(true, true);
  3022. InstructionDesc[enumCast(Op::OpHitObjectIsSphereHitNV)].operands.push(OperandId, "'HitObject'");
  3023. InstructionDesc[enumCast(Op::OpHitObjectIsSphereHitNV)].setResultAndType(true, true);
  3024. InstructionDesc[enumCast(Op::OpHitObjectIsLSSHitNV)].operands.push(OperandId, "'HitObject'");
  3025. InstructionDesc[enumCast(Op::OpHitObjectIsLSSHitNV)].setResultAndType(true, true);
  3026. InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexBarycentricNV)].operands.push(OperandId, "'Acceleration Structure'");
  3027. InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexBarycentricNV)].operands.push(OperandId, "'Instance ID'");
  3028. InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexBarycentricNV)].operands.push(OperandId, "'Geometry Index'");
  3029. InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexBarycentricNV)].operands.push(OperandId, "'Primitive Index'");
  3030. InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexBarycentricNV)].operands.push(OperandId, "'Barycentrics'");
  3031. InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexBarycentricNV)].setResultAndType(true, true);
  3032. InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexPositionNV)].operands.push(OperandId, "'Acceleration Structure'");
  3033. InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexPositionNV)].operands.push(OperandId, "'Instance ID'");
  3034. InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexPositionNV)].operands.push(OperandId, "'Geometry Index'");
  3035. InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexPositionNV)].operands.push(OperandId, "'Primitive Index'");
  3036. InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexPositionNV)].operands.push(OperandId, "'Barycentrics'");
  3037. InstructionDesc[enumCast(Op::OpFetchMicroTriangleVertexPositionNV)].setResultAndType(true, true);
  3038. InstructionDesc[enumCast(Op::OpColorAttachmentReadEXT)].operands.push(OperandId, "'Attachment'");
  3039. InstructionDesc[enumCast(Op::OpColorAttachmentReadEXT)].operands.push(OperandId, "'Sample'", true);
  3040. InstructionDesc[enumCast(Op::OpStencilAttachmentReadEXT)].operands.push(OperandId, "'Sample'", true);
  3041. InstructionDesc[enumCast(Op::OpDepthAttachmentReadEXT)].operands.push(OperandId, "'Sample'", true);
  3042. InstructionDesc[enumCast(Op::OpImageSampleWeightedQCOM)].operands.push(OperandId, "'source texture'");
  3043. InstructionDesc[enumCast(Op::OpImageSampleWeightedQCOM)].operands.push(OperandId, "'texture coordinates'");
  3044. InstructionDesc[enumCast(Op::OpImageSampleWeightedQCOM)].operands.push(OperandId, "'weights texture'");
  3045. InstructionDesc[enumCast(Op::OpImageSampleWeightedQCOM)].operands.push(OperandImageOperands, "", true);
  3046. InstructionDesc[enumCast(Op::OpImageSampleWeightedQCOM)].setResultAndType(true, true);
  3047. InstructionDesc[enumCast(Op::OpImageBoxFilterQCOM)].operands.push(OperandId, "'source texture'");
  3048. InstructionDesc[enumCast(Op::OpImageBoxFilterQCOM)].operands.push(OperandId, "'texture coordinates'");
  3049. InstructionDesc[enumCast(Op::OpImageBoxFilterQCOM)].operands.push(OperandId, "'box size'");
  3050. InstructionDesc[enumCast(Op::OpImageBoxFilterQCOM)].operands.push(OperandImageOperands, "", true);
  3051. InstructionDesc[enumCast(Op::OpImageBoxFilterQCOM)].setResultAndType(true, true);
  3052. InstructionDesc[enumCast(Op::OpImageBlockMatchSADQCOM)].operands.push(OperandId, "'target texture'");
  3053. InstructionDesc[enumCast(Op::OpImageBlockMatchSADQCOM)].operands.push(OperandId, "'target coordinates'");
  3054. InstructionDesc[enumCast(Op::OpImageBlockMatchSADQCOM)].operands.push(OperandId, "'reference texture'");
  3055. InstructionDesc[enumCast(Op::OpImageBlockMatchSADQCOM)].operands.push(OperandId, "'reference coordinates'");
  3056. InstructionDesc[enumCast(Op::OpImageBlockMatchSADQCOM)].operands.push(OperandId, "'block size'");
  3057. InstructionDesc[enumCast(Op::OpImageBlockMatchSADQCOM)].operands.push(OperandImageOperands, "", true);
  3058. InstructionDesc[enumCast(Op::OpImageBlockMatchSADQCOM)].setResultAndType(true, true);
  3059. InstructionDesc[enumCast(Op::OpImageBlockMatchSSDQCOM)].operands.push(OperandId, "'target texture'");
  3060. InstructionDesc[enumCast(Op::OpImageBlockMatchSSDQCOM)].operands.push(OperandId, "'target coordinates'");
  3061. InstructionDesc[enumCast(Op::OpImageBlockMatchSSDQCOM)].operands.push(OperandId, "'reference texture'");
  3062. InstructionDesc[enumCast(Op::OpImageBlockMatchSSDQCOM)].operands.push(OperandId, "'reference coordinates'");
  3063. InstructionDesc[enumCast(Op::OpImageBlockMatchSSDQCOM)].operands.push(OperandId, "'block size'");
  3064. InstructionDesc[enumCast(Op::OpImageBlockMatchSSDQCOM)].operands.push(OperandImageOperands, "", true);
  3065. InstructionDesc[enumCast(Op::OpImageBlockMatchSSDQCOM)].setResultAndType(true, true);
  3066. InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSSDQCOM)].operands.push(OperandId, "'target texture'");
  3067. InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSSDQCOM)].operands.push(OperandId, "'target coordinates'");
  3068. InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSSDQCOM)].operands.push(OperandId, "'reference texture'");
  3069. InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSSDQCOM)].operands.push(OperandId, "'reference coordinates'");
  3070. InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSSDQCOM)].operands.push(OperandId, "'block size'");
  3071. InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSSDQCOM)].operands.push(OperandImageOperands, "", true);
  3072. InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSSDQCOM)].setResultAndType(true, true);
  3073. InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSADQCOM)].operands.push(OperandId, "'target texture'");
  3074. InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSADQCOM)].operands.push(OperandId, "'target coordinates'");
  3075. InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSADQCOM)].operands.push(OperandId, "'reference texture'");
  3076. InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSADQCOM)].operands.push(OperandId, "'reference coordinates'");
  3077. InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSADQCOM)].operands.push(OperandId, "'block size'");
  3078. InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSADQCOM)].operands.push(OperandImageOperands, "", true);
  3079. InstructionDesc[enumCast(Op::OpImageBlockMatchWindowSADQCOM)].setResultAndType(true, true);
  3080. InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSSDQCOM)].operands.push(OperandId, "'target texture'");
  3081. InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSSDQCOM)].operands.push(OperandId, "'target coordinates'");
  3082. InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSSDQCOM)].operands.push(OperandId, "'reference texture'");
  3083. InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSSDQCOM)].operands.push(OperandId, "'reference coordinates'");
  3084. InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSSDQCOM)].operands.push(OperandId, "'block size'");
  3085. InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSSDQCOM)].operands.push(OperandImageOperands, "", true);
  3086. InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSSDQCOM)].setResultAndType(true, true);
  3087. InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSADQCOM)].operands.push(OperandId, "'target texture'");
  3088. InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSADQCOM)].operands.push(OperandId, "'target coordinates'");
  3089. InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSADQCOM)].operands.push(OperandId, "'reference texture'");
  3090. InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSADQCOM)].operands.push(OperandId, "'reference coordinates'");
  3091. InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSADQCOM)].operands.push(OperandId, "'block size'");
  3092. InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSADQCOM)].operands.push(OperandImageOperands, "", true);
  3093. InstructionDesc[enumCast(Op::OpImageBlockMatchGatherSADQCOM)].setResultAndType(true, true);
  3094. InstructionDesc[enumCast(Op::OpBitCastArrayQCOM)].operands.push(OperandId, "'source array'");
  3095. InstructionDesc[enumCast(Op::OpBitCastArrayQCOM)].setResultAndType(true, true);
  3096. InstructionDesc[enumCast(Op::OpCompositeConstructCoopMatQCOM)].operands.push(OperandId, "'source array'");
  3097. InstructionDesc[enumCast(Op::OpCompositeConstructCoopMatQCOM)].setResultAndType(true, true);
  3098. InstructionDesc[enumCast(Op::OpCompositeExtractCoopMatQCOM)].operands.push(OperandId, "'source cooperative matrix'");
  3099. InstructionDesc[enumCast(Op::OpCompositeExtractCoopMatQCOM)].setResultAndType(true, true);
  3100. InstructionDesc[enumCast(Op::OpExtractSubArrayQCOM)].operands.push(OperandId, "'source array'");
  3101. InstructionDesc[enumCast(Op::OpExtractSubArrayQCOM)].operands.push(OperandId, "'start index'");
  3102. InstructionDesc[enumCast(Op::OpExtractSubArrayQCOM)].setResultAndType(true, true);
  3103. InstructionDesc[enumCast(Op::OpConstantCompositeReplicateEXT)].operands.push(OperandId, "'Value'");
  3104. InstructionDesc[enumCast(Op::OpSpecConstantCompositeReplicateEXT)].operands.push(OperandId, "'Value'");
  3105. InstructionDesc[enumCast(Op::OpCompositeConstructReplicateEXT)].operands.push(OperandId, "'Value'");
  3106. InstructionDesc[enumCast(Op::OpCooperativeMatrixConvertNV)].operands.push(OperandId, "'Value'");
  3107. InstructionDesc[enumCast(Op::OpCooperativeMatrixTransposeNV)].operands.push(OperandId, "'Matrix'");
  3108. InstructionDesc[enumCast(Op::OpCooperativeMatrixReduceNV)].operands.push(OperandId, "'Matrix'");
  3109. InstructionDesc[enumCast(Op::OpCooperativeMatrixReduceNV)].operands.push(OperandLiteralNumber, "'ReduceMask'");
  3110. InstructionDesc[enumCast(Op::OpCooperativeMatrixReduceNV)].operands.push(OperandId, "'CombineFunc'");
  3111. InstructionDesc[enumCast(Op::OpCooperativeMatrixPerElementOpNV)].operands.push(OperandId, "'Matrix'");
  3112. InstructionDesc[enumCast(Op::OpCooperativeMatrixPerElementOpNV)].operands.push(OperandId, "'Operation'");
  3113. InstructionDesc[enumCast(Op::OpCooperativeMatrixPerElementOpNV)].operands.push(OperandVariableIds, "'Operands'");
  3114. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadTensorNV)].operands.push(OperandId, "'Pointer'");
  3115. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadTensorNV)].operands.push(OperandId, "'Object'");
  3116. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadTensorNV)].operands.push(OperandId, "'TensorLayout'");
  3117. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadTensorNV)].operands.push(OperandMemoryAccess, "'Memory Access'");
  3118. InstructionDesc[enumCast(Op::OpCooperativeMatrixLoadTensorNV)].operands.push(OperandTensorAddressingOperands, "'Tensor Addressing Operands'");
  3119. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreTensorNV)].operands.push(OperandId, "'Pointer'");
  3120. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreTensorNV)].operands.push(OperandId, "'Object'");
  3121. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreTensorNV)].operands.push(OperandId, "'TensorLayout'");
  3122. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreTensorNV)].operands.push(OperandMemoryAccess, "'Memory Access'");
  3123. InstructionDesc[enumCast(Op::OpCooperativeMatrixStoreTensorNV)].operands.push(OperandTensorAddressingOperands, "'Tensor Addressing Operands'");
  3124. InstructionDesc[enumCast(Op::OpCooperativeMatrixReduceNV)].operands.push(OperandId, "'Matrix'");
  3125. InstructionDesc[enumCast(Op::OpCooperativeMatrixReduceNV)].operands.push(OperandLiteralNumber, "'ReduceMask'");
  3126. InstructionDesc[enumCast(Op::OpTypeTensorLayoutNV)].operands.push(OperandId, "'Dim'");
  3127. InstructionDesc[enumCast(Op::OpTypeTensorLayoutNV)].operands.push(OperandId, "'ClampMode'");
  3128. InstructionDesc[enumCast(Op::OpTypeTensorViewNV)].operands.push(OperandId, "'Dim'");
  3129. InstructionDesc[enumCast(Op::OpTypeTensorViewNV)].operands.push(OperandId, "'HasDimensions'");
  3130. InstructionDesc[enumCast(Op::OpTypeTensorViewNV)].operands.push(OperandVariableIds, "'p'");
  3131. InstructionDesc[enumCast(Op::OpTensorLayoutSetBlockSizeNV)].operands.push(OperandId, "'TensorLayout'");
  3132. InstructionDesc[enumCast(Op::OpTensorLayoutSetBlockSizeNV)].operands.push(OperandVariableIds, "'BlockSize'");
  3133. InstructionDesc[enumCast(Op::OpTensorLayoutSetDimensionNV)].operands.push(OperandId, "'TensorLayout'");
  3134. InstructionDesc[enumCast(Op::OpTensorLayoutSetDimensionNV)].operands.push(OperandVariableIds, "'Dim'");
  3135. InstructionDesc[enumCast(Op::OpTensorLayoutSetStrideNV)].operands.push(OperandId, "'TensorLayout'");
  3136. InstructionDesc[enumCast(Op::OpTensorLayoutSetStrideNV)].operands.push(OperandVariableIds, "'Stride'");
  3137. InstructionDesc[enumCast(Op::OpTensorLayoutSliceNV)].operands.push(OperandId, "'TensorLayout'");
  3138. InstructionDesc[enumCast(Op::OpTensorLayoutSliceNV)].operands.push(OperandVariableIds, "'Operands'");
  3139. InstructionDesc[enumCast(Op::OpTensorLayoutSetClampValueNV)].operands.push(OperandId, "'TensorLayout'");
  3140. InstructionDesc[enumCast(Op::OpTensorLayoutSetClampValueNV)].operands.push(OperandId, "'Value'");
  3141. InstructionDesc[enumCast(Op::OpTensorViewSetDimensionNV)].operands.push(OperandId, "'TensorView'");
  3142. InstructionDesc[enumCast(Op::OpTensorViewSetDimensionNV)].operands.push(OperandVariableIds, "'Dim'");
  3143. InstructionDesc[enumCast(Op::OpTensorViewSetStrideNV)].operands.push(OperandId, "'TensorView'");
  3144. InstructionDesc[enumCast(Op::OpTensorViewSetStrideNV)].operands.push(OperandVariableIds, "'Stride'");
  3145. InstructionDesc[enumCast(Op::OpTensorViewSetClipNV)].operands.push(OperandId, "'TensorView'");
  3146. InstructionDesc[enumCast(Op::OpTensorViewSetClipNV)].operands.push(OperandId, "'ClipRowOffset'");
  3147. InstructionDesc[enumCast(Op::OpTensorViewSetClipNV)].operands.push(OperandId, "'ClipRowSpan'");
  3148. InstructionDesc[enumCast(Op::OpTensorViewSetClipNV)].operands.push(OperandId, "'ClipColOffset'");
  3149. InstructionDesc[enumCast(Op::OpTensorViewSetClipNV)].operands.push(OperandId, "'ClipColSpan'");
  3150. InstructionDesc[enumCast(Op::OpSDotKHR)].operands.push(OperandId, "'Vector1'");
  3151. InstructionDesc[enumCast(Op::OpSDotKHR)].operands.push(OperandId, "'Vector2'");
  3152. InstructionDesc[enumCast(Op::OpSDotKHR)].operands.push(OperandLiteralNumber, "'PackedVectorFormat'");
  3153. InstructionDesc[enumCast(Op::OpUDotKHR)].operands.push(OperandId, "'Vector1'");
  3154. InstructionDesc[enumCast(Op::OpUDotKHR)].operands.push(OperandId, "'Vector2'");
  3155. InstructionDesc[enumCast(Op::OpUDotKHR)].operands.push(OperandLiteralNumber, "'PackedVectorFormat'");
  3156. InstructionDesc[enumCast(Op::OpSUDotKHR)].operands.push(OperandId, "'Vector1'");
  3157. InstructionDesc[enumCast(Op::OpSUDotKHR)].operands.push(OperandId, "'Vector2'");
  3158. InstructionDesc[enumCast(Op::OpSUDotKHR)].operands.push(OperandLiteralNumber, "'PackedVectorFormat'");
  3159. InstructionDesc[enumCast(Op::OpSDotAccSatKHR)].operands.push(OperandId, "'Vector1'");
  3160. InstructionDesc[enumCast(Op::OpSDotAccSatKHR)].operands.push(OperandId, "'Vector2'");
  3161. InstructionDesc[enumCast(Op::OpSDotAccSatKHR)].operands.push(OperandId, "'Accumulator'");
  3162. InstructionDesc[enumCast(Op::OpSDotAccSatKHR)].operands.push(OperandLiteralNumber, "'PackedVectorFormat'");
  3163. InstructionDesc[enumCast(Op::OpUDotAccSatKHR)].operands.push(OperandId, "'Vector1'");
  3164. InstructionDesc[enumCast(Op::OpUDotAccSatKHR)].operands.push(OperandId, "'Vector2'");
  3165. InstructionDesc[enumCast(Op::OpUDotAccSatKHR)].operands.push(OperandId, "'Accumulator'");
  3166. InstructionDesc[enumCast(Op::OpUDotAccSatKHR)].operands.push(OperandLiteralNumber, "'PackedVectorFormat'");
  3167. InstructionDesc[enumCast(Op::OpSUDotAccSatKHR)].operands.push(OperandId, "'Vector1'");
  3168. InstructionDesc[enumCast(Op::OpSUDotAccSatKHR)].operands.push(OperandId, "'Vector2'");
  3169. InstructionDesc[enumCast(Op::OpSUDotAccSatKHR)].operands.push(OperandId, "'Accumulator'");
  3170. InstructionDesc[enumCast(Op::OpSUDotAccSatKHR)].operands.push(OperandLiteralNumber, "'PackedVectorFormat'");
  3171. InstructionDesc[enumCast(Op::OpTypeTensorARM)].operands.push(OperandId, "'Element Type'");
  3172. InstructionDesc[enumCast(Op::OpTypeTensorARM)].operands.push(OperandId, "'Rank'");
  3173. InstructionDesc[enumCast(Op::OpTensorReadARM)].operands.push(OperandId, "'Tensor'");
  3174. InstructionDesc[enumCast(Op::OpTensorReadARM)].operands.push(OperandId, "'Coordinate'");
  3175. InstructionDesc[enumCast(Op::OpTensorReadARM)].operands.push(OperandLiteralNumber, "'Tensor Operand'", true);
  3176. InstructionDesc[enumCast(Op::OpTensorReadARM)].operands.push(OperandVariableIds, "'Tensor Operands'");
  3177. InstructionDesc[enumCast(Op::OpTensorWriteARM)].operands.push(OperandId, "'Tensor'");
  3178. InstructionDesc[enumCast(Op::OpTensorWriteARM)].operands.push(OperandId, "'Coordinate'");
  3179. InstructionDesc[enumCast(Op::OpTensorWriteARM)].operands.push(OperandId, "'Object'");
  3180. InstructionDesc[enumCast(Op::OpTensorWriteARM)].operands.push(OperandLiteralNumber, "'Tensor Operand'", true);
  3181. InstructionDesc[enumCast(Op::OpTensorWriteARM)].operands.push(OperandVariableIds, "'Tensor Operands'");
  3182. InstructionDesc[enumCast(Op::OpTensorQuerySizeARM)].operands.push(OperandId, "'Tensor'");
  3183. InstructionDesc[enumCast(Op::OpTensorQuerySizeARM)].operands.push(OperandId, "'Dimension'", true);
  3184. });
  3185. }
  3186. } // end spv namespace