structs.odin 166 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460
  1. //
  2. // Vulkan wrapper generated from "https://raw.githubusercontent.com/KhronosGroup/Vulkan-Headers/master/include/vulkan/vulkan_core.h"
  3. //
  4. package vulkan
  5. import "core:c"
  6. when ODIN_OS == "windows" {
  7. import win32 "core:sys/windows"
  8. HINSTANCE :: win32.HINSTANCE
  9. HWND :: win32.HWND
  10. HMONITOR :: win32.HMONITOR
  11. HANDLE :: win32.HANDLE
  12. LPCWSTR :: win32.LPCWSTR
  13. SECURITY_ATTRIBUTES :: win32.SECURITY_ATTRIBUTES
  14. DWORD :: win32.DWORD
  15. LONG :: win32.LONG
  16. LUID :: win32.LUID
  17. } else {
  18. HINSTANCE :: distinct rawptr
  19. HWND :: distinct rawptr
  20. HMONITOR :: distinct rawptr
  21. HANDLE :: distinct rawptr
  22. LPCWSTR :: ^u16
  23. SECURITY_ATTRIBUTES :: struct {}
  24. DWORD :: u32
  25. LONG :: c.long
  26. LUID :: struct {
  27. LowPart: DWORD,
  28. HighPart: LONG,
  29. }
  30. }
  31. CAMetalLayer :: struct {}
  32. /********************************/
  33. Extent2D :: struct {
  34. width: u32,
  35. height: u32,
  36. }
  37. Extent3D :: struct {
  38. width: u32,
  39. height: u32,
  40. depth: u32,
  41. }
  42. Offset2D :: struct {
  43. x: i32,
  44. y: i32,
  45. }
  46. Offset3D :: struct {
  47. x: i32,
  48. y: i32,
  49. z: i32,
  50. }
  51. Rect2D :: struct {
  52. offset: Offset2D,
  53. extent: Extent2D,
  54. }
  55. BaseInStructure :: struct {
  56. sType: StructureType,
  57. pNext: ^BaseInStructure,
  58. }
  59. BaseOutStructure :: struct {
  60. sType: StructureType,
  61. pNext: ^BaseOutStructure,
  62. }
  63. BufferMemoryBarrier :: struct {
  64. sType: StructureType,
  65. pNext: rawptr,
  66. srcAccessMask: AccessFlags,
  67. dstAccessMask: AccessFlags,
  68. srcQueueFamilyIndex: u32,
  69. dstQueueFamilyIndex: u32,
  70. buffer: Buffer,
  71. offset: DeviceSize,
  72. size: DeviceSize,
  73. }
  74. DispatchIndirectCommand :: struct {
  75. x: u32,
  76. y: u32,
  77. z: u32,
  78. }
  79. DrawIndexedIndirectCommand :: struct {
  80. indexCount: u32,
  81. instanceCount: u32,
  82. firstIndex: u32,
  83. vertexOffset: i32,
  84. firstInstance: u32,
  85. }
  86. DrawIndirectCommand :: struct {
  87. vertexCount: u32,
  88. instanceCount: u32,
  89. firstVertex: u32,
  90. firstInstance: u32,
  91. }
  92. ImageSubresourceRange :: struct {
  93. aspectMask: ImageAspectFlags,
  94. baseMipLevel: u32,
  95. levelCount: u32,
  96. baseArrayLayer: u32,
  97. layerCount: u32,
  98. }
  99. ImageMemoryBarrier :: struct {
  100. sType: StructureType,
  101. pNext: rawptr,
  102. srcAccessMask: AccessFlags,
  103. dstAccessMask: AccessFlags,
  104. oldLayout: ImageLayout,
  105. newLayout: ImageLayout,
  106. srcQueueFamilyIndex: u32,
  107. dstQueueFamilyIndex: u32,
  108. image: Image,
  109. subresourceRange: ImageSubresourceRange,
  110. }
  111. MemoryBarrier :: struct {
  112. sType: StructureType,
  113. pNext: rawptr,
  114. srcAccessMask: AccessFlags,
  115. dstAccessMask: AccessFlags,
  116. }
  117. PipelineCacheHeaderVersionOne :: struct {
  118. headerSize: u32,
  119. headerVersion: PipelineCacheHeaderVersion,
  120. vendorID: u32,
  121. deviceID: u32,
  122. pipelineCacheUUID: [UUID_SIZE]u8,
  123. }
  124. AllocationCallbacks :: struct {
  125. pUserData: rawptr,
  126. pfnAllocation: ProcAllocationFunction,
  127. pfnReallocation: ProcReallocationFunction,
  128. pfnFree: ProcFreeFunction,
  129. pfnInternalAllocation: ProcInternalAllocationNotification,
  130. pfnInternalFree: ProcInternalFreeNotification,
  131. }
  132. ApplicationInfo :: struct {
  133. sType: StructureType,
  134. pNext: rawptr,
  135. pApplicationName: cstring,
  136. applicationVersion: u32,
  137. pEngineName: cstring,
  138. engineVersion: u32,
  139. apiVersion: u32,
  140. }
  141. FormatProperties :: struct {
  142. linearTilingFeatures: FormatFeatureFlags,
  143. optimalTilingFeatures: FormatFeatureFlags,
  144. bufferFeatures: FormatFeatureFlags,
  145. }
  146. ImageFormatProperties :: struct {
  147. maxExtent: Extent3D,
  148. maxMipLevels: u32,
  149. maxArrayLayers: u32,
  150. sampleCounts: SampleCountFlags,
  151. maxResourceSize: DeviceSize,
  152. }
  153. InstanceCreateInfo :: struct {
  154. sType: StructureType,
  155. pNext: rawptr,
  156. flags: InstanceCreateFlags,
  157. pApplicationInfo: ^ApplicationInfo,
  158. enabledLayerCount: u32,
  159. ppEnabledLayerNames: [^]cstring,
  160. enabledExtensionCount: u32,
  161. ppEnabledExtensionNames: [^]cstring,
  162. }
  163. MemoryHeap :: struct {
  164. size: DeviceSize,
  165. flags: MemoryHeapFlags,
  166. }
  167. MemoryType :: struct {
  168. propertyFlags: MemoryPropertyFlags,
  169. heapIndex: u32,
  170. }
  171. PhysicalDeviceFeatures :: struct {
  172. robustBufferAccess: b32,
  173. fullDrawIndexUint32: b32,
  174. imageCubeArray: b32,
  175. independentBlend: b32,
  176. geometryShader: b32,
  177. tessellationShader: b32,
  178. sampleRateShading: b32,
  179. dualSrcBlend: b32,
  180. logicOp: b32,
  181. multiDrawIndirect: b32,
  182. drawIndirectFirstInstance: b32,
  183. depthClamp: b32,
  184. depthBiasClamp: b32,
  185. fillModeNonSolid: b32,
  186. depthBounds: b32,
  187. wideLines: b32,
  188. largePoints: b32,
  189. alphaToOne: b32,
  190. multiViewport: b32,
  191. samplerAnisotropy: b32,
  192. textureCompressionETC2: b32,
  193. textureCompressionASTC_LDR: b32,
  194. textureCompressionBC: b32,
  195. occlusionQueryPrecise: b32,
  196. pipelineStatisticsQuery: b32,
  197. vertexPipelineStoresAndAtomics: b32,
  198. fragmentStoresAndAtomics: b32,
  199. shaderTessellationAndGeometryPointSize: b32,
  200. shaderImageGatherExtended: b32,
  201. shaderStorageImageExtendedFormats: b32,
  202. shaderStorageImageMultisample: b32,
  203. shaderStorageImageReadWithoutFormat: b32,
  204. shaderStorageImageWriteWithoutFormat: b32,
  205. shaderUniformBufferArrayDynamicIndexing: b32,
  206. shaderSampledImageArrayDynamicIndexing: b32,
  207. shaderStorageBufferArrayDynamicIndexing: b32,
  208. shaderStorageImageArrayDynamicIndexing: b32,
  209. shaderClipDistance: b32,
  210. shaderCullDistance: b32,
  211. shaderFloat64: b32,
  212. shaderInt64: b32,
  213. shaderInt16: b32,
  214. shaderResourceResidency: b32,
  215. shaderResourceMinLod: b32,
  216. sparseBinding: b32,
  217. sparseResidencyBuffer: b32,
  218. sparseResidencyImage2D: b32,
  219. sparseResidencyImage3D: b32,
  220. sparseResidency2Samples: b32,
  221. sparseResidency4Samples: b32,
  222. sparseResidency8Samples: b32,
  223. sparseResidency16Samples: b32,
  224. sparseResidencyAliased: b32,
  225. variableMultisampleRate: b32,
  226. inheritedQueries: b32,
  227. }
  228. PhysicalDeviceLimits :: struct {
  229. maxImageDimension1D: u32,
  230. maxImageDimension2D: u32,
  231. maxImageDimension3D: u32,
  232. maxImageDimensionCube: u32,
  233. maxImageArrayLayers: u32,
  234. maxTexelBufferElements: u32,
  235. maxUniformBufferRange: u32,
  236. maxStorageBufferRange: u32,
  237. maxPushConstantsSize: u32,
  238. maxMemoryAllocationCount: u32,
  239. maxSamplerAllocationCount: u32,
  240. bufferImageGranularity: DeviceSize,
  241. sparseAddressSpaceSize: DeviceSize,
  242. maxBoundDescriptorSets: u32,
  243. maxPerStageDescriptorSamplers: u32,
  244. maxPerStageDescriptorUniformBuffers: u32,
  245. maxPerStageDescriptorStorageBuffers: u32,
  246. maxPerStageDescriptorSampledImages: u32,
  247. maxPerStageDescriptorStorageImages: u32,
  248. maxPerStageDescriptorInputAttachments: u32,
  249. maxPerStageResources: u32,
  250. maxDescriptorSetSamplers: u32,
  251. maxDescriptorSetUniformBuffers: u32,
  252. maxDescriptorSetUniformBuffersDynamic: u32,
  253. maxDescriptorSetStorageBuffers: u32,
  254. maxDescriptorSetStorageBuffersDynamic: u32,
  255. maxDescriptorSetSampledImages: u32,
  256. maxDescriptorSetStorageImages: u32,
  257. maxDescriptorSetInputAttachments: u32,
  258. maxVertexInputAttributes: u32,
  259. maxVertexInputBindings: u32,
  260. maxVertexInputAttributeOffset: u32,
  261. maxVertexInputBindingStride: u32,
  262. maxVertexOutputComponents: u32,
  263. maxTessellationGenerationLevel: u32,
  264. maxTessellationPatchSize: u32,
  265. maxTessellationControlPerVertexInputComponents: u32,
  266. maxTessellationControlPerVertexOutputComponents: u32,
  267. maxTessellationControlPerPatchOutputComponents: u32,
  268. maxTessellationControlTotalOutputComponents: u32,
  269. maxTessellationEvaluationInputComponents: u32,
  270. maxTessellationEvaluationOutputComponents: u32,
  271. maxGeometryShaderInvocations: u32,
  272. maxGeometryInputComponents: u32,
  273. maxGeometryOutputComponents: u32,
  274. maxGeometryOutputVertices: u32,
  275. maxGeometryTotalOutputComponents: u32,
  276. maxFragmentInputComponents: u32,
  277. maxFragmentOutputAttachments: u32,
  278. maxFragmentDualSrcAttachments: u32,
  279. maxFragmentCombinedOutputResources: u32,
  280. maxComputeSharedMemorySize: u32,
  281. maxComputeWorkGroupCount: [3]u32,
  282. maxComputeWorkGroupInvocations: u32,
  283. maxComputeWorkGroupSize: [3]u32,
  284. subPixelPrecisionBits: u32,
  285. subTexelPrecisionBits: u32,
  286. mipmapPrecisionBits: u32,
  287. maxDrawIndexedIndexValue: u32,
  288. maxDrawIndirectCount: u32,
  289. maxSamplerLodBias: f32,
  290. maxSamplerAnisotropy: f32,
  291. maxViewports: u32,
  292. maxViewportDimensions: [2]u32,
  293. viewportBoundsRange: [2]f32,
  294. viewportSubPixelBits: u32,
  295. minMemoryMapAlignment: int,
  296. minTexelBufferOffsetAlignment: DeviceSize,
  297. minUniformBufferOffsetAlignment: DeviceSize,
  298. minStorageBufferOffsetAlignment: DeviceSize,
  299. minTexelOffset: i32,
  300. maxTexelOffset: u32,
  301. minTexelGatherOffset: i32,
  302. maxTexelGatherOffset: u32,
  303. minInterpolationOffset: f32,
  304. maxInterpolationOffset: f32,
  305. subPixelInterpolationOffsetBits: u32,
  306. maxFramebufferWidth: u32,
  307. maxFramebufferHeight: u32,
  308. maxFramebufferLayers: u32,
  309. framebufferColorSampleCounts: SampleCountFlags,
  310. framebufferDepthSampleCounts: SampleCountFlags,
  311. framebufferStencilSampleCounts: SampleCountFlags,
  312. framebufferNoAttachmentsSampleCounts: SampleCountFlags,
  313. maxColorAttachments: u32,
  314. sampledImageColorSampleCounts: SampleCountFlags,
  315. sampledImageIntegerSampleCounts: SampleCountFlags,
  316. sampledImageDepthSampleCounts: SampleCountFlags,
  317. sampledImageStencilSampleCounts: SampleCountFlags,
  318. storageImageSampleCounts: SampleCountFlags,
  319. maxSampleMaskWords: u32,
  320. timestampComputeAndGraphics: b32,
  321. timestampPeriod: f32,
  322. maxClipDistances: u32,
  323. maxCullDistances: u32,
  324. maxCombinedClipAndCullDistances: u32,
  325. discreteQueuePriorities: u32,
  326. pointSizeRange: [2]f32,
  327. lineWidthRange: [2]f32,
  328. pointSizeGranularity: f32,
  329. lineWidthGranularity: f32,
  330. strictLines: b32,
  331. standardSampleLocations: b32,
  332. optimalBufferCopyOffsetAlignment: DeviceSize,
  333. optimalBufferCopyRowPitchAlignment: DeviceSize,
  334. nonCoherentAtomSize: DeviceSize,
  335. }
  336. PhysicalDeviceMemoryProperties :: struct {
  337. memoryTypeCount: u32,
  338. memoryTypes: [MAX_MEMORY_TYPES]MemoryType,
  339. memoryHeapCount: u32,
  340. memoryHeaps: [MAX_MEMORY_HEAPS]MemoryHeap,
  341. }
  342. PhysicalDeviceSparseProperties :: struct {
  343. residencyStandard2DBlockShape: b32,
  344. residencyStandard2DMultisampleBlockShape: b32,
  345. residencyStandard3DBlockShape: b32,
  346. residencyAlignedMipSize: b32,
  347. residencyNonResidentStrict: b32,
  348. }
  349. PhysicalDeviceProperties :: struct {
  350. apiVersion: u32,
  351. driverVersion: u32,
  352. vendorID: u32,
  353. deviceID: u32,
  354. deviceType: PhysicalDeviceType,
  355. deviceName: [MAX_PHYSICAL_DEVICE_NAME_SIZE]byte,
  356. pipelineCacheUUID: [UUID_SIZE]u8,
  357. limits: PhysicalDeviceLimits,
  358. sparseProperties: PhysicalDeviceSparseProperties,
  359. }
  360. QueueFamilyProperties :: struct {
  361. queueFlags: QueueFlags,
  362. queueCount: u32,
  363. timestampValidBits: u32,
  364. minImageTransferGranularity: Extent3D,
  365. }
  366. DeviceQueueCreateInfo :: struct {
  367. sType: StructureType,
  368. pNext: rawptr,
  369. flags: DeviceQueueCreateFlags,
  370. queueFamilyIndex: u32,
  371. queueCount: u32,
  372. pQueuePriorities: [^]f32,
  373. }
  374. DeviceCreateInfo :: struct {
  375. sType: StructureType,
  376. pNext: rawptr,
  377. flags: DeviceCreateFlags,
  378. queueCreateInfoCount: u32,
  379. pQueueCreateInfos: [^]DeviceQueueCreateInfo,
  380. enabledLayerCount: u32,
  381. ppEnabledLayerNames: [^]cstring,
  382. enabledExtensionCount: u32,
  383. ppEnabledExtensionNames: [^]cstring,
  384. pEnabledFeatures: [^]PhysicalDeviceFeatures,
  385. }
  386. ExtensionProperties :: struct {
  387. extensionName: [MAX_EXTENSION_NAME_SIZE]byte,
  388. specVersion: u32,
  389. }
  390. LayerProperties :: struct {
  391. layerName: [MAX_EXTENSION_NAME_SIZE]byte,
  392. specVersion: u32,
  393. implementationVersion: u32,
  394. description: [MAX_DESCRIPTION_SIZE]byte,
  395. }
  396. SubmitInfo :: struct {
  397. sType: StructureType,
  398. pNext: rawptr,
  399. waitSemaphoreCount: u32,
  400. pWaitSemaphores: [^]Semaphore,
  401. pWaitDstStageMask: [^]PipelineStageFlags,
  402. commandBufferCount: u32,
  403. pCommandBuffers: [^]CommandBuffer,
  404. signalSemaphoreCount: u32,
  405. pSignalSemaphores: [^]Semaphore,
  406. }
  407. MappedMemoryRange :: struct {
  408. sType: StructureType,
  409. pNext: rawptr,
  410. memory: DeviceMemory,
  411. offset: DeviceSize,
  412. size: DeviceSize,
  413. }
  414. MemoryAllocateInfo :: struct {
  415. sType: StructureType,
  416. pNext: rawptr,
  417. allocationSize: DeviceSize,
  418. memoryTypeIndex: u32,
  419. }
  420. MemoryRequirements :: struct {
  421. size: DeviceSize,
  422. alignment: DeviceSize,
  423. memoryTypeBits: u32,
  424. }
  425. SparseMemoryBind :: struct {
  426. resourceOffset: DeviceSize,
  427. size: DeviceSize,
  428. memory: DeviceMemory,
  429. memoryOffset: DeviceSize,
  430. flags: SparseMemoryBindFlags,
  431. }
  432. SparseBufferMemoryBindInfo :: struct {
  433. buffer: Buffer,
  434. bindCount: u32,
  435. pBinds: [^]SparseMemoryBind,
  436. }
  437. SparseImageOpaqueMemoryBindInfo :: struct {
  438. image: Image,
  439. bindCount: u32,
  440. pBinds: [^]SparseMemoryBind,
  441. }
  442. ImageSubresource :: struct {
  443. aspectMask: ImageAspectFlags,
  444. mipLevel: u32,
  445. arrayLayer: u32,
  446. }
  447. SparseImageMemoryBind :: struct {
  448. subresource: ImageSubresource,
  449. offset: Offset3D,
  450. extent: Extent3D,
  451. memory: DeviceMemory,
  452. memoryOffset: DeviceSize,
  453. flags: SparseMemoryBindFlags,
  454. }
  455. SparseImageMemoryBindInfo :: struct {
  456. image: Image,
  457. bindCount: u32,
  458. pBinds: [^]SparseImageMemoryBind,
  459. }
  460. BindSparseInfo :: struct {
  461. sType: StructureType,
  462. pNext: rawptr,
  463. waitSemaphoreCount: u32,
  464. pWaitSemaphores: [^]Semaphore,
  465. bufferBindCount: u32,
  466. pBufferBinds: [^]SparseBufferMemoryBindInfo,
  467. imageOpaqueBindCount: u32,
  468. pImageOpaqueBinds: [^]SparseImageOpaqueMemoryBindInfo,
  469. imageBindCount: u32,
  470. pImageBinds: [^]SparseImageMemoryBindInfo,
  471. signalSemaphoreCount: u32,
  472. pSignalSemaphores: [^]Semaphore,
  473. }
  474. SparseImageFormatProperties :: struct {
  475. aspectMask: ImageAspectFlags,
  476. imageGranularity: Extent3D,
  477. flags: SparseImageFormatFlags,
  478. }
  479. SparseImageMemoryRequirements :: struct {
  480. formatProperties: SparseImageFormatProperties,
  481. imageMipTailFirstLod: u32,
  482. imageMipTailSize: DeviceSize,
  483. imageMipTailOffset: DeviceSize,
  484. imageMipTailStride: DeviceSize,
  485. }
  486. FenceCreateInfo :: struct {
  487. sType: StructureType,
  488. pNext: rawptr,
  489. flags: FenceCreateFlags,
  490. }
  491. SemaphoreCreateInfo :: struct {
  492. sType: StructureType,
  493. pNext: rawptr,
  494. flags: SemaphoreCreateFlags,
  495. }
  496. EventCreateInfo :: struct {
  497. sType: StructureType,
  498. pNext: rawptr,
  499. flags: EventCreateFlags,
  500. }
  501. QueryPoolCreateInfo :: struct {
  502. sType: StructureType,
  503. pNext: rawptr,
  504. flags: QueryPoolCreateFlags,
  505. queryType: QueryType,
  506. queryCount: u32,
  507. pipelineStatistics: QueryPipelineStatisticFlags,
  508. }
  509. BufferCreateInfo :: struct {
  510. sType: StructureType,
  511. pNext: rawptr,
  512. flags: BufferCreateFlags,
  513. size: DeviceSize,
  514. usage: BufferUsageFlags,
  515. sharingMode: SharingMode,
  516. queueFamilyIndexCount: u32,
  517. pQueueFamilyIndices: [^]u32,
  518. }
  519. BufferViewCreateInfo :: struct {
  520. sType: StructureType,
  521. pNext: rawptr,
  522. flags: BufferViewCreateFlags,
  523. buffer: Buffer,
  524. format: Format,
  525. offset: DeviceSize,
  526. range: DeviceSize,
  527. }
  528. ImageCreateInfo :: struct {
  529. sType: StructureType,
  530. pNext: rawptr,
  531. flags: ImageCreateFlags,
  532. imageType: ImageType,
  533. format: Format,
  534. extent: Extent3D,
  535. mipLevels: u32,
  536. arrayLayers: u32,
  537. samples: SampleCountFlags,
  538. tiling: ImageTiling,
  539. usage: ImageUsageFlags,
  540. sharingMode: SharingMode,
  541. queueFamilyIndexCount: u32,
  542. pQueueFamilyIndices: [^]u32,
  543. initialLayout: ImageLayout,
  544. }
  545. SubresourceLayout :: struct {
  546. offset: DeviceSize,
  547. size: DeviceSize,
  548. rowPitch: DeviceSize,
  549. arrayPitch: DeviceSize,
  550. depthPitch: DeviceSize,
  551. }
  552. ComponentMapping :: struct {
  553. r: ComponentSwizzle,
  554. g: ComponentSwizzle,
  555. b: ComponentSwizzle,
  556. a: ComponentSwizzle,
  557. }
  558. ImageViewCreateInfo :: struct {
  559. sType: StructureType,
  560. pNext: rawptr,
  561. flags: ImageViewCreateFlags,
  562. image: Image,
  563. viewType: ImageViewType,
  564. format: Format,
  565. components: ComponentMapping,
  566. subresourceRange: ImageSubresourceRange,
  567. }
  568. ShaderModuleCreateInfo :: struct {
  569. sType: StructureType,
  570. pNext: rawptr,
  571. flags: ShaderModuleCreateFlags,
  572. codeSize: int,
  573. pCode: ^u32,
  574. }
  575. PipelineCacheCreateInfo :: struct {
  576. sType: StructureType,
  577. pNext: rawptr,
  578. flags: PipelineCacheCreateFlags,
  579. initialDataSize: int,
  580. pInitialData: rawptr,
  581. }
  582. SpecializationMapEntry :: struct {
  583. constantID: u32,
  584. offset: u32,
  585. size: int,
  586. }
  587. SpecializationInfo :: struct {
  588. mapEntryCount: u32,
  589. pMapEntries: [^]SpecializationMapEntry,
  590. dataSize: int,
  591. pData: rawptr,
  592. }
  593. PipelineShaderStageCreateInfo :: struct {
  594. sType: StructureType,
  595. pNext: rawptr,
  596. flags: PipelineShaderStageCreateFlags,
  597. stage: ShaderStageFlags,
  598. module: ShaderModule,
  599. pName: cstring,
  600. pSpecializationInfo: ^SpecializationInfo,
  601. }
  602. ComputePipelineCreateInfo :: struct {
  603. sType: StructureType,
  604. pNext: rawptr,
  605. flags: PipelineCreateFlags,
  606. stage: PipelineShaderStageCreateInfo,
  607. layout: PipelineLayout,
  608. basePipelineHandle: Pipeline,
  609. basePipelineIndex: i32,
  610. }
  611. VertexInputBindingDescription :: struct {
  612. binding: u32,
  613. stride: u32,
  614. inputRate: VertexInputRate,
  615. }
  616. VertexInputAttributeDescription :: struct {
  617. location: u32,
  618. binding: u32,
  619. format: Format,
  620. offset: u32,
  621. }
  622. PipelineVertexInputStateCreateInfo :: struct {
  623. sType: StructureType,
  624. pNext: rawptr,
  625. flags: PipelineVertexInputStateCreateFlags,
  626. vertexBindingDescriptionCount: u32,
  627. pVertexBindingDescriptions: [^]VertexInputBindingDescription,
  628. vertexAttributeDescriptionCount: u32,
  629. pVertexAttributeDescriptions: [^]VertexInputAttributeDescription,
  630. }
  631. PipelineInputAssemblyStateCreateInfo :: struct {
  632. sType: StructureType,
  633. pNext: rawptr,
  634. flags: PipelineInputAssemblyStateCreateFlags,
  635. topology: PrimitiveTopology,
  636. primitiveRestartEnable: b32,
  637. }
  638. PipelineTessellationStateCreateInfo :: struct {
  639. sType: StructureType,
  640. pNext: rawptr,
  641. flags: PipelineTessellationStateCreateFlags,
  642. patchControlPoints: u32,
  643. }
  644. Viewport :: struct {
  645. x: f32,
  646. y: f32,
  647. width: f32,
  648. height: f32,
  649. minDepth: f32,
  650. maxDepth: f32,
  651. }
  652. PipelineViewportStateCreateInfo :: struct {
  653. sType: StructureType,
  654. pNext: rawptr,
  655. flags: PipelineViewportStateCreateFlags,
  656. viewportCount: u32,
  657. pViewports: [^]Viewport,
  658. scissorCount: u32,
  659. pScissors: [^]Rect2D,
  660. }
  661. PipelineRasterizationStateCreateInfo :: struct {
  662. sType: StructureType,
  663. pNext: rawptr,
  664. flags: PipelineRasterizationStateCreateFlags,
  665. depthClampEnable: b32,
  666. rasterizerDiscardEnable: b32,
  667. polygonMode: PolygonMode,
  668. cullMode: CullModeFlags,
  669. frontFace: FrontFace,
  670. depthBiasEnable: b32,
  671. depthBiasConstantFactor: f32,
  672. depthBiasClamp: f32,
  673. depthBiasSlopeFactor: f32,
  674. lineWidth: f32,
  675. }
  676. PipelineMultisampleStateCreateInfo :: struct {
  677. sType: StructureType,
  678. pNext: rawptr,
  679. flags: PipelineMultisampleStateCreateFlags,
  680. rasterizationSamples: SampleCountFlags,
  681. sampleShadingEnable: b32,
  682. minSampleShading: f32,
  683. pSampleMask: ^SampleMask,
  684. alphaToCoverageEnable: b32,
  685. alphaToOneEnable: b32,
  686. }
  687. StencilOpState :: struct {
  688. failOp: StencilOp,
  689. passOp: StencilOp,
  690. depthFailOp: StencilOp,
  691. compareOp: CompareOp,
  692. compareMask: u32,
  693. writeMask: u32,
  694. reference: u32,
  695. }
  696. PipelineDepthStencilStateCreateInfo :: struct {
  697. sType: StructureType,
  698. pNext: rawptr,
  699. flags: PipelineDepthStencilStateCreateFlags,
  700. depthTestEnable: b32,
  701. depthWriteEnable: b32,
  702. depthCompareOp: CompareOp,
  703. depthBoundsTestEnable: b32,
  704. stencilTestEnable: b32,
  705. front: StencilOpState,
  706. back: StencilOpState,
  707. minDepthBounds: f32,
  708. maxDepthBounds: f32,
  709. }
  710. PipelineColorBlendAttachmentState :: struct {
  711. blendEnable: b32,
  712. srcColorBlendFactor: BlendFactor,
  713. dstColorBlendFactor: BlendFactor,
  714. colorBlendOp: BlendOp,
  715. srcAlphaBlendFactor: BlendFactor,
  716. dstAlphaBlendFactor: BlendFactor,
  717. alphaBlendOp: BlendOp,
  718. colorWriteMask: ColorComponentFlags,
  719. }
  720. PipelineColorBlendStateCreateInfo :: struct {
  721. sType: StructureType,
  722. pNext: rawptr,
  723. flags: PipelineColorBlendStateCreateFlags,
  724. logicOpEnable: b32,
  725. logicOp: LogicOp,
  726. attachmentCount: u32,
  727. pAttachments: [^]PipelineColorBlendAttachmentState,
  728. blendConstants: [4]f32,
  729. }
  730. PipelineDynamicStateCreateInfo :: struct {
  731. sType: StructureType,
  732. pNext: rawptr,
  733. flags: PipelineDynamicStateCreateFlags,
  734. dynamicStateCount: u32,
  735. pDynamicStates: [^]DynamicState,
  736. }
  737. GraphicsPipelineCreateInfo :: struct {
  738. sType: StructureType,
  739. pNext: rawptr,
  740. flags: PipelineCreateFlags,
  741. stageCount: u32,
  742. pStages: [^]PipelineShaderStageCreateInfo,
  743. pVertexInputState: ^PipelineVertexInputStateCreateInfo,
  744. pInputAssemblyState: ^PipelineInputAssemblyStateCreateInfo,
  745. pTessellationState: ^PipelineTessellationStateCreateInfo,
  746. pViewportState: ^PipelineViewportStateCreateInfo,
  747. pRasterizationState: ^PipelineRasterizationStateCreateInfo,
  748. pMultisampleState: ^PipelineMultisampleStateCreateInfo,
  749. pDepthStencilState: ^PipelineDepthStencilStateCreateInfo,
  750. pColorBlendState: ^PipelineColorBlendStateCreateInfo,
  751. pDynamicState: ^PipelineDynamicStateCreateInfo,
  752. layout: PipelineLayout,
  753. renderPass: RenderPass,
  754. subpass: u32,
  755. basePipelineHandle: Pipeline,
  756. basePipelineIndex: i32,
  757. }
  758. PushConstantRange :: struct {
  759. stageFlags: ShaderStageFlags,
  760. offset: u32,
  761. size: u32,
  762. }
  763. PipelineLayoutCreateInfo :: struct {
  764. sType: StructureType,
  765. pNext: rawptr,
  766. flags: PipelineLayoutCreateFlags,
  767. setLayoutCount: u32,
  768. pSetLayouts: [^]DescriptorSetLayout,
  769. pushConstantRangeCount: u32,
  770. pPushConstantRanges: [^]PushConstantRange,
  771. }
  772. SamplerCreateInfo :: struct {
  773. sType: StructureType,
  774. pNext: rawptr,
  775. flags: SamplerCreateFlags,
  776. magFilter: Filter,
  777. minFilter: Filter,
  778. mipmapMode: SamplerMipmapMode,
  779. addressModeU: SamplerAddressMode,
  780. addressModeV: SamplerAddressMode,
  781. addressModeW: SamplerAddressMode,
  782. mipLodBias: f32,
  783. anisotropyEnable: b32,
  784. maxAnisotropy: f32,
  785. compareEnable: b32,
  786. compareOp: CompareOp,
  787. minLod: f32,
  788. maxLod: f32,
  789. borderColor: BorderColor,
  790. unnormalizedCoordinates: b32,
  791. }
  792. CopyDescriptorSet :: struct {
  793. sType: StructureType,
  794. pNext: rawptr,
  795. srcSet: DescriptorSet,
  796. srcBinding: u32,
  797. srcArrayElement: u32,
  798. dstSet: DescriptorSet,
  799. dstBinding: u32,
  800. dstArrayElement: u32,
  801. descriptorCount: u32,
  802. }
  803. DescriptorBufferInfo :: struct {
  804. buffer: Buffer,
  805. offset: DeviceSize,
  806. range: DeviceSize,
  807. }
  808. DescriptorImageInfo :: struct {
  809. sampler: Sampler,
  810. imageView: ImageView,
  811. imageLayout: ImageLayout,
  812. }
  813. DescriptorPoolSize :: struct {
  814. type: DescriptorType,
  815. descriptorCount: u32,
  816. }
  817. DescriptorPoolCreateInfo :: struct {
  818. sType: StructureType,
  819. pNext: rawptr,
  820. flags: DescriptorPoolCreateFlags,
  821. maxSets: u32,
  822. poolSizeCount: u32,
  823. pPoolSizes: [^]DescriptorPoolSize,
  824. }
  825. DescriptorSetAllocateInfo :: struct {
  826. sType: StructureType,
  827. pNext: rawptr,
  828. descriptorPool: DescriptorPool,
  829. descriptorSetCount: u32,
  830. pSetLayouts: [^]DescriptorSetLayout,
  831. }
  832. DescriptorSetLayoutBinding :: struct {
  833. binding: u32,
  834. descriptorType: DescriptorType,
  835. descriptorCount: u32,
  836. stageFlags: ShaderStageFlags,
  837. pImmutableSamplers: [^]Sampler,
  838. }
  839. DescriptorSetLayoutCreateInfo :: struct {
  840. sType: StructureType,
  841. pNext: rawptr,
  842. flags: DescriptorSetLayoutCreateFlags,
  843. bindingCount: u32,
  844. pBindings: [^]DescriptorSetLayoutBinding,
  845. }
  846. WriteDescriptorSet :: struct {
  847. sType: StructureType,
  848. pNext: rawptr,
  849. dstSet: DescriptorSet,
  850. dstBinding: u32,
  851. dstArrayElement: u32,
  852. descriptorCount: u32,
  853. descriptorType: DescriptorType,
  854. pImageInfo: ^DescriptorImageInfo,
  855. pBufferInfo: ^DescriptorBufferInfo,
  856. pTexelBufferView: ^BufferView,
  857. }
  858. AttachmentDescription :: struct {
  859. flags: AttachmentDescriptionFlags,
  860. format: Format,
  861. samples: SampleCountFlags,
  862. loadOp: AttachmentLoadOp,
  863. storeOp: AttachmentStoreOp,
  864. stencilLoadOp: AttachmentLoadOp,
  865. stencilStoreOp: AttachmentStoreOp,
  866. initialLayout: ImageLayout,
  867. finalLayout: ImageLayout,
  868. }
  869. AttachmentReference :: struct {
  870. attachment: u32,
  871. layout: ImageLayout,
  872. }
  873. FramebufferCreateInfo :: struct {
  874. sType: StructureType,
  875. pNext: rawptr,
  876. flags: FramebufferCreateFlags,
  877. renderPass: RenderPass,
  878. attachmentCount: u32,
  879. pAttachments: [^]ImageView,
  880. width: u32,
  881. height: u32,
  882. layers: u32,
  883. }
  884. SubpassDescription :: struct {
  885. flags: SubpassDescriptionFlags,
  886. pipelineBindPoint: PipelineBindPoint,
  887. inputAttachmentCount: u32,
  888. pInputAttachments: [^]AttachmentReference,
  889. colorAttachmentCount: u32,
  890. pColorAttachments: [^]AttachmentReference,
  891. pResolveAttachments: [^]AttachmentReference,
  892. pDepthStencilAttachment: ^AttachmentReference,
  893. preserveAttachmentCount: u32,
  894. pPreserveAttachments: [^]u32,
  895. }
  896. SubpassDependency :: struct {
  897. srcSubpass: u32,
  898. dstSubpass: u32,
  899. srcStageMask: PipelineStageFlags,
  900. dstStageMask: PipelineStageFlags,
  901. srcAccessMask: AccessFlags,
  902. dstAccessMask: AccessFlags,
  903. dependencyFlags: DependencyFlags,
  904. }
  905. RenderPassCreateInfo :: struct {
  906. sType: StructureType,
  907. pNext: rawptr,
  908. flags: RenderPassCreateFlags,
  909. attachmentCount: u32,
  910. pAttachments: [^]AttachmentDescription,
  911. subpassCount: u32,
  912. pSubpasses: [^]SubpassDescription,
  913. dependencyCount: u32,
  914. pDependencies: [^]SubpassDependency,
  915. }
  916. CommandPoolCreateInfo :: struct {
  917. sType: StructureType,
  918. pNext: rawptr,
  919. flags: CommandPoolCreateFlags,
  920. queueFamilyIndex: u32,
  921. }
  922. CommandBufferAllocateInfo :: struct {
  923. sType: StructureType,
  924. pNext: rawptr,
  925. commandPool: CommandPool,
  926. level: CommandBufferLevel,
  927. commandBufferCount: u32,
  928. }
  929. CommandBufferInheritanceInfo :: struct {
  930. sType: StructureType,
  931. pNext: rawptr,
  932. renderPass: RenderPass,
  933. subpass: u32,
  934. framebuffer: Framebuffer,
  935. occlusionQueryEnable: b32,
  936. queryFlags: QueryControlFlags,
  937. pipelineStatistics: QueryPipelineStatisticFlags,
  938. }
  939. CommandBufferBeginInfo :: struct {
  940. sType: StructureType,
  941. pNext: rawptr,
  942. flags: CommandBufferUsageFlags,
  943. pInheritanceInfo: ^CommandBufferInheritanceInfo,
  944. }
  945. BufferCopy :: struct {
  946. srcOffset: DeviceSize,
  947. dstOffset: DeviceSize,
  948. size: DeviceSize,
  949. }
  950. ImageSubresourceLayers :: struct {
  951. aspectMask: ImageAspectFlags,
  952. mipLevel: u32,
  953. baseArrayLayer: u32,
  954. layerCount: u32,
  955. }
  956. BufferImageCopy :: struct {
  957. bufferOffset: DeviceSize,
  958. bufferRowLength: u32,
  959. bufferImageHeight: u32,
  960. imageSubresource: ImageSubresourceLayers,
  961. imageOffset: Offset3D,
  962. imageExtent: Extent3D,
  963. }
  964. ClearColorValue :: struct #raw_union {
  965. float32: [4]f32,
  966. int32: [4]i32,
  967. uint32: [4]u32,
  968. }
  969. ClearDepthStencilValue :: struct {
  970. depth: f32,
  971. stencil: u32,
  972. }
  973. ClearValue :: struct #raw_union {
  974. color: ClearColorValue,
  975. depthStencil: ClearDepthStencilValue,
  976. }
  977. ClearAttachment :: struct {
  978. aspectMask: ImageAspectFlags,
  979. colorAttachment: u32,
  980. clearValue: ClearValue,
  981. }
  982. ClearRect :: struct {
  983. rect: Rect2D,
  984. baseArrayLayer: u32,
  985. layerCount: u32,
  986. }
  987. ImageBlit :: struct {
  988. srcSubresource: ImageSubresourceLayers,
  989. srcOffsets: [2]Offset3D,
  990. dstSubresource: ImageSubresourceLayers,
  991. dstOffsets: [2]Offset3D,
  992. }
  993. ImageCopy :: struct {
  994. srcSubresource: ImageSubresourceLayers,
  995. srcOffset: Offset3D,
  996. dstSubresource: ImageSubresourceLayers,
  997. dstOffset: Offset3D,
  998. extent: Extent3D,
  999. }
  1000. ImageResolve :: struct {
  1001. srcSubresource: ImageSubresourceLayers,
  1002. srcOffset: Offset3D,
  1003. dstSubresource: ImageSubresourceLayers,
  1004. dstOffset: Offset3D,
  1005. extent: Extent3D,
  1006. }
  1007. RenderPassBeginInfo :: struct {
  1008. sType: StructureType,
  1009. pNext: rawptr,
  1010. renderPass: RenderPass,
  1011. framebuffer: Framebuffer,
  1012. renderArea: Rect2D,
  1013. clearValueCount: u32,
  1014. pClearValues: [^]ClearValue,
  1015. }
  1016. PhysicalDeviceSubgroupProperties :: struct {
  1017. sType: StructureType,
  1018. pNext: rawptr,
  1019. subgroupSize: u32,
  1020. supportedStages: ShaderStageFlags,
  1021. supportedOperations: SubgroupFeatureFlags,
  1022. quadOperationsInAllStages: b32,
  1023. }
  1024. BindBufferMemoryInfo :: struct {
  1025. sType: StructureType,
  1026. pNext: rawptr,
  1027. buffer: Buffer,
  1028. memory: DeviceMemory,
  1029. memoryOffset: DeviceSize,
  1030. }
  1031. BindImageMemoryInfo :: struct {
  1032. sType: StructureType,
  1033. pNext: rawptr,
  1034. image: Image,
  1035. memory: DeviceMemory,
  1036. memoryOffset: DeviceSize,
  1037. }
  1038. PhysicalDevice16BitStorageFeatures :: struct {
  1039. sType: StructureType,
  1040. pNext: rawptr,
  1041. storageBuffer16BitAccess: b32,
  1042. uniformAndStorageBuffer16BitAccess: b32,
  1043. storagePushConstant16: b32,
  1044. storageInputOutput16: b32,
  1045. }
  1046. MemoryDedicatedRequirements :: struct {
  1047. sType: StructureType,
  1048. pNext: rawptr,
  1049. prefersDedicatedAllocation: b32,
  1050. requiresDedicatedAllocation: b32,
  1051. }
  1052. MemoryDedicatedAllocateInfo :: struct {
  1053. sType: StructureType,
  1054. pNext: rawptr,
  1055. image: Image,
  1056. buffer: Buffer,
  1057. }
  1058. MemoryAllocateFlagsInfo :: struct {
  1059. sType: StructureType,
  1060. pNext: rawptr,
  1061. flags: MemoryAllocateFlags,
  1062. deviceMask: u32,
  1063. }
  1064. DeviceGroupRenderPassBeginInfo :: struct {
  1065. sType: StructureType,
  1066. pNext: rawptr,
  1067. deviceMask: u32,
  1068. deviceRenderAreaCount: u32,
  1069. pDeviceRenderAreas: [^]Rect2D,
  1070. }
  1071. DeviceGroupCommandBufferBeginInfo :: struct {
  1072. sType: StructureType,
  1073. pNext: rawptr,
  1074. deviceMask: u32,
  1075. }
  1076. DeviceGroupSubmitInfo :: struct {
  1077. sType: StructureType,
  1078. pNext: rawptr,
  1079. waitSemaphoreCount: u32,
  1080. pWaitSemaphoreDeviceIndices: [^]u32,
  1081. commandBufferCount: u32,
  1082. pCommandBufferDeviceMasks: [^]u32,
  1083. signalSemaphoreCount: u32,
  1084. pSignalSemaphoreDeviceIndices: [^]u32,
  1085. }
  1086. DeviceGroupBindSparseInfo :: struct {
  1087. sType: StructureType,
  1088. pNext: rawptr,
  1089. resourceDeviceIndex: u32,
  1090. memoryDeviceIndex: u32,
  1091. }
  1092. BindBufferMemoryDeviceGroupInfo :: struct {
  1093. sType: StructureType,
  1094. pNext: rawptr,
  1095. deviceIndexCount: u32,
  1096. pDeviceIndices: [^]u32,
  1097. }
  1098. BindImageMemoryDeviceGroupInfo :: struct {
  1099. sType: StructureType,
  1100. pNext: rawptr,
  1101. deviceIndexCount: u32,
  1102. pDeviceIndices: [^]u32,
  1103. splitInstanceBindRegionCount: u32,
  1104. pSplitInstanceBindRegions: [^]Rect2D,
  1105. }
  1106. PhysicalDeviceGroupProperties :: struct {
  1107. sType: StructureType,
  1108. pNext: rawptr,
  1109. physicalDeviceCount: u32,
  1110. physicalDevices: [MAX_DEVICE_GROUP_SIZE]PhysicalDevice,
  1111. subsetAllocation: b32,
  1112. }
  1113. DeviceGroupDeviceCreateInfo :: struct {
  1114. sType: StructureType,
  1115. pNext: rawptr,
  1116. physicalDeviceCount: u32,
  1117. pPhysicalDevices: [^]PhysicalDevice,
  1118. }
  1119. BufferMemoryRequirementsInfo2 :: struct {
  1120. sType: StructureType,
  1121. pNext: rawptr,
  1122. buffer: Buffer,
  1123. }
  1124. ImageMemoryRequirementsInfo2 :: struct {
  1125. sType: StructureType,
  1126. pNext: rawptr,
  1127. image: Image,
  1128. }
  1129. ImageSparseMemoryRequirementsInfo2 :: struct {
  1130. sType: StructureType,
  1131. pNext: rawptr,
  1132. image: Image,
  1133. }
  1134. MemoryRequirements2 :: struct {
  1135. sType: StructureType,
  1136. pNext: rawptr,
  1137. memoryRequirements: MemoryRequirements,
  1138. }
  1139. SparseImageMemoryRequirements2 :: struct {
  1140. sType: StructureType,
  1141. pNext: rawptr,
  1142. memoryRequirements: SparseImageMemoryRequirements,
  1143. }
  1144. PhysicalDeviceFeatures2 :: struct {
  1145. sType: StructureType,
  1146. pNext: rawptr,
  1147. features: PhysicalDeviceFeatures,
  1148. }
  1149. PhysicalDeviceProperties2 :: struct {
  1150. sType: StructureType,
  1151. pNext: rawptr,
  1152. properties: PhysicalDeviceProperties,
  1153. }
  1154. FormatProperties2 :: struct {
  1155. sType: StructureType,
  1156. pNext: rawptr,
  1157. formatProperties: FormatProperties,
  1158. }
  1159. ImageFormatProperties2 :: struct {
  1160. sType: StructureType,
  1161. pNext: rawptr,
  1162. imageFormatProperties: ImageFormatProperties,
  1163. }
  1164. PhysicalDeviceImageFormatInfo2 :: struct {
  1165. sType: StructureType,
  1166. pNext: rawptr,
  1167. format: Format,
  1168. type: ImageType,
  1169. tiling: ImageTiling,
  1170. usage: ImageUsageFlags,
  1171. flags: ImageCreateFlags,
  1172. }
  1173. QueueFamilyProperties2 :: struct {
  1174. sType: StructureType,
  1175. pNext: rawptr,
  1176. queueFamilyProperties: QueueFamilyProperties,
  1177. }
  1178. PhysicalDeviceMemoryProperties2 :: struct {
  1179. sType: StructureType,
  1180. pNext: rawptr,
  1181. memoryProperties: PhysicalDeviceMemoryProperties,
  1182. }
  1183. SparseImageFormatProperties2 :: struct {
  1184. sType: StructureType,
  1185. pNext: rawptr,
  1186. properties: SparseImageFormatProperties,
  1187. }
  1188. PhysicalDeviceSparseImageFormatInfo2 :: struct {
  1189. sType: StructureType,
  1190. pNext: rawptr,
  1191. format: Format,
  1192. type: ImageType,
  1193. samples: SampleCountFlags,
  1194. usage: ImageUsageFlags,
  1195. tiling: ImageTiling,
  1196. }
  1197. PhysicalDevicePointClippingProperties :: struct {
  1198. sType: StructureType,
  1199. pNext: rawptr,
  1200. pointClippingBehavior: PointClippingBehavior,
  1201. }
  1202. InputAttachmentAspectReference :: struct {
  1203. subpass: u32,
  1204. inputAttachmentIndex: u32,
  1205. aspectMask: ImageAspectFlags,
  1206. }
  1207. RenderPassInputAttachmentAspectCreateInfo :: struct {
  1208. sType: StructureType,
  1209. pNext: rawptr,
  1210. aspectReferenceCount: u32,
  1211. pAspectReferences: [^]InputAttachmentAspectReference,
  1212. }
  1213. ImageViewUsageCreateInfo :: struct {
  1214. sType: StructureType,
  1215. pNext: rawptr,
  1216. usage: ImageUsageFlags,
  1217. }
  1218. PipelineTessellationDomainOriginStateCreateInfo :: struct {
  1219. sType: StructureType,
  1220. pNext: rawptr,
  1221. domainOrigin: TessellationDomainOrigin,
  1222. }
  1223. RenderPassMultiviewCreateInfo :: struct {
  1224. sType: StructureType,
  1225. pNext: rawptr,
  1226. subpassCount: u32,
  1227. pViewMasks: [^]u32,
  1228. dependencyCount: u32,
  1229. pViewOffsets: [^]i32,
  1230. correlationMaskCount: u32,
  1231. pCorrelationMasks: [^]u32,
  1232. }
  1233. PhysicalDeviceMultiviewFeatures :: struct {
  1234. sType: StructureType,
  1235. pNext: rawptr,
  1236. multiview: b32,
  1237. multiviewGeometryShader: b32,
  1238. multiviewTessellationShader: b32,
  1239. }
  1240. PhysicalDeviceMultiviewProperties :: struct {
  1241. sType: StructureType,
  1242. pNext: rawptr,
  1243. maxMultiviewViewCount: u32,
  1244. maxMultiviewInstanceIndex: u32,
  1245. }
  1246. PhysicalDeviceVariablePointersFeatures :: struct {
  1247. sType: StructureType,
  1248. pNext: rawptr,
  1249. variablePointersStorageBuffer: b32,
  1250. variablePointers: b32,
  1251. }
  1252. PhysicalDeviceProtectedMemoryFeatures :: struct {
  1253. sType: StructureType,
  1254. pNext: rawptr,
  1255. protectedMemory: b32,
  1256. }
  1257. PhysicalDeviceProtectedMemoryProperties :: struct {
  1258. sType: StructureType,
  1259. pNext: rawptr,
  1260. protectedNoFault: b32,
  1261. }
  1262. DeviceQueueInfo2 :: struct {
  1263. sType: StructureType,
  1264. pNext: rawptr,
  1265. flags: DeviceQueueCreateFlags,
  1266. queueFamilyIndex: u32,
  1267. queueIndex: u32,
  1268. }
  1269. ProtectedSubmitInfo :: struct {
  1270. sType: StructureType,
  1271. pNext: rawptr,
  1272. protectedSubmit: b32,
  1273. }
  1274. SamplerYcbcrConversionCreateInfo :: struct {
  1275. sType: StructureType,
  1276. pNext: rawptr,
  1277. format: Format,
  1278. ycbcrModel: SamplerYcbcrModelConversion,
  1279. ycbcrRange: SamplerYcbcrRange,
  1280. components: ComponentMapping,
  1281. xChromaOffset: ChromaLocation,
  1282. yChromaOffset: ChromaLocation,
  1283. chromaFilter: Filter,
  1284. forceExplicitReconstruction: b32,
  1285. }
  1286. SamplerYcbcrConversionInfo :: struct {
  1287. sType: StructureType,
  1288. pNext: rawptr,
  1289. conversion: SamplerYcbcrConversion,
  1290. }
  1291. BindImagePlaneMemoryInfo :: struct {
  1292. sType: StructureType,
  1293. pNext: rawptr,
  1294. planeAspect: ImageAspectFlags,
  1295. }
  1296. ImagePlaneMemoryRequirementsInfo :: struct {
  1297. sType: StructureType,
  1298. pNext: rawptr,
  1299. planeAspect: ImageAspectFlags,
  1300. }
  1301. PhysicalDeviceSamplerYcbcrConversionFeatures :: struct {
  1302. sType: StructureType,
  1303. pNext: rawptr,
  1304. samplerYcbcrConversion: b32,
  1305. }
  1306. SamplerYcbcrConversionImageFormatProperties :: struct {
  1307. sType: StructureType,
  1308. pNext: rawptr,
  1309. combinedImageSamplerDescriptorCount: u32,
  1310. }
  1311. DescriptorUpdateTemplateEntry :: struct {
  1312. dstBinding: u32,
  1313. dstArrayElement: u32,
  1314. descriptorCount: u32,
  1315. descriptorType: DescriptorType,
  1316. offset: int,
  1317. stride: int,
  1318. }
  1319. DescriptorUpdateTemplateCreateInfo :: struct {
  1320. sType: StructureType,
  1321. pNext: rawptr,
  1322. flags: DescriptorUpdateTemplateCreateFlags,
  1323. descriptorUpdateEntryCount: u32,
  1324. pDescriptorUpdateEntries: [^]DescriptorUpdateTemplateEntry,
  1325. templateType: DescriptorUpdateTemplateType,
  1326. descriptorSetLayout: DescriptorSetLayout,
  1327. pipelineBindPoint: PipelineBindPoint,
  1328. pipelineLayout: PipelineLayout,
  1329. set: u32,
  1330. }
  1331. ExternalMemoryProperties :: struct {
  1332. externalMemoryFeatures: ExternalMemoryFeatureFlags,
  1333. exportFromImportedHandleTypes: ExternalMemoryHandleTypeFlags,
  1334. compatibleHandleTypes: ExternalMemoryHandleTypeFlags,
  1335. }
  1336. PhysicalDeviceExternalImageFormatInfo :: struct {
  1337. sType: StructureType,
  1338. pNext: rawptr,
  1339. handleType: ExternalMemoryHandleTypeFlags,
  1340. }
  1341. ExternalImageFormatProperties :: struct {
  1342. sType: StructureType,
  1343. pNext: rawptr,
  1344. externalMemoryProperties: ExternalMemoryProperties,
  1345. }
  1346. PhysicalDeviceExternalBufferInfo :: struct {
  1347. sType: StructureType,
  1348. pNext: rawptr,
  1349. flags: BufferCreateFlags,
  1350. usage: BufferUsageFlags,
  1351. handleType: ExternalMemoryHandleTypeFlags,
  1352. }
  1353. ExternalBufferProperties :: struct {
  1354. sType: StructureType,
  1355. pNext: rawptr,
  1356. externalMemoryProperties: ExternalMemoryProperties,
  1357. }
  1358. PhysicalDeviceIDProperties :: struct {
  1359. sType: StructureType,
  1360. pNext: rawptr,
  1361. deviceUUID: [UUID_SIZE]u8,
  1362. driverUUID: [UUID_SIZE]u8,
  1363. deviceLUID: [LUID_SIZE]u8,
  1364. deviceNodeMask: u32,
  1365. deviceLUIDValid: b32,
  1366. }
  1367. ExternalMemoryImageCreateInfo :: struct {
  1368. sType: StructureType,
  1369. pNext: rawptr,
  1370. handleTypes: ExternalMemoryHandleTypeFlags,
  1371. }
  1372. ExternalMemoryBufferCreateInfo :: struct {
  1373. sType: StructureType,
  1374. pNext: rawptr,
  1375. handleTypes: ExternalMemoryHandleTypeFlags,
  1376. }
  1377. ExportMemoryAllocateInfo :: struct {
  1378. sType: StructureType,
  1379. pNext: rawptr,
  1380. handleTypes: ExternalMemoryHandleTypeFlags,
  1381. }
  1382. PhysicalDeviceExternalFenceInfo :: struct {
  1383. sType: StructureType,
  1384. pNext: rawptr,
  1385. handleType: ExternalFenceHandleTypeFlags,
  1386. }
  1387. ExternalFenceProperties :: struct {
  1388. sType: StructureType,
  1389. pNext: rawptr,
  1390. exportFromImportedHandleTypes: ExternalFenceHandleTypeFlags,
  1391. compatibleHandleTypes: ExternalFenceHandleTypeFlags,
  1392. externalFenceFeatures: ExternalFenceFeatureFlags,
  1393. }
  1394. ExportFenceCreateInfo :: struct {
  1395. sType: StructureType,
  1396. pNext: rawptr,
  1397. handleTypes: ExternalFenceHandleTypeFlags,
  1398. }
  1399. ExportSemaphoreCreateInfo :: struct {
  1400. sType: StructureType,
  1401. pNext: rawptr,
  1402. handleTypes: ExternalSemaphoreHandleTypeFlags,
  1403. }
  1404. PhysicalDeviceExternalSemaphoreInfo :: struct {
  1405. sType: StructureType,
  1406. pNext: rawptr,
  1407. handleType: ExternalSemaphoreHandleTypeFlags,
  1408. }
  1409. ExternalSemaphoreProperties :: struct {
  1410. sType: StructureType,
  1411. pNext: rawptr,
  1412. exportFromImportedHandleTypes: ExternalSemaphoreHandleTypeFlags,
  1413. compatibleHandleTypes: ExternalSemaphoreHandleTypeFlags,
  1414. externalSemaphoreFeatures: ExternalSemaphoreFeatureFlags,
  1415. }
  1416. PhysicalDeviceMaintenance3Properties :: struct {
  1417. sType: StructureType,
  1418. pNext: rawptr,
  1419. maxPerSetDescriptors: u32,
  1420. maxMemoryAllocationSize: DeviceSize,
  1421. }
  1422. DescriptorSetLayoutSupport :: struct {
  1423. sType: StructureType,
  1424. pNext: rawptr,
  1425. supported: b32,
  1426. }
  1427. PhysicalDeviceShaderDrawParametersFeatures :: struct {
  1428. sType: StructureType,
  1429. pNext: rawptr,
  1430. shaderDrawParameters: b32,
  1431. }
  1432. PhysicalDeviceVulkan11Features :: struct {
  1433. sType: StructureType,
  1434. pNext: rawptr,
  1435. storageBuffer16BitAccess: b32,
  1436. uniformAndStorageBuffer16BitAccess: b32,
  1437. storagePushConstant16: b32,
  1438. storageInputOutput16: b32,
  1439. multiview: b32,
  1440. multiviewGeometryShader: b32,
  1441. multiviewTessellationShader: b32,
  1442. variablePointersStorageBuffer: b32,
  1443. variablePointers: b32,
  1444. protectedMemory: b32,
  1445. samplerYcbcrConversion: b32,
  1446. shaderDrawParameters: b32,
  1447. }
  1448. PhysicalDeviceVulkan11Properties :: struct {
  1449. sType: StructureType,
  1450. pNext: rawptr,
  1451. deviceUUID: [UUID_SIZE]u8,
  1452. driverUUID: [UUID_SIZE]u8,
  1453. deviceLUID: [LUID_SIZE]u8,
  1454. deviceNodeMask: u32,
  1455. deviceLUIDValid: b32,
  1456. subgroupSize: u32,
  1457. subgroupSupportedStages: ShaderStageFlags,
  1458. subgroupSupportedOperations: SubgroupFeatureFlags,
  1459. subgroupQuadOperationsInAllStages: b32,
  1460. pointClippingBehavior: PointClippingBehavior,
  1461. maxMultiviewViewCount: u32,
  1462. maxMultiviewInstanceIndex: u32,
  1463. protectedNoFault: b32,
  1464. maxPerSetDescriptors: u32,
  1465. maxMemoryAllocationSize: DeviceSize,
  1466. }
  1467. PhysicalDeviceVulkan12Features :: struct {
  1468. sType: StructureType,
  1469. pNext: rawptr,
  1470. samplerMirrorClampToEdge: b32,
  1471. drawIndirectCount: b32,
  1472. storageBuffer8BitAccess: b32,
  1473. uniformAndStorageBuffer8BitAccess: b32,
  1474. storagePushConstant8: b32,
  1475. shaderBufferInt64Atomics: b32,
  1476. shaderSharedInt64Atomics: b32,
  1477. shaderFloat16: b32,
  1478. shaderInt8: b32,
  1479. descriptorIndexing: b32,
  1480. shaderInputAttachmentArrayDynamicIndexing: b32,
  1481. shaderUniformTexelBufferArrayDynamicIndexing: b32,
  1482. shaderStorageTexelBufferArrayDynamicIndexing: b32,
  1483. shaderUniformBufferArrayNonUniformIndexing: b32,
  1484. shaderSampledImageArrayNonUniformIndexing: b32,
  1485. shaderStorageBufferArrayNonUniformIndexing: b32,
  1486. shaderStorageImageArrayNonUniformIndexing: b32,
  1487. shaderInputAttachmentArrayNonUniformIndexing: b32,
  1488. shaderUniformTexelBufferArrayNonUniformIndexing: b32,
  1489. shaderStorageTexelBufferArrayNonUniformIndexing: b32,
  1490. descriptorBindingUniformBufferUpdateAfterBind: b32,
  1491. descriptorBindingSampledImageUpdateAfterBind: b32,
  1492. descriptorBindingStorageImageUpdateAfterBind: b32,
  1493. descriptorBindingStorageBufferUpdateAfterBind: b32,
  1494. descriptorBindingUniformTexelBufferUpdateAfterBind: b32,
  1495. descriptorBindingStorageTexelBufferUpdateAfterBind: b32,
  1496. descriptorBindingUpdateUnusedWhilePending: b32,
  1497. descriptorBindingPartiallyBound: b32,
  1498. descriptorBindingVariableDescriptorCount: b32,
  1499. runtimeDescriptorArray: b32,
  1500. samplerFilterMinmax: b32,
  1501. scalarBlockLayout: b32,
  1502. imagelessFramebuffer: b32,
  1503. uniformBufferStandardLayout: b32,
  1504. shaderSubgroupExtendedTypes: b32,
  1505. separateDepthStencilLayouts: b32,
  1506. hostQueryReset: b32,
  1507. timelineSemaphore: b32,
  1508. bufferDeviceAddress: b32,
  1509. bufferDeviceAddressCaptureReplay: b32,
  1510. bufferDeviceAddressMultiDevice: b32,
  1511. vulkanMemoryModel: b32,
  1512. vulkanMemoryModelDeviceScope: b32,
  1513. vulkanMemoryModelAvailabilityVisibilityChains: b32,
  1514. shaderOutputViewportIndex: b32,
  1515. shaderOutputLayer: b32,
  1516. subgroupBroadcastDynamicId: b32,
  1517. }
  1518. ConformanceVersion :: struct {
  1519. major: u8,
  1520. minor: u8,
  1521. subminor: u8,
  1522. patch: u8,
  1523. }
  1524. PhysicalDeviceVulkan12Properties :: struct {
  1525. sType: StructureType,
  1526. pNext: rawptr,
  1527. driverID: DriverId,
  1528. driverName: [MAX_DRIVER_NAME_SIZE]byte,
  1529. driverInfo: [MAX_DRIVER_INFO_SIZE]byte,
  1530. conformanceVersion: ConformanceVersion,
  1531. denormBehaviorIndependence: ShaderFloatControlsIndependence,
  1532. roundingModeIndependence: ShaderFloatControlsIndependence,
  1533. shaderSignedZeroInfNanPreserveFloat16: b32,
  1534. shaderSignedZeroInfNanPreserveFloat32: b32,
  1535. shaderSignedZeroInfNanPreserveFloat64: b32,
  1536. shaderDenormPreserveFloat16: b32,
  1537. shaderDenormPreserveFloat32: b32,
  1538. shaderDenormPreserveFloat64: b32,
  1539. shaderDenormFlushToZeroFloat16: b32,
  1540. shaderDenormFlushToZeroFloat32: b32,
  1541. shaderDenormFlushToZeroFloat64: b32,
  1542. shaderRoundingModeRTEFloat16: b32,
  1543. shaderRoundingModeRTEFloat32: b32,
  1544. shaderRoundingModeRTEFloat64: b32,
  1545. shaderRoundingModeRTZFloat16: b32,
  1546. shaderRoundingModeRTZFloat32: b32,
  1547. shaderRoundingModeRTZFloat64: b32,
  1548. maxUpdateAfterBindDescriptorsInAllPools: u32,
  1549. shaderUniformBufferArrayNonUniformIndexingNative: b32,
  1550. shaderSampledImageArrayNonUniformIndexingNative: b32,
  1551. shaderStorageBufferArrayNonUniformIndexingNative: b32,
  1552. shaderStorageImageArrayNonUniformIndexingNative: b32,
  1553. shaderInputAttachmentArrayNonUniformIndexingNative: b32,
  1554. robustBufferAccessUpdateAfterBind: b32,
  1555. quadDivergentImplicitLod: b32,
  1556. maxPerStageDescriptorUpdateAfterBindSamplers: u32,
  1557. maxPerStageDescriptorUpdateAfterBindUniformBuffers: u32,
  1558. maxPerStageDescriptorUpdateAfterBindStorageBuffers: u32,
  1559. maxPerStageDescriptorUpdateAfterBindSampledImages: u32,
  1560. maxPerStageDescriptorUpdateAfterBindStorageImages: u32,
  1561. maxPerStageDescriptorUpdateAfterBindInputAttachments: u32,
  1562. maxPerStageUpdateAfterBindResources: u32,
  1563. maxDescriptorSetUpdateAfterBindSamplers: u32,
  1564. maxDescriptorSetUpdateAfterBindUniformBuffers: u32,
  1565. maxDescriptorSetUpdateAfterBindUniformBuffersDynamic: u32,
  1566. maxDescriptorSetUpdateAfterBindStorageBuffers: u32,
  1567. maxDescriptorSetUpdateAfterBindStorageBuffersDynamic: u32,
  1568. maxDescriptorSetUpdateAfterBindSampledImages: u32,
  1569. maxDescriptorSetUpdateAfterBindStorageImages: u32,
  1570. maxDescriptorSetUpdateAfterBindInputAttachments: u32,
  1571. supportedDepthResolveModes: ResolveModeFlags,
  1572. supportedStencilResolveModes: ResolveModeFlags,
  1573. independentResolveNone: b32,
  1574. independentResolve: b32,
  1575. filterMinmaxSingleComponentFormats: b32,
  1576. filterMinmaxImageComponentMapping: b32,
  1577. maxTimelineSemaphoreValueDifference: u64,
  1578. framebufferIntegerColorSampleCounts: SampleCountFlags,
  1579. }
  1580. ImageFormatListCreateInfo :: struct {
  1581. sType: StructureType,
  1582. pNext: rawptr,
  1583. viewFormatCount: u32,
  1584. pViewFormats: [^]Format,
  1585. }
  1586. AttachmentDescription2 :: struct {
  1587. sType: StructureType,
  1588. pNext: rawptr,
  1589. flags: AttachmentDescriptionFlags,
  1590. format: Format,
  1591. samples: SampleCountFlags,
  1592. loadOp: AttachmentLoadOp,
  1593. storeOp: AttachmentStoreOp,
  1594. stencilLoadOp: AttachmentLoadOp,
  1595. stencilStoreOp: AttachmentStoreOp,
  1596. initialLayout: ImageLayout,
  1597. finalLayout: ImageLayout,
  1598. }
  1599. AttachmentReference2 :: struct {
  1600. sType: StructureType,
  1601. pNext: rawptr,
  1602. attachment: u32,
  1603. layout: ImageLayout,
  1604. aspectMask: ImageAspectFlags,
  1605. }
  1606. SubpassDescription2 :: struct {
  1607. sType: StructureType,
  1608. pNext: rawptr,
  1609. flags: SubpassDescriptionFlags,
  1610. pipelineBindPoint: PipelineBindPoint,
  1611. viewMask: u32,
  1612. inputAttachmentCount: u32,
  1613. pInputAttachments: [^]AttachmentReference2,
  1614. colorAttachmentCount: u32,
  1615. pColorAttachments: [^]AttachmentReference2,
  1616. pResolveAttachments: [^]AttachmentReference2,
  1617. pDepthStencilAttachment: ^AttachmentReference2,
  1618. preserveAttachmentCount: u32,
  1619. pPreserveAttachments: [^]u32,
  1620. }
  1621. SubpassDependency2 :: struct {
  1622. sType: StructureType,
  1623. pNext: rawptr,
  1624. srcSubpass: u32,
  1625. dstSubpass: u32,
  1626. srcStageMask: PipelineStageFlags,
  1627. dstStageMask: PipelineStageFlags,
  1628. srcAccessMask: AccessFlags,
  1629. dstAccessMask: AccessFlags,
  1630. dependencyFlags: DependencyFlags,
  1631. viewOffset: i32,
  1632. }
  1633. RenderPassCreateInfo2 :: struct {
  1634. sType: StructureType,
  1635. pNext: rawptr,
  1636. flags: RenderPassCreateFlags,
  1637. attachmentCount: u32,
  1638. pAttachments: [^]AttachmentDescription2,
  1639. subpassCount: u32,
  1640. pSubpasses: [^]SubpassDescription2,
  1641. dependencyCount: u32,
  1642. pDependencies: [^]SubpassDependency2,
  1643. correlatedViewMaskCount: u32,
  1644. pCorrelatedViewMasks: [^]u32,
  1645. }
  1646. SubpassBeginInfo :: struct {
  1647. sType: StructureType,
  1648. pNext: rawptr,
  1649. contents: SubpassContents,
  1650. }
  1651. SubpassEndInfo :: struct {
  1652. sType: StructureType,
  1653. pNext: rawptr,
  1654. }
  1655. PhysicalDevice8BitStorageFeatures :: struct {
  1656. sType: StructureType,
  1657. pNext: rawptr,
  1658. storageBuffer8BitAccess: b32,
  1659. uniformAndStorageBuffer8BitAccess: b32,
  1660. storagePushConstant8: b32,
  1661. }
  1662. PhysicalDeviceDriverProperties :: struct {
  1663. sType: StructureType,
  1664. pNext: rawptr,
  1665. driverID: DriverId,
  1666. driverName: [MAX_DRIVER_NAME_SIZE]byte,
  1667. driverInfo: [MAX_DRIVER_INFO_SIZE]byte,
  1668. conformanceVersion: ConformanceVersion,
  1669. }
  1670. PhysicalDeviceShaderAtomicInt64Features :: struct {
  1671. sType: StructureType,
  1672. pNext: rawptr,
  1673. shaderBufferInt64Atomics: b32,
  1674. shaderSharedInt64Atomics: b32,
  1675. }
  1676. PhysicalDeviceShaderFloat16Int8Features :: struct {
  1677. sType: StructureType,
  1678. pNext: rawptr,
  1679. shaderFloat16: b32,
  1680. shaderInt8: b32,
  1681. }
  1682. PhysicalDeviceFloatControlsProperties :: struct {
  1683. sType: StructureType,
  1684. pNext: rawptr,
  1685. denormBehaviorIndependence: ShaderFloatControlsIndependence,
  1686. roundingModeIndependence: ShaderFloatControlsIndependence,
  1687. shaderSignedZeroInfNanPreserveFloat16: b32,
  1688. shaderSignedZeroInfNanPreserveFloat32: b32,
  1689. shaderSignedZeroInfNanPreserveFloat64: b32,
  1690. shaderDenormPreserveFloat16: b32,
  1691. shaderDenormPreserveFloat32: b32,
  1692. shaderDenormPreserveFloat64: b32,
  1693. shaderDenormFlushToZeroFloat16: b32,
  1694. shaderDenormFlushToZeroFloat32: b32,
  1695. shaderDenormFlushToZeroFloat64: b32,
  1696. shaderRoundingModeRTEFloat16: b32,
  1697. shaderRoundingModeRTEFloat32: b32,
  1698. shaderRoundingModeRTEFloat64: b32,
  1699. shaderRoundingModeRTZFloat16: b32,
  1700. shaderRoundingModeRTZFloat32: b32,
  1701. shaderRoundingModeRTZFloat64: b32,
  1702. }
  1703. DescriptorSetLayoutBindingFlagsCreateInfo :: struct {
  1704. sType: StructureType,
  1705. pNext: rawptr,
  1706. bindingCount: u32,
  1707. pBindingFlags: [^]DescriptorBindingFlags,
  1708. }
  1709. PhysicalDeviceDescriptorIndexingFeatures :: struct {
  1710. sType: StructureType,
  1711. pNext: rawptr,
  1712. shaderInputAttachmentArrayDynamicIndexing: b32,
  1713. shaderUniformTexelBufferArrayDynamicIndexing: b32,
  1714. shaderStorageTexelBufferArrayDynamicIndexing: b32,
  1715. shaderUniformBufferArrayNonUniformIndexing: b32,
  1716. shaderSampledImageArrayNonUniformIndexing: b32,
  1717. shaderStorageBufferArrayNonUniformIndexing: b32,
  1718. shaderStorageImageArrayNonUniformIndexing: b32,
  1719. shaderInputAttachmentArrayNonUniformIndexing: b32,
  1720. shaderUniformTexelBufferArrayNonUniformIndexing: b32,
  1721. shaderStorageTexelBufferArrayNonUniformIndexing: b32,
  1722. descriptorBindingUniformBufferUpdateAfterBind: b32,
  1723. descriptorBindingSampledImageUpdateAfterBind: b32,
  1724. descriptorBindingStorageImageUpdateAfterBind: b32,
  1725. descriptorBindingStorageBufferUpdateAfterBind: b32,
  1726. descriptorBindingUniformTexelBufferUpdateAfterBind: b32,
  1727. descriptorBindingStorageTexelBufferUpdateAfterBind: b32,
  1728. descriptorBindingUpdateUnusedWhilePending: b32,
  1729. descriptorBindingPartiallyBound: b32,
  1730. descriptorBindingVariableDescriptorCount: b32,
  1731. runtimeDescriptorArray: b32,
  1732. }
  1733. PhysicalDeviceDescriptorIndexingProperties :: struct {
  1734. sType: StructureType,
  1735. pNext: rawptr,
  1736. maxUpdateAfterBindDescriptorsInAllPools: u32,
  1737. shaderUniformBufferArrayNonUniformIndexingNative: b32,
  1738. shaderSampledImageArrayNonUniformIndexingNative: b32,
  1739. shaderStorageBufferArrayNonUniformIndexingNative: b32,
  1740. shaderStorageImageArrayNonUniformIndexingNative: b32,
  1741. shaderInputAttachmentArrayNonUniformIndexingNative: b32,
  1742. robustBufferAccessUpdateAfterBind: b32,
  1743. quadDivergentImplicitLod: b32,
  1744. maxPerStageDescriptorUpdateAfterBindSamplers: u32,
  1745. maxPerStageDescriptorUpdateAfterBindUniformBuffers: u32,
  1746. maxPerStageDescriptorUpdateAfterBindStorageBuffers: u32,
  1747. maxPerStageDescriptorUpdateAfterBindSampledImages: u32,
  1748. maxPerStageDescriptorUpdateAfterBindStorageImages: u32,
  1749. maxPerStageDescriptorUpdateAfterBindInputAttachments: u32,
  1750. maxPerStageUpdateAfterBindResources: u32,
  1751. maxDescriptorSetUpdateAfterBindSamplers: u32,
  1752. maxDescriptorSetUpdateAfterBindUniformBuffers: u32,
  1753. maxDescriptorSetUpdateAfterBindUniformBuffersDynamic: u32,
  1754. maxDescriptorSetUpdateAfterBindStorageBuffers: u32,
  1755. maxDescriptorSetUpdateAfterBindStorageBuffersDynamic: u32,
  1756. maxDescriptorSetUpdateAfterBindSampledImages: u32,
  1757. maxDescriptorSetUpdateAfterBindStorageImages: u32,
  1758. maxDescriptorSetUpdateAfterBindInputAttachments: u32,
  1759. }
  1760. DescriptorSetVariableDescriptorCountAllocateInfo :: struct {
  1761. sType: StructureType,
  1762. pNext: rawptr,
  1763. descriptorSetCount: u32,
  1764. pDescriptorCounts: [^]u32,
  1765. }
  1766. DescriptorSetVariableDescriptorCountLayoutSupport :: struct {
  1767. sType: StructureType,
  1768. pNext: rawptr,
  1769. maxVariableDescriptorCount: u32,
  1770. }
  1771. SubpassDescriptionDepthStencilResolve :: struct {
  1772. sType: StructureType,
  1773. pNext: rawptr,
  1774. depthResolveMode: ResolveModeFlags,
  1775. stencilResolveMode: ResolveModeFlags,
  1776. pDepthStencilResolveAttachment: ^AttachmentReference2,
  1777. }
  1778. PhysicalDeviceDepthStencilResolveProperties :: struct {
  1779. sType: StructureType,
  1780. pNext: rawptr,
  1781. supportedDepthResolveModes: ResolveModeFlags,
  1782. supportedStencilResolveModes: ResolveModeFlags,
  1783. independentResolveNone: b32,
  1784. independentResolve: b32,
  1785. }
  1786. PhysicalDeviceScalarBlockLayoutFeatures :: struct {
  1787. sType: StructureType,
  1788. pNext: rawptr,
  1789. scalarBlockLayout: b32,
  1790. }
  1791. ImageStencilUsageCreateInfo :: struct {
  1792. sType: StructureType,
  1793. pNext: rawptr,
  1794. stencilUsage: ImageUsageFlags,
  1795. }
  1796. SamplerReductionModeCreateInfo :: struct {
  1797. sType: StructureType,
  1798. pNext: rawptr,
  1799. reductionMode: SamplerReductionMode,
  1800. }
  1801. PhysicalDeviceSamplerFilterMinmaxProperties :: struct {
  1802. sType: StructureType,
  1803. pNext: rawptr,
  1804. filterMinmaxSingleComponentFormats: b32,
  1805. filterMinmaxImageComponentMapping: b32,
  1806. }
  1807. PhysicalDeviceVulkanMemoryModelFeatures :: struct {
  1808. sType: StructureType,
  1809. pNext: rawptr,
  1810. vulkanMemoryModel: b32,
  1811. vulkanMemoryModelDeviceScope: b32,
  1812. vulkanMemoryModelAvailabilityVisibilityChains: b32,
  1813. }
  1814. PhysicalDeviceImagelessFramebufferFeatures :: struct {
  1815. sType: StructureType,
  1816. pNext: rawptr,
  1817. imagelessFramebuffer: b32,
  1818. }
  1819. FramebufferAttachmentImageInfo :: struct {
  1820. sType: StructureType,
  1821. pNext: rawptr,
  1822. flags: ImageCreateFlags,
  1823. usage: ImageUsageFlags,
  1824. width: u32,
  1825. height: u32,
  1826. layerCount: u32,
  1827. viewFormatCount: u32,
  1828. pViewFormats: [^]Format,
  1829. }
  1830. FramebufferAttachmentsCreateInfo :: struct {
  1831. sType: StructureType,
  1832. pNext: rawptr,
  1833. attachmentImageInfoCount: u32,
  1834. pAttachmentImageInfos: [^]FramebufferAttachmentImageInfo,
  1835. }
  1836. RenderPassAttachmentBeginInfo :: struct {
  1837. sType: StructureType,
  1838. pNext: rawptr,
  1839. attachmentCount: u32,
  1840. pAttachments: [^]ImageView,
  1841. }
  1842. PhysicalDeviceUniformBufferStandardLayoutFeatures :: struct {
  1843. sType: StructureType,
  1844. pNext: rawptr,
  1845. uniformBufferStandardLayout: b32,
  1846. }
  1847. PhysicalDeviceShaderSubgroupExtendedTypesFeatures :: struct {
  1848. sType: StructureType,
  1849. pNext: rawptr,
  1850. shaderSubgroupExtendedTypes: b32,
  1851. }
  1852. PhysicalDeviceSeparateDepthStencilLayoutsFeatures :: struct {
  1853. sType: StructureType,
  1854. pNext: rawptr,
  1855. separateDepthStencilLayouts: b32,
  1856. }
  1857. AttachmentReferenceStencilLayout :: struct {
  1858. sType: StructureType,
  1859. pNext: rawptr,
  1860. stencilLayout: ImageLayout,
  1861. }
  1862. AttachmentDescriptionStencilLayout :: struct {
  1863. sType: StructureType,
  1864. pNext: rawptr,
  1865. stencilInitialLayout: ImageLayout,
  1866. stencilFinalLayout: ImageLayout,
  1867. }
  1868. PhysicalDeviceHostQueryResetFeatures :: struct {
  1869. sType: StructureType,
  1870. pNext: rawptr,
  1871. hostQueryReset: b32,
  1872. }
  1873. PhysicalDeviceTimelineSemaphoreFeatures :: struct {
  1874. sType: StructureType,
  1875. pNext: rawptr,
  1876. timelineSemaphore: b32,
  1877. }
  1878. PhysicalDeviceTimelineSemaphoreProperties :: struct {
  1879. sType: StructureType,
  1880. pNext: rawptr,
  1881. maxTimelineSemaphoreValueDifference: u64,
  1882. }
  1883. SemaphoreTypeCreateInfo :: struct {
  1884. sType: StructureType,
  1885. pNext: rawptr,
  1886. semaphoreType: SemaphoreType,
  1887. initialValue: u64,
  1888. }
  1889. TimelineSemaphoreSubmitInfo :: struct {
  1890. sType: StructureType,
  1891. pNext: rawptr,
  1892. waitSemaphoreValueCount: u32,
  1893. pWaitSemaphoreValues: [^]u64,
  1894. signalSemaphoreValueCount: u32,
  1895. pSignalSemaphoreValues: [^]u64,
  1896. }
  1897. SemaphoreWaitInfo :: struct {
  1898. sType: StructureType,
  1899. pNext: rawptr,
  1900. flags: SemaphoreWaitFlags,
  1901. semaphoreCount: u32,
  1902. pSemaphores: [^]Semaphore,
  1903. pValues: [^]u64,
  1904. }
  1905. SemaphoreSignalInfo :: struct {
  1906. sType: StructureType,
  1907. pNext: rawptr,
  1908. semaphore: Semaphore,
  1909. value: u64,
  1910. }
  1911. PhysicalDeviceBufferDeviceAddressFeatures :: struct {
  1912. sType: StructureType,
  1913. pNext: rawptr,
  1914. bufferDeviceAddress: b32,
  1915. bufferDeviceAddressCaptureReplay: b32,
  1916. bufferDeviceAddressMultiDevice: b32,
  1917. }
  1918. BufferDeviceAddressInfo :: struct {
  1919. sType: StructureType,
  1920. pNext: rawptr,
  1921. buffer: Buffer,
  1922. }
  1923. BufferOpaqueCaptureAddressCreateInfo :: struct {
  1924. sType: StructureType,
  1925. pNext: rawptr,
  1926. opaqueCaptureAddress: u64,
  1927. }
  1928. MemoryOpaqueCaptureAddressAllocateInfo :: struct {
  1929. sType: StructureType,
  1930. pNext: rawptr,
  1931. opaqueCaptureAddress: u64,
  1932. }
  1933. DeviceMemoryOpaqueCaptureAddressInfo :: struct {
  1934. sType: StructureType,
  1935. pNext: rawptr,
  1936. memory: DeviceMemory,
  1937. }
  1938. SurfaceCapabilitiesKHR :: struct {
  1939. minImageCount: u32,
  1940. maxImageCount: u32,
  1941. currentExtent: Extent2D,
  1942. minImageExtent: Extent2D,
  1943. maxImageExtent: Extent2D,
  1944. maxImageArrayLayers: u32,
  1945. supportedTransforms: SurfaceTransformFlagsKHR,
  1946. currentTransform: SurfaceTransformFlagsKHR,
  1947. supportedCompositeAlpha: CompositeAlphaFlagsKHR,
  1948. supportedUsageFlags: ImageUsageFlags,
  1949. }
  1950. SurfaceFormatKHR :: struct {
  1951. format: Format,
  1952. colorSpace: ColorSpaceKHR,
  1953. }
  1954. SwapchainCreateInfoKHR :: struct {
  1955. sType: StructureType,
  1956. pNext: rawptr,
  1957. flags: SwapchainCreateFlagsKHR,
  1958. surface: SurfaceKHR,
  1959. minImageCount: u32,
  1960. imageFormat: Format,
  1961. imageColorSpace: ColorSpaceKHR,
  1962. imageExtent: Extent2D,
  1963. imageArrayLayers: u32,
  1964. imageUsage: ImageUsageFlags,
  1965. imageSharingMode: SharingMode,
  1966. queueFamilyIndexCount: u32,
  1967. pQueueFamilyIndices: [^]u32,
  1968. preTransform: SurfaceTransformFlagsKHR,
  1969. compositeAlpha: CompositeAlphaFlagsKHR,
  1970. presentMode: PresentModeKHR,
  1971. clipped: b32,
  1972. oldSwapchain: SwapchainKHR,
  1973. }
  1974. PresentInfoKHR :: struct {
  1975. sType: StructureType,
  1976. pNext: rawptr,
  1977. waitSemaphoreCount: u32,
  1978. pWaitSemaphores: [^]Semaphore,
  1979. swapchainCount: u32,
  1980. pSwapchains: [^]SwapchainKHR,
  1981. pImageIndices: [^]u32,
  1982. pResults: [^]Result,
  1983. }
  1984. ImageSwapchainCreateInfoKHR :: struct {
  1985. sType: StructureType,
  1986. pNext: rawptr,
  1987. swapchain: SwapchainKHR,
  1988. }
  1989. BindImageMemorySwapchainInfoKHR :: struct {
  1990. sType: StructureType,
  1991. pNext: rawptr,
  1992. swapchain: SwapchainKHR,
  1993. imageIndex: u32,
  1994. }
  1995. AcquireNextImageInfoKHR :: struct {
  1996. sType: StructureType,
  1997. pNext: rawptr,
  1998. swapchain: SwapchainKHR,
  1999. timeout: u64,
  2000. semaphore: Semaphore,
  2001. fence: Fence,
  2002. deviceMask: u32,
  2003. }
  2004. DeviceGroupPresentCapabilitiesKHR :: struct {
  2005. sType: StructureType,
  2006. pNext: rawptr,
  2007. presentMask: [MAX_DEVICE_GROUP_SIZE]u32,
  2008. modes: DeviceGroupPresentModeFlagsKHR,
  2009. }
  2010. DeviceGroupPresentInfoKHR :: struct {
  2011. sType: StructureType,
  2012. pNext: rawptr,
  2013. swapchainCount: u32,
  2014. pDeviceMasks: [^]u32,
  2015. mode: DeviceGroupPresentModeFlagsKHR,
  2016. }
  2017. DeviceGroupSwapchainCreateInfoKHR :: struct {
  2018. sType: StructureType,
  2019. pNext: rawptr,
  2020. modes: DeviceGroupPresentModeFlagsKHR,
  2021. }
  2022. DisplayModeParametersKHR :: struct {
  2023. visibleRegion: Extent2D,
  2024. refreshRate: u32,
  2025. }
  2026. DisplayModeCreateInfoKHR :: struct {
  2027. sType: StructureType,
  2028. pNext: rawptr,
  2029. flags: DisplayModeCreateFlagsKHR,
  2030. parameters: DisplayModeParametersKHR,
  2031. }
  2032. DisplayModePropertiesKHR :: struct {
  2033. displayMode: DisplayModeKHR,
  2034. parameters: DisplayModeParametersKHR,
  2035. }
  2036. DisplayPlaneCapabilitiesKHR :: struct {
  2037. supportedAlpha: DisplayPlaneAlphaFlagsKHR,
  2038. minSrcPosition: Offset2D,
  2039. maxSrcPosition: Offset2D,
  2040. minSrcExtent: Extent2D,
  2041. maxSrcExtent: Extent2D,
  2042. minDstPosition: Offset2D,
  2043. maxDstPosition: Offset2D,
  2044. minDstExtent: Extent2D,
  2045. maxDstExtent: Extent2D,
  2046. }
  2047. DisplayPlanePropertiesKHR :: struct {
  2048. currentDisplay: DisplayKHR,
  2049. currentStackIndex: u32,
  2050. }
  2051. DisplayPropertiesKHR :: struct {
  2052. display: DisplayKHR,
  2053. displayName: cstring,
  2054. physicalDimensions: Extent2D,
  2055. physicalResolution: Extent2D,
  2056. supportedTransforms: SurfaceTransformFlagsKHR,
  2057. planeReorderPossible: b32,
  2058. persistentContent: b32,
  2059. }
  2060. DisplaySurfaceCreateInfoKHR :: struct {
  2061. sType: StructureType,
  2062. pNext: rawptr,
  2063. flags: DisplaySurfaceCreateFlagsKHR,
  2064. displayMode: DisplayModeKHR,
  2065. planeIndex: u32,
  2066. planeStackIndex: u32,
  2067. transform: SurfaceTransformFlagsKHR,
  2068. globalAlpha: f32,
  2069. alphaMode: DisplayPlaneAlphaFlagsKHR,
  2070. imageExtent: Extent2D,
  2071. }
  2072. DisplayPresentInfoKHR :: struct {
  2073. sType: StructureType,
  2074. pNext: rawptr,
  2075. srcRect: Rect2D,
  2076. dstRect: Rect2D,
  2077. persistent: b32,
  2078. }
  2079. ImportMemoryFdInfoKHR :: struct {
  2080. sType: StructureType,
  2081. pNext: rawptr,
  2082. handleType: ExternalMemoryHandleTypeFlags,
  2083. fd: c.int,
  2084. }
  2085. MemoryFdPropertiesKHR :: struct {
  2086. sType: StructureType,
  2087. pNext: rawptr,
  2088. memoryTypeBits: u32,
  2089. }
  2090. MemoryGetFdInfoKHR :: struct {
  2091. sType: StructureType,
  2092. pNext: rawptr,
  2093. memory: DeviceMemory,
  2094. handleType: ExternalMemoryHandleTypeFlags,
  2095. }
  2096. ImportSemaphoreFdInfoKHR :: struct {
  2097. sType: StructureType,
  2098. pNext: rawptr,
  2099. semaphore: Semaphore,
  2100. flags: SemaphoreImportFlags,
  2101. handleType: ExternalSemaphoreHandleTypeFlags,
  2102. fd: c.int,
  2103. }
  2104. SemaphoreGetFdInfoKHR :: struct {
  2105. sType: StructureType,
  2106. pNext: rawptr,
  2107. semaphore: Semaphore,
  2108. handleType: ExternalSemaphoreHandleTypeFlags,
  2109. }
  2110. PhysicalDevicePushDescriptorPropertiesKHR :: struct {
  2111. sType: StructureType,
  2112. pNext: rawptr,
  2113. maxPushDescriptors: u32,
  2114. }
  2115. RectLayerKHR :: struct {
  2116. offset: Offset2D,
  2117. extent: Extent2D,
  2118. layer: u32,
  2119. }
  2120. PresentRegionKHR :: struct {
  2121. rectangleCount: u32,
  2122. pRectangles: [^]RectLayerKHR,
  2123. }
  2124. PresentRegionsKHR :: struct {
  2125. sType: StructureType,
  2126. pNext: rawptr,
  2127. swapchainCount: u32,
  2128. pRegions: [^]PresentRegionKHR,
  2129. }
  2130. SharedPresentSurfaceCapabilitiesKHR :: struct {
  2131. sType: StructureType,
  2132. pNext: rawptr,
  2133. sharedPresentSupportedUsageFlags: ImageUsageFlags,
  2134. }
  2135. ImportFenceFdInfoKHR :: struct {
  2136. sType: StructureType,
  2137. pNext: rawptr,
  2138. fence: Fence,
  2139. flags: FenceImportFlags,
  2140. handleType: ExternalFenceHandleTypeFlags,
  2141. fd: c.int,
  2142. }
  2143. FenceGetFdInfoKHR :: struct {
  2144. sType: StructureType,
  2145. pNext: rawptr,
  2146. fence: Fence,
  2147. handleType: ExternalFenceHandleTypeFlags,
  2148. }
  2149. PhysicalDevicePerformanceQueryFeaturesKHR :: struct {
  2150. sType: StructureType,
  2151. pNext: rawptr,
  2152. performanceCounterQueryPools: b32,
  2153. performanceCounterMultipleQueryPools: b32,
  2154. }
  2155. PhysicalDevicePerformanceQueryPropertiesKHR :: struct {
  2156. sType: StructureType,
  2157. pNext: rawptr,
  2158. allowCommandBufferQueryCopies: b32,
  2159. }
  2160. PerformanceCounterKHR :: struct {
  2161. sType: StructureType,
  2162. pNext: rawptr,
  2163. unit: PerformanceCounterUnitKHR,
  2164. scope: PerformanceCounterScopeKHR,
  2165. storage: PerformanceCounterStorageKHR,
  2166. uuid: [UUID_SIZE]u8,
  2167. }
  2168. PerformanceCounterDescriptionKHR :: struct {
  2169. sType: StructureType,
  2170. pNext: rawptr,
  2171. flags: PerformanceCounterDescriptionFlagsKHR,
  2172. name: [MAX_DESCRIPTION_SIZE]byte,
  2173. category: [MAX_DESCRIPTION_SIZE]byte,
  2174. description: [MAX_DESCRIPTION_SIZE]byte,
  2175. }
  2176. QueryPoolPerformanceCreateInfoKHR :: struct {
  2177. sType: StructureType,
  2178. pNext: rawptr,
  2179. queueFamilyIndex: u32,
  2180. counterIndexCount: u32,
  2181. pCounterIndices: [^]u32,
  2182. }
  2183. PerformanceCounterResultKHR :: struct #raw_union {
  2184. int32: i32,
  2185. int64: i64,
  2186. uint32: u32,
  2187. uint64: u64,
  2188. float32: f32,
  2189. float64: f64,
  2190. }
  2191. AcquireProfilingLockInfoKHR :: struct {
  2192. sType: StructureType,
  2193. pNext: rawptr,
  2194. flags: AcquireProfilingLockFlagsKHR,
  2195. timeout: u64,
  2196. }
  2197. PerformanceQuerySubmitInfoKHR :: struct {
  2198. sType: StructureType,
  2199. pNext: rawptr,
  2200. counterPassIndex: u32,
  2201. }
  2202. PhysicalDeviceSurfaceInfo2KHR :: struct {
  2203. sType: StructureType,
  2204. pNext: rawptr,
  2205. surface: SurfaceKHR,
  2206. }
  2207. SurfaceCapabilities2KHR :: struct {
  2208. sType: StructureType,
  2209. pNext: rawptr,
  2210. surfaceCapabilities: SurfaceCapabilitiesKHR,
  2211. }
  2212. SurfaceFormat2KHR :: struct {
  2213. sType: StructureType,
  2214. pNext: rawptr,
  2215. surfaceFormat: SurfaceFormatKHR,
  2216. }
  2217. DisplayProperties2KHR :: struct {
  2218. sType: StructureType,
  2219. pNext: rawptr,
  2220. displayProperties: DisplayPropertiesKHR,
  2221. }
  2222. DisplayPlaneProperties2KHR :: struct {
  2223. sType: StructureType,
  2224. pNext: rawptr,
  2225. displayPlaneProperties: DisplayPlanePropertiesKHR,
  2226. }
  2227. DisplayModeProperties2KHR :: struct {
  2228. sType: StructureType,
  2229. pNext: rawptr,
  2230. displayModeProperties: DisplayModePropertiesKHR,
  2231. }
  2232. DisplayPlaneInfo2KHR :: struct {
  2233. sType: StructureType,
  2234. pNext: rawptr,
  2235. mode: DisplayModeKHR,
  2236. planeIndex: u32,
  2237. }
  2238. DisplayPlaneCapabilities2KHR :: struct {
  2239. sType: StructureType,
  2240. pNext: rawptr,
  2241. capabilities: DisplayPlaneCapabilitiesKHR,
  2242. }
  2243. PhysicalDeviceShaderClockFeaturesKHR :: struct {
  2244. sType: StructureType,
  2245. pNext: rawptr,
  2246. shaderSubgroupClock: b32,
  2247. shaderDeviceClock: b32,
  2248. }
  2249. PhysicalDeviceShaderTerminateInvocationFeaturesKHR :: struct {
  2250. sType: StructureType,
  2251. pNext: rawptr,
  2252. shaderTerminateInvocation: b32,
  2253. }
  2254. FragmentShadingRateAttachmentInfoKHR :: struct {
  2255. sType: StructureType,
  2256. pNext: rawptr,
  2257. pFragmentShadingRateAttachment: ^AttachmentReference2,
  2258. shadingRateAttachmentTexelSize: Extent2D,
  2259. }
  2260. PipelineFragmentShadingRateStateCreateInfoKHR :: struct {
  2261. sType: StructureType,
  2262. pNext: rawptr,
  2263. fragmentSize: Extent2D,
  2264. combinerOps: [2]FragmentShadingRateCombinerOpKHR,
  2265. }
  2266. PhysicalDeviceFragmentShadingRateFeaturesKHR :: struct {
  2267. sType: StructureType,
  2268. pNext: rawptr,
  2269. pipelineFragmentShadingRate: b32,
  2270. primitiveFragmentShadingRate: b32,
  2271. attachmentFragmentShadingRate: b32,
  2272. }
  2273. PhysicalDeviceFragmentShadingRatePropertiesKHR :: struct {
  2274. sType: StructureType,
  2275. pNext: rawptr,
  2276. minFragmentShadingRateAttachmentTexelSize: Extent2D,
  2277. maxFragmentShadingRateAttachmentTexelSize: Extent2D,
  2278. maxFragmentShadingRateAttachmentTexelSizeAspectRatio: u32,
  2279. primitiveFragmentShadingRateWithMultipleViewports: b32,
  2280. layeredShadingRateAttachments: b32,
  2281. fragmentShadingRateNonTrivialCombinerOps: b32,
  2282. maxFragmentSize: Extent2D,
  2283. maxFragmentSizeAspectRatio: u32,
  2284. maxFragmentShadingRateCoverageSamples: u32,
  2285. maxFragmentShadingRateRasterizationSamples: SampleCountFlags,
  2286. fragmentShadingRateWithShaderDepthStencilWrites: b32,
  2287. fragmentShadingRateWithSampleMask: b32,
  2288. fragmentShadingRateWithShaderSampleMask: b32,
  2289. fragmentShadingRateWithConservativeRasterization: b32,
  2290. fragmentShadingRateWithFragmentShaderInterlock: b32,
  2291. fragmentShadingRateWithCustomSampleLocations: b32,
  2292. fragmentShadingRateStrictMultiplyCombiner: b32,
  2293. }
  2294. PhysicalDeviceFragmentShadingRateKHR :: struct {
  2295. sType: StructureType,
  2296. pNext: rawptr,
  2297. sampleCounts: SampleCountFlags,
  2298. fragmentSize: Extent2D,
  2299. }
  2300. SurfaceProtectedCapabilitiesKHR :: struct {
  2301. sType: StructureType,
  2302. pNext: rawptr,
  2303. supportsProtected: b32,
  2304. }
  2305. PhysicalDevicePresentWaitFeaturesKHR :: struct {
  2306. sType: StructureType,
  2307. pNext: rawptr,
  2308. presentWait: b32,
  2309. }
  2310. PhysicalDevicePipelineExecutablePropertiesFeaturesKHR :: struct {
  2311. sType: StructureType,
  2312. pNext: rawptr,
  2313. pipelineExecutableInfo: b32,
  2314. }
  2315. PipelineInfoKHR :: struct {
  2316. sType: StructureType,
  2317. pNext: rawptr,
  2318. pipeline: Pipeline,
  2319. }
  2320. PipelineExecutablePropertiesKHR :: struct {
  2321. sType: StructureType,
  2322. pNext: rawptr,
  2323. stages: ShaderStageFlags,
  2324. name: [MAX_DESCRIPTION_SIZE]byte,
  2325. description: [MAX_DESCRIPTION_SIZE]byte,
  2326. subgroupSize: u32,
  2327. }
  2328. PipelineExecutableInfoKHR :: struct {
  2329. sType: StructureType,
  2330. pNext: rawptr,
  2331. pipeline: Pipeline,
  2332. executableIndex: u32,
  2333. }
  2334. PipelineExecutableStatisticValueKHR :: struct #raw_union {
  2335. b32: b32,
  2336. i64: i64,
  2337. u64: u64,
  2338. f64: f64,
  2339. }
  2340. PipelineExecutableStatisticKHR :: struct {
  2341. sType: StructureType,
  2342. pNext: rawptr,
  2343. name: [MAX_DESCRIPTION_SIZE]byte,
  2344. description: [MAX_DESCRIPTION_SIZE]byte,
  2345. format: PipelineExecutableStatisticFormatKHR,
  2346. value: PipelineExecutableStatisticValueKHR,
  2347. }
  2348. PipelineExecutableInternalRepresentationKHR :: struct {
  2349. sType: StructureType,
  2350. pNext: rawptr,
  2351. name: [MAX_DESCRIPTION_SIZE]byte,
  2352. description: [MAX_DESCRIPTION_SIZE]byte,
  2353. isText: b32,
  2354. dataSize: int,
  2355. pData: rawptr,
  2356. }
  2357. PhysicalDeviceShaderIntegerDotProductFeaturesKHR :: struct {
  2358. sType: StructureType,
  2359. pNext: rawptr,
  2360. shaderIntegerDotProduct: b32,
  2361. }
  2362. PhysicalDeviceShaderIntegerDotProductPropertiesKHR :: struct {
  2363. sType: StructureType,
  2364. pNext: rawptr,
  2365. integerDotProduct8BitUnsignedAccelerated: b32,
  2366. integerDotProduct8BitSignedAccelerated: b32,
  2367. integerDotProduct8BitMixedSignednessAccelerated: b32,
  2368. integerDotProduct4x8BitPackedUnsignedAccelerated: b32,
  2369. integerDotProduct4x8BitPackedSignedAccelerated: b32,
  2370. integerDotProduct4x8BitPackedMixedSignednessAccelerated: b32,
  2371. integerDotProduct16BitUnsignedAccelerated: b32,
  2372. integerDotProduct16BitSignedAccelerated: b32,
  2373. integerDotProduct16BitMixedSignednessAccelerated: b32,
  2374. integerDotProduct32BitUnsignedAccelerated: b32,
  2375. integerDotProduct32BitSignedAccelerated: b32,
  2376. integerDotProduct32BitMixedSignednessAccelerated: b32,
  2377. integerDotProduct64BitUnsignedAccelerated: b32,
  2378. integerDotProduct64BitSignedAccelerated: b32,
  2379. integerDotProduct64BitMixedSignednessAccelerated: b32,
  2380. integerDotProductAccumulatingSaturating8BitUnsignedAccelerated: b32,
  2381. integerDotProductAccumulatingSaturating8BitSignedAccelerated: b32,
  2382. integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated: b32,
  2383. integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated: b32,
  2384. integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated: b32,
  2385. integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated: b32,
  2386. integerDotProductAccumulatingSaturating16BitUnsignedAccelerated: b32,
  2387. integerDotProductAccumulatingSaturating16BitSignedAccelerated: b32,
  2388. integerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated: b32,
  2389. integerDotProductAccumulatingSaturating32BitUnsignedAccelerated: b32,
  2390. integerDotProductAccumulatingSaturating32BitSignedAccelerated: b32,
  2391. integerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated: b32,
  2392. integerDotProductAccumulatingSaturating64BitUnsignedAccelerated: b32,
  2393. integerDotProductAccumulatingSaturating64BitSignedAccelerated: b32,
  2394. integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated: b32,
  2395. }
  2396. PipelineLibraryCreateInfoKHR :: struct {
  2397. sType: StructureType,
  2398. pNext: rawptr,
  2399. libraryCount: u32,
  2400. pLibraries: [^]Pipeline,
  2401. }
  2402. PresentIdKHR :: struct {
  2403. sType: StructureType,
  2404. pNext: rawptr,
  2405. swapchainCount: u32,
  2406. pPresentIds: [^]u64,
  2407. }
  2408. PhysicalDevicePresentIdFeaturesKHR :: struct {
  2409. sType: StructureType,
  2410. pNext: rawptr,
  2411. presentId: b32,
  2412. }
  2413. MemoryBarrier2KHR :: struct {
  2414. sType: StructureType,
  2415. pNext: rawptr,
  2416. srcStageMask: PipelineStageFlags2KHR,
  2417. srcAccessMask: AccessFlags2KHR,
  2418. dstStageMask: PipelineStageFlags2KHR,
  2419. dstAccessMask: AccessFlags2KHR,
  2420. }
  2421. BufferMemoryBarrier2KHR :: struct {
  2422. sType: StructureType,
  2423. pNext: rawptr,
  2424. srcStageMask: PipelineStageFlags2KHR,
  2425. srcAccessMask: AccessFlags2KHR,
  2426. dstStageMask: PipelineStageFlags2KHR,
  2427. dstAccessMask: AccessFlags2KHR,
  2428. srcQueueFamilyIndex: u32,
  2429. dstQueueFamilyIndex: u32,
  2430. buffer: Buffer,
  2431. offset: DeviceSize,
  2432. size: DeviceSize,
  2433. }
  2434. ImageMemoryBarrier2KHR :: struct {
  2435. sType: StructureType,
  2436. pNext: rawptr,
  2437. srcStageMask: PipelineStageFlags2KHR,
  2438. srcAccessMask: AccessFlags2KHR,
  2439. dstStageMask: PipelineStageFlags2KHR,
  2440. dstAccessMask: AccessFlags2KHR,
  2441. oldLayout: ImageLayout,
  2442. newLayout: ImageLayout,
  2443. srcQueueFamilyIndex: u32,
  2444. dstQueueFamilyIndex: u32,
  2445. image: Image,
  2446. subresourceRange: ImageSubresourceRange,
  2447. }
  2448. DependencyInfoKHR :: struct {
  2449. sType: StructureType,
  2450. pNext: rawptr,
  2451. dependencyFlags: DependencyFlags,
  2452. memoryBarrierCount: u32,
  2453. pMemoryBarriers: [^]MemoryBarrier2KHR,
  2454. bufferMemoryBarrierCount: u32,
  2455. pBufferMemoryBarriers: [^]BufferMemoryBarrier2KHR,
  2456. imageMemoryBarrierCount: u32,
  2457. pImageMemoryBarriers: [^]ImageMemoryBarrier2KHR,
  2458. }
  2459. SemaphoreSubmitInfoKHR :: struct {
  2460. sType: StructureType,
  2461. pNext: rawptr,
  2462. semaphore: Semaphore,
  2463. value: u64,
  2464. stageMask: PipelineStageFlags2KHR,
  2465. deviceIndex: u32,
  2466. }
  2467. CommandBufferSubmitInfoKHR :: struct {
  2468. sType: StructureType,
  2469. pNext: rawptr,
  2470. commandBuffer: CommandBuffer,
  2471. deviceMask: u32,
  2472. }
  2473. SubmitInfo2KHR :: struct {
  2474. sType: StructureType,
  2475. pNext: rawptr,
  2476. flags: SubmitFlagsKHR,
  2477. waitSemaphoreInfoCount: u32,
  2478. pWaitSemaphoreInfos: [^]SemaphoreSubmitInfoKHR,
  2479. commandBufferInfoCount: u32,
  2480. pCommandBufferInfos: [^]CommandBufferSubmitInfoKHR,
  2481. signalSemaphoreInfoCount: u32,
  2482. pSignalSemaphoreInfos: [^]SemaphoreSubmitInfoKHR,
  2483. }
  2484. PhysicalDeviceSynchronization2FeaturesKHR :: struct {
  2485. sType: StructureType,
  2486. pNext: rawptr,
  2487. synchronization2: b32,
  2488. }
  2489. QueueFamilyCheckpointProperties2NV :: struct {
  2490. sType: StructureType,
  2491. pNext: rawptr,
  2492. checkpointExecutionStageMask: PipelineStageFlags2KHR,
  2493. }
  2494. CheckpointData2NV :: struct {
  2495. sType: StructureType,
  2496. pNext: rawptr,
  2497. stage: PipelineStageFlags2KHR,
  2498. pCheckpointMarker: rawptr,
  2499. }
  2500. PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR :: struct {
  2501. sType: StructureType,
  2502. pNext: rawptr,
  2503. shaderSubgroupUniformControlFlow: b32,
  2504. }
  2505. PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR :: struct {
  2506. sType: StructureType,
  2507. pNext: rawptr,
  2508. shaderZeroInitializeWorkgroupMemory: b32,
  2509. }
  2510. PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR :: struct {
  2511. sType: StructureType,
  2512. pNext: rawptr,
  2513. workgroupMemoryExplicitLayout: b32,
  2514. workgroupMemoryExplicitLayoutScalarBlockLayout: b32,
  2515. workgroupMemoryExplicitLayout8BitAccess: b32,
  2516. workgroupMemoryExplicitLayout16BitAccess: b32,
  2517. }
  2518. BufferCopy2KHR :: struct {
  2519. sType: StructureType,
  2520. pNext: rawptr,
  2521. srcOffset: DeviceSize,
  2522. dstOffset: DeviceSize,
  2523. size: DeviceSize,
  2524. }
  2525. CopyBufferInfo2KHR :: struct {
  2526. sType: StructureType,
  2527. pNext: rawptr,
  2528. srcBuffer: Buffer,
  2529. dstBuffer: Buffer,
  2530. regionCount: u32,
  2531. pRegions: [^]BufferCopy2KHR,
  2532. }
  2533. ImageCopy2KHR :: struct {
  2534. sType: StructureType,
  2535. pNext: rawptr,
  2536. srcSubresource: ImageSubresourceLayers,
  2537. srcOffset: Offset3D,
  2538. dstSubresource: ImageSubresourceLayers,
  2539. dstOffset: Offset3D,
  2540. extent: Extent3D,
  2541. }
  2542. CopyImageInfo2KHR :: struct {
  2543. sType: StructureType,
  2544. pNext: rawptr,
  2545. srcImage: Image,
  2546. srcImageLayout: ImageLayout,
  2547. dstImage: Image,
  2548. dstImageLayout: ImageLayout,
  2549. regionCount: u32,
  2550. pRegions: [^]ImageCopy2KHR,
  2551. }
  2552. BufferImageCopy2KHR :: struct {
  2553. sType: StructureType,
  2554. pNext: rawptr,
  2555. bufferOffset: DeviceSize,
  2556. bufferRowLength: u32,
  2557. bufferImageHeight: u32,
  2558. imageSubresource: ImageSubresourceLayers,
  2559. imageOffset: Offset3D,
  2560. imageExtent: Extent3D,
  2561. }
  2562. CopyBufferToImageInfo2KHR :: struct {
  2563. sType: StructureType,
  2564. pNext: rawptr,
  2565. srcBuffer: Buffer,
  2566. dstImage: Image,
  2567. dstImageLayout: ImageLayout,
  2568. regionCount: u32,
  2569. pRegions: [^]BufferImageCopy2KHR,
  2570. }
  2571. CopyImageToBufferInfo2KHR :: struct {
  2572. sType: StructureType,
  2573. pNext: rawptr,
  2574. srcImage: Image,
  2575. srcImageLayout: ImageLayout,
  2576. dstBuffer: Buffer,
  2577. regionCount: u32,
  2578. pRegions: [^]BufferImageCopy2KHR,
  2579. }
  2580. ImageBlit2KHR :: struct {
  2581. sType: StructureType,
  2582. pNext: rawptr,
  2583. srcSubresource: ImageSubresourceLayers,
  2584. srcOffsets: [2]Offset3D,
  2585. dstSubresource: ImageSubresourceLayers,
  2586. dstOffsets: [2]Offset3D,
  2587. }
  2588. BlitImageInfo2KHR :: struct {
  2589. sType: StructureType,
  2590. pNext: rawptr,
  2591. srcImage: Image,
  2592. srcImageLayout: ImageLayout,
  2593. dstImage: Image,
  2594. dstImageLayout: ImageLayout,
  2595. regionCount: u32,
  2596. pRegions: [^]ImageBlit2KHR,
  2597. filter: Filter,
  2598. }
  2599. ImageResolve2KHR :: struct {
  2600. sType: StructureType,
  2601. pNext: rawptr,
  2602. srcSubresource: ImageSubresourceLayers,
  2603. srcOffset: Offset3D,
  2604. dstSubresource: ImageSubresourceLayers,
  2605. dstOffset: Offset3D,
  2606. extent: Extent3D,
  2607. }
  2608. ResolveImageInfo2KHR :: struct {
  2609. sType: StructureType,
  2610. pNext: rawptr,
  2611. srcImage: Image,
  2612. srcImageLayout: ImageLayout,
  2613. dstImage: Image,
  2614. dstImageLayout: ImageLayout,
  2615. regionCount: u32,
  2616. pRegions: [^]ImageResolve2KHR,
  2617. }
  2618. DebugReportCallbackCreateInfoEXT :: struct {
  2619. sType: StructureType,
  2620. pNext: rawptr,
  2621. flags: DebugReportFlagsEXT,
  2622. pfnCallback: ProcDebugReportCallbackEXT,
  2623. pUserData: rawptr,
  2624. }
  2625. PipelineRasterizationStateRasterizationOrderAMD :: struct {
  2626. sType: StructureType,
  2627. pNext: rawptr,
  2628. rasterizationOrder: RasterizationOrderAMD,
  2629. }
  2630. DebugMarkerObjectNameInfoEXT :: struct {
  2631. sType: StructureType,
  2632. pNext: rawptr,
  2633. objectType: DebugReportObjectTypeEXT,
  2634. object: u64,
  2635. pObjectName: cstring,
  2636. }
  2637. DebugMarkerObjectTagInfoEXT :: struct {
  2638. sType: StructureType,
  2639. pNext: rawptr,
  2640. objectType: DebugReportObjectTypeEXT,
  2641. object: u64,
  2642. tagName: u64,
  2643. tagSize: int,
  2644. pTag: rawptr,
  2645. }
  2646. DebugMarkerMarkerInfoEXT :: struct {
  2647. sType: StructureType,
  2648. pNext: rawptr,
  2649. pMarkerName: cstring,
  2650. color: [4]f32,
  2651. }
  2652. DedicatedAllocationImageCreateInfoNV :: struct {
  2653. sType: StructureType,
  2654. pNext: rawptr,
  2655. dedicatedAllocation: b32,
  2656. }
  2657. DedicatedAllocationBufferCreateInfoNV :: struct {
  2658. sType: StructureType,
  2659. pNext: rawptr,
  2660. dedicatedAllocation: b32,
  2661. }
  2662. DedicatedAllocationMemoryAllocateInfoNV :: struct {
  2663. sType: StructureType,
  2664. pNext: rawptr,
  2665. image: Image,
  2666. buffer: Buffer,
  2667. }
  2668. PhysicalDeviceTransformFeedbackFeaturesEXT :: struct {
  2669. sType: StructureType,
  2670. pNext: rawptr,
  2671. transformFeedback: b32,
  2672. geometryStreams: b32,
  2673. }
  2674. PhysicalDeviceTransformFeedbackPropertiesEXT :: struct {
  2675. sType: StructureType,
  2676. pNext: rawptr,
  2677. maxTransformFeedbackStreams: u32,
  2678. maxTransformFeedbackBuffers: u32,
  2679. maxTransformFeedbackBufferSize: DeviceSize,
  2680. maxTransformFeedbackStreamDataSize: u32,
  2681. maxTransformFeedbackBufferDataSize: u32,
  2682. maxTransformFeedbackBufferDataStride: u32,
  2683. transformFeedbackQueries: b32,
  2684. transformFeedbackStreamsLinesTriangles: b32,
  2685. transformFeedbackRasterizationStreamSelect: b32,
  2686. transformFeedbackDraw: b32,
  2687. }
  2688. PipelineRasterizationStateStreamCreateInfoEXT :: struct {
  2689. sType: StructureType,
  2690. pNext: rawptr,
  2691. flags: PipelineRasterizationStateStreamCreateFlagsEXT,
  2692. rasterizationStream: u32,
  2693. }
  2694. CuModuleCreateInfoNVX :: struct {
  2695. sType: StructureType,
  2696. pNext: rawptr,
  2697. dataSize: int,
  2698. pData: rawptr,
  2699. }
  2700. CuFunctionCreateInfoNVX :: struct {
  2701. sType: StructureType,
  2702. pNext: rawptr,
  2703. module: CuModuleNVX,
  2704. pName: cstring,
  2705. }
  2706. CuLaunchInfoNVX :: struct {
  2707. sType: StructureType,
  2708. pNext: rawptr,
  2709. function: CuFunctionNVX,
  2710. gridDimX: u32,
  2711. gridDimY: u32,
  2712. gridDimZ: u32,
  2713. blockDimX: u32,
  2714. blockDimY: u32,
  2715. blockDimZ: u32,
  2716. sharedMemBytes: u32,
  2717. paramCount: int,
  2718. pParams: [^]rawptr,
  2719. extraCount: int,
  2720. pExtras: [^]rawptr,
  2721. }
  2722. ImageViewHandleInfoNVX :: struct {
  2723. sType: StructureType,
  2724. pNext: rawptr,
  2725. imageView: ImageView,
  2726. descriptorType: DescriptorType,
  2727. sampler: Sampler,
  2728. }
  2729. ImageViewAddressPropertiesNVX :: struct {
  2730. sType: StructureType,
  2731. pNext: rawptr,
  2732. deviceAddress: DeviceAddress,
  2733. size: DeviceSize,
  2734. }
  2735. TextureLODGatherFormatPropertiesAMD :: struct {
  2736. sType: StructureType,
  2737. pNext: rawptr,
  2738. supportsTextureGatherLODBiasAMD: b32,
  2739. }
  2740. ShaderResourceUsageAMD :: struct {
  2741. numUsedVgprs: u32,
  2742. numUsedSgprs: u32,
  2743. ldsSizePerLocalWorkGroup: u32,
  2744. ldsUsageSizeInBytes: int,
  2745. scratchMemUsageInBytes: int,
  2746. }
  2747. ShaderStatisticsInfoAMD :: struct {
  2748. shaderStageMask: ShaderStageFlags,
  2749. resourceUsage: ShaderResourceUsageAMD,
  2750. numPhysicalVgprs: u32,
  2751. numPhysicalSgprs: u32,
  2752. numAvailableVgprs: u32,
  2753. numAvailableSgprs: u32,
  2754. computeWorkGroupSize: [3]u32,
  2755. }
  2756. PhysicalDeviceCornerSampledImageFeaturesNV :: struct {
  2757. sType: StructureType,
  2758. pNext: rawptr,
  2759. cornerSampledImage: b32,
  2760. }
  2761. ExternalImageFormatPropertiesNV :: struct {
  2762. imageFormatProperties: ImageFormatProperties,
  2763. externalMemoryFeatures: ExternalMemoryFeatureFlagsNV,
  2764. exportFromImportedHandleTypes: ExternalMemoryHandleTypeFlagsNV,
  2765. compatibleHandleTypes: ExternalMemoryHandleTypeFlagsNV,
  2766. }
  2767. ExternalMemoryImageCreateInfoNV :: struct {
  2768. sType: StructureType,
  2769. pNext: rawptr,
  2770. handleTypes: ExternalMemoryHandleTypeFlagsNV,
  2771. }
  2772. ExportMemoryAllocateInfoNV :: struct {
  2773. sType: StructureType,
  2774. pNext: rawptr,
  2775. handleTypes: ExternalMemoryHandleTypeFlagsNV,
  2776. }
  2777. ValidationFlagsEXT :: struct {
  2778. sType: StructureType,
  2779. pNext: rawptr,
  2780. disabledValidationCheckCount: u32,
  2781. pDisabledValidationChecks: [^]ValidationCheckEXT,
  2782. }
  2783. PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT :: struct {
  2784. sType: StructureType,
  2785. pNext: rawptr,
  2786. textureCompressionASTC_HDR: b32,
  2787. }
  2788. ImageViewASTCDecodeModeEXT :: struct {
  2789. sType: StructureType,
  2790. pNext: rawptr,
  2791. decodeMode: Format,
  2792. }
  2793. PhysicalDeviceASTCDecodeFeaturesEXT :: struct {
  2794. sType: StructureType,
  2795. pNext: rawptr,
  2796. decodeModeSharedExponent: b32,
  2797. }
  2798. ConditionalRenderingBeginInfoEXT :: struct {
  2799. sType: StructureType,
  2800. pNext: rawptr,
  2801. buffer: Buffer,
  2802. offset: DeviceSize,
  2803. flags: ConditionalRenderingFlagsEXT,
  2804. }
  2805. PhysicalDeviceConditionalRenderingFeaturesEXT :: struct {
  2806. sType: StructureType,
  2807. pNext: rawptr,
  2808. conditionalRendering: b32,
  2809. inheritedConditionalRendering: b32,
  2810. }
  2811. CommandBufferInheritanceConditionalRenderingInfoEXT :: struct {
  2812. sType: StructureType,
  2813. pNext: rawptr,
  2814. conditionalRenderingEnable: b32,
  2815. }
  2816. ViewportWScalingNV :: struct {
  2817. xcoeff: f32,
  2818. ycoeff: f32,
  2819. }
  2820. PipelineViewportWScalingStateCreateInfoNV :: struct {
  2821. sType: StructureType,
  2822. pNext: rawptr,
  2823. viewportWScalingEnable: b32,
  2824. viewportCount: u32,
  2825. pViewportWScalings: [^]ViewportWScalingNV,
  2826. }
  2827. SurfaceCapabilities2EXT :: struct {
  2828. sType: StructureType,
  2829. pNext: rawptr,
  2830. minImageCount: u32,
  2831. maxImageCount: u32,
  2832. currentExtent: Extent2D,
  2833. minImageExtent: Extent2D,
  2834. maxImageExtent: Extent2D,
  2835. maxImageArrayLayers: u32,
  2836. supportedTransforms: SurfaceTransformFlagsKHR,
  2837. currentTransform: SurfaceTransformFlagsKHR,
  2838. supportedCompositeAlpha: CompositeAlphaFlagsKHR,
  2839. supportedUsageFlags: ImageUsageFlags,
  2840. supportedSurfaceCounters: SurfaceCounterFlagsEXT,
  2841. }
  2842. DisplayPowerInfoEXT :: struct {
  2843. sType: StructureType,
  2844. pNext: rawptr,
  2845. powerState: DisplayPowerStateEXT,
  2846. }
  2847. DeviceEventInfoEXT :: struct {
  2848. sType: StructureType,
  2849. pNext: rawptr,
  2850. deviceEvent: DeviceEventTypeEXT,
  2851. }
  2852. DisplayEventInfoEXT :: struct {
  2853. sType: StructureType,
  2854. pNext: rawptr,
  2855. displayEvent: DisplayEventTypeEXT,
  2856. }
  2857. SwapchainCounterCreateInfoEXT :: struct {
  2858. sType: StructureType,
  2859. pNext: rawptr,
  2860. surfaceCounters: SurfaceCounterFlagsEXT,
  2861. }
  2862. RefreshCycleDurationGOOGLE :: struct {
  2863. refreshDuration: u64,
  2864. }
  2865. PastPresentationTimingGOOGLE :: struct {
  2866. presentID: u32,
  2867. desiredPresentTime: u64,
  2868. actualPresentTime: u64,
  2869. earliestPresentTime: u64,
  2870. presentMargin: u64,
  2871. }
  2872. PresentTimeGOOGLE :: struct {
  2873. presentID: u32,
  2874. desiredPresentTime: u64,
  2875. }
  2876. PresentTimesInfoGOOGLE :: struct {
  2877. sType: StructureType,
  2878. pNext: rawptr,
  2879. swapchainCount: u32,
  2880. pTimes: [^]PresentTimeGOOGLE,
  2881. }
  2882. PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX :: struct {
  2883. sType: StructureType,
  2884. pNext: rawptr,
  2885. perViewPositionAllComponents: b32,
  2886. }
  2887. ViewportSwizzleNV :: struct {
  2888. x: ViewportCoordinateSwizzleNV,
  2889. y: ViewportCoordinateSwizzleNV,
  2890. z: ViewportCoordinateSwizzleNV,
  2891. w: ViewportCoordinateSwizzleNV,
  2892. }
  2893. PipelineViewportSwizzleStateCreateInfoNV :: struct {
  2894. sType: StructureType,
  2895. pNext: rawptr,
  2896. flags: PipelineViewportSwizzleStateCreateFlagsNV,
  2897. viewportCount: u32,
  2898. pViewportSwizzles: [^]ViewportSwizzleNV,
  2899. }
  2900. PhysicalDeviceDiscardRectanglePropertiesEXT :: struct {
  2901. sType: StructureType,
  2902. pNext: rawptr,
  2903. maxDiscardRectangles: u32,
  2904. }
  2905. PipelineDiscardRectangleStateCreateInfoEXT :: struct {
  2906. sType: StructureType,
  2907. pNext: rawptr,
  2908. flags: PipelineDiscardRectangleStateCreateFlagsEXT,
  2909. discardRectangleMode: DiscardRectangleModeEXT,
  2910. discardRectangleCount: u32,
  2911. pDiscardRectangles: [^]Rect2D,
  2912. }
  2913. PhysicalDeviceConservativeRasterizationPropertiesEXT :: struct {
  2914. sType: StructureType,
  2915. pNext: rawptr,
  2916. primitiveOverestimationSize: f32,
  2917. maxExtraPrimitiveOverestimationSize: f32,
  2918. extraPrimitiveOverestimationSizeGranularity: f32,
  2919. primitiveUnderestimation: b32,
  2920. conservativePointAndLineRasterization: b32,
  2921. degenerateTrianglesRasterized: b32,
  2922. degenerateLinesRasterized: b32,
  2923. fullyCoveredFragmentShaderInputVariable: b32,
  2924. conservativeRasterizationPostDepthCoverage: b32,
  2925. }
  2926. PipelineRasterizationConservativeStateCreateInfoEXT :: struct {
  2927. sType: StructureType,
  2928. pNext: rawptr,
  2929. flags: PipelineRasterizationConservativeStateCreateFlagsEXT,
  2930. conservativeRasterizationMode: ConservativeRasterizationModeEXT,
  2931. extraPrimitiveOverestimationSize: f32,
  2932. }
  2933. PhysicalDeviceDepthClipEnableFeaturesEXT :: struct {
  2934. sType: StructureType,
  2935. pNext: rawptr,
  2936. depthClipEnable: b32,
  2937. }
  2938. PipelineRasterizationDepthClipStateCreateInfoEXT :: struct {
  2939. sType: StructureType,
  2940. pNext: rawptr,
  2941. flags: PipelineRasterizationDepthClipStateCreateFlagsEXT,
  2942. depthClipEnable: b32,
  2943. }
  2944. XYColorEXT :: struct {
  2945. x: f32,
  2946. y: f32,
  2947. }
  2948. HdrMetadataEXT :: struct {
  2949. sType: StructureType,
  2950. pNext: rawptr,
  2951. displayPrimaryRed: XYColorEXT,
  2952. displayPrimaryGreen: XYColorEXT,
  2953. displayPrimaryBlue: XYColorEXT,
  2954. whitePoint: XYColorEXT,
  2955. maxLuminance: f32,
  2956. minLuminance: f32,
  2957. maxContentLightLevel: f32,
  2958. maxFrameAverageLightLevel: f32,
  2959. }
  2960. DebugUtilsLabelEXT :: struct {
  2961. sType: StructureType,
  2962. pNext: rawptr,
  2963. pLabelName: cstring,
  2964. color: [4]f32,
  2965. }
  2966. DebugUtilsObjectNameInfoEXT :: struct {
  2967. sType: StructureType,
  2968. pNext: rawptr,
  2969. objectType: ObjectType,
  2970. objectHandle: u64,
  2971. pObjectName: cstring,
  2972. }
  2973. DebugUtilsMessengerCallbackDataEXT :: struct {
  2974. sType: StructureType,
  2975. pNext: rawptr,
  2976. flags: DebugUtilsMessengerCallbackDataFlagsEXT,
  2977. pMessageIdName: cstring,
  2978. messageIdNumber: i32,
  2979. pMessage: cstring,
  2980. queueLabelCount: u32,
  2981. pQueueLabels: [^]DebugUtilsLabelEXT,
  2982. cmdBufLabelCount: u32,
  2983. pCmdBufLabels: [^]DebugUtilsLabelEXT,
  2984. objectCount: u32,
  2985. pObjects: [^]DebugUtilsObjectNameInfoEXT,
  2986. }
  2987. DebugUtilsMessengerCreateInfoEXT :: struct {
  2988. sType: StructureType,
  2989. pNext: rawptr,
  2990. flags: DebugUtilsMessengerCreateFlagsEXT,
  2991. messageSeverity: DebugUtilsMessageSeverityFlagsEXT,
  2992. messageType: DebugUtilsMessageTypeFlagsEXT,
  2993. pfnUserCallback: ProcDebugUtilsMessengerCallbackEXT,
  2994. pUserData: rawptr,
  2995. }
  2996. DebugUtilsObjectTagInfoEXT :: struct {
  2997. sType: StructureType,
  2998. pNext: rawptr,
  2999. objectType: ObjectType,
  3000. objectHandle: u64,
  3001. tagName: u64,
  3002. tagSize: int,
  3003. pTag: rawptr,
  3004. }
  3005. PhysicalDeviceInlineUniformBlockFeaturesEXT :: struct {
  3006. sType: StructureType,
  3007. pNext: rawptr,
  3008. inlineUniformBlock: b32,
  3009. descriptorBindingInlineUniformBlockUpdateAfterBind: b32,
  3010. }
  3011. PhysicalDeviceInlineUniformBlockPropertiesEXT :: struct {
  3012. sType: StructureType,
  3013. pNext: rawptr,
  3014. maxInlineUniformBlockSize: u32,
  3015. maxPerStageDescriptorInlineUniformBlocks: u32,
  3016. maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks: u32,
  3017. maxDescriptorSetInlineUniformBlocks: u32,
  3018. maxDescriptorSetUpdateAfterBindInlineUniformBlocks: u32,
  3019. }
  3020. WriteDescriptorSetInlineUniformBlockEXT :: struct {
  3021. sType: StructureType,
  3022. pNext: rawptr,
  3023. dataSize: u32,
  3024. pData: rawptr,
  3025. }
  3026. DescriptorPoolInlineUniformBlockCreateInfoEXT :: struct {
  3027. sType: StructureType,
  3028. pNext: rawptr,
  3029. maxInlineUniformBlockBindings: u32,
  3030. }
  3031. SampleLocationEXT :: struct {
  3032. x: f32,
  3033. y: f32,
  3034. }
  3035. SampleLocationsInfoEXT :: struct {
  3036. sType: StructureType,
  3037. pNext: rawptr,
  3038. sampleLocationsPerPixel: SampleCountFlags,
  3039. sampleLocationGridSize: Extent2D,
  3040. sampleLocationsCount: u32,
  3041. pSampleLocations: [^]SampleLocationEXT,
  3042. }
  3043. AttachmentSampleLocationsEXT :: struct {
  3044. attachmentIndex: u32,
  3045. sampleLocationsInfo: SampleLocationsInfoEXT,
  3046. }
  3047. SubpassSampleLocationsEXT :: struct {
  3048. subpassIndex: u32,
  3049. sampleLocationsInfo: SampleLocationsInfoEXT,
  3050. }
  3051. RenderPassSampleLocationsBeginInfoEXT :: struct {
  3052. sType: StructureType,
  3053. pNext: rawptr,
  3054. attachmentInitialSampleLocationsCount: u32,
  3055. pAttachmentInitialSampleLocations: [^]AttachmentSampleLocationsEXT,
  3056. postSubpassSampleLocationsCount: u32,
  3057. pPostSubpassSampleLocations: [^]SubpassSampleLocationsEXT,
  3058. }
  3059. PipelineSampleLocationsStateCreateInfoEXT :: struct {
  3060. sType: StructureType,
  3061. pNext: rawptr,
  3062. sampleLocationsEnable: b32,
  3063. sampleLocationsInfo: SampleLocationsInfoEXT,
  3064. }
  3065. PhysicalDeviceSampleLocationsPropertiesEXT :: struct {
  3066. sType: StructureType,
  3067. pNext: rawptr,
  3068. sampleLocationSampleCounts: SampleCountFlags,
  3069. maxSampleLocationGridSize: Extent2D,
  3070. sampleLocationCoordinateRange: [2]f32,
  3071. sampleLocationSubPixelBits: u32,
  3072. variableSampleLocations: b32,
  3073. }
  3074. MultisamplePropertiesEXT :: struct {
  3075. sType: StructureType,
  3076. pNext: rawptr,
  3077. maxSampleLocationGridSize: Extent2D,
  3078. }
  3079. PhysicalDeviceBlendOperationAdvancedFeaturesEXT :: struct {
  3080. sType: StructureType,
  3081. pNext: rawptr,
  3082. advancedBlendCoherentOperations: b32,
  3083. }
  3084. PhysicalDeviceBlendOperationAdvancedPropertiesEXT :: struct {
  3085. sType: StructureType,
  3086. pNext: rawptr,
  3087. advancedBlendMaxColorAttachments: u32,
  3088. advancedBlendIndependentBlend: b32,
  3089. advancedBlendNonPremultipliedSrcColor: b32,
  3090. advancedBlendNonPremultipliedDstColor: b32,
  3091. advancedBlendCorrelatedOverlap: b32,
  3092. advancedBlendAllOperations: b32,
  3093. }
  3094. PipelineColorBlendAdvancedStateCreateInfoEXT :: struct {
  3095. sType: StructureType,
  3096. pNext: rawptr,
  3097. srcPremultiplied: b32,
  3098. dstPremultiplied: b32,
  3099. blendOverlap: BlendOverlapEXT,
  3100. }
  3101. PipelineCoverageToColorStateCreateInfoNV :: struct {
  3102. sType: StructureType,
  3103. pNext: rawptr,
  3104. flags: PipelineCoverageToColorStateCreateFlagsNV,
  3105. coverageToColorEnable: b32,
  3106. coverageToColorLocation: u32,
  3107. }
  3108. PipelineCoverageModulationStateCreateInfoNV :: struct {
  3109. sType: StructureType,
  3110. pNext: rawptr,
  3111. flags: PipelineCoverageModulationStateCreateFlagsNV,
  3112. coverageModulationMode: CoverageModulationModeNV,
  3113. coverageModulationTableEnable: b32,
  3114. coverageModulationTableCount: u32,
  3115. pCoverageModulationTable: [^]f32,
  3116. }
  3117. PhysicalDeviceShaderSMBuiltinsPropertiesNV :: struct {
  3118. sType: StructureType,
  3119. pNext: rawptr,
  3120. shaderSMCount: u32,
  3121. shaderWarpsPerSM: u32,
  3122. }
  3123. PhysicalDeviceShaderSMBuiltinsFeaturesNV :: struct {
  3124. sType: StructureType,
  3125. pNext: rawptr,
  3126. shaderSMBuiltins: b32,
  3127. }
  3128. DrmFormatModifierPropertiesEXT :: struct {
  3129. drmFormatModifier: u64,
  3130. drmFormatModifierPlaneCount: u32,
  3131. drmFormatModifierTilingFeatures: FormatFeatureFlags,
  3132. }
  3133. DrmFormatModifierPropertiesListEXT :: struct {
  3134. sType: StructureType,
  3135. pNext: rawptr,
  3136. drmFormatModifierCount: u32,
  3137. pDrmFormatModifierProperties: [^]DrmFormatModifierPropertiesEXT,
  3138. }
  3139. PhysicalDeviceImageDrmFormatModifierInfoEXT :: struct {
  3140. sType: StructureType,
  3141. pNext: rawptr,
  3142. drmFormatModifier: u64,
  3143. sharingMode: SharingMode,
  3144. queueFamilyIndexCount: u32,
  3145. pQueueFamilyIndices: [^]u32,
  3146. }
  3147. ImageDrmFormatModifierListCreateInfoEXT :: struct {
  3148. sType: StructureType,
  3149. pNext: rawptr,
  3150. drmFormatModifierCount: u32,
  3151. pDrmFormatModifiers: [^]u64,
  3152. }
  3153. ImageDrmFormatModifierExplicitCreateInfoEXT :: struct {
  3154. sType: StructureType,
  3155. pNext: rawptr,
  3156. drmFormatModifier: u64,
  3157. drmFormatModifierPlaneCount: u32,
  3158. pPlaneLayouts: [^]SubresourceLayout,
  3159. }
  3160. ImageDrmFormatModifierPropertiesEXT :: struct {
  3161. sType: StructureType,
  3162. pNext: rawptr,
  3163. drmFormatModifier: u64,
  3164. }
  3165. ValidationCacheCreateInfoEXT :: struct {
  3166. sType: StructureType,
  3167. pNext: rawptr,
  3168. flags: ValidationCacheCreateFlagsEXT,
  3169. initialDataSize: int,
  3170. pInitialData: rawptr,
  3171. }
  3172. ShaderModuleValidationCacheCreateInfoEXT :: struct {
  3173. sType: StructureType,
  3174. pNext: rawptr,
  3175. validationCache: ValidationCacheEXT,
  3176. }
  3177. ShadingRatePaletteNV :: struct {
  3178. shadingRatePaletteEntryCount: u32,
  3179. pShadingRatePaletteEntries: [^]ShadingRatePaletteEntryNV,
  3180. }
  3181. PipelineViewportShadingRateImageStateCreateInfoNV :: struct {
  3182. sType: StructureType,
  3183. pNext: rawptr,
  3184. shadingRateImageEnable: b32,
  3185. viewportCount: u32,
  3186. pShadingRatePalettes: [^]ShadingRatePaletteNV,
  3187. }
  3188. PhysicalDeviceShadingRateImageFeaturesNV :: struct {
  3189. sType: StructureType,
  3190. pNext: rawptr,
  3191. shadingRateImage: b32,
  3192. shadingRateCoarseSampleOrder: b32,
  3193. }
  3194. PhysicalDeviceShadingRateImagePropertiesNV :: struct {
  3195. sType: StructureType,
  3196. pNext: rawptr,
  3197. shadingRateTexelSize: Extent2D,
  3198. shadingRatePaletteSize: u32,
  3199. shadingRateMaxCoarseSamples: u32,
  3200. }
  3201. CoarseSampleLocationNV :: struct {
  3202. pixelX: u32,
  3203. pixelY: u32,
  3204. sample: u32,
  3205. }
  3206. CoarseSampleOrderCustomNV :: struct {
  3207. shadingRate: ShadingRatePaletteEntryNV,
  3208. sampleCount: u32,
  3209. sampleLocationCount: u32,
  3210. pSampleLocations: [^]CoarseSampleLocationNV,
  3211. }
  3212. PipelineViewportCoarseSampleOrderStateCreateInfoNV :: struct {
  3213. sType: StructureType,
  3214. pNext: rawptr,
  3215. sampleOrderType: CoarseSampleOrderTypeNV,
  3216. customSampleOrderCount: u32,
  3217. pCustomSampleOrders: [^]CoarseSampleOrderCustomNV,
  3218. }
  3219. RayTracingShaderGroupCreateInfoNV :: struct {
  3220. sType: StructureType,
  3221. pNext: rawptr,
  3222. type: RayTracingShaderGroupTypeKHR,
  3223. generalShader: u32,
  3224. closestHitShader: u32,
  3225. anyHitShader: u32,
  3226. intersectionShader: u32,
  3227. }
  3228. RayTracingPipelineCreateInfoNV :: struct {
  3229. sType: StructureType,
  3230. pNext: rawptr,
  3231. flags: PipelineCreateFlags,
  3232. stageCount: u32,
  3233. pStages: [^]PipelineShaderStageCreateInfo,
  3234. groupCount: u32,
  3235. pGroups: [^]RayTracingShaderGroupCreateInfoNV,
  3236. maxRecursionDepth: u32,
  3237. layout: PipelineLayout,
  3238. basePipelineHandle: Pipeline,
  3239. basePipelineIndex: i32,
  3240. }
  3241. GeometryTrianglesNV :: struct {
  3242. sType: StructureType,
  3243. pNext: rawptr,
  3244. vertexData: Buffer,
  3245. vertexOffset: DeviceSize,
  3246. vertexCount: u32,
  3247. vertexStride: DeviceSize,
  3248. vertexFormat: Format,
  3249. indexData: Buffer,
  3250. indexOffset: DeviceSize,
  3251. indexCount: u32,
  3252. indexType: IndexType,
  3253. transformData: Buffer,
  3254. transformOffset: DeviceSize,
  3255. }
  3256. GeometryAABBNV :: struct {
  3257. sType: StructureType,
  3258. pNext: rawptr,
  3259. aabbData: Buffer,
  3260. numAABBs: u32,
  3261. stride: u32,
  3262. offset: DeviceSize,
  3263. }
  3264. GeometryDataNV :: struct {
  3265. triangles: GeometryTrianglesNV,
  3266. aabbs: GeometryAABBNV,
  3267. }
  3268. GeometryNV :: struct {
  3269. sType: StructureType,
  3270. pNext: rawptr,
  3271. geometryType: GeometryTypeKHR,
  3272. geometry: GeometryDataNV,
  3273. flags: GeometryFlagsKHR,
  3274. }
  3275. AccelerationStructureInfoNV :: struct {
  3276. sType: StructureType,
  3277. pNext: rawptr,
  3278. type: AccelerationStructureTypeNV,
  3279. flags: BuildAccelerationStructureFlagsNV,
  3280. instanceCount: u32,
  3281. geometryCount: u32,
  3282. pGeometries: [^]GeometryNV,
  3283. }
  3284. AccelerationStructureCreateInfoNV :: struct {
  3285. sType: StructureType,
  3286. pNext: rawptr,
  3287. compactedSize: DeviceSize,
  3288. info: AccelerationStructureInfoNV,
  3289. }
  3290. BindAccelerationStructureMemoryInfoNV :: struct {
  3291. sType: StructureType,
  3292. pNext: rawptr,
  3293. accelerationStructure: AccelerationStructureNV,
  3294. memory: DeviceMemory,
  3295. memoryOffset: DeviceSize,
  3296. deviceIndexCount: u32,
  3297. pDeviceIndices: [^]u32,
  3298. }
  3299. WriteDescriptorSetAccelerationStructureNV :: struct {
  3300. sType: StructureType,
  3301. pNext: rawptr,
  3302. accelerationStructureCount: u32,
  3303. pAccelerationStructures: [^]AccelerationStructureNV,
  3304. }
  3305. AccelerationStructureMemoryRequirementsInfoNV :: struct {
  3306. sType: StructureType,
  3307. pNext: rawptr,
  3308. type: AccelerationStructureMemoryRequirementsTypeNV,
  3309. accelerationStructure: AccelerationStructureNV,
  3310. }
  3311. PhysicalDeviceRayTracingPropertiesNV :: struct {
  3312. sType: StructureType,
  3313. pNext: rawptr,
  3314. shaderGroupHandleSize: u32,
  3315. maxRecursionDepth: u32,
  3316. maxShaderGroupStride: u32,
  3317. shaderGroupBaseAlignment: u32,
  3318. maxGeometryCount: u64,
  3319. maxInstanceCount: u64,
  3320. maxTriangleCount: u64,
  3321. maxDescriptorSetAccelerationStructures: u32,
  3322. }
  3323. TransformMatrixKHR :: struct {
  3324. mat: [3][4]f32,
  3325. }
  3326. AabbPositionsKHR :: struct {
  3327. minX: f32,
  3328. minY: f32,
  3329. minZ: f32,
  3330. maxX: f32,
  3331. maxY: f32,
  3332. maxZ: f32,
  3333. }
  3334. AccelerationStructureInstanceKHR :: struct {
  3335. transform: TransformMatrixKHR,
  3336. accelerationStructureReference: u64,
  3337. }
  3338. PhysicalDeviceRepresentativeFragmentTestFeaturesNV :: struct {
  3339. sType: StructureType,
  3340. pNext: rawptr,
  3341. representativeFragmentTest: b32,
  3342. }
  3343. PipelineRepresentativeFragmentTestStateCreateInfoNV :: struct {
  3344. sType: StructureType,
  3345. pNext: rawptr,
  3346. representativeFragmentTestEnable: b32,
  3347. }
  3348. PhysicalDeviceImageViewImageFormatInfoEXT :: struct {
  3349. sType: StructureType,
  3350. pNext: rawptr,
  3351. imageViewType: ImageViewType,
  3352. }
  3353. FilterCubicImageViewImageFormatPropertiesEXT :: struct {
  3354. sType: StructureType,
  3355. pNext: rawptr,
  3356. filterCubic: b32,
  3357. filterCubicMinmax: b32,
  3358. }
  3359. DeviceQueueGlobalPriorityCreateInfoEXT :: struct {
  3360. sType: StructureType,
  3361. pNext: rawptr,
  3362. globalPriority: QueueGlobalPriorityEXT,
  3363. }
  3364. ImportMemoryHostPointerInfoEXT :: struct {
  3365. sType: StructureType,
  3366. pNext: rawptr,
  3367. handleType: ExternalMemoryHandleTypeFlags,
  3368. pHostPointer: rawptr,
  3369. }
  3370. MemoryHostPointerPropertiesEXT :: struct {
  3371. sType: StructureType,
  3372. pNext: rawptr,
  3373. memoryTypeBits: u32,
  3374. }
  3375. PhysicalDeviceExternalMemoryHostPropertiesEXT :: struct {
  3376. sType: StructureType,
  3377. pNext: rawptr,
  3378. minImportedHostPointerAlignment: DeviceSize,
  3379. }
  3380. PipelineCompilerControlCreateInfoAMD :: struct {
  3381. sType: StructureType,
  3382. pNext: rawptr,
  3383. compilerControlFlags: PipelineCompilerControlFlagsAMD,
  3384. }
  3385. CalibratedTimestampInfoEXT :: struct {
  3386. sType: StructureType,
  3387. pNext: rawptr,
  3388. timeDomain: TimeDomainEXT,
  3389. }
  3390. PhysicalDeviceShaderCorePropertiesAMD :: struct {
  3391. sType: StructureType,
  3392. pNext: rawptr,
  3393. shaderEngineCount: u32,
  3394. shaderArraysPerEngineCount: u32,
  3395. computeUnitsPerShaderArray: u32,
  3396. simdPerComputeUnit: u32,
  3397. wavefrontsPerSimd: u32,
  3398. wavefrontSize: u32,
  3399. sgprsPerSimd: u32,
  3400. minSgprAllocation: u32,
  3401. maxSgprAllocation: u32,
  3402. sgprAllocationGranularity: u32,
  3403. vgprsPerSimd: u32,
  3404. minVgprAllocation: u32,
  3405. maxVgprAllocation: u32,
  3406. vgprAllocationGranularity: u32,
  3407. }
  3408. DeviceMemoryOverallocationCreateInfoAMD :: struct {
  3409. sType: StructureType,
  3410. pNext: rawptr,
  3411. overallocationBehavior: MemoryOverallocationBehaviorAMD,
  3412. }
  3413. PhysicalDeviceVertexAttributeDivisorPropertiesEXT :: struct {
  3414. sType: StructureType,
  3415. pNext: rawptr,
  3416. maxVertexAttribDivisor: u32,
  3417. }
  3418. VertexInputBindingDivisorDescriptionEXT :: struct {
  3419. binding: u32,
  3420. divisor: u32,
  3421. }
  3422. PipelineVertexInputDivisorStateCreateInfoEXT :: struct {
  3423. sType: StructureType,
  3424. pNext: rawptr,
  3425. vertexBindingDivisorCount: u32,
  3426. pVertexBindingDivisors: [^]VertexInputBindingDivisorDescriptionEXT,
  3427. }
  3428. PhysicalDeviceVertexAttributeDivisorFeaturesEXT :: struct {
  3429. sType: StructureType,
  3430. pNext: rawptr,
  3431. vertexAttributeInstanceRateDivisor: b32,
  3432. vertexAttributeInstanceRateZeroDivisor: b32,
  3433. }
  3434. PipelineCreationFeedbackEXT :: struct {
  3435. flags: PipelineCreationFeedbackFlagsEXT,
  3436. duration: u64,
  3437. }
  3438. PipelineCreationFeedbackCreateInfoEXT :: struct {
  3439. sType: StructureType,
  3440. pNext: rawptr,
  3441. pPipelineCreationFeedback: ^PipelineCreationFeedbackEXT,
  3442. pipelineStageCreationFeedbackCount: u32,
  3443. pPipelineStageCreationFeedbacks: [^]PipelineCreationFeedbackEXT,
  3444. }
  3445. PhysicalDeviceComputeShaderDerivativesFeaturesNV :: struct {
  3446. sType: StructureType,
  3447. pNext: rawptr,
  3448. computeDerivativeGroupQuads: b32,
  3449. computeDerivativeGroupLinear: b32,
  3450. }
  3451. PhysicalDeviceMeshShaderFeaturesNV :: struct {
  3452. sType: StructureType,
  3453. pNext: rawptr,
  3454. taskShader: b32,
  3455. meshShader: b32,
  3456. }
  3457. PhysicalDeviceMeshShaderPropertiesNV :: struct {
  3458. sType: StructureType,
  3459. pNext: rawptr,
  3460. maxDrawMeshTasksCount: u32,
  3461. maxTaskWorkGroupInvocations: u32,
  3462. maxTaskWorkGroupSize: [3]u32,
  3463. maxTaskTotalMemorySize: u32,
  3464. maxTaskOutputCount: u32,
  3465. maxMeshWorkGroupInvocations: u32,
  3466. maxMeshWorkGroupSize: [3]u32,
  3467. maxMeshTotalMemorySize: u32,
  3468. maxMeshOutputVertices: u32,
  3469. maxMeshOutputPrimitives: u32,
  3470. maxMeshMultiviewViewCount: u32,
  3471. meshOutputPerVertexGranularity: u32,
  3472. meshOutputPerPrimitiveGranularity: u32,
  3473. }
  3474. DrawMeshTasksIndirectCommandNV :: struct {
  3475. taskCount: u32,
  3476. firstTask: u32,
  3477. }
  3478. PhysicalDeviceFragmentShaderBarycentricFeaturesNV :: struct {
  3479. sType: StructureType,
  3480. pNext: rawptr,
  3481. fragmentShaderBarycentric: b32,
  3482. }
  3483. PhysicalDeviceShaderImageFootprintFeaturesNV :: struct {
  3484. sType: StructureType,
  3485. pNext: rawptr,
  3486. imageFootprint: b32,
  3487. }
  3488. PipelineViewportExclusiveScissorStateCreateInfoNV :: struct {
  3489. sType: StructureType,
  3490. pNext: rawptr,
  3491. exclusiveScissorCount: u32,
  3492. pExclusiveScissors: [^]Rect2D,
  3493. }
  3494. PhysicalDeviceExclusiveScissorFeaturesNV :: struct {
  3495. sType: StructureType,
  3496. pNext: rawptr,
  3497. exclusiveScissor: b32,
  3498. }
  3499. QueueFamilyCheckpointPropertiesNV :: struct {
  3500. sType: StructureType,
  3501. pNext: rawptr,
  3502. checkpointExecutionStageMask: PipelineStageFlags,
  3503. }
  3504. CheckpointDataNV :: struct {
  3505. sType: StructureType,
  3506. pNext: rawptr,
  3507. stage: PipelineStageFlags,
  3508. pCheckpointMarker: rawptr,
  3509. }
  3510. PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL :: struct {
  3511. sType: StructureType,
  3512. pNext: rawptr,
  3513. shaderIntegerFunctions2: b32,
  3514. }
  3515. PerformanceValueDataINTEL :: struct #raw_union {
  3516. value32: u32,
  3517. value64: u64,
  3518. valueFloat: f32,
  3519. valueBool: b32,
  3520. valueString: cstring,
  3521. }
  3522. PerformanceValueINTEL :: struct {
  3523. type: PerformanceValueTypeINTEL,
  3524. data: PerformanceValueDataINTEL,
  3525. }
  3526. InitializePerformanceApiInfoINTEL :: struct {
  3527. sType: StructureType,
  3528. pNext: rawptr,
  3529. pUserData: rawptr,
  3530. }
  3531. QueryPoolPerformanceQueryCreateInfoINTEL :: struct {
  3532. sType: StructureType,
  3533. pNext: rawptr,
  3534. performanceCountersSampling: QueryPoolSamplingModeINTEL,
  3535. }
  3536. PerformanceMarkerInfoINTEL :: struct {
  3537. sType: StructureType,
  3538. pNext: rawptr,
  3539. marker: u64,
  3540. }
  3541. PerformanceStreamMarkerInfoINTEL :: struct {
  3542. sType: StructureType,
  3543. pNext: rawptr,
  3544. marker: u32,
  3545. }
  3546. PerformanceOverrideInfoINTEL :: struct {
  3547. sType: StructureType,
  3548. pNext: rawptr,
  3549. type: PerformanceOverrideTypeINTEL,
  3550. enable: b32,
  3551. parameter: u64,
  3552. }
  3553. PerformanceConfigurationAcquireInfoINTEL :: struct {
  3554. sType: StructureType,
  3555. pNext: rawptr,
  3556. type: PerformanceConfigurationTypeINTEL,
  3557. }
  3558. PhysicalDevicePCIBusInfoPropertiesEXT :: struct {
  3559. sType: StructureType,
  3560. pNext: rawptr,
  3561. pciDomain: u32,
  3562. pciBus: u32,
  3563. pciDevice: u32,
  3564. pciFunction: u32,
  3565. }
  3566. DisplayNativeHdrSurfaceCapabilitiesAMD :: struct {
  3567. sType: StructureType,
  3568. pNext: rawptr,
  3569. localDimmingSupport: b32,
  3570. }
  3571. SwapchainDisplayNativeHdrCreateInfoAMD :: struct {
  3572. sType: StructureType,
  3573. pNext: rawptr,
  3574. localDimmingEnable: b32,
  3575. }
  3576. PhysicalDeviceFragmentDensityMapFeaturesEXT :: struct {
  3577. sType: StructureType,
  3578. pNext: rawptr,
  3579. fragmentDensityMap: b32,
  3580. fragmentDensityMapDynamic: b32,
  3581. fragmentDensityMapNonSubsampledImages: b32,
  3582. }
  3583. PhysicalDeviceFragmentDensityMapPropertiesEXT :: struct {
  3584. sType: StructureType,
  3585. pNext: rawptr,
  3586. minFragmentDensityTexelSize: Extent2D,
  3587. maxFragmentDensityTexelSize: Extent2D,
  3588. fragmentDensityInvocations: b32,
  3589. }
  3590. RenderPassFragmentDensityMapCreateInfoEXT :: struct {
  3591. sType: StructureType,
  3592. pNext: rawptr,
  3593. fragmentDensityMapAttachment: AttachmentReference,
  3594. }
  3595. PhysicalDeviceSubgroupSizeControlFeaturesEXT :: struct {
  3596. sType: StructureType,
  3597. pNext: rawptr,
  3598. subgroupSizeControl: b32,
  3599. computeFullSubgroups: b32,
  3600. }
  3601. PhysicalDeviceSubgroupSizeControlPropertiesEXT :: struct {
  3602. sType: StructureType,
  3603. pNext: rawptr,
  3604. minSubgroupSize: u32,
  3605. maxSubgroupSize: u32,
  3606. maxComputeWorkgroupSubgroups: u32,
  3607. requiredSubgroupSizeStages: ShaderStageFlags,
  3608. }
  3609. PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT :: struct {
  3610. sType: StructureType,
  3611. pNext: rawptr,
  3612. requiredSubgroupSize: u32,
  3613. }
  3614. PhysicalDeviceShaderCoreProperties2AMD :: struct {
  3615. sType: StructureType,
  3616. pNext: rawptr,
  3617. shaderCoreFeatures: ShaderCorePropertiesFlagsAMD,
  3618. activeComputeUnitCount: u32,
  3619. }
  3620. PhysicalDeviceCoherentMemoryFeaturesAMD :: struct {
  3621. sType: StructureType,
  3622. pNext: rawptr,
  3623. deviceCoherentMemory: b32,
  3624. }
  3625. PhysicalDeviceShaderImageAtomicInt64FeaturesEXT :: struct {
  3626. sType: StructureType,
  3627. pNext: rawptr,
  3628. shaderImageInt64Atomics: b32,
  3629. sparseImageInt64Atomics: b32,
  3630. }
  3631. PhysicalDeviceMemoryBudgetPropertiesEXT :: struct {
  3632. sType: StructureType,
  3633. pNext: rawptr,
  3634. heapBudget: [MAX_MEMORY_HEAPS]DeviceSize,
  3635. heapUsage: [MAX_MEMORY_HEAPS]DeviceSize,
  3636. }
  3637. PhysicalDeviceMemoryPriorityFeaturesEXT :: struct {
  3638. sType: StructureType,
  3639. pNext: rawptr,
  3640. memoryPriority: b32,
  3641. }
  3642. MemoryPriorityAllocateInfoEXT :: struct {
  3643. sType: StructureType,
  3644. pNext: rawptr,
  3645. priority: f32,
  3646. }
  3647. PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV :: struct {
  3648. sType: StructureType,
  3649. pNext: rawptr,
  3650. dedicatedAllocationImageAliasing: b32,
  3651. }
  3652. PhysicalDeviceBufferDeviceAddressFeaturesEXT :: struct {
  3653. sType: StructureType,
  3654. pNext: rawptr,
  3655. bufferDeviceAddress: b32,
  3656. bufferDeviceAddressCaptureReplay: b32,
  3657. bufferDeviceAddressMultiDevice: b32,
  3658. }
  3659. BufferDeviceAddressCreateInfoEXT :: struct {
  3660. sType: StructureType,
  3661. pNext: rawptr,
  3662. deviceAddress: DeviceAddress,
  3663. }
  3664. PhysicalDeviceToolPropertiesEXT :: struct {
  3665. sType: StructureType,
  3666. pNext: rawptr,
  3667. name: [MAX_EXTENSION_NAME_SIZE]byte,
  3668. version: [MAX_EXTENSION_NAME_SIZE]byte,
  3669. purposes: ToolPurposeFlagsEXT,
  3670. description: [MAX_DESCRIPTION_SIZE]byte,
  3671. layer: [MAX_EXTENSION_NAME_SIZE]byte,
  3672. }
  3673. ValidationFeaturesEXT :: struct {
  3674. sType: StructureType,
  3675. pNext: rawptr,
  3676. enabledValidationFeatureCount: u32,
  3677. pEnabledValidationFeatures: [^]ValidationFeatureEnableEXT,
  3678. disabledValidationFeatureCount: u32,
  3679. pDisabledValidationFeatures: [^]ValidationFeatureDisableEXT,
  3680. }
  3681. CooperativeMatrixPropertiesNV :: struct {
  3682. sType: StructureType,
  3683. pNext: rawptr,
  3684. MSize: u32,
  3685. NSize: u32,
  3686. KSize: u32,
  3687. AType: ComponentTypeNV,
  3688. BType: ComponentTypeNV,
  3689. CType: ComponentTypeNV,
  3690. DType: ComponentTypeNV,
  3691. scope: ScopeNV,
  3692. }
  3693. PhysicalDeviceCooperativeMatrixFeaturesNV :: struct {
  3694. sType: StructureType,
  3695. pNext: rawptr,
  3696. cooperativeMatrix: b32,
  3697. cooperativeMatrixRobustBufferAccess: b32,
  3698. }
  3699. PhysicalDeviceCooperativeMatrixPropertiesNV :: struct {
  3700. sType: StructureType,
  3701. pNext: rawptr,
  3702. cooperativeMatrixSupportedStages: ShaderStageFlags,
  3703. }
  3704. PhysicalDeviceCoverageReductionModeFeaturesNV :: struct {
  3705. sType: StructureType,
  3706. pNext: rawptr,
  3707. coverageReductionMode: b32,
  3708. }
  3709. PipelineCoverageReductionStateCreateInfoNV :: struct {
  3710. sType: StructureType,
  3711. pNext: rawptr,
  3712. flags: PipelineCoverageReductionStateCreateFlagsNV,
  3713. coverageReductionMode: CoverageReductionModeNV,
  3714. }
  3715. FramebufferMixedSamplesCombinationNV :: struct {
  3716. sType: StructureType,
  3717. pNext: rawptr,
  3718. coverageReductionMode: CoverageReductionModeNV,
  3719. rasterizationSamples: SampleCountFlags,
  3720. depthStencilSamples: SampleCountFlags,
  3721. colorSamples: SampleCountFlags,
  3722. }
  3723. PhysicalDeviceFragmentShaderInterlockFeaturesEXT :: struct {
  3724. sType: StructureType,
  3725. pNext: rawptr,
  3726. fragmentShaderSampleInterlock: b32,
  3727. fragmentShaderPixelInterlock: b32,
  3728. fragmentShaderShadingRateInterlock: b32,
  3729. }
  3730. PhysicalDeviceYcbcrImageArraysFeaturesEXT :: struct {
  3731. sType: StructureType,
  3732. pNext: rawptr,
  3733. ycbcrImageArrays: b32,
  3734. }
  3735. PhysicalDeviceProvokingVertexFeaturesEXT :: struct {
  3736. sType: StructureType,
  3737. pNext: rawptr,
  3738. provokingVertexLast: b32,
  3739. transformFeedbackPreservesProvokingVertex: b32,
  3740. }
  3741. PhysicalDeviceProvokingVertexPropertiesEXT :: struct {
  3742. sType: StructureType,
  3743. pNext: rawptr,
  3744. provokingVertexModePerPipeline: b32,
  3745. transformFeedbackPreservesTriangleFanProvokingVertex: b32,
  3746. }
  3747. PipelineRasterizationProvokingVertexStateCreateInfoEXT :: struct {
  3748. sType: StructureType,
  3749. pNext: rawptr,
  3750. provokingVertexMode: ProvokingVertexModeEXT,
  3751. }
  3752. HeadlessSurfaceCreateInfoEXT :: struct {
  3753. sType: StructureType,
  3754. pNext: rawptr,
  3755. flags: HeadlessSurfaceCreateFlagsEXT,
  3756. }
  3757. PhysicalDeviceLineRasterizationFeaturesEXT :: struct {
  3758. sType: StructureType,
  3759. pNext: rawptr,
  3760. rectangularLines: b32,
  3761. bresenhamLines: b32,
  3762. smoothLines: b32,
  3763. stippledRectangularLines: b32,
  3764. stippledBresenhamLines: b32,
  3765. stippledSmoothLines: b32,
  3766. }
  3767. PhysicalDeviceLineRasterizationPropertiesEXT :: struct {
  3768. sType: StructureType,
  3769. pNext: rawptr,
  3770. lineSubPixelPrecisionBits: u32,
  3771. }
  3772. PipelineRasterizationLineStateCreateInfoEXT :: struct {
  3773. sType: StructureType,
  3774. pNext: rawptr,
  3775. lineRasterizationMode: LineRasterizationModeEXT,
  3776. stippledLineEnable: b32,
  3777. lineStippleFactor: u32,
  3778. lineStipplePattern: u16,
  3779. }
  3780. PhysicalDeviceShaderAtomicFloatFeaturesEXT :: struct {
  3781. sType: StructureType,
  3782. pNext: rawptr,
  3783. shaderBufferFloat32Atomics: b32,
  3784. shaderBufferFloat32AtomicAdd: b32,
  3785. shaderBufferFloat64Atomics: b32,
  3786. shaderBufferFloat64AtomicAdd: b32,
  3787. shaderSharedFloat32Atomics: b32,
  3788. shaderSharedFloat32AtomicAdd: b32,
  3789. shaderSharedFloat64Atomics: b32,
  3790. shaderSharedFloat64AtomicAdd: b32,
  3791. shaderImageFloat32Atomics: b32,
  3792. shaderImageFloat32AtomicAdd: b32,
  3793. sparseImageFloat32Atomics: b32,
  3794. sparseImageFloat32AtomicAdd: b32,
  3795. }
  3796. PhysicalDeviceIndexTypeUint8FeaturesEXT :: struct {
  3797. sType: StructureType,
  3798. pNext: rawptr,
  3799. indexTypeUint8: b32,
  3800. }
  3801. PhysicalDeviceExtendedDynamicStateFeaturesEXT :: struct {
  3802. sType: StructureType,
  3803. pNext: rawptr,
  3804. extendedDynamicState: b32,
  3805. }
  3806. PhysicalDeviceShaderAtomicFloat2FeaturesEXT :: struct {
  3807. sType: StructureType,
  3808. pNext: rawptr,
  3809. shaderBufferFloat16Atomics: b32,
  3810. shaderBufferFloat16AtomicAdd: b32,
  3811. shaderBufferFloat16AtomicMinMax: b32,
  3812. shaderBufferFloat32AtomicMinMax: b32,
  3813. shaderBufferFloat64AtomicMinMax: b32,
  3814. shaderSharedFloat16Atomics: b32,
  3815. shaderSharedFloat16AtomicAdd: b32,
  3816. shaderSharedFloat16AtomicMinMax: b32,
  3817. shaderSharedFloat32AtomicMinMax: b32,
  3818. shaderSharedFloat64AtomicMinMax: b32,
  3819. shaderImageFloat32AtomicMinMax: b32,
  3820. sparseImageFloat32AtomicMinMax: b32,
  3821. }
  3822. PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT :: struct {
  3823. sType: StructureType,
  3824. pNext: rawptr,
  3825. shaderDemoteToHelperInvocation: b32,
  3826. }
  3827. PhysicalDeviceDeviceGeneratedCommandsPropertiesNV :: struct {
  3828. sType: StructureType,
  3829. pNext: rawptr,
  3830. maxGraphicsShaderGroupCount: u32,
  3831. maxIndirectSequenceCount: u32,
  3832. maxIndirectCommandsTokenCount: u32,
  3833. maxIndirectCommandsStreamCount: u32,
  3834. maxIndirectCommandsTokenOffset: u32,
  3835. maxIndirectCommandsStreamStride: u32,
  3836. minSequencesCountBufferOffsetAlignment: u32,
  3837. minSequencesIndexBufferOffsetAlignment: u32,
  3838. minIndirectCommandsBufferOffsetAlignment: u32,
  3839. }
  3840. PhysicalDeviceDeviceGeneratedCommandsFeaturesNV :: struct {
  3841. sType: StructureType,
  3842. pNext: rawptr,
  3843. deviceGeneratedCommands: b32,
  3844. }
  3845. GraphicsShaderGroupCreateInfoNV :: struct {
  3846. sType: StructureType,
  3847. pNext: rawptr,
  3848. stageCount: u32,
  3849. pStages: [^]PipelineShaderStageCreateInfo,
  3850. pVertexInputState: ^PipelineVertexInputStateCreateInfo,
  3851. pTessellationState: ^PipelineTessellationStateCreateInfo,
  3852. }
  3853. GraphicsPipelineShaderGroupsCreateInfoNV :: struct {
  3854. sType: StructureType,
  3855. pNext: rawptr,
  3856. groupCount: u32,
  3857. pGroups: [^]GraphicsShaderGroupCreateInfoNV,
  3858. pipelineCount: u32,
  3859. pPipelines: [^]Pipeline,
  3860. }
  3861. BindShaderGroupIndirectCommandNV :: struct {
  3862. groupIndex: u32,
  3863. }
  3864. BindIndexBufferIndirectCommandNV :: struct {
  3865. bufferAddress: DeviceAddress,
  3866. size: u32,
  3867. indexType: IndexType,
  3868. }
  3869. BindVertexBufferIndirectCommandNV :: struct {
  3870. bufferAddress: DeviceAddress,
  3871. size: u32,
  3872. stride: u32,
  3873. }
  3874. SetStateFlagsIndirectCommandNV :: struct {
  3875. data: u32,
  3876. }
  3877. IndirectCommandsStreamNV :: struct {
  3878. buffer: Buffer,
  3879. offset: DeviceSize,
  3880. }
  3881. IndirectCommandsLayoutTokenNV :: struct {
  3882. sType: StructureType,
  3883. pNext: rawptr,
  3884. tokenType: IndirectCommandsTokenTypeNV,
  3885. stream: u32,
  3886. offset: u32,
  3887. vertexBindingUnit: u32,
  3888. vertexDynamicStride: b32,
  3889. pushconstantPipelineLayout: PipelineLayout,
  3890. pushconstantShaderStageFlags: ShaderStageFlags,
  3891. pushconstantOffset: u32,
  3892. pushconstantSize: u32,
  3893. indirectStateFlags: IndirectStateFlagsNV,
  3894. indexTypeCount: u32,
  3895. pIndexTypes: [^]IndexType,
  3896. pIndexTypeValues: [^]u32,
  3897. }
  3898. IndirectCommandsLayoutCreateInfoNV :: struct {
  3899. sType: StructureType,
  3900. pNext: rawptr,
  3901. flags: IndirectCommandsLayoutUsageFlagsNV,
  3902. pipelineBindPoint: PipelineBindPoint,
  3903. tokenCount: u32,
  3904. pTokens: [^]IndirectCommandsLayoutTokenNV,
  3905. streamCount: u32,
  3906. pStreamStrides: [^]u32,
  3907. }
  3908. GeneratedCommandsInfoNV :: struct {
  3909. sType: StructureType,
  3910. pNext: rawptr,
  3911. pipelineBindPoint: PipelineBindPoint,
  3912. pipeline: Pipeline,
  3913. indirectCommandsLayout: IndirectCommandsLayoutNV,
  3914. streamCount: u32,
  3915. pStreams: [^]IndirectCommandsStreamNV,
  3916. sequencesCount: u32,
  3917. preprocessBuffer: Buffer,
  3918. preprocessOffset: DeviceSize,
  3919. preprocessSize: DeviceSize,
  3920. sequencesCountBuffer: Buffer,
  3921. sequencesCountOffset: DeviceSize,
  3922. sequencesIndexBuffer: Buffer,
  3923. sequencesIndexOffset: DeviceSize,
  3924. }
  3925. GeneratedCommandsMemoryRequirementsInfoNV :: struct {
  3926. sType: StructureType,
  3927. pNext: rawptr,
  3928. pipelineBindPoint: PipelineBindPoint,
  3929. pipeline: Pipeline,
  3930. indirectCommandsLayout: IndirectCommandsLayoutNV,
  3931. maxSequencesCount: u32,
  3932. }
  3933. PhysicalDeviceInheritedViewportScissorFeaturesNV :: struct {
  3934. sType: StructureType,
  3935. pNext: rawptr,
  3936. inheritedViewportScissor2D: b32,
  3937. }
  3938. CommandBufferInheritanceViewportScissorInfoNV :: struct {
  3939. sType: StructureType,
  3940. pNext: rawptr,
  3941. viewportScissor2D: b32,
  3942. viewportDepthCount: u32,
  3943. pViewportDepths: [^]Viewport,
  3944. }
  3945. PhysicalDeviceTexelBufferAlignmentFeaturesEXT :: struct {
  3946. sType: StructureType,
  3947. pNext: rawptr,
  3948. texelBufferAlignment: b32,
  3949. }
  3950. PhysicalDeviceTexelBufferAlignmentPropertiesEXT :: struct {
  3951. sType: StructureType,
  3952. pNext: rawptr,
  3953. storageTexelBufferOffsetAlignmentBytes: DeviceSize,
  3954. storageTexelBufferOffsetSingleTexelAlignment: b32,
  3955. uniformTexelBufferOffsetAlignmentBytes: DeviceSize,
  3956. uniformTexelBufferOffsetSingleTexelAlignment: b32,
  3957. }
  3958. RenderPassTransformBeginInfoQCOM :: struct {
  3959. sType: StructureType,
  3960. pNext: rawptr,
  3961. transform: SurfaceTransformFlagsKHR,
  3962. }
  3963. CommandBufferInheritanceRenderPassTransformInfoQCOM :: struct {
  3964. sType: StructureType,
  3965. pNext: rawptr,
  3966. transform: SurfaceTransformFlagsKHR,
  3967. renderArea: Rect2D,
  3968. }
  3969. PhysicalDeviceDeviceMemoryReportFeaturesEXT :: struct {
  3970. sType: StructureType,
  3971. pNext: rawptr,
  3972. deviceMemoryReport: b32,
  3973. }
  3974. DeviceMemoryReportCallbackDataEXT :: struct {
  3975. sType: StructureType,
  3976. pNext: rawptr,
  3977. flags: DeviceMemoryReportFlagsEXT,
  3978. type: DeviceMemoryReportEventTypeEXT,
  3979. memoryObjectId: u64,
  3980. size: DeviceSize,
  3981. objectType: ObjectType,
  3982. objectHandle: u64,
  3983. heapIndex: u32,
  3984. }
  3985. DeviceDeviceMemoryReportCreateInfoEXT :: struct {
  3986. sType: StructureType,
  3987. pNext: rawptr,
  3988. flags: DeviceMemoryReportFlagsEXT,
  3989. pfnUserCallback: ProcDeviceMemoryReportCallbackEXT,
  3990. pUserData: rawptr,
  3991. }
  3992. PhysicalDeviceRobustness2FeaturesEXT :: struct {
  3993. sType: StructureType,
  3994. pNext: rawptr,
  3995. robustBufferAccess2: b32,
  3996. robustImageAccess2: b32,
  3997. nullDescriptor: b32,
  3998. }
  3999. PhysicalDeviceRobustness2PropertiesEXT :: struct {
  4000. sType: StructureType,
  4001. pNext: rawptr,
  4002. robustStorageBufferAccessSizeAlignment: DeviceSize,
  4003. robustUniformBufferAccessSizeAlignment: DeviceSize,
  4004. }
  4005. SamplerCustomBorderColorCreateInfoEXT :: struct {
  4006. sType: StructureType,
  4007. pNext: rawptr,
  4008. customBorderColor: ClearColorValue,
  4009. format: Format,
  4010. }
  4011. PhysicalDeviceCustomBorderColorPropertiesEXT :: struct {
  4012. sType: StructureType,
  4013. pNext: rawptr,
  4014. maxCustomBorderColorSamplers: u32,
  4015. }
  4016. PhysicalDeviceCustomBorderColorFeaturesEXT :: struct {
  4017. sType: StructureType,
  4018. pNext: rawptr,
  4019. customBorderColors: b32,
  4020. customBorderColorWithoutFormat: b32,
  4021. }
  4022. PhysicalDevicePrivateDataFeaturesEXT :: struct {
  4023. sType: StructureType,
  4024. pNext: rawptr,
  4025. privateData: b32,
  4026. }
  4027. DevicePrivateDataCreateInfoEXT :: struct {
  4028. sType: StructureType,
  4029. pNext: rawptr,
  4030. privateDataSlotRequestCount: u32,
  4031. }
  4032. PrivateDataSlotCreateInfoEXT :: struct {
  4033. sType: StructureType,
  4034. pNext: rawptr,
  4035. flags: PrivateDataSlotCreateFlagsEXT,
  4036. }
  4037. PhysicalDevicePipelineCreationCacheControlFeaturesEXT :: struct {
  4038. sType: StructureType,
  4039. pNext: rawptr,
  4040. pipelineCreationCacheControl: b32,
  4041. }
  4042. PhysicalDeviceDiagnosticsConfigFeaturesNV :: struct {
  4043. sType: StructureType,
  4044. pNext: rawptr,
  4045. diagnosticsConfig: b32,
  4046. }
  4047. DeviceDiagnosticsConfigCreateInfoNV :: struct {
  4048. sType: StructureType,
  4049. pNext: rawptr,
  4050. flags: DeviceDiagnosticsConfigFlagsNV,
  4051. }
  4052. PhysicalDeviceFragmentShadingRateEnumsFeaturesNV :: struct {
  4053. sType: StructureType,
  4054. pNext: rawptr,
  4055. fragmentShadingRateEnums: b32,
  4056. supersampleFragmentShadingRates: b32,
  4057. noInvocationFragmentShadingRates: b32,
  4058. }
  4059. PhysicalDeviceFragmentShadingRateEnumsPropertiesNV :: struct {
  4060. sType: StructureType,
  4061. pNext: rawptr,
  4062. maxFragmentShadingRateInvocationCount: SampleCountFlags,
  4063. }
  4064. PipelineFragmentShadingRateEnumStateCreateInfoNV :: struct {
  4065. sType: StructureType,
  4066. pNext: rawptr,
  4067. shadingRateType: FragmentShadingRateTypeNV,
  4068. shadingRate: FragmentShadingRateNV,
  4069. combinerOps: [2]FragmentShadingRateCombinerOpKHR,
  4070. }
  4071. DeviceOrHostAddressConstKHR :: struct #raw_union {
  4072. deviceAddress: DeviceAddress,
  4073. hostAddress: rawptr,
  4074. }
  4075. AccelerationStructureGeometryMotionTrianglesDataNV :: struct {
  4076. sType: StructureType,
  4077. pNext: rawptr,
  4078. vertexData: DeviceOrHostAddressConstKHR,
  4079. }
  4080. AccelerationStructureMotionInfoNV :: struct {
  4081. sType: StructureType,
  4082. pNext: rawptr,
  4083. maxInstances: u32,
  4084. flags: AccelerationStructureMotionInfoFlagsNV,
  4085. }
  4086. AccelerationStructureMatrixMotionInstanceNV :: struct {
  4087. transformT0: TransformMatrixKHR,
  4088. transformT1: TransformMatrixKHR,
  4089. accelerationStructureReference: u64,
  4090. }
  4091. SRTDataNV :: struct {
  4092. sx: f32,
  4093. a: f32,
  4094. b: f32,
  4095. pvx: f32,
  4096. sy: f32,
  4097. c: f32,
  4098. pvy: f32,
  4099. sz: f32,
  4100. pvz: f32,
  4101. qx: f32,
  4102. qy: f32,
  4103. qz: f32,
  4104. qw: f32,
  4105. tx: f32,
  4106. ty: f32,
  4107. tz: f32,
  4108. }
  4109. AccelerationStructureSRTMotionInstanceNV :: struct {
  4110. transformT0: SRTDataNV,
  4111. transformT1: SRTDataNV,
  4112. accelerationStructureReference: u64,
  4113. }
  4114. AccelerationStructureMotionInstanceDataNV :: struct #raw_union {
  4115. staticInstance: AccelerationStructureInstanceKHR,
  4116. matrixMotionInstance: AccelerationStructureMatrixMotionInstanceNV,
  4117. srtMotionInstance: AccelerationStructureSRTMotionInstanceNV,
  4118. }
  4119. AccelerationStructureMotionInstanceNV :: struct {
  4120. type: AccelerationStructureMotionInstanceTypeNV,
  4121. flags: AccelerationStructureMotionInstanceFlagsNV,
  4122. data: AccelerationStructureMotionInstanceDataNV,
  4123. }
  4124. PhysicalDeviceRayTracingMotionBlurFeaturesNV :: struct {
  4125. sType: StructureType,
  4126. pNext: rawptr,
  4127. rayTracingMotionBlur: b32,
  4128. rayTracingMotionBlurPipelineTraceRaysIndirect: b32,
  4129. }
  4130. PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT :: struct {
  4131. sType: StructureType,
  4132. pNext: rawptr,
  4133. ycbcr2plane444Formats: b32,
  4134. }
  4135. PhysicalDeviceFragmentDensityMap2FeaturesEXT :: struct {
  4136. sType: StructureType,
  4137. pNext: rawptr,
  4138. fragmentDensityMapDeferred: b32,
  4139. }
  4140. PhysicalDeviceFragmentDensityMap2PropertiesEXT :: struct {
  4141. sType: StructureType,
  4142. pNext: rawptr,
  4143. subsampledLoads: b32,
  4144. subsampledCoarseReconstructionEarlyAccess: b32,
  4145. maxSubsampledArrayLayers: u32,
  4146. maxDescriptorSetSubsampledSamplers: u32,
  4147. }
  4148. CopyCommandTransformInfoQCOM :: struct {
  4149. sType: StructureType,
  4150. pNext: rawptr,
  4151. transform: SurfaceTransformFlagsKHR,
  4152. }
  4153. PhysicalDeviceImageRobustnessFeaturesEXT :: struct {
  4154. sType: StructureType,
  4155. pNext: rawptr,
  4156. robustImageAccess: b32,
  4157. }
  4158. PhysicalDevice4444FormatsFeaturesEXT :: struct {
  4159. sType: StructureType,
  4160. pNext: rawptr,
  4161. formatA4R4G4B4: b32,
  4162. formatA4B4G4R4: b32,
  4163. }
  4164. PhysicalDeviceMutableDescriptorTypeFeaturesVALVE :: struct {
  4165. sType: StructureType,
  4166. pNext: rawptr,
  4167. mutableDescriptorType: b32,
  4168. }
  4169. MutableDescriptorTypeListVALVE :: struct {
  4170. descriptorTypeCount: u32,
  4171. pDescriptorTypes: [^]DescriptorType,
  4172. }
  4173. MutableDescriptorTypeCreateInfoVALVE :: struct {
  4174. sType: StructureType,
  4175. pNext: rawptr,
  4176. mutableDescriptorTypeListCount: u32,
  4177. pMutableDescriptorTypeLists: [^]MutableDescriptorTypeListVALVE,
  4178. }
  4179. PhysicalDeviceVertexInputDynamicStateFeaturesEXT :: struct {
  4180. sType: StructureType,
  4181. pNext: rawptr,
  4182. vertexInputDynamicState: b32,
  4183. }
  4184. VertexInputBindingDescription2EXT :: struct {
  4185. sType: StructureType,
  4186. pNext: rawptr,
  4187. binding: u32,
  4188. stride: u32,
  4189. inputRate: VertexInputRate,
  4190. divisor: u32,
  4191. }
  4192. VertexInputAttributeDescription2EXT :: struct {
  4193. sType: StructureType,
  4194. pNext: rawptr,
  4195. location: u32,
  4196. binding: u32,
  4197. format: Format,
  4198. offset: u32,
  4199. }
  4200. PhysicalDeviceDrmPropertiesEXT :: struct {
  4201. sType: StructureType,
  4202. pNext: rawptr,
  4203. hasPrimary: b32,
  4204. hasRender: b32,
  4205. primaryMajor: i64,
  4206. primaryMinor: i64,
  4207. renderMajor: i64,
  4208. renderMinor: i64,
  4209. }
  4210. PhysicalDevicePrimitiveTopologyListRestartFeaturesEXT :: struct {
  4211. sType: StructureType,
  4212. pNext: rawptr,
  4213. primitiveTopologyListRestart: b32,
  4214. primitiveTopologyPatchListRestart: b32,
  4215. }
  4216. SubpassShadingPipelineCreateInfoHUAWEI :: struct {
  4217. sType: StructureType,
  4218. pNext: rawptr,
  4219. renderPass: RenderPass,
  4220. subpass: u32,
  4221. }
  4222. PhysicalDeviceSubpassShadingFeaturesHUAWEI :: struct {
  4223. sType: StructureType,
  4224. pNext: rawptr,
  4225. subpassShading: b32,
  4226. }
  4227. PhysicalDeviceSubpassShadingPropertiesHUAWEI :: struct {
  4228. sType: StructureType,
  4229. pNext: rawptr,
  4230. maxSubpassShadingWorkgroupSizeAspectRatio: u32,
  4231. }
  4232. PhysicalDeviceInvocationMaskFeaturesHUAWEI :: struct {
  4233. sType: StructureType,
  4234. pNext: rawptr,
  4235. invocationMask: b32,
  4236. }
  4237. MemoryGetRemoteAddressInfoNV :: struct {
  4238. sType: StructureType,
  4239. pNext: rawptr,
  4240. memory: DeviceMemory,
  4241. handleType: ExternalMemoryHandleTypeFlags,
  4242. }
  4243. PhysicalDeviceExternalMemoryRDMAFeaturesNV :: struct {
  4244. sType: StructureType,
  4245. pNext: rawptr,
  4246. externalMemoryRDMA: b32,
  4247. }
  4248. PhysicalDeviceExtendedDynamicState2FeaturesEXT :: struct {
  4249. sType: StructureType,
  4250. pNext: rawptr,
  4251. extendedDynamicState2: b32,
  4252. extendedDynamicState2LogicOp: b32,
  4253. extendedDynamicState2PatchControlPoints: b32,
  4254. }
  4255. PhysicalDeviceColorWriteEnableFeaturesEXT :: struct {
  4256. sType: StructureType,
  4257. pNext: rawptr,
  4258. colorWriteEnable: b32,
  4259. }
  4260. PipelineColorWriteCreateInfoEXT :: struct {
  4261. sType: StructureType,
  4262. pNext: rawptr,
  4263. attachmentCount: u32,
  4264. pColorWriteEnables: [^]b32,
  4265. }
  4266. PhysicalDeviceGlobalPriorityQueryFeaturesEXT :: struct {
  4267. sType: StructureType,
  4268. pNext: rawptr,
  4269. globalPriorityQuery: b32,
  4270. }
  4271. QueueFamilyGlobalPriorityPropertiesEXT :: struct {
  4272. sType: StructureType,
  4273. pNext: rawptr,
  4274. priorityCount: u32,
  4275. priorities: [MAX_GLOBAL_PRIORITY_SIZE_EXT]QueueGlobalPriorityEXT,
  4276. }
  4277. PhysicalDeviceMultiDrawFeaturesEXT :: struct {
  4278. sType: StructureType,
  4279. pNext: rawptr,
  4280. multiDraw: b32,
  4281. }
  4282. PhysicalDeviceMultiDrawPropertiesEXT :: struct {
  4283. sType: StructureType,
  4284. pNext: rawptr,
  4285. maxMultiDrawCount: u32,
  4286. }
  4287. MultiDrawInfoEXT :: struct {
  4288. firstVertex: u32,
  4289. vertexCount: u32,
  4290. }
  4291. MultiDrawIndexedInfoEXT :: struct {
  4292. firstIndex: u32,
  4293. indexCount: u32,
  4294. vertexOffset: i32,
  4295. }
  4296. PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT :: struct {
  4297. sType: StructureType,
  4298. pNext: rawptr,
  4299. pageableDeviceLocalMemory: b32,
  4300. }
  4301. DeviceOrHostAddressKHR :: struct #raw_union {
  4302. deviceAddress: DeviceAddress,
  4303. hostAddress: rawptr,
  4304. }
  4305. AccelerationStructureBuildRangeInfoKHR :: struct {
  4306. primitiveCount: u32,
  4307. primitiveOffset: u32,
  4308. firstVertex: u32,
  4309. transformOffset: u32,
  4310. }
  4311. AccelerationStructureGeometryTrianglesDataKHR :: struct {
  4312. sType: StructureType,
  4313. pNext: rawptr,
  4314. vertexFormat: Format,
  4315. vertexData: DeviceOrHostAddressConstKHR,
  4316. vertexStride: DeviceSize,
  4317. maxVertex: u32,
  4318. indexType: IndexType,
  4319. indexData: DeviceOrHostAddressConstKHR,
  4320. transformData: DeviceOrHostAddressConstKHR,
  4321. }
  4322. AccelerationStructureGeometryAabbsDataKHR :: struct {
  4323. sType: StructureType,
  4324. pNext: rawptr,
  4325. data: DeviceOrHostAddressConstKHR,
  4326. stride: DeviceSize,
  4327. }
  4328. AccelerationStructureGeometryInstancesDataKHR :: struct {
  4329. sType: StructureType,
  4330. pNext: rawptr,
  4331. arrayOfPointers: b32,
  4332. data: DeviceOrHostAddressConstKHR,
  4333. }
  4334. AccelerationStructureGeometryDataKHR :: struct #raw_union {
  4335. triangles: AccelerationStructureGeometryTrianglesDataKHR,
  4336. aabbs: AccelerationStructureGeometryAabbsDataKHR,
  4337. instances: AccelerationStructureGeometryInstancesDataKHR,
  4338. }
  4339. AccelerationStructureGeometryKHR :: struct {
  4340. sType: StructureType,
  4341. pNext: rawptr,
  4342. geometryType: GeometryTypeKHR,
  4343. geometry: AccelerationStructureGeometryDataKHR,
  4344. flags: GeometryFlagsKHR,
  4345. }
  4346. AccelerationStructureBuildGeometryInfoKHR :: struct {
  4347. sType: StructureType,
  4348. pNext: rawptr,
  4349. type: AccelerationStructureTypeKHR,
  4350. flags: BuildAccelerationStructureFlagsKHR,
  4351. mode: BuildAccelerationStructureModeKHR,
  4352. srcAccelerationStructure: AccelerationStructureKHR,
  4353. dstAccelerationStructure: AccelerationStructureKHR,
  4354. geometryCount: u32,
  4355. pGeometries: [^]AccelerationStructureGeometryKHR,
  4356. ppGeometries: ^[^]AccelerationStructureGeometryKHR,
  4357. scratchData: DeviceOrHostAddressKHR,
  4358. }
  4359. AccelerationStructureCreateInfoKHR :: struct {
  4360. sType: StructureType,
  4361. pNext: rawptr,
  4362. createFlags: AccelerationStructureCreateFlagsKHR,
  4363. buffer: Buffer,
  4364. offset: DeviceSize,
  4365. size: DeviceSize,
  4366. type: AccelerationStructureTypeKHR,
  4367. deviceAddress: DeviceAddress,
  4368. }
  4369. WriteDescriptorSetAccelerationStructureKHR :: struct {
  4370. sType: StructureType,
  4371. pNext: rawptr,
  4372. accelerationStructureCount: u32,
  4373. pAccelerationStructures: [^]AccelerationStructureKHR,
  4374. }
  4375. PhysicalDeviceAccelerationStructureFeaturesKHR :: struct {
  4376. sType: StructureType,
  4377. pNext: rawptr,
  4378. accelerationStructure: b32,
  4379. accelerationStructureCaptureReplay: b32,
  4380. accelerationStructureIndirectBuild: b32,
  4381. accelerationStructureHostCommands: b32,
  4382. descriptorBindingAccelerationStructureUpdateAfterBind: b32,
  4383. }
  4384. PhysicalDeviceAccelerationStructurePropertiesKHR :: struct {
  4385. sType: StructureType,
  4386. pNext: rawptr,
  4387. maxGeometryCount: u64,
  4388. maxInstanceCount: u64,
  4389. maxPrimitiveCount: u64,
  4390. maxPerStageDescriptorAccelerationStructures: u32,
  4391. maxPerStageDescriptorUpdateAfterBindAccelerationStructures: u32,
  4392. maxDescriptorSetAccelerationStructures: u32,
  4393. maxDescriptorSetUpdateAfterBindAccelerationStructures: u32,
  4394. minAccelerationStructureScratchOffsetAlignment: u32,
  4395. }
  4396. AccelerationStructureDeviceAddressInfoKHR :: struct {
  4397. sType: StructureType,
  4398. pNext: rawptr,
  4399. accelerationStructure: AccelerationStructureKHR,
  4400. }
  4401. AccelerationStructureVersionInfoKHR :: struct {
  4402. sType: StructureType,
  4403. pNext: rawptr,
  4404. pVersionData: ^u8,
  4405. }
  4406. CopyAccelerationStructureToMemoryInfoKHR :: struct {
  4407. sType: StructureType,
  4408. pNext: rawptr,
  4409. src: AccelerationStructureKHR,
  4410. dst: DeviceOrHostAddressKHR,
  4411. mode: CopyAccelerationStructureModeKHR,
  4412. }
  4413. CopyMemoryToAccelerationStructureInfoKHR :: struct {
  4414. sType: StructureType,
  4415. pNext: rawptr,
  4416. src: DeviceOrHostAddressConstKHR,
  4417. dst: AccelerationStructureKHR,
  4418. mode: CopyAccelerationStructureModeKHR,
  4419. }
  4420. CopyAccelerationStructureInfoKHR :: struct {
  4421. sType: StructureType,
  4422. pNext: rawptr,
  4423. src: AccelerationStructureKHR,
  4424. dst: AccelerationStructureKHR,
  4425. mode: CopyAccelerationStructureModeKHR,
  4426. }
  4427. AccelerationStructureBuildSizesInfoKHR :: struct {
  4428. sType: StructureType,
  4429. pNext: rawptr,
  4430. accelerationStructureSize: DeviceSize,
  4431. updateScratchSize: DeviceSize,
  4432. buildScratchSize: DeviceSize,
  4433. }
  4434. RayTracingShaderGroupCreateInfoKHR :: struct {
  4435. sType: StructureType,
  4436. pNext: rawptr,
  4437. type: RayTracingShaderGroupTypeKHR,
  4438. generalShader: u32,
  4439. closestHitShader: u32,
  4440. anyHitShader: u32,
  4441. intersectionShader: u32,
  4442. pShaderGroupCaptureReplayHandle: rawptr,
  4443. }
  4444. RayTracingPipelineInterfaceCreateInfoKHR :: struct {
  4445. sType: StructureType,
  4446. pNext: rawptr,
  4447. maxPipelineRayPayloadSize: u32,
  4448. maxPipelineRayHitAttributeSize: u32,
  4449. }
  4450. RayTracingPipelineCreateInfoKHR :: struct {
  4451. sType: StructureType,
  4452. pNext: rawptr,
  4453. flags: PipelineCreateFlags,
  4454. stageCount: u32,
  4455. pStages: [^]PipelineShaderStageCreateInfo,
  4456. groupCount: u32,
  4457. pGroups: [^]RayTracingShaderGroupCreateInfoKHR,
  4458. maxPipelineRayRecursionDepth: u32,
  4459. pLibraryInfo: ^PipelineLibraryCreateInfoKHR,
  4460. pLibraryInterface: ^RayTracingPipelineInterfaceCreateInfoKHR,
  4461. pDynamicState: ^PipelineDynamicStateCreateInfo,
  4462. layout: PipelineLayout,
  4463. basePipelineHandle: Pipeline,
  4464. basePipelineIndex: i32,
  4465. }
  4466. PhysicalDeviceRayTracingPipelineFeaturesKHR :: struct {
  4467. sType: StructureType,
  4468. pNext: rawptr,
  4469. rayTracingPipeline: b32,
  4470. rayTracingPipelineShaderGroupHandleCaptureReplay: b32,
  4471. rayTracingPipelineShaderGroupHandleCaptureReplayMixed: b32,
  4472. rayTracingPipelineTraceRaysIndirect: b32,
  4473. rayTraversalPrimitiveCulling: b32,
  4474. }
  4475. PhysicalDeviceRayTracingPipelinePropertiesKHR :: struct {
  4476. sType: StructureType,
  4477. pNext: rawptr,
  4478. shaderGroupHandleSize: u32,
  4479. maxRayRecursionDepth: u32,
  4480. maxShaderGroupStride: u32,
  4481. shaderGroupBaseAlignment: u32,
  4482. shaderGroupHandleCaptureReplaySize: u32,
  4483. maxRayDispatchInvocationCount: u32,
  4484. shaderGroupHandleAlignment: u32,
  4485. maxRayHitAttributeSize: u32,
  4486. }
  4487. StridedDeviceAddressRegionKHR :: struct {
  4488. deviceAddress: DeviceAddress,
  4489. stride: DeviceSize,
  4490. size: DeviceSize,
  4491. }
  4492. TraceRaysIndirectCommandKHR :: struct {
  4493. width: u32,
  4494. height: u32,
  4495. depth: u32,
  4496. }
  4497. PhysicalDeviceRayQueryFeaturesKHR :: struct {
  4498. sType: StructureType,
  4499. pNext: rawptr,
  4500. rayQuery: b32,
  4501. }
  4502. Win32SurfaceCreateInfoKHR :: struct {
  4503. sType: StructureType,
  4504. pNext: rawptr,
  4505. flags: Win32SurfaceCreateFlagsKHR,
  4506. hinstance: HINSTANCE,
  4507. hwnd: HWND,
  4508. }
  4509. ImportMemoryWin32HandleInfoKHR :: struct {
  4510. sType: StructureType,
  4511. pNext: rawptr,
  4512. handleType: ExternalMemoryHandleTypeFlags,
  4513. handle: HANDLE,
  4514. name: LPCWSTR,
  4515. }
  4516. ExportMemoryWin32HandleInfoKHR :: struct {
  4517. sType: StructureType,
  4518. pNext: rawptr,
  4519. pAttributes: [^]SECURITY_ATTRIBUTES,
  4520. dwAccess: DWORD,
  4521. name: LPCWSTR,
  4522. }
  4523. MemoryWin32HandlePropertiesKHR :: struct {
  4524. sType: StructureType,
  4525. pNext: rawptr,
  4526. memoryTypeBits: u32,
  4527. }
  4528. MemoryGetWin32HandleInfoKHR :: struct {
  4529. sType: StructureType,
  4530. pNext: rawptr,
  4531. memory: DeviceMemory,
  4532. handleType: ExternalMemoryHandleTypeFlags,
  4533. }
  4534. Win32KeyedMutexAcquireReleaseInfoKHR :: struct {
  4535. sType: StructureType,
  4536. pNext: rawptr,
  4537. acquireCount: u32,
  4538. pAcquireSyncs: [^]DeviceMemory,
  4539. pAcquireKeys: [^]u64,
  4540. pAcquireTimeouts: [^]u32,
  4541. releaseCount: u32,
  4542. pReleaseSyncs: [^]DeviceMemory,
  4543. pReleaseKeys: [^]u64,
  4544. }
  4545. ImportSemaphoreWin32HandleInfoKHR :: struct {
  4546. sType: StructureType,
  4547. pNext: rawptr,
  4548. semaphore: Semaphore,
  4549. flags: SemaphoreImportFlags,
  4550. handleType: ExternalSemaphoreHandleTypeFlags,
  4551. handle: HANDLE,
  4552. name: LPCWSTR,
  4553. }
  4554. ExportSemaphoreWin32HandleInfoKHR :: struct {
  4555. sType: StructureType,
  4556. pNext: rawptr,
  4557. pAttributes: [^]SECURITY_ATTRIBUTES,
  4558. dwAccess: DWORD,
  4559. name: LPCWSTR,
  4560. }
  4561. D3D12FenceSubmitInfoKHR :: struct {
  4562. sType: StructureType,
  4563. pNext: rawptr,
  4564. waitSemaphoreValuesCount: u32,
  4565. pWaitSemaphoreValues: [^]u64,
  4566. signalSemaphoreValuesCount: u32,
  4567. pSignalSemaphoreValues: [^]u64,
  4568. }
  4569. SemaphoreGetWin32HandleInfoKHR :: struct {
  4570. sType: StructureType,
  4571. pNext: rawptr,
  4572. semaphore: Semaphore,
  4573. handleType: ExternalSemaphoreHandleTypeFlags,
  4574. }
  4575. ImportFenceWin32HandleInfoKHR :: struct {
  4576. sType: StructureType,
  4577. pNext: rawptr,
  4578. fence: Fence,
  4579. flags: FenceImportFlags,
  4580. handleType: ExternalFenceHandleTypeFlags,
  4581. handle: HANDLE,
  4582. name: LPCWSTR,
  4583. }
  4584. ExportFenceWin32HandleInfoKHR :: struct {
  4585. sType: StructureType,
  4586. pNext: rawptr,
  4587. pAttributes: [^]SECURITY_ATTRIBUTES,
  4588. dwAccess: DWORD,
  4589. name: LPCWSTR,
  4590. }
  4591. FenceGetWin32HandleInfoKHR :: struct {
  4592. sType: StructureType,
  4593. pNext: rawptr,
  4594. fence: Fence,
  4595. handleType: ExternalFenceHandleTypeFlags,
  4596. }
  4597. ImportMemoryWin32HandleInfoNV :: struct {
  4598. sType: StructureType,
  4599. pNext: rawptr,
  4600. handleType: ExternalMemoryHandleTypeFlagsNV,
  4601. handle: HANDLE,
  4602. }
  4603. ExportMemoryWin32HandleInfoNV :: struct {
  4604. sType: StructureType,
  4605. pNext: rawptr,
  4606. pAttributes: [^]SECURITY_ATTRIBUTES,
  4607. dwAccess: DWORD,
  4608. }
  4609. Win32KeyedMutexAcquireReleaseInfoNV :: struct {
  4610. sType: StructureType,
  4611. pNext: rawptr,
  4612. acquireCount: u32,
  4613. pAcquireSyncs: [^]DeviceMemory,
  4614. pAcquireKeys: [^]u64,
  4615. pAcquireTimeoutMilliseconds: [^]u32,
  4616. releaseCount: u32,
  4617. pReleaseSyncs: [^]DeviceMemory,
  4618. pReleaseKeys: [^]u64,
  4619. }
  4620. SurfaceFullScreenExclusiveInfoEXT :: struct {
  4621. sType: StructureType,
  4622. pNext: rawptr,
  4623. fullScreenExclusive: FullScreenExclusiveEXT,
  4624. }
  4625. SurfaceCapabilitiesFullScreenExclusiveEXT :: struct {
  4626. sType: StructureType,
  4627. pNext: rawptr,
  4628. fullScreenExclusiveSupported: b32,
  4629. }
  4630. SurfaceFullScreenExclusiveWin32InfoEXT :: struct {
  4631. sType: StructureType,
  4632. pNext: rawptr,
  4633. hmonitor: HMONITOR,
  4634. }
  4635. MetalSurfaceCreateInfoEXT :: struct {
  4636. sType: StructureType,
  4637. pNext: rawptr,
  4638. flags: MetalSurfaceCreateFlagsEXT,
  4639. pLayer: ^CAMetalLayer,
  4640. }
  4641. MacOSSurfaceCreateInfoMVK :: struct {
  4642. sType: StructureType,
  4643. pNext: rawptr,
  4644. flags: MacOSSurfaceCreateFlagsMVK,
  4645. pView: rawptr,
  4646. }
  4647. IOSSurfaceCreateInfoMVK :: struct {
  4648. sType: StructureType,
  4649. pNext: rawptr,
  4650. flags: IOSSurfaceCreateFlagsMVK,
  4651. pView: rawptr,
  4652. }
  4653. // Aliases
  4654. PhysicalDeviceVariablePointerFeatures :: PhysicalDeviceVariablePointersFeatures
  4655. PhysicalDeviceShaderDrawParameterFeatures :: PhysicalDeviceShaderDrawParametersFeatures
  4656. RenderPassMultiviewCreateInfoKHR :: RenderPassMultiviewCreateInfo
  4657. PhysicalDeviceMultiviewFeaturesKHR :: PhysicalDeviceMultiviewFeatures
  4658. PhysicalDeviceMultiviewPropertiesKHR :: PhysicalDeviceMultiviewProperties
  4659. PhysicalDeviceFeatures2KHR :: PhysicalDeviceFeatures2
  4660. PhysicalDeviceProperties2KHR :: PhysicalDeviceProperties2
  4661. FormatProperties2KHR :: FormatProperties2
  4662. ImageFormatProperties2KHR :: ImageFormatProperties2
  4663. PhysicalDeviceImageFormatInfo2KHR :: PhysicalDeviceImageFormatInfo2
  4664. QueueFamilyProperties2KHR :: QueueFamilyProperties2
  4665. PhysicalDeviceMemoryProperties2KHR :: PhysicalDeviceMemoryProperties2
  4666. SparseImageFormatProperties2KHR :: SparseImageFormatProperties2
  4667. PhysicalDeviceSparseImageFormatInfo2KHR :: PhysicalDeviceSparseImageFormatInfo2
  4668. PeerMemoryFeatureFlagsKHR :: PeerMemoryFeatureFlags
  4669. PeerMemoryFeatureFlagKHR :: PeerMemoryFeatureFlag
  4670. MemoryAllocateFlagsKHR :: MemoryAllocateFlags
  4671. MemoryAllocateFlagKHR :: MemoryAllocateFlag
  4672. MemoryAllocateFlagsInfoKHR :: MemoryAllocateFlagsInfo
  4673. DeviceGroupRenderPassBeginInfoKHR :: DeviceGroupRenderPassBeginInfo
  4674. DeviceGroupCommandBufferBeginInfoKHR :: DeviceGroupCommandBufferBeginInfo
  4675. DeviceGroupSubmitInfoKHR :: DeviceGroupSubmitInfo
  4676. DeviceGroupBindSparseInfoKHR :: DeviceGroupBindSparseInfo
  4677. BindBufferMemoryDeviceGroupInfoKHR :: BindBufferMemoryDeviceGroupInfo
  4678. BindImageMemoryDeviceGroupInfoKHR :: BindImageMemoryDeviceGroupInfo
  4679. CommandPoolTrimFlagsKHR :: CommandPoolTrimFlags
  4680. PhysicalDeviceGroupPropertiesKHR :: PhysicalDeviceGroupProperties
  4681. DeviceGroupDeviceCreateInfoKHR :: DeviceGroupDeviceCreateInfo
  4682. ExternalMemoryHandleTypeFlagsKHR :: ExternalMemoryHandleTypeFlags
  4683. ExternalMemoryHandleTypeFlagKHR :: ExternalMemoryHandleTypeFlag
  4684. ExternalMemoryFeatureFlagsKHR :: ExternalMemoryFeatureFlags
  4685. ExternalMemoryFeatureFlagKHR :: ExternalMemoryFeatureFlag
  4686. ExternalMemoryPropertiesKHR :: ExternalMemoryProperties
  4687. PhysicalDeviceExternalImageFormatInfoKHR :: PhysicalDeviceExternalImageFormatInfo
  4688. ExternalImageFormatPropertiesKHR :: ExternalImageFormatProperties
  4689. PhysicalDeviceExternalBufferInfoKHR :: PhysicalDeviceExternalBufferInfo
  4690. ExternalBufferPropertiesKHR :: ExternalBufferProperties
  4691. PhysicalDeviceIDPropertiesKHR :: PhysicalDeviceIDProperties
  4692. ExternalMemoryImageCreateInfoKHR :: ExternalMemoryImageCreateInfo
  4693. ExternalMemoryBufferCreateInfoKHR :: ExternalMemoryBufferCreateInfo
  4694. ExportMemoryAllocateInfoKHR :: ExportMemoryAllocateInfo
  4695. ExternalSemaphoreHandleTypeFlagsKHR :: ExternalSemaphoreHandleTypeFlags
  4696. ExternalSemaphoreHandleTypeFlagKHR :: ExternalSemaphoreHandleTypeFlag
  4697. ExternalSemaphoreFeatureFlagsKHR :: ExternalSemaphoreFeatureFlags
  4698. ExternalSemaphoreFeatureFlagKHR :: ExternalSemaphoreFeatureFlag
  4699. PhysicalDeviceExternalSemaphoreInfoKHR :: PhysicalDeviceExternalSemaphoreInfo
  4700. ExternalSemaphorePropertiesKHR :: ExternalSemaphoreProperties
  4701. SemaphoreImportFlagsKHR :: SemaphoreImportFlags
  4702. SemaphoreImportFlagKHR :: SemaphoreImportFlag
  4703. ExportSemaphoreCreateInfoKHR :: ExportSemaphoreCreateInfo
  4704. PhysicalDeviceShaderFloat16Int8FeaturesKHR :: PhysicalDeviceShaderFloat16Int8Features
  4705. PhysicalDeviceFloat16Int8FeaturesKHR :: PhysicalDeviceShaderFloat16Int8Features
  4706. PhysicalDevice16BitStorageFeaturesKHR :: PhysicalDevice16BitStorageFeatures
  4707. DescriptorUpdateTemplateKHR :: DescriptorUpdateTemplate
  4708. DescriptorUpdateTemplateTypeKHR :: DescriptorUpdateTemplateType
  4709. DescriptorUpdateTemplateCreateFlagsKHR :: DescriptorUpdateTemplateCreateFlags
  4710. DescriptorUpdateTemplateEntryKHR :: DescriptorUpdateTemplateEntry
  4711. DescriptorUpdateTemplateCreateInfoKHR :: DescriptorUpdateTemplateCreateInfo
  4712. PhysicalDeviceImagelessFramebufferFeaturesKHR :: PhysicalDeviceImagelessFramebufferFeatures
  4713. FramebufferAttachmentsCreateInfoKHR :: FramebufferAttachmentsCreateInfo
  4714. FramebufferAttachmentImageInfoKHR :: FramebufferAttachmentImageInfo
  4715. RenderPassAttachmentBeginInfoKHR :: RenderPassAttachmentBeginInfo
  4716. RenderPassCreateInfo2KHR :: RenderPassCreateInfo2
  4717. AttachmentDescription2KHR :: AttachmentDescription2
  4718. AttachmentReference2KHR :: AttachmentReference2
  4719. SubpassDescription2KHR :: SubpassDescription2
  4720. SubpassDependency2KHR :: SubpassDependency2
  4721. SubpassBeginInfoKHR :: SubpassBeginInfo
  4722. SubpassEndInfoKHR :: SubpassEndInfo
  4723. ExternalFenceHandleTypeFlagsKHR :: ExternalFenceHandleTypeFlags
  4724. ExternalFenceHandleTypeFlagKHR :: ExternalFenceHandleTypeFlag
  4725. ExternalFenceFeatureFlagsKHR :: ExternalFenceFeatureFlags
  4726. ExternalFenceFeatureFlagKHR :: ExternalFenceFeatureFlag
  4727. PhysicalDeviceExternalFenceInfoKHR :: PhysicalDeviceExternalFenceInfo
  4728. ExternalFencePropertiesKHR :: ExternalFenceProperties
  4729. FenceImportFlagsKHR :: FenceImportFlags
  4730. FenceImportFlagKHR :: FenceImportFlag
  4731. ExportFenceCreateInfoKHR :: ExportFenceCreateInfo
  4732. PointClippingBehaviorKHR :: PointClippingBehavior
  4733. TessellationDomainOriginKHR :: TessellationDomainOrigin
  4734. PhysicalDevicePointClippingPropertiesKHR :: PhysicalDevicePointClippingProperties
  4735. RenderPassInputAttachmentAspectCreateInfoKHR :: RenderPassInputAttachmentAspectCreateInfo
  4736. InputAttachmentAspectReferenceKHR :: InputAttachmentAspectReference
  4737. ImageViewUsageCreateInfoKHR :: ImageViewUsageCreateInfo
  4738. PipelineTessellationDomainOriginStateCreateInfoKHR :: PipelineTessellationDomainOriginStateCreateInfo
  4739. PhysicalDeviceVariablePointerFeaturesKHR :: PhysicalDeviceVariablePointersFeatures
  4740. PhysicalDeviceVariablePointersFeaturesKHR :: PhysicalDeviceVariablePointersFeatures
  4741. MemoryDedicatedRequirementsKHR :: MemoryDedicatedRequirements
  4742. MemoryDedicatedAllocateInfoKHR :: MemoryDedicatedAllocateInfo
  4743. BufferMemoryRequirementsInfo2KHR :: BufferMemoryRequirementsInfo2
  4744. ImageMemoryRequirementsInfo2KHR :: ImageMemoryRequirementsInfo2
  4745. ImageSparseMemoryRequirementsInfo2KHR :: ImageSparseMemoryRequirementsInfo2
  4746. MemoryRequirements2KHR :: MemoryRequirements2
  4747. SparseImageMemoryRequirements2KHR :: SparseImageMemoryRequirements2
  4748. ImageFormatListCreateInfoKHR :: ImageFormatListCreateInfo
  4749. SamplerYcbcrConversionKHR :: SamplerYcbcrConversion
  4750. SamplerYcbcrModelConversionKHR :: SamplerYcbcrModelConversion
  4751. SamplerYcbcrRangeKHR :: SamplerYcbcrRange
  4752. ChromaLocationKHR :: ChromaLocation
  4753. SamplerYcbcrConversionCreateInfoKHR :: SamplerYcbcrConversionCreateInfo
  4754. SamplerYcbcrConversionInfoKHR :: SamplerYcbcrConversionInfo
  4755. BindImagePlaneMemoryInfoKHR :: BindImagePlaneMemoryInfo
  4756. ImagePlaneMemoryRequirementsInfoKHR :: ImagePlaneMemoryRequirementsInfo
  4757. PhysicalDeviceSamplerYcbcrConversionFeaturesKHR :: PhysicalDeviceSamplerYcbcrConversionFeatures
  4758. SamplerYcbcrConversionImageFormatPropertiesKHR :: SamplerYcbcrConversionImageFormatProperties
  4759. BindBufferMemoryInfoKHR :: BindBufferMemoryInfo
  4760. BindImageMemoryInfoKHR :: BindImageMemoryInfo
  4761. PhysicalDeviceMaintenance3PropertiesKHR :: PhysicalDeviceMaintenance3Properties
  4762. DescriptorSetLayoutSupportKHR :: DescriptorSetLayoutSupport
  4763. PhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR :: PhysicalDeviceShaderSubgroupExtendedTypesFeatures
  4764. PhysicalDevice8BitStorageFeaturesKHR :: PhysicalDevice8BitStorageFeatures
  4765. PhysicalDeviceShaderAtomicInt64FeaturesKHR :: PhysicalDeviceShaderAtomicInt64Features
  4766. DriverIdKHR :: DriverId
  4767. ConformanceVersionKHR :: ConformanceVersion
  4768. PhysicalDeviceDriverPropertiesKHR :: PhysicalDeviceDriverProperties
  4769. ShaderFloatControlsIndependenceKHR :: ShaderFloatControlsIndependence
  4770. PhysicalDeviceFloatControlsPropertiesKHR :: PhysicalDeviceFloatControlsProperties
  4771. ResolveModeFlagKHR :: ResolveModeFlag
  4772. ResolveModeFlagsKHR :: ResolveModeFlags
  4773. SubpassDescriptionDepthStencilResolveKHR :: SubpassDescriptionDepthStencilResolve
  4774. PhysicalDeviceDepthStencilResolvePropertiesKHR :: PhysicalDeviceDepthStencilResolveProperties
  4775. SemaphoreTypeKHR :: SemaphoreType
  4776. SemaphoreWaitFlagKHR :: SemaphoreWaitFlag
  4777. SemaphoreWaitFlagsKHR :: SemaphoreWaitFlags
  4778. PhysicalDeviceTimelineSemaphoreFeaturesKHR :: PhysicalDeviceTimelineSemaphoreFeatures
  4779. PhysicalDeviceTimelineSemaphorePropertiesKHR :: PhysicalDeviceTimelineSemaphoreProperties
  4780. SemaphoreTypeCreateInfoKHR :: SemaphoreTypeCreateInfo
  4781. TimelineSemaphoreSubmitInfoKHR :: TimelineSemaphoreSubmitInfo
  4782. SemaphoreWaitInfoKHR :: SemaphoreWaitInfo
  4783. SemaphoreSignalInfoKHR :: SemaphoreSignalInfo
  4784. PhysicalDeviceVulkanMemoryModelFeaturesKHR :: PhysicalDeviceVulkanMemoryModelFeatures
  4785. PhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR :: PhysicalDeviceSeparateDepthStencilLayoutsFeatures
  4786. AttachmentReferenceStencilLayoutKHR :: AttachmentReferenceStencilLayout
  4787. AttachmentDescriptionStencilLayoutKHR :: AttachmentDescriptionStencilLayout
  4788. PhysicalDeviceUniformBufferStandardLayoutFeaturesKHR :: PhysicalDeviceUniformBufferStandardLayoutFeatures
  4789. PhysicalDeviceBufferDeviceAddressFeaturesKHR :: PhysicalDeviceBufferDeviceAddressFeatures
  4790. BufferDeviceAddressInfoKHR :: BufferDeviceAddressInfo
  4791. BufferOpaqueCaptureAddressCreateInfoKHR :: BufferOpaqueCaptureAddressCreateInfo
  4792. MemoryOpaqueCaptureAddressAllocateInfoKHR :: MemoryOpaqueCaptureAddressAllocateInfo
  4793. DeviceMemoryOpaqueCaptureAddressInfoKHR :: DeviceMemoryOpaqueCaptureAddressInfo
  4794. PipelineStageFlags2KHR :: Flags64
  4795. PipelineStageFlag2KHR :: Flags64
  4796. AccessFlags2KHR :: Flags64
  4797. AccessFlag2KHR :: Flags64
  4798. SamplerReductionModeEXT :: SamplerReductionMode
  4799. SamplerReductionModeCreateInfoEXT :: SamplerReductionModeCreateInfo
  4800. PhysicalDeviceSamplerFilterMinmaxPropertiesEXT :: PhysicalDeviceSamplerFilterMinmaxProperties
  4801. DescriptorBindingFlagEXT :: DescriptorBindingFlag
  4802. DescriptorBindingFlagsEXT :: DescriptorBindingFlags
  4803. DescriptorSetLayoutBindingFlagsCreateInfoEXT :: DescriptorSetLayoutBindingFlagsCreateInfo
  4804. PhysicalDeviceDescriptorIndexingFeaturesEXT :: PhysicalDeviceDescriptorIndexingFeatures
  4805. PhysicalDeviceDescriptorIndexingPropertiesEXT :: PhysicalDeviceDescriptorIndexingProperties
  4806. DescriptorSetVariableDescriptorCountAllocateInfoEXT :: DescriptorSetVariableDescriptorCountAllocateInfo
  4807. DescriptorSetVariableDescriptorCountLayoutSupportEXT :: DescriptorSetVariableDescriptorCountLayoutSupport
  4808. RayTracingShaderGroupTypeNV :: RayTracingShaderGroupTypeKHR
  4809. GeometryTypeNV :: GeometryTypeKHR
  4810. AccelerationStructureTypeNV :: AccelerationStructureTypeKHR
  4811. CopyAccelerationStructureModeNV :: CopyAccelerationStructureModeKHR
  4812. GeometryFlagsNV :: GeometryFlagsKHR
  4813. GeometryFlagNV :: GeometryFlagKHR
  4814. GeometryInstanceFlagsNV :: GeometryInstanceFlagsKHR
  4815. GeometryInstanceFlagNV :: GeometryInstanceFlagKHR
  4816. BuildAccelerationStructureFlagsNV :: BuildAccelerationStructureFlagsKHR
  4817. BuildAccelerationStructureFlagNV :: BuildAccelerationStructureFlagKHR
  4818. TransformMatrixNV :: TransformMatrixKHR
  4819. AabbPositionsNV :: AabbPositionsKHR
  4820. AccelerationStructureInstanceNV :: AccelerationStructureInstanceKHR
  4821. QueryPoolCreateInfoINTEL :: QueryPoolPerformanceQueryCreateInfoINTEL
  4822. PhysicalDeviceScalarBlockLayoutFeaturesEXT :: PhysicalDeviceScalarBlockLayoutFeatures
  4823. PhysicalDeviceBufferAddressFeaturesEXT :: PhysicalDeviceBufferDeviceAddressFeaturesEXT
  4824. BufferDeviceAddressInfoEXT :: BufferDeviceAddressInfo
  4825. ImageStencilUsageCreateInfoEXT :: ImageStencilUsageCreateInfo
  4826. PhysicalDeviceHostQueryResetFeaturesEXT :: PhysicalDeviceHostQueryResetFeatures