doc.cpp 262 KB

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