2
0

structs.odin 185 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865
  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. PhysicalDeviceVulkan13Features :: struct {
  1939. sType: StructureType,
  1940. pNext: rawptr,
  1941. robustImageAccess: b32,
  1942. inlineUniformBlock: b32,
  1943. descriptorBindingInlineUniformBlockUpdateAfterBind: b32,
  1944. pipelineCreationCacheControl: b32,
  1945. privateData: b32,
  1946. shaderDemoteToHelperInvocation: b32,
  1947. shaderTerminateInvocation: b32,
  1948. subgroupSizeControl: b32,
  1949. computeFullSubgroups: b32,
  1950. synchronization2: b32,
  1951. textureCompressionASTC_HDR: b32,
  1952. shaderZeroInitializeWorkgroupMemory: b32,
  1953. dynamicRendering: b32,
  1954. shaderIntegerDotProduct: b32,
  1955. maintenance4: b32,
  1956. }
  1957. PhysicalDeviceVulkan13Properties :: struct {
  1958. sType: StructureType,
  1959. pNext: rawptr,
  1960. minSubgroupSize: u32,
  1961. maxSubgroupSize: u32,
  1962. maxComputeWorkgroupSubgroups: u32,
  1963. requiredSubgroupSizeStages: ShaderStageFlags,
  1964. maxInlineUniformBlockSize: u32,
  1965. maxPerStageDescriptorInlineUniformBlocks: u32,
  1966. maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks: u32,
  1967. maxDescriptorSetInlineUniformBlocks: u32,
  1968. maxDescriptorSetUpdateAfterBindInlineUniformBlocks: u32,
  1969. maxInlineUniformTotalSize: u32,
  1970. integerDotProduct8BitUnsignedAccelerated: b32,
  1971. integerDotProduct8BitSignedAccelerated: b32,
  1972. integerDotProduct8BitMixedSignednessAccelerated: b32,
  1973. integerDotProduct4x8BitPackedUnsignedAccelerated: b32,
  1974. integerDotProduct4x8BitPackedSignedAccelerated: b32,
  1975. integerDotProduct4x8BitPackedMixedSignednessAccelerated: b32,
  1976. integerDotProduct16BitUnsignedAccelerated: b32,
  1977. integerDotProduct16BitSignedAccelerated: b32,
  1978. integerDotProduct16BitMixedSignednessAccelerated: b32,
  1979. integerDotProduct32BitUnsignedAccelerated: b32,
  1980. integerDotProduct32BitSignedAccelerated: b32,
  1981. integerDotProduct32BitMixedSignednessAccelerated: b32,
  1982. integerDotProduct64BitUnsignedAccelerated: b32,
  1983. integerDotProduct64BitSignedAccelerated: b32,
  1984. integerDotProduct64BitMixedSignednessAccelerated: b32,
  1985. integerDotProductAccumulatingSaturating8BitUnsignedAccelerated: b32,
  1986. integerDotProductAccumulatingSaturating8BitSignedAccelerated: b32,
  1987. integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated: b32,
  1988. integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated: b32,
  1989. integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated: b32,
  1990. integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated: b32,
  1991. integerDotProductAccumulatingSaturating16BitUnsignedAccelerated: b32,
  1992. integerDotProductAccumulatingSaturating16BitSignedAccelerated: b32,
  1993. integerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated: b32,
  1994. integerDotProductAccumulatingSaturating32BitUnsignedAccelerated: b32,
  1995. integerDotProductAccumulatingSaturating32BitSignedAccelerated: b32,
  1996. integerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated: b32,
  1997. integerDotProductAccumulatingSaturating64BitUnsignedAccelerated: b32,
  1998. integerDotProductAccumulatingSaturating64BitSignedAccelerated: b32,
  1999. integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated: b32,
  2000. storageTexelBufferOffsetAlignmentBytes: DeviceSize,
  2001. storageTexelBufferOffsetSingleTexelAlignment: b32,
  2002. uniformTexelBufferOffsetAlignmentBytes: DeviceSize,
  2003. uniformTexelBufferOffsetSingleTexelAlignment: b32,
  2004. maxBufferSize: DeviceSize,
  2005. }
  2006. PipelineCreationFeedback :: struct {
  2007. flags: PipelineCreationFeedbackFlags,
  2008. duration: u64,
  2009. }
  2010. PipelineCreationFeedbackCreateInfo :: struct {
  2011. sType: StructureType,
  2012. pNext: rawptr,
  2013. pPipelineCreationFeedback: ^PipelineCreationFeedback,
  2014. pipelineStageCreationFeedbackCount: u32,
  2015. pPipelineStageCreationFeedbacks: [^]PipelineCreationFeedback,
  2016. }
  2017. PhysicalDeviceShaderTerminateInvocationFeatures :: struct {
  2018. sType: StructureType,
  2019. pNext: rawptr,
  2020. shaderTerminateInvocation: b32,
  2021. }
  2022. PhysicalDeviceToolProperties :: struct {
  2023. sType: StructureType,
  2024. pNext: rawptr,
  2025. name: [MAX_EXTENSION_NAME_SIZE]byte,
  2026. version: [MAX_EXTENSION_NAME_SIZE]byte,
  2027. purposes: ToolPurposeFlags,
  2028. description: [MAX_DESCRIPTION_SIZE]byte,
  2029. layer: [MAX_EXTENSION_NAME_SIZE]byte,
  2030. }
  2031. PhysicalDeviceShaderDemoteToHelperInvocationFeatures :: struct {
  2032. sType: StructureType,
  2033. pNext: rawptr,
  2034. shaderDemoteToHelperInvocation: b32,
  2035. }
  2036. PhysicalDevicePrivateDataFeatures :: struct {
  2037. sType: StructureType,
  2038. pNext: rawptr,
  2039. privateData: b32,
  2040. }
  2041. DevicePrivateDataCreateInfo :: struct {
  2042. sType: StructureType,
  2043. pNext: rawptr,
  2044. privateDataSlotRequestCount: u32,
  2045. }
  2046. PrivateDataSlotCreateInfo :: struct {
  2047. sType: StructureType,
  2048. pNext: rawptr,
  2049. flags: PrivateDataSlotCreateFlags,
  2050. }
  2051. PhysicalDevicePipelineCreationCacheControlFeatures :: struct {
  2052. sType: StructureType,
  2053. pNext: rawptr,
  2054. pipelineCreationCacheControl: b32,
  2055. }
  2056. MemoryBarrier2 :: struct {
  2057. sType: StructureType,
  2058. pNext: rawptr,
  2059. srcStageMask: PipelineStageFlags2,
  2060. srcAccessMask: AccessFlags2,
  2061. dstStageMask: PipelineStageFlags2,
  2062. dstAccessMask: AccessFlags2,
  2063. }
  2064. BufferMemoryBarrier2 :: struct {
  2065. sType: StructureType,
  2066. pNext: rawptr,
  2067. srcStageMask: PipelineStageFlags2,
  2068. srcAccessMask: AccessFlags2,
  2069. dstStageMask: PipelineStageFlags2,
  2070. dstAccessMask: AccessFlags2,
  2071. srcQueueFamilyIndex: u32,
  2072. dstQueueFamilyIndex: u32,
  2073. buffer: Buffer,
  2074. offset: DeviceSize,
  2075. size: DeviceSize,
  2076. }
  2077. ImageMemoryBarrier2 :: struct {
  2078. sType: StructureType,
  2079. pNext: rawptr,
  2080. srcStageMask: PipelineStageFlags2,
  2081. srcAccessMask: AccessFlags2,
  2082. dstStageMask: PipelineStageFlags2,
  2083. dstAccessMask: AccessFlags2,
  2084. oldLayout: ImageLayout,
  2085. newLayout: ImageLayout,
  2086. srcQueueFamilyIndex: u32,
  2087. dstQueueFamilyIndex: u32,
  2088. image: Image,
  2089. subresourceRange: ImageSubresourceRange,
  2090. }
  2091. DependencyInfo :: struct {
  2092. sType: StructureType,
  2093. pNext: rawptr,
  2094. dependencyFlags: DependencyFlags,
  2095. memoryBarrierCount: u32,
  2096. pMemoryBarriers: [^]MemoryBarrier2,
  2097. bufferMemoryBarrierCount: u32,
  2098. pBufferMemoryBarriers: [^]BufferMemoryBarrier2,
  2099. imageMemoryBarrierCount: u32,
  2100. pImageMemoryBarriers: [^]ImageMemoryBarrier2,
  2101. }
  2102. SemaphoreSubmitInfo :: struct {
  2103. sType: StructureType,
  2104. pNext: rawptr,
  2105. semaphore: Semaphore,
  2106. value: u64,
  2107. stageMask: PipelineStageFlags2,
  2108. deviceIndex: u32,
  2109. }
  2110. CommandBufferSubmitInfo :: struct {
  2111. sType: StructureType,
  2112. pNext: rawptr,
  2113. commandBuffer: CommandBuffer,
  2114. deviceMask: u32,
  2115. }
  2116. SubmitInfo2 :: struct {
  2117. sType: StructureType,
  2118. pNext: rawptr,
  2119. flags: SubmitFlags,
  2120. waitSemaphoreInfoCount: u32,
  2121. pWaitSemaphoreInfos: [^]SemaphoreSubmitInfo,
  2122. commandBufferInfoCount: u32,
  2123. pCommandBufferInfos: [^]CommandBufferSubmitInfo,
  2124. signalSemaphoreInfoCount: u32,
  2125. pSignalSemaphoreInfos: [^]SemaphoreSubmitInfo,
  2126. }
  2127. PhysicalDeviceSynchronization2Features :: struct {
  2128. sType: StructureType,
  2129. pNext: rawptr,
  2130. synchronization2: b32,
  2131. }
  2132. PhysicalDeviceZeroInitializeWorkgroupMemoryFeatures :: struct {
  2133. sType: StructureType,
  2134. pNext: rawptr,
  2135. shaderZeroInitializeWorkgroupMemory: b32,
  2136. }
  2137. PhysicalDeviceImageRobustnessFeatures :: struct {
  2138. sType: StructureType,
  2139. pNext: rawptr,
  2140. robustImageAccess: b32,
  2141. }
  2142. BufferCopy2 :: struct {
  2143. sType: StructureType,
  2144. pNext: rawptr,
  2145. srcOffset: DeviceSize,
  2146. dstOffset: DeviceSize,
  2147. size: DeviceSize,
  2148. }
  2149. CopyBufferInfo2 :: struct {
  2150. sType: StructureType,
  2151. pNext: rawptr,
  2152. srcBuffer: Buffer,
  2153. dstBuffer: Buffer,
  2154. regionCount: u32,
  2155. pRegions: [^]BufferCopy2,
  2156. }
  2157. ImageCopy2 :: struct {
  2158. sType: StructureType,
  2159. pNext: rawptr,
  2160. srcSubresource: ImageSubresourceLayers,
  2161. srcOffset: Offset3D,
  2162. dstSubresource: ImageSubresourceLayers,
  2163. dstOffset: Offset3D,
  2164. extent: Extent3D,
  2165. }
  2166. CopyImageInfo2 :: struct {
  2167. sType: StructureType,
  2168. pNext: rawptr,
  2169. srcImage: Image,
  2170. srcImageLayout: ImageLayout,
  2171. dstImage: Image,
  2172. dstImageLayout: ImageLayout,
  2173. regionCount: u32,
  2174. pRegions: [^]ImageCopy2,
  2175. }
  2176. BufferImageCopy2 :: struct {
  2177. sType: StructureType,
  2178. pNext: rawptr,
  2179. bufferOffset: DeviceSize,
  2180. bufferRowLength: u32,
  2181. bufferImageHeight: u32,
  2182. imageSubresource: ImageSubresourceLayers,
  2183. imageOffset: Offset3D,
  2184. imageExtent: Extent3D,
  2185. }
  2186. CopyBufferToImageInfo2 :: struct {
  2187. sType: StructureType,
  2188. pNext: rawptr,
  2189. srcBuffer: Buffer,
  2190. dstImage: Image,
  2191. dstImageLayout: ImageLayout,
  2192. regionCount: u32,
  2193. pRegions: [^]BufferImageCopy2,
  2194. }
  2195. CopyImageToBufferInfo2 :: struct {
  2196. sType: StructureType,
  2197. pNext: rawptr,
  2198. srcImage: Image,
  2199. srcImageLayout: ImageLayout,
  2200. dstBuffer: Buffer,
  2201. regionCount: u32,
  2202. pRegions: [^]BufferImageCopy2,
  2203. }
  2204. ImageBlit2 :: struct {
  2205. sType: StructureType,
  2206. pNext: rawptr,
  2207. srcSubresource: ImageSubresourceLayers,
  2208. srcOffsets: [2]Offset3D,
  2209. dstSubresource: ImageSubresourceLayers,
  2210. dstOffsets: [2]Offset3D,
  2211. }
  2212. BlitImageInfo2 :: struct {
  2213. sType: StructureType,
  2214. pNext: rawptr,
  2215. srcImage: Image,
  2216. srcImageLayout: ImageLayout,
  2217. dstImage: Image,
  2218. dstImageLayout: ImageLayout,
  2219. regionCount: u32,
  2220. pRegions: [^]ImageBlit2,
  2221. filter: Filter,
  2222. }
  2223. ImageResolve2 :: struct {
  2224. sType: StructureType,
  2225. pNext: rawptr,
  2226. srcSubresource: ImageSubresourceLayers,
  2227. srcOffset: Offset3D,
  2228. dstSubresource: ImageSubresourceLayers,
  2229. dstOffset: Offset3D,
  2230. extent: Extent3D,
  2231. }
  2232. ResolveImageInfo2 :: struct {
  2233. sType: StructureType,
  2234. pNext: rawptr,
  2235. srcImage: Image,
  2236. srcImageLayout: ImageLayout,
  2237. dstImage: Image,
  2238. dstImageLayout: ImageLayout,
  2239. regionCount: u32,
  2240. pRegions: [^]ImageResolve2,
  2241. }
  2242. PhysicalDeviceSubgroupSizeControlFeatures :: struct {
  2243. sType: StructureType,
  2244. pNext: rawptr,
  2245. subgroupSizeControl: b32,
  2246. computeFullSubgroups: b32,
  2247. }
  2248. PhysicalDeviceSubgroupSizeControlProperties :: struct {
  2249. sType: StructureType,
  2250. pNext: rawptr,
  2251. minSubgroupSize: u32,
  2252. maxSubgroupSize: u32,
  2253. maxComputeWorkgroupSubgroups: u32,
  2254. requiredSubgroupSizeStages: ShaderStageFlags,
  2255. }
  2256. PipelineShaderStageRequiredSubgroupSizeCreateInfo :: struct {
  2257. sType: StructureType,
  2258. pNext: rawptr,
  2259. requiredSubgroupSize: u32,
  2260. }
  2261. PhysicalDeviceInlineUniformBlockFeatures :: struct {
  2262. sType: StructureType,
  2263. pNext: rawptr,
  2264. inlineUniformBlock: b32,
  2265. descriptorBindingInlineUniformBlockUpdateAfterBind: b32,
  2266. }
  2267. PhysicalDeviceInlineUniformBlockProperties :: struct {
  2268. sType: StructureType,
  2269. pNext: rawptr,
  2270. maxInlineUniformBlockSize: u32,
  2271. maxPerStageDescriptorInlineUniformBlocks: u32,
  2272. maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks: u32,
  2273. maxDescriptorSetInlineUniformBlocks: u32,
  2274. maxDescriptorSetUpdateAfterBindInlineUniformBlocks: u32,
  2275. }
  2276. WriteDescriptorSetInlineUniformBlock :: struct {
  2277. sType: StructureType,
  2278. pNext: rawptr,
  2279. dataSize: u32,
  2280. pData: rawptr,
  2281. }
  2282. DescriptorPoolInlineUniformBlockCreateInfo :: struct {
  2283. sType: StructureType,
  2284. pNext: rawptr,
  2285. maxInlineUniformBlockBindings: u32,
  2286. }
  2287. PhysicalDeviceTextureCompressionASTCHDRFeatures :: struct {
  2288. sType: StructureType,
  2289. pNext: rawptr,
  2290. textureCompressionASTC_HDR: b32,
  2291. }
  2292. RenderingAttachmentInfo :: struct {
  2293. sType: StructureType,
  2294. pNext: rawptr,
  2295. imageView: ImageView,
  2296. imageLayout: ImageLayout,
  2297. resolveMode: ResolveModeFlags,
  2298. resolveImageView: ImageView,
  2299. resolveImageLayout: ImageLayout,
  2300. loadOp: AttachmentLoadOp,
  2301. storeOp: AttachmentStoreOp,
  2302. clearValue: ClearValue,
  2303. }
  2304. RenderingInfo :: struct {
  2305. sType: StructureType,
  2306. pNext: rawptr,
  2307. flags: RenderingFlags,
  2308. renderArea: Rect2D,
  2309. layerCount: u32,
  2310. viewMask: u32,
  2311. colorAttachmentCount: u32,
  2312. pColorAttachments: [^]RenderingAttachmentInfo,
  2313. pDepthAttachment: ^RenderingAttachmentInfo,
  2314. pStencilAttachment: ^RenderingAttachmentInfo,
  2315. }
  2316. PipelineRenderingCreateInfo :: struct {
  2317. sType: StructureType,
  2318. pNext: rawptr,
  2319. viewMask: u32,
  2320. colorAttachmentCount: u32,
  2321. pColorAttachmentFormats: [^]Format,
  2322. depthAttachmentFormat: Format,
  2323. stencilAttachmentFormat: Format,
  2324. }
  2325. PhysicalDeviceDynamicRenderingFeatures :: struct {
  2326. sType: StructureType,
  2327. pNext: rawptr,
  2328. dynamicRendering: b32,
  2329. }
  2330. CommandBufferInheritanceRenderingInfo :: struct {
  2331. sType: StructureType,
  2332. pNext: rawptr,
  2333. flags: RenderingFlags,
  2334. viewMask: u32,
  2335. colorAttachmentCount: u32,
  2336. pColorAttachmentFormats: [^]Format,
  2337. depthAttachmentFormat: Format,
  2338. stencilAttachmentFormat: Format,
  2339. rasterizationSamples: SampleCountFlags,
  2340. }
  2341. PhysicalDeviceShaderIntegerDotProductFeatures :: struct {
  2342. sType: StructureType,
  2343. pNext: rawptr,
  2344. shaderIntegerDotProduct: b32,
  2345. }
  2346. PhysicalDeviceShaderIntegerDotProductProperties :: struct {
  2347. sType: StructureType,
  2348. pNext: rawptr,
  2349. integerDotProduct8BitUnsignedAccelerated: b32,
  2350. integerDotProduct8BitSignedAccelerated: b32,
  2351. integerDotProduct8BitMixedSignednessAccelerated: b32,
  2352. integerDotProduct4x8BitPackedUnsignedAccelerated: b32,
  2353. integerDotProduct4x8BitPackedSignedAccelerated: b32,
  2354. integerDotProduct4x8BitPackedMixedSignednessAccelerated: b32,
  2355. integerDotProduct16BitUnsignedAccelerated: b32,
  2356. integerDotProduct16BitSignedAccelerated: b32,
  2357. integerDotProduct16BitMixedSignednessAccelerated: b32,
  2358. integerDotProduct32BitUnsignedAccelerated: b32,
  2359. integerDotProduct32BitSignedAccelerated: b32,
  2360. integerDotProduct32BitMixedSignednessAccelerated: b32,
  2361. integerDotProduct64BitUnsignedAccelerated: b32,
  2362. integerDotProduct64BitSignedAccelerated: b32,
  2363. integerDotProduct64BitMixedSignednessAccelerated: b32,
  2364. integerDotProductAccumulatingSaturating8BitUnsignedAccelerated: b32,
  2365. integerDotProductAccumulatingSaturating8BitSignedAccelerated: b32,
  2366. integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated: b32,
  2367. integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated: b32,
  2368. integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated: b32,
  2369. integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated: b32,
  2370. integerDotProductAccumulatingSaturating16BitUnsignedAccelerated: b32,
  2371. integerDotProductAccumulatingSaturating16BitSignedAccelerated: b32,
  2372. integerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated: b32,
  2373. integerDotProductAccumulatingSaturating32BitUnsignedAccelerated: b32,
  2374. integerDotProductAccumulatingSaturating32BitSignedAccelerated: b32,
  2375. integerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated: b32,
  2376. integerDotProductAccumulatingSaturating64BitUnsignedAccelerated: b32,
  2377. integerDotProductAccumulatingSaturating64BitSignedAccelerated: b32,
  2378. integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated: b32,
  2379. }
  2380. PhysicalDeviceTexelBufferAlignmentProperties :: struct {
  2381. sType: StructureType,
  2382. pNext: rawptr,
  2383. storageTexelBufferOffsetAlignmentBytes: DeviceSize,
  2384. storageTexelBufferOffsetSingleTexelAlignment: b32,
  2385. uniformTexelBufferOffsetAlignmentBytes: DeviceSize,
  2386. uniformTexelBufferOffsetSingleTexelAlignment: b32,
  2387. }
  2388. FormatProperties3 :: struct {
  2389. sType: StructureType,
  2390. pNext: rawptr,
  2391. linearTilingFeatures: FormatFeatureFlags2,
  2392. optimalTilingFeatures: FormatFeatureFlags2,
  2393. bufferFeatures: FormatFeatureFlags2,
  2394. }
  2395. PhysicalDeviceMaintenance4Features :: struct {
  2396. sType: StructureType,
  2397. pNext: rawptr,
  2398. maintenance4: b32,
  2399. }
  2400. PhysicalDeviceMaintenance4Properties :: struct {
  2401. sType: StructureType,
  2402. pNext: rawptr,
  2403. maxBufferSize: DeviceSize,
  2404. }
  2405. DeviceBufferMemoryRequirements :: struct {
  2406. sType: StructureType,
  2407. pNext: rawptr,
  2408. pCreateInfo: ^BufferCreateInfo,
  2409. }
  2410. DeviceImageMemoryRequirements :: struct {
  2411. sType: StructureType,
  2412. pNext: rawptr,
  2413. pCreateInfo: ^ImageCreateInfo,
  2414. planeAspect: ImageAspectFlags,
  2415. }
  2416. SurfaceCapabilitiesKHR :: struct {
  2417. minImageCount: u32,
  2418. maxImageCount: u32,
  2419. currentExtent: Extent2D,
  2420. minImageExtent: Extent2D,
  2421. maxImageExtent: Extent2D,
  2422. maxImageArrayLayers: u32,
  2423. supportedTransforms: SurfaceTransformFlagsKHR,
  2424. currentTransform: SurfaceTransformFlagsKHR,
  2425. supportedCompositeAlpha: CompositeAlphaFlagsKHR,
  2426. supportedUsageFlags: ImageUsageFlags,
  2427. }
  2428. SurfaceFormatKHR :: struct {
  2429. format: Format,
  2430. colorSpace: ColorSpaceKHR,
  2431. }
  2432. SwapchainCreateInfoKHR :: struct {
  2433. sType: StructureType,
  2434. pNext: rawptr,
  2435. flags: SwapchainCreateFlagsKHR,
  2436. surface: SurfaceKHR,
  2437. minImageCount: u32,
  2438. imageFormat: Format,
  2439. imageColorSpace: ColorSpaceKHR,
  2440. imageExtent: Extent2D,
  2441. imageArrayLayers: u32,
  2442. imageUsage: ImageUsageFlags,
  2443. imageSharingMode: SharingMode,
  2444. queueFamilyIndexCount: u32,
  2445. pQueueFamilyIndices: [^]u32,
  2446. preTransform: SurfaceTransformFlagsKHR,
  2447. compositeAlpha: CompositeAlphaFlagsKHR,
  2448. presentMode: PresentModeKHR,
  2449. clipped: b32,
  2450. oldSwapchain: SwapchainKHR,
  2451. }
  2452. PresentInfoKHR :: struct {
  2453. sType: StructureType,
  2454. pNext: rawptr,
  2455. waitSemaphoreCount: u32,
  2456. pWaitSemaphores: [^]Semaphore,
  2457. swapchainCount: u32,
  2458. pSwapchains: [^]SwapchainKHR,
  2459. pImageIndices: [^]u32,
  2460. pResults: [^]Result,
  2461. }
  2462. ImageSwapchainCreateInfoKHR :: struct {
  2463. sType: StructureType,
  2464. pNext: rawptr,
  2465. swapchain: SwapchainKHR,
  2466. }
  2467. BindImageMemorySwapchainInfoKHR :: struct {
  2468. sType: StructureType,
  2469. pNext: rawptr,
  2470. swapchain: SwapchainKHR,
  2471. imageIndex: u32,
  2472. }
  2473. AcquireNextImageInfoKHR :: struct {
  2474. sType: StructureType,
  2475. pNext: rawptr,
  2476. swapchain: SwapchainKHR,
  2477. timeout: u64,
  2478. semaphore: Semaphore,
  2479. fence: Fence,
  2480. deviceMask: u32,
  2481. }
  2482. DeviceGroupPresentCapabilitiesKHR :: struct {
  2483. sType: StructureType,
  2484. pNext: rawptr,
  2485. presentMask: [MAX_DEVICE_GROUP_SIZE]u32,
  2486. modes: DeviceGroupPresentModeFlagsKHR,
  2487. }
  2488. DeviceGroupPresentInfoKHR :: struct {
  2489. sType: StructureType,
  2490. pNext: rawptr,
  2491. swapchainCount: u32,
  2492. pDeviceMasks: [^]u32,
  2493. mode: DeviceGroupPresentModeFlagsKHR,
  2494. }
  2495. DeviceGroupSwapchainCreateInfoKHR :: struct {
  2496. sType: StructureType,
  2497. pNext: rawptr,
  2498. modes: DeviceGroupPresentModeFlagsKHR,
  2499. }
  2500. DisplayModeParametersKHR :: struct {
  2501. visibleRegion: Extent2D,
  2502. refreshRate: u32,
  2503. }
  2504. DisplayModeCreateInfoKHR :: struct {
  2505. sType: StructureType,
  2506. pNext: rawptr,
  2507. flags: DisplayModeCreateFlagsKHR,
  2508. parameters: DisplayModeParametersKHR,
  2509. }
  2510. DisplayModePropertiesKHR :: struct {
  2511. displayMode: DisplayModeKHR,
  2512. parameters: DisplayModeParametersKHR,
  2513. }
  2514. DisplayPlaneCapabilitiesKHR :: struct {
  2515. supportedAlpha: DisplayPlaneAlphaFlagsKHR,
  2516. minSrcPosition: Offset2D,
  2517. maxSrcPosition: Offset2D,
  2518. minSrcExtent: Extent2D,
  2519. maxSrcExtent: Extent2D,
  2520. minDstPosition: Offset2D,
  2521. maxDstPosition: Offset2D,
  2522. minDstExtent: Extent2D,
  2523. maxDstExtent: Extent2D,
  2524. }
  2525. DisplayPlanePropertiesKHR :: struct {
  2526. currentDisplay: DisplayKHR,
  2527. currentStackIndex: u32,
  2528. }
  2529. DisplayPropertiesKHR :: struct {
  2530. display: DisplayKHR,
  2531. displayName: cstring,
  2532. physicalDimensions: Extent2D,
  2533. physicalResolution: Extent2D,
  2534. supportedTransforms: SurfaceTransformFlagsKHR,
  2535. planeReorderPossible: b32,
  2536. persistentContent: b32,
  2537. }
  2538. DisplaySurfaceCreateInfoKHR :: struct {
  2539. sType: StructureType,
  2540. pNext: rawptr,
  2541. flags: DisplaySurfaceCreateFlagsKHR,
  2542. displayMode: DisplayModeKHR,
  2543. planeIndex: u32,
  2544. planeStackIndex: u32,
  2545. transform: SurfaceTransformFlagsKHR,
  2546. globalAlpha: f32,
  2547. alphaMode: DisplayPlaneAlphaFlagsKHR,
  2548. imageExtent: Extent2D,
  2549. }
  2550. DisplayPresentInfoKHR :: struct {
  2551. sType: StructureType,
  2552. pNext: rawptr,
  2553. srcRect: Rect2D,
  2554. dstRect: Rect2D,
  2555. persistent: b32,
  2556. }
  2557. RenderingFragmentShadingRateAttachmentInfoKHR :: struct {
  2558. sType: StructureType,
  2559. pNext: rawptr,
  2560. imageView: ImageView,
  2561. imageLayout: ImageLayout,
  2562. shadingRateAttachmentTexelSize: Extent2D,
  2563. }
  2564. RenderingFragmentDensityMapAttachmentInfoEXT :: struct {
  2565. sType: StructureType,
  2566. pNext: rawptr,
  2567. imageView: ImageView,
  2568. imageLayout: ImageLayout,
  2569. }
  2570. AttachmentSampleCountInfoAMD :: struct {
  2571. sType: StructureType,
  2572. pNext: rawptr,
  2573. colorAttachmentCount: u32,
  2574. pColorAttachmentSamples: [^]SampleCountFlags,
  2575. depthStencilAttachmentSamples: SampleCountFlags,
  2576. }
  2577. MultiviewPerViewAttributesInfoNVX :: struct {
  2578. sType: StructureType,
  2579. pNext: rawptr,
  2580. perViewAttributes: b32,
  2581. perViewAttributesPositionXOnly: b32,
  2582. }
  2583. ImportMemoryFdInfoKHR :: struct {
  2584. sType: StructureType,
  2585. pNext: rawptr,
  2586. handleType: ExternalMemoryHandleTypeFlags,
  2587. fd: c.int,
  2588. }
  2589. MemoryFdPropertiesKHR :: struct {
  2590. sType: StructureType,
  2591. pNext: rawptr,
  2592. memoryTypeBits: u32,
  2593. }
  2594. MemoryGetFdInfoKHR :: struct {
  2595. sType: StructureType,
  2596. pNext: rawptr,
  2597. memory: DeviceMemory,
  2598. handleType: ExternalMemoryHandleTypeFlags,
  2599. }
  2600. ImportSemaphoreFdInfoKHR :: struct {
  2601. sType: StructureType,
  2602. pNext: rawptr,
  2603. semaphore: Semaphore,
  2604. flags: SemaphoreImportFlags,
  2605. handleType: ExternalSemaphoreHandleTypeFlags,
  2606. fd: c.int,
  2607. }
  2608. SemaphoreGetFdInfoKHR :: struct {
  2609. sType: StructureType,
  2610. pNext: rawptr,
  2611. semaphore: Semaphore,
  2612. handleType: ExternalSemaphoreHandleTypeFlags,
  2613. }
  2614. PhysicalDevicePushDescriptorPropertiesKHR :: struct {
  2615. sType: StructureType,
  2616. pNext: rawptr,
  2617. maxPushDescriptors: u32,
  2618. }
  2619. RectLayerKHR :: struct {
  2620. offset: Offset2D,
  2621. extent: Extent2D,
  2622. layer: u32,
  2623. }
  2624. PresentRegionKHR :: struct {
  2625. rectangleCount: u32,
  2626. pRectangles: [^]RectLayerKHR,
  2627. }
  2628. PresentRegionsKHR :: struct {
  2629. sType: StructureType,
  2630. pNext: rawptr,
  2631. swapchainCount: u32,
  2632. pRegions: [^]PresentRegionKHR,
  2633. }
  2634. SharedPresentSurfaceCapabilitiesKHR :: struct {
  2635. sType: StructureType,
  2636. pNext: rawptr,
  2637. sharedPresentSupportedUsageFlags: ImageUsageFlags,
  2638. }
  2639. ImportFenceFdInfoKHR :: struct {
  2640. sType: StructureType,
  2641. pNext: rawptr,
  2642. fence: Fence,
  2643. flags: FenceImportFlags,
  2644. handleType: ExternalFenceHandleTypeFlags,
  2645. fd: c.int,
  2646. }
  2647. FenceGetFdInfoKHR :: struct {
  2648. sType: StructureType,
  2649. pNext: rawptr,
  2650. fence: Fence,
  2651. handleType: ExternalFenceHandleTypeFlags,
  2652. }
  2653. PhysicalDevicePerformanceQueryFeaturesKHR :: struct {
  2654. sType: StructureType,
  2655. pNext: rawptr,
  2656. performanceCounterQueryPools: b32,
  2657. performanceCounterMultipleQueryPools: b32,
  2658. }
  2659. PhysicalDevicePerformanceQueryPropertiesKHR :: struct {
  2660. sType: StructureType,
  2661. pNext: rawptr,
  2662. allowCommandBufferQueryCopies: b32,
  2663. }
  2664. PerformanceCounterKHR :: struct {
  2665. sType: StructureType,
  2666. pNext: rawptr,
  2667. unit: PerformanceCounterUnitKHR,
  2668. scope: PerformanceCounterScopeKHR,
  2669. storage: PerformanceCounterStorageKHR,
  2670. uuid: [UUID_SIZE]u8,
  2671. }
  2672. PerformanceCounterDescriptionKHR :: struct {
  2673. sType: StructureType,
  2674. pNext: rawptr,
  2675. flags: PerformanceCounterDescriptionFlagsKHR,
  2676. name: [MAX_DESCRIPTION_SIZE]byte,
  2677. category: [MAX_DESCRIPTION_SIZE]byte,
  2678. description: [MAX_DESCRIPTION_SIZE]byte,
  2679. }
  2680. QueryPoolPerformanceCreateInfoKHR :: struct {
  2681. sType: StructureType,
  2682. pNext: rawptr,
  2683. queueFamilyIndex: u32,
  2684. counterIndexCount: u32,
  2685. pCounterIndices: [^]u32,
  2686. }
  2687. PerformanceCounterResultKHR :: struct #raw_union {
  2688. int32: i32,
  2689. int64: i64,
  2690. uint32: u32,
  2691. uint64: u64,
  2692. float32: f32,
  2693. float64: f64,
  2694. }
  2695. AcquireProfilingLockInfoKHR :: struct {
  2696. sType: StructureType,
  2697. pNext: rawptr,
  2698. flags: AcquireProfilingLockFlagsKHR,
  2699. timeout: u64,
  2700. }
  2701. PerformanceQuerySubmitInfoKHR :: struct {
  2702. sType: StructureType,
  2703. pNext: rawptr,
  2704. counterPassIndex: u32,
  2705. }
  2706. PhysicalDeviceSurfaceInfo2KHR :: struct {
  2707. sType: StructureType,
  2708. pNext: rawptr,
  2709. surface: SurfaceKHR,
  2710. }
  2711. SurfaceCapabilities2KHR :: struct {
  2712. sType: StructureType,
  2713. pNext: rawptr,
  2714. surfaceCapabilities: SurfaceCapabilitiesKHR,
  2715. }
  2716. SurfaceFormat2KHR :: struct {
  2717. sType: StructureType,
  2718. pNext: rawptr,
  2719. surfaceFormat: SurfaceFormatKHR,
  2720. }
  2721. DisplayProperties2KHR :: struct {
  2722. sType: StructureType,
  2723. pNext: rawptr,
  2724. displayProperties: DisplayPropertiesKHR,
  2725. }
  2726. DisplayPlaneProperties2KHR :: struct {
  2727. sType: StructureType,
  2728. pNext: rawptr,
  2729. displayPlaneProperties: DisplayPlanePropertiesKHR,
  2730. }
  2731. DisplayModeProperties2KHR :: struct {
  2732. sType: StructureType,
  2733. pNext: rawptr,
  2734. displayModeProperties: DisplayModePropertiesKHR,
  2735. }
  2736. DisplayPlaneInfo2KHR :: struct {
  2737. sType: StructureType,
  2738. pNext: rawptr,
  2739. mode: DisplayModeKHR,
  2740. planeIndex: u32,
  2741. }
  2742. DisplayPlaneCapabilities2KHR :: struct {
  2743. sType: StructureType,
  2744. pNext: rawptr,
  2745. capabilities: DisplayPlaneCapabilitiesKHR,
  2746. }
  2747. PhysicalDeviceShaderClockFeaturesKHR :: struct {
  2748. sType: StructureType,
  2749. pNext: rawptr,
  2750. shaderSubgroupClock: b32,
  2751. shaderDeviceClock: b32,
  2752. }
  2753. DeviceQueueGlobalPriorityCreateInfoKHR :: struct {
  2754. sType: StructureType,
  2755. pNext: rawptr,
  2756. globalPriority: QueueGlobalPriorityKHR,
  2757. }
  2758. PhysicalDeviceGlobalPriorityQueryFeaturesKHR :: struct {
  2759. sType: StructureType,
  2760. pNext: rawptr,
  2761. globalPriorityQuery: b32,
  2762. }
  2763. QueueFamilyGlobalPriorityPropertiesKHR :: struct {
  2764. sType: StructureType,
  2765. pNext: rawptr,
  2766. priorityCount: u32,
  2767. priorities: [MAX_GLOBAL_PRIORITY_SIZE_KHR]QueueGlobalPriorityKHR,
  2768. }
  2769. FragmentShadingRateAttachmentInfoKHR :: struct {
  2770. sType: StructureType,
  2771. pNext: rawptr,
  2772. pFragmentShadingRateAttachment: ^AttachmentReference2,
  2773. shadingRateAttachmentTexelSize: Extent2D,
  2774. }
  2775. PipelineFragmentShadingRateStateCreateInfoKHR :: struct {
  2776. sType: StructureType,
  2777. pNext: rawptr,
  2778. fragmentSize: Extent2D,
  2779. combinerOps: [2]FragmentShadingRateCombinerOpKHR,
  2780. }
  2781. PhysicalDeviceFragmentShadingRateFeaturesKHR :: struct {
  2782. sType: StructureType,
  2783. pNext: rawptr,
  2784. pipelineFragmentShadingRate: b32,
  2785. primitiveFragmentShadingRate: b32,
  2786. attachmentFragmentShadingRate: b32,
  2787. }
  2788. PhysicalDeviceFragmentShadingRatePropertiesKHR :: struct {
  2789. sType: StructureType,
  2790. pNext: rawptr,
  2791. minFragmentShadingRateAttachmentTexelSize: Extent2D,
  2792. maxFragmentShadingRateAttachmentTexelSize: Extent2D,
  2793. maxFragmentShadingRateAttachmentTexelSizeAspectRatio: u32,
  2794. primitiveFragmentShadingRateWithMultipleViewports: b32,
  2795. layeredShadingRateAttachments: b32,
  2796. fragmentShadingRateNonTrivialCombinerOps: b32,
  2797. maxFragmentSize: Extent2D,
  2798. maxFragmentSizeAspectRatio: u32,
  2799. maxFragmentShadingRateCoverageSamples: u32,
  2800. maxFragmentShadingRateRasterizationSamples: SampleCountFlags,
  2801. fragmentShadingRateWithShaderDepthStencilWrites: b32,
  2802. fragmentShadingRateWithSampleMask: b32,
  2803. fragmentShadingRateWithShaderSampleMask: b32,
  2804. fragmentShadingRateWithConservativeRasterization: b32,
  2805. fragmentShadingRateWithFragmentShaderInterlock: b32,
  2806. fragmentShadingRateWithCustomSampleLocations: b32,
  2807. fragmentShadingRateStrictMultiplyCombiner: b32,
  2808. }
  2809. PhysicalDeviceFragmentShadingRateKHR :: struct {
  2810. sType: StructureType,
  2811. pNext: rawptr,
  2812. sampleCounts: SampleCountFlags,
  2813. fragmentSize: Extent2D,
  2814. }
  2815. SurfaceProtectedCapabilitiesKHR :: struct {
  2816. sType: StructureType,
  2817. pNext: rawptr,
  2818. supportsProtected: b32,
  2819. }
  2820. PhysicalDevicePresentWaitFeaturesKHR :: struct {
  2821. sType: StructureType,
  2822. pNext: rawptr,
  2823. presentWait: b32,
  2824. }
  2825. PhysicalDevicePipelineExecutablePropertiesFeaturesKHR :: struct {
  2826. sType: StructureType,
  2827. pNext: rawptr,
  2828. pipelineExecutableInfo: b32,
  2829. }
  2830. PipelineInfoKHR :: struct {
  2831. sType: StructureType,
  2832. pNext: rawptr,
  2833. pipeline: Pipeline,
  2834. }
  2835. PipelineExecutablePropertiesKHR :: struct {
  2836. sType: StructureType,
  2837. pNext: rawptr,
  2838. stages: ShaderStageFlags,
  2839. name: [MAX_DESCRIPTION_SIZE]byte,
  2840. description: [MAX_DESCRIPTION_SIZE]byte,
  2841. subgroupSize: u32,
  2842. }
  2843. PipelineExecutableInfoKHR :: struct {
  2844. sType: StructureType,
  2845. pNext: rawptr,
  2846. pipeline: Pipeline,
  2847. executableIndex: u32,
  2848. }
  2849. PipelineExecutableStatisticValueKHR :: struct #raw_union {
  2850. b32: b32,
  2851. i64: i64,
  2852. u64: u64,
  2853. f64: f64,
  2854. }
  2855. PipelineExecutableStatisticKHR :: struct {
  2856. sType: StructureType,
  2857. pNext: rawptr,
  2858. name: [MAX_DESCRIPTION_SIZE]byte,
  2859. description: [MAX_DESCRIPTION_SIZE]byte,
  2860. format: PipelineExecutableStatisticFormatKHR,
  2861. value: PipelineExecutableStatisticValueKHR,
  2862. }
  2863. PipelineExecutableInternalRepresentationKHR :: struct {
  2864. sType: StructureType,
  2865. pNext: rawptr,
  2866. name: [MAX_DESCRIPTION_SIZE]byte,
  2867. description: [MAX_DESCRIPTION_SIZE]byte,
  2868. isText: b32,
  2869. dataSize: int,
  2870. pData: rawptr,
  2871. }
  2872. PipelineLibraryCreateInfoKHR :: struct {
  2873. sType: StructureType,
  2874. pNext: rawptr,
  2875. libraryCount: u32,
  2876. pLibraries: [^]Pipeline,
  2877. }
  2878. PresentIdKHR :: struct {
  2879. sType: StructureType,
  2880. pNext: rawptr,
  2881. swapchainCount: u32,
  2882. pPresentIds: [^]u64,
  2883. }
  2884. PhysicalDevicePresentIdFeaturesKHR :: struct {
  2885. sType: StructureType,
  2886. pNext: rawptr,
  2887. presentId: b32,
  2888. }
  2889. QueueFamilyCheckpointProperties2NV :: struct {
  2890. sType: StructureType,
  2891. pNext: rawptr,
  2892. checkpointExecutionStageMask: PipelineStageFlags2,
  2893. }
  2894. CheckpointData2NV :: struct {
  2895. sType: StructureType,
  2896. pNext: rawptr,
  2897. stage: PipelineStageFlags2,
  2898. pCheckpointMarker: rawptr,
  2899. }
  2900. PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR :: struct {
  2901. sType: StructureType,
  2902. pNext: rawptr,
  2903. shaderSubgroupUniformControlFlow: b32,
  2904. }
  2905. PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR :: struct {
  2906. sType: StructureType,
  2907. pNext: rawptr,
  2908. workgroupMemoryExplicitLayout: b32,
  2909. workgroupMemoryExplicitLayoutScalarBlockLayout: b32,
  2910. workgroupMemoryExplicitLayout8BitAccess: b32,
  2911. workgroupMemoryExplicitLayout16BitAccess: b32,
  2912. }
  2913. DebugReportCallbackCreateInfoEXT :: struct {
  2914. sType: StructureType,
  2915. pNext: rawptr,
  2916. flags: DebugReportFlagsEXT,
  2917. pfnCallback: ProcDebugReportCallbackEXT,
  2918. pUserData: rawptr,
  2919. }
  2920. PipelineRasterizationStateRasterizationOrderAMD :: struct {
  2921. sType: StructureType,
  2922. pNext: rawptr,
  2923. rasterizationOrder: RasterizationOrderAMD,
  2924. }
  2925. DebugMarkerObjectNameInfoEXT :: struct {
  2926. sType: StructureType,
  2927. pNext: rawptr,
  2928. objectType: DebugReportObjectTypeEXT,
  2929. object: u64,
  2930. pObjectName: cstring,
  2931. }
  2932. DebugMarkerObjectTagInfoEXT :: struct {
  2933. sType: StructureType,
  2934. pNext: rawptr,
  2935. objectType: DebugReportObjectTypeEXT,
  2936. object: u64,
  2937. tagName: u64,
  2938. tagSize: int,
  2939. pTag: rawptr,
  2940. }
  2941. DebugMarkerMarkerInfoEXT :: struct {
  2942. sType: StructureType,
  2943. pNext: rawptr,
  2944. pMarkerName: cstring,
  2945. color: [4]f32,
  2946. }
  2947. DedicatedAllocationImageCreateInfoNV :: struct {
  2948. sType: StructureType,
  2949. pNext: rawptr,
  2950. dedicatedAllocation: b32,
  2951. }
  2952. DedicatedAllocationBufferCreateInfoNV :: struct {
  2953. sType: StructureType,
  2954. pNext: rawptr,
  2955. dedicatedAllocation: b32,
  2956. }
  2957. DedicatedAllocationMemoryAllocateInfoNV :: struct {
  2958. sType: StructureType,
  2959. pNext: rawptr,
  2960. image: Image,
  2961. buffer: Buffer,
  2962. }
  2963. PhysicalDeviceTransformFeedbackFeaturesEXT :: struct {
  2964. sType: StructureType,
  2965. pNext: rawptr,
  2966. transformFeedback: b32,
  2967. geometryStreams: b32,
  2968. }
  2969. PhysicalDeviceTransformFeedbackPropertiesEXT :: struct {
  2970. sType: StructureType,
  2971. pNext: rawptr,
  2972. maxTransformFeedbackStreams: u32,
  2973. maxTransformFeedbackBuffers: u32,
  2974. maxTransformFeedbackBufferSize: DeviceSize,
  2975. maxTransformFeedbackStreamDataSize: u32,
  2976. maxTransformFeedbackBufferDataSize: u32,
  2977. maxTransformFeedbackBufferDataStride: u32,
  2978. transformFeedbackQueries: b32,
  2979. transformFeedbackStreamsLinesTriangles: b32,
  2980. transformFeedbackRasterizationStreamSelect: b32,
  2981. transformFeedbackDraw: b32,
  2982. }
  2983. PipelineRasterizationStateStreamCreateInfoEXT :: struct {
  2984. sType: StructureType,
  2985. pNext: rawptr,
  2986. flags: PipelineRasterizationStateStreamCreateFlagsEXT,
  2987. rasterizationStream: u32,
  2988. }
  2989. CuModuleCreateInfoNVX :: struct {
  2990. sType: StructureType,
  2991. pNext: rawptr,
  2992. dataSize: int,
  2993. pData: rawptr,
  2994. }
  2995. CuFunctionCreateInfoNVX :: struct {
  2996. sType: StructureType,
  2997. pNext: rawptr,
  2998. module: CuModuleNVX,
  2999. pName: cstring,
  3000. }
  3001. CuLaunchInfoNVX :: struct {
  3002. sType: StructureType,
  3003. pNext: rawptr,
  3004. function: CuFunctionNVX,
  3005. gridDimX: u32,
  3006. gridDimY: u32,
  3007. gridDimZ: u32,
  3008. blockDimX: u32,
  3009. blockDimY: u32,
  3010. blockDimZ: u32,
  3011. sharedMemBytes: u32,
  3012. paramCount: int,
  3013. pParams: [^]rawptr,
  3014. extraCount: int,
  3015. pExtras: [^]rawptr,
  3016. }
  3017. ImageViewHandleInfoNVX :: struct {
  3018. sType: StructureType,
  3019. pNext: rawptr,
  3020. imageView: ImageView,
  3021. descriptorType: DescriptorType,
  3022. sampler: Sampler,
  3023. }
  3024. ImageViewAddressPropertiesNVX :: struct {
  3025. sType: StructureType,
  3026. pNext: rawptr,
  3027. deviceAddress: DeviceAddress,
  3028. size: DeviceSize,
  3029. }
  3030. TextureLODGatherFormatPropertiesAMD :: struct {
  3031. sType: StructureType,
  3032. pNext: rawptr,
  3033. supportsTextureGatherLODBiasAMD: b32,
  3034. }
  3035. ShaderResourceUsageAMD :: struct {
  3036. numUsedVgprs: u32,
  3037. numUsedSgprs: u32,
  3038. ldsSizePerLocalWorkGroup: u32,
  3039. ldsUsageSizeInBytes: int,
  3040. scratchMemUsageInBytes: int,
  3041. }
  3042. ShaderStatisticsInfoAMD :: struct {
  3043. shaderStageMask: ShaderStageFlags,
  3044. resourceUsage: ShaderResourceUsageAMD,
  3045. numPhysicalVgprs: u32,
  3046. numPhysicalSgprs: u32,
  3047. numAvailableVgprs: u32,
  3048. numAvailableSgprs: u32,
  3049. computeWorkGroupSize: [3]u32,
  3050. }
  3051. PhysicalDeviceCornerSampledImageFeaturesNV :: struct {
  3052. sType: StructureType,
  3053. pNext: rawptr,
  3054. cornerSampledImage: b32,
  3055. }
  3056. ExternalImageFormatPropertiesNV :: struct {
  3057. imageFormatProperties: ImageFormatProperties,
  3058. externalMemoryFeatures: ExternalMemoryFeatureFlagsNV,
  3059. exportFromImportedHandleTypes: ExternalMemoryHandleTypeFlagsNV,
  3060. compatibleHandleTypes: ExternalMemoryHandleTypeFlagsNV,
  3061. }
  3062. ExternalMemoryImageCreateInfoNV :: struct {
  3063. sType: StructureType,
  3064. pNext: rawptr,
  3065. handleTypes: ExternalMemoryHandleTypeFlagsNV,
  3066. }
  3067. ExportMemoryAllocateInfoNV :: struct {
  3068. sType: StructureType,
  3069. pNext: rawptr,
  3070. handleTypes: ExternalMemoryHandleTypeFlagsNV,
  3071. }
  3072. ValidationFlagsEXT :: struct {
  3073. sType: StructureType,
  3074. pNext: rawptr,
  3075. disabledValidationCheckCount: u32,
  3076. pDisabledValidationChecks: [^]ValidationCheckEXT,
  3077. }
  3078. ImageViewASTCDecodeModeEXT :: struct {
  3079. sType: StructureType,
  3080. pNext: rawptr,
  3081. decodeMode: Format,
  3082. }
  3083. PhysicalDeviceASTCDecodeFeaturesEXT :: struct {
  3084. sType: StructureType,
  3085. pNext: rawptr,
  3086. decodeModeSharedExponent: b32,
  3087. }
  3088. ConditionalRenderingBeginInfoEXT :: struct {
  3089. sType: StructureType,
  3090. pNext: rawptr,
  3091. buffer: Buffer,
  3092. offset: DeviceSize,
  3093. flags: ConditionalRenderingFlagsEXT,
  3094. }
  3095. PhysicalDeviceConditionalRenderingFeaturesEXT :: struct {
  3096. sType: StructureType,
  3097. pNext: rawptr,
  3098. conditionalRendering: b32,
  3099. inheritedConditionalRendering: b32,
  3100. }
  3101. CommandBufferInheritanceConditionalRenderingInfoEXT :: struct {
  3102. sType: StructureType,
  3103. pNext: rawptr,
  3104. conditionalRenderingEnable: b32,
  3105. }
  3106. ViewportWScalingNV :: struct {
  3107. xcoeff: f32,
  3108. ycoeff: f32,
  3109. }
  3110. PipelineViewportWScalingStateCreateInfoNV :: struct {
  3111. sType: StructureType,
  3112. pNext: rawptr,
  3113. viewportWScalingEnable: b32,
  3114. viewportCount: u32,
  3115. pViewportWScalings: [^]ViewportWScalingNV,
  3116. }
  3117. SurfaceCapabilities2EXT :: struct {
  3118. sType: StructureType,
  3119. pNext: rawptr,
  3120. minImageCount: u32,
  3121. maxImageCount: u32,
  3122. currentExtent: Extent2D,
  3123. minImageExtent: Extent2D,
  3124. maxImageExtent: Extent2D,
  3125. maxImageArrayLayers: u32,
  3126. supportedTransforms: SurfaceTransformFlagsKHR,
  3127. currentTransform: SurfaceTransformFlagsKHR,
  3128. supportedCompositeAlpha: CompositeAlphaFlagsKHR,
  3129. supportedUsageFlags: ImageUsageFlags,
  3130. supportedSurfaceCounters: SurfaceCounterFlagsEXT,
  3131. }
  3132. DisplayPowerInfoEXT :: struct {
  3133. sType: StructureType,
  3134. pNext: rawptr,
  3135. powerState: DisplayPowerStateEXT,
  3136. }
  3137. DeviceEventInfoEXT :: struct {
  3138. sType: StructureType,
  3139. pNext: rawptr,
  3140. deviceEvent: DeviceEventTypeEXT,
  3141. }
  3142. DisplayEventInfoEXT :: struct {
  3143. sType: StructureType,
  3144. pNext: rawptr,
  3145. displayEvent: DisplayEventTypeEXT,
  3146. }
  3147. SwapchainCounterCreateInfoEXT :: struct {
  3148. sType: StructureType,
  3149. pNext: rawptr,
  3150. surfaceCounters: SurfaceCounterFlagsEXT,
  3151. }
  3152. RefreshCycleDurationGOOGLE :: struct {
  3153. refreshDuration: u64,
  3154. }
  3155. PastPresentationTimingGOOGLE :: struct {
  3156. presentID: u32,
  3157. desiredPresentTime: u64,
  3158. actualPresentTime: u64,
  3159. earliestPresentTime: u64,
  3160. presentMargin: u64,
  3161. }
  3162. PresentTimeGOOGLE :: struct {
  3163. presentID: u32,
  3164. desiredPresentTime: u64,
  3165. }
  3166. PresentTimesInfoGOOGLE :: struct {
  3167. sType: StructureType,
  3168. pNext: rawptr,
  3169. swapchainCount: u32,
  3170. pTimes: [^]PresentTimeGOOGLE,
  3171. }
  3172. PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX :: struct {
  3173. sType: StructureType,
  3174. pNext: rawptr,
  3175. perViewPositionAllComponents: b32,
  3176. }
  3177. ViewportSwizzleNV :: struct {
  3178. x: ViewportCoordinateSwizzleNV,
  3179. y: ViewportCoordinateSwizzleNV,
  3180. z: ViewportCoordinateSwizzleNV,
  3181. w: ViewportCoordinateSwizzleNV,
  3182. }
  3183. PipelineViewportSwizzleStateCreateInfoNV :: struct {
  3184. sType: StructureType,
  3185. pNext: rawptr,
  3186. flags: PipelineViewportSwizzleStateCreateFlagsNV,
  3187. viewportCount: u32,
  3188. pViewportSwizzles: [^]ViewportSwizzleNV,
  3189. }
  3190. PhysicalDeviceDiscardRectanglePropertiesEXT :: struct {
  3191. sType: StructureType,
  3192. pNext: rawptr,
  3193. maxDiscardRectangles: u32,
  3194. }
  3195. PipelineDiscardRectangleStateCreateInfoEXT :: struct {
  3196. sType: StructureType,
  3197. pNext: rawptr,
  3198. flags: PipelineDiscardRectangleStateCreateFlagsEXT,
  3199. discardRectangleMode: DiscardRectangleModeEXT,
  3200. discardRectangleCount: u32,
  3201. pDiscardRectangles: [^]Rect2D,
  3202. }
  3203. PhysicalDeviceConservativeRasterizationPropertiesEXT :: struct {
  3204. sType: StructureType,
  3205. pNext: rawptr,
  3206. primitiveOverestimationSize: f32,
  3207. maxExtraPrimitiveOverestimationSize: f32,
  3208. extraPrimitiveOverestimationSizeGranularity: f32,
  3209. primitiveUnderestimation: b32,
  3210. conservativePointAndLineRasterization: b32,
  3211. degenerateTrianglesRasterized: b32,
  3212. degenerateLinesRasterized: b32,
  3213. fullyCoveredFragmentShaderInputVariable: b32,
  3214. conservativeRasterizationPostDepthCoverage: b32,
  3215. }
  3216. PipelineRasterizationConservativeStateCreateInfoEXT :: struct {
  3217. sType: StructureType,
  3218. pNext: rawptr,
  3219. flags: PipelineRasterizationConservativeStateCreateFlagsEXT,
  3220. conservativeRasterizationMode: ConservativeRasterizationModeEXT,
  3221. extraPrimitiveOverestimationSize: f32,
  3222. }
  3223. PhysicalDeviceDepthClipEnableFeaturesEXT :: struct {
  3224. sType: StructureType,
  3225. pNext: rawptr,
  3226. depthClipEnable: b32,
  3227. }
  3228. PipelineRasterizationDepthClipStateCreateInfoEXT :: struct {
  3229. sType: StructureType,
  3230. pNext: rawptr,
  3231. flags: PipelineRasterizationDepthClipStateCreateFlagsEXT,
  3232. depthClipEnable: b32,
  3233. }
  3234. XYColorEXT :: struct {
  3235. x: f32,
  3236. y: f32,
  3237. }
  3238. HdrMetadataEXT :: struct {
  3239. sType: StructureType,
  3240. pNext: rawptr,
  3241. displayPrimaryRed: XYColorEXT,
  3242. displayPrimaryGreen: XYColorEXT,
  3243. displayPrimaryBlue: XYColorEXT,
  3244. whitePoint: XYColorEXT,
  3245. maxLuminance: f32,
  3246. minLuminance: f32,
  3247. maxContentLightLevel: f32,
  3248. maxFrameAverageLightLevel: f32,
  3249. }
  3250. DebugUtilsLabelEXT :: struct {
  3251. sType: StructureType,
  3252. pNext: rawptr,
  3253. pLabelName: cstring,
  3254. color: [4]f32,
  3255. }
  3256. DebugUtilsObjectNameInfoEXT :: struct {
  3257. sType: StructureType,
  3258. pNext: rawptr,
  3259. objectType: ObjectType,
  3260. objectHandle: u64,
  3261. pObjectName: cstring,
  3262. }
  3263. DebugUtilsMessengerCallbackDataEXT :: struct {
  3264. sType: StructureType,
  3265. pNext: rawptr,
  3266. flags: DebugUtilsMessengerCallbackDataFlagsEXT,
  3267. pMessageIdName: cstring,
  3268. messageIdNumber: i32,
  3269. pMessage: cstring,
  3270. queueLabelCount: u32,
  3271. pQueueLabels: [^]DebugUtilsLabelEXT,
  3272. cmdBufLabelCount: u32,
  3273. pCmdBufLabels: [^]DebugUtilsLabelEXT,
  3274. objectCount: u32,
  3275. pObjects: [^]DebugUtilsObjectNameInfoEXT,
  3276. }
  3277. DebugUtilsMessengerCreateInfoEXT :: struct {
  3278. sType: StructureType,
  3279. pNext: rawptr,
  3280. flags: DebugUtilsMessengerCreateFlagsEXT,
  3281. messageSeverity: DebugUtilsMessageSeverityFlagsEXT,
  3282. messageType: DebugUtilsMessageTypeFlagsEXT,
  3283. pfnUserCallback: ProcDebugUtilsMessengerCallbackEXT,
  3284. pUserData: rawptr,
  3285. }
  3286. DebugUtilsObjectTagInfoEXT :: struct {
  3287. sType: StructureType,
  3288. pNext: rawptr,
  3289. objectType: ObjectType,
  3290. objectHandle: u64,
  3291. tagName: u64,
  3292. tagSize: int,
  3293. pTag: rawptr,
  3294. }
  3295. SampleLocationEXT :: struct {
  3296. x: f32,
  3297. y: f32,
  3298. }
  3299. SampleLocationsInfoEXT :: struct {
  3300. sType: StructureType,
  3301. pNext: rawptr,
  3302. sampleLocationsPerPixel: SampleCountFlags,
  3303. sampleLocationGridSize: Extent2D,
  3304. sampleLocationsCount: u32,
  3305. pSampleLocations: [^]SampleLocationEXT,
  3306. }
  3307. AttachmentSampleLocationsEXT :: struct {
  3308. attachmentIndex: u32,
  3309. sampleLocationsInfo: SampleLocationsInfoEXT,
  3310. }
  3311. SubpassSampleLocationsEXT :: struct {
  3312. subpassIndex: u32,
  3313. sampleLocationsInfo: SampleLocationsInfoEXT,
  3314. }
  3315. RenderPassSampleLocationsBeginInfoEXT :: struct {
  3316. sType: StructureType,
  3317. pNext: rawptr,
  3318. attachmentInitialSampleLocationsCount: u32,
  3319. pAttachmentInitialSampleLocations: [^]AttachmentSampleLocationsEXT,
  3320. postSubpassSampleLocationsCount: u32,
  3321. pPostSubpassSampleLocations: [^]SubpassSampleLocationsEXT,
  3322. }
  3323. PipelineSampleLocationsStateCreateInfoEXT :: struct {
  3324. sType: StructureType,
  3325. pNext: rawptr,
  3326. sampleLocationsEnable: b32,
  3327. sampleLocationsInfo: SampleLocationsInfoEXT,
  3328. }
  3329. PhysicalDeviceSampleLocationsPropertiesEXT :: struct {
  3330. sType: StructureType,
  3331. pNext: rawptr,
  3332. sampleLocationSampleCounts: SampleCountFlags,
  3333. maxSampleLocationGridSize: Extent2D,
  3334. sampleLocationCoordinateRange: [2]f32,
  3335. sampleLocationSubPixelBits: u32,
  3336. variableSampleLocations: b32,
  3337. }
  3338. MultisamplePropertiesEXT :: struct {
  3339. sType: StructureType,
  3340. pNext: rawptr,
  3341. maxSampleLocationGridSize: Extent2D,
  3342. }
  3343. PhysicalDeviceBlendOperationAdvancedFeaturesEXT :: struct {
  3344. sType: StructureType,
  3345. pNext: rawptr,
  3346. advancedBlendCoherentOperations: b32,
  3347. }
  3348. PhysicalDeviceBlendOperationAdvancedPropertiesEXT :: struct {
  3349. sType: StructureType,
  3350. pNext: rawptr,
  3351. advancedBlendMaxColorAttachments: u32,
  3352. advancedBlendIndependentBlend: b32,
  3353. advancedBlendNonPremultipliedSrcColor: b32,
  3354. advancedBlendNonPremultipliedDstColor: b32,
  3355. advancedBlendCorrelatedOverlap: b32,
  3356. advancedBlendAllOperations: b32,
  3357. }
  3358. PipelineColorBlendAdvancedStateCreateInfoEXT :: struct {
  3359. sType: StructureType,
  3360. pNext: rawptr,
  3361. srcPremultiplied: b32,
  3362. dstPremultiplied: b32,
  3363. blendOverlap: BlendOverlapEXT,
  3364. }
  3365. PipelineCoverageToColorStateCreateInfoNV :: struct {
  3366. sType: StructureType,
  3367. pNext: rawptr,
  3368. flags: PipelineCoverageToColorStateCreateFlagsNV,
  3369. coverageToColorEnable: b32,
  3370. coverageToColorLocation: u32,
  3371. }
  3372. PipelineCoverageModulationStateCreateInfoNV :: struct {
  3373. sType: StructureType,
  3374. pNext: rawptr,
  3375. flags: PipelineCoverageModulationStateCreateFlagsNV,
  3376. coverageModulationMode: CoverageModulationModeNV,
  3377. coverageModulationTableEnable: b32,
  3378. coverageModulationTableCount: u32,
  3379. pCoverageModulationTable: [^]f32,
  3380. }
  3381. PhysicalDeviceShaderSMBuiltinsPropertiesNV :: struct {
  3382. sType: StructureType,
  3383. pNext: rawptr,
  3384. shaderSMCount: u32,
  3385. shaderWarpsPerSM: u32,
  3386. }
  3387. PhysicalDeviceShaderSMBuiltinsFeaturesNV :: struct {
  3388. sType: StructureType,
  3389. pNext: rawptr,
  3390. shaderSMBuiltins: b32,
  3391. }
  3392. DrmFormatModifierPropertiesEXT :: struct {
  3393. drmFormatModifier: u64,
  3394. drmFormatModifierPlaneCount: u32,
  3395. drmFormatModifierTilingFeatures: FormatFeatureFlags,
  3396. }
  3397. DrmFormatModifierPropertiesListEXT :: struct {
  3398. sType: StructureType,
  3399. pNext: rawptr,
  3400. drmFormatModifierCount: u32,
  3401. pDrmFormatModifierProperties: [^]DrmFormatModifierPropertiesEXT,
  3402. }
  3403. PhysicalDeviceImageDrmFormatModifierInfoEXT :: struct {
  3404. sType: StructureType,
  3405. pNext: rawptr,
  3406. drmFormatModifier: u64,
  3407. sharingMode: SharingMode,
  3408. queueFamilyIndexCount: u32,
  3409. pQueueFamilyIndices: [^]u32,
  3410. }
  3411. ImageDrmFormatModifierListCreateInfoEXT :: struct {
  3412. sType: StructureType,
  3413. pNext: rawptr,
  3414. drmFormatModifierCount: u32,
  3415. pDrmFormatModifiers: [^]u64,
  3416. }
  3417. ImageDrmFormatModifierExplicitCreateInfoEXT :: struct {
  3418. sType: StructureType,
  3419. pNext: rawptr,
  3420. drmFormatModifier: u64,
  3421. drmFormatModifierPlaneCount: u32,
  3422. pPlaneLayouts: [^]SubresourceLayout,
  3423. }
  3424. ImageDrmFormatModifierPropertiesEXT :: struct {
  3425. sType: StructureType,
  3426. pNext: rawptr,
  3427. drmFormatModifier: u64,
  3428. }
  3429. DrmFormatModifierProperties2EXT :: struct {
  3430. drmFormatModifier: u64,
  3431. drmFormatModifierPlaneCount: u32,
  3432. drmFormatModifierTilingFeatures: FormatFeatureFlags2,
  3433. }
  3434. DrmFormatModifierPropertiesList2EXT :: struct {
  3435. sType: StructureType,
  3436. pNext: rawptr,
  3437. drmFormatModifierCount: u32,
  3438. pDrmFormatModifierProperties: [^]DrmFormatModifierProperties2EXT,
  3439. }
  3440. ValidationCacheCreateInfoEXT :: struct {
  3441. sType: StructureType,
  3442. pNext: rawptr,
  3443. flags: ValidationCacheCreateFlagsEXT,
  3444. initialDataSize: int,
  3445. pInitialData: rawptr,
  3446. }
  3447. ShaderModuleValidationCacheCreateInfoEXT :: struct {
  3448. sType: StructureType,
  3449. pNext: rawptr,
  3450. validationCache: ValidationCacheEXT,
  3451. }
  3452. ShadingRatePaletteNV :: struct {
  3453. shadingRatePaletteEntryCount: u32,
  3454. pShadingRatePaletteEntries: [^]ShadingRatePaletteEntryNV,
  3455. }
  3456. PipelineViewportShadingRateImageStateCreateInfoNV :: struct {
  3457. sType: StructureType,
  3458. pNext: rawptr,
  3459. shadingRateImageEnable: b32,
  3460. viewportCount: u32,
  3461. pShadingRatePalettes: [^]ShadingRatePaletteNV,
  3462. }
  3463. PhysicalDeviceShadingRateImageFeaturesNV :: struct {
  3464. sType: StructureType,
  3465. pNext: rawptr,
  3466. shadingRateImage: b32,
  3467. shadingRateCoarseSampleOrder: b32,
  3468. }
  3469. PhysicalDeviceShadingRateImagePropertiesNV :: struct {
  3470. sType: StructureType,
  3471. pNext: rawptr,
  3472. shadingRateTexelSize: Extent2D,
  3473. shadingRatePaletteSize: u32,
  3474. shadingRateMaxCoarseSamples: u32,
  3475. }
  3476. CoarseSampleLocationNV :: struct {
  3477. pixelX: u32,
  3478. pixelY: u32,
  3479. sample: u32,
  3480. }
  3481. CoarseSampleOrderCustomNV :: struct {
  3482. shadingRate: ShadingRatePaletteEntryNV,
  3483. sampleCount: u32,
  3484. sampleLocationCount: u32,
  3485. pSampleLocations: [^]CoarseSampleLocationNV,
  3486. }
  3487. PipelineViewportCoarseSampleOrderStateCreateInfoNV :: struct {
  3488. sType: StructureType,
  3489. pNext: rawptr,
  3490. sampleOrderType: CoarseSampleOrderTypeNV,
  3491. customSampleOrderCount: u32,
  3492. pCustomSampleOrders: [^]CoarseSampleOrderCustomNV,
  3493. }
  3494. RayTracingShaderGroupCreateInfoNV :: struct {
  3495. sType: StructureType,
  3496. pNext: rawptr,
  3497. type: RayTracingShaderGroupTypeKHR,
  3498. generalShader: u32,
  3499. closestHitShader: u32,
  3500. anyHitShader: u32,
  3501. intersectionShader: u32,
  3502. }
  3503. RayTracingPipelineCreateInfoNV :: struct {
  3504. sType: StructureType,
  3505. pNext: rawptr,
  3506. flags: PipelineCreateFlags,
  3507. stageCount: u32,
  3508. pStages: [^]PipelineShaderStageCreateInfo,
  3509. groupCount: u32,
  3510. pGroups: [^]RayTracingShaderGroupCreateInfoNV,
  3511. maxRecursionDepth: u32,
  3512. layout: PipelineLayout,
  3513. basePipelineHandle: Pipeline,
  3514. basePipelineIndex: i32,
  3515. }
  3516. GeometryTrianglesNV :: struct {
  3517. sType: StructureType,
  3518. pNext: rawptr,
  3519. vertexData: Buffer,
  3520. vertexOffset: DeviceSize,
  3521. vertexCount: u32,
  3522. vertexStride: DeviceSize,
  3523. vertexFormat: Format,
  3524. indexData: Buffer,
  3525. indexOffset: DeviceSize,
  3526. indexCount: u32,
  3527. indexType: IndexType,
  3528. transformData: Buffer,
  3529. transformOffset: DeviceSize,
  3530. }
  3531. GeometryAABBNV :: struct {
  3532. sType: StructureType,
  3533. pNext: rawptr,
  3534. aabbData: Buffer,
  3535. numAABBs: u32,
  3536. stride: u32,
  3537. offset: DeviceSize,
  3538. }
  3539. GeometryDataNV :: struct {
  3540. triangles: GeometryTrianglesNV,
  3541. aabbs: GeometryAABBNV,
  3542. }
  3543. GeometryNV :: struct {
  3544. sType: StructureType,
  3545. pNext: rawptr,
  3546. geometryType: GeometryTypeKHR,
  3547. geometry: GeometryDataNV,
  3548. flags: GeometryFlagsKHR,
  3549. }
  3550. AccelerationStructureInfoNV :: struct {
  3551. sType: StructureType,
  3552. pNext: rawptr,
  3553. type: AccelerationStructureTypeNV,
  3554. flags: BuildAccelerationStructureFlagsNV,
  3555. instanceCount: u32,
  3556. geometryCount: u32,
  3557. pGeometries: [^]GeometryNV,
  3558. }
  3559. AccelerationStructureCreateInfoNV :: struct {
  3560. sType: StructureType,
  3561. pNext: rawptr,
  3562. compactedSize: DeviceSize,
  3563. info: AccelerationStructureInfoNV,
  3564. }
  3565. BindAccelerationStructureMemoryInfoNV :: struct {
  3566. sType: StructureType,
  3567. pNext: rawptr,
  3568. accelerationStructure: AccelerationStructureNV,
  3569. memory: DeviceMemory,
  3570. memoryOffset: DeviceSize,
  3571. deviceIndexCount: u32,
  3572. pDeviceIndices: [^]u32,
  3573. }
  3574. WriteDescriptorSetAccelerationStructureNV :: struct {
  3575. sType: StructureType,
  3576. pNext: rawptr,
  3577. accelerationStructureCount: u32,
  3578. pAccelerationStructures: [^]AccelerationStructureNV,
  3579. }
  3580. AccelerationStructureMemoryRequirementsInfoNV :: struct {
  3581. sType: StructureType,
  3582. pNext: rawptr,
  3583. type: AccelerationStructureMemoryRequirementsTypeNV,
  3584. accelerationStructure: AccelerationStructureNV,
  3585. }
  3586. PhysicalDeviceRayTracingPropertiesNV :: struct {
  3587. sType: StructureType,
  3588. pNext: rawptr,
  3589. shaderGroupHandleSize: u32,
  3590. maxRecursionDepth: u32,
  3591. maxShaderGroupStride: u32,
  3592. shaderGroupBaseAlignment: u32,
  3593. maxGeometryCount: u64,
  3594. maxInstanceCount: u64,
  3595. maxTriangleCount: u64,
  3596. maxDescriptorSetAccelerationStructures: u32,
  3597. }
  3598. TransformMatrixKHR :: struct {
  3599. mat: [3][4]f32,
  3600. }
  3601. AabbPositionsKHR :: struct {
  3602. minX: f32,
  3603. minY: f32,
  3604. minZ: f32,
  3605. maxX: f32,
  3606. maxY: f32,
  3607. maxZ: f32,
  3608. }
  3609. AccelerationStructureInstanceKHR :: struct {
  3610. transform: TransformMatrixKHR,
  3611. accelerationStructureReference: u64,
  3612. }
  3613. PhysicalDeviceRepresentativeFragmentTestFeaturesNV :: struct {
  3614. sType: StructureType,
  3615. pNext: rawptr,
  3616. representativeFragmentTest: b32,
  3617. }
  3618. PipelineRepresentativeFragmentTestStateCreateInfoNV :: struct {
  3619. sType: StructureType,
  3620. pNext: rawptr,
  3621. representativeFragmentTestEnable: b32,
  3622. }
  3623. PhysicalDeviceImageViewImageFormatInfoEXT :: struct {
  3624. sType: StructureType,
  3625. pNext: rawptr,
  3626. imageViewType: ImageViewType,
  3627. }
  3628. FilterCubicImageViewImageFormatPropertiesEXT :: struct {
  3629. sType: StructureType,
  3630. pNext: rawptr,
  3631. filterCubic: b32,
  3632. filterCubicMinmax: b32,
  3633. }
  3634. ImportMemoryHostPointerInfoEXT :: struct {
  3635. sType: StructureType,
  3636. pNext: rawptr,
  3637. handleType: ExternalMemoryHandleTypeFlags,
  3638. pHostPointer: rawptr,
  3639. }
  3640. MemoryHostPointerPropertiesEXT :: struct {
  3641. sType: StructureType,
  3642. pNext: rawptr,
  3643. memoryTypeBits: u32,
  3644. }
  3645. PhysicalDeviceExternalMemoryHostPropertiesEXT :: struct {
  3646. sType: StructureType,
  3647. pNext: rawptr,
  3648. minImportedHostPointerAlignment: DeviceSize,
  3649. }
  3650. PipelineCompilerControlCreateInfoAMD :: struct {
  3651. sType: StructureType,
  3652. pNext: rawptr,
  3653. compilerControlFlags: PipelineCompilerControlFlagsAMD,
  3654. }
  3655. CalibratedTimestampInfoEXT :: struct {
  3656. sType: StructureType,
  3657. pNext: rawptr,
  3658. timeDomain: TimeDomainEXT,
  3659. }
  3660. PhysicalDeviceShaderCorePropertiesAMD :: struct {
  3661. sType: StructureType,
  3662. pNext: rawptr,
  3663. shaderEngineCount: u32,
  3664. shaderArraysPerEngineCount: u32,
  3665. computeUnitsPerShaderArray: u32,
  3666. simdPerComputeUnit: u32,
  3667. wavefrontsPerSimd: u32,
  3668. wavefrontSize: u32,
  3669. sgprsPerSimd: u32,
  3670. minSgprAllocation: u32,
  3671. maxSgprAllocation: u32,
  3672. sgprAllocationGranularity: u32,
  3673. vgprsPerSimd: u32,
  3674. minVgprAllocation: u32,
  3675. maxVgprAllocation: u32,
  3676. vgprAllocationGranularity: u32,
  3677. }
  3678. DeviceMemoryOverallocationCreateInfoAMD :: struct {
  3679. sType: StructureType,
  3680. pNext: rawptr,
  3681. overallocationBehavior: MemoryOverallocationBehaviorAMD,
  3682. }
  3683. PhysicalDeviceVertexAttributeDivisorPropertiesEXT :: struct {
  3684. sType: StructureType,
  3685. pNext: rawptr,
  3686. maxVertexAttribDivisor: u32,
  3687. }
  3688. VertexInputBindingDivisorDescriptionEXT :: struct {
  3689. binding: u32,
  3690. divisor: u32,
  3691. }
  3692. PipelineVertexInputDivisorStateCreateInfoEXT :: struct {
  3693. sType: StructureType,
  3694. pNext: rawptr,
  3695. vertexBindingDivisorCount: u32,
  3696. pVertexBindingDivisors: [^]VertexInputBindingDivisorDescriptionEXT,
  3697. }
  3698. PhysicalDeviceVertexAttributeDivisorFeaturesEXT :: struct {
  3699. sType: StructureType,
  3700. pNext: rawptr,
  3701. vertexAttributeInstanceRateDivisor: b32,
  3702. vertexAttributeInstanceRateZeroDivisor: b32,
  3703. }
  3704. PhysicalDeviceComputeShaderDerivativesFeaturesNV :: struct {
  3705. sType: StructureType,
  3706. pNext: rawptr,
  3707. computeDerivativeGroupQuads: b32,
  3708. computeDerivativeGroupLinear: b32,
  3709. }
  3710. PhysicalDeviceMeshShaderFeaturesNV :: struct {
  3711. sType: StructureType,
  3712. pNext: rawptr,
  3713. taskShader: b32,
  3714. meshShader: b32,
  3715. }
  3716. PhysicalDeviceMeshShaderPropertiesNV :: struct {
  3717. sType: StructureType,
  3718. pNext: rawptr,
  3719. maxDrawMeshTasksCount: u32,
  3720. maxTaskWorkGroupInvocations: u32,
  3721. maxTaskWorkGroupSize: [3]u32,
  3722. maxTaskTotalMemorySize: u32,
  3723. maxTaskOutputCount: u32,
  3724. maxMeshWorkGroupInvocations: u32,
  3725. maxMeshWorkGroupSize: [3]u32,
  3726. maxMeshTotalMemorySize: u32,
  3727. maxMeshOutputVertices: u32,
  3728. maxMeshOutputPrimitives: u32,
  3729. maxMeshMultiviewViewCount: u32,
  3730. meshOutputPerVertexGranularity: u32,
  3731. meshOutputPerPrimitiveGranularity: u32,
  3732. }
  3733. DrawMeshTasksIndirectCommandNV :: struct {
  3734. taskCount: u32,
  3735. firstTask: u32,
  3736. }
  3737. PhysicalDeviceFragmentShaderBarycentricFeaturesNV :: struct {
  3738. sType: StructureType,
  3739. pNext: rawptr,
  3740. fragmentShaderBarycentric: b32,
  3741. }
  3742. PhysicalDeviceShaderImageFootprintFeaturesNV :: struct {
  3743. sType: StructureType,
  3744. pNext: rawptr,
  3745. imageFootprint: b32,
  3746. }
  3747. PipelineViewportExclusiveScissorStateCreateInfoNV :: struct {
  3748. sType: StructureType,
  3749. pNext: rawptr,
  3750. exclusiveScissorCount: u32,
  3751. pExclusiveScissors: [^]Rect2D,
  3752. }
  3753. PhysicalDeviceExclusiveScissorFeaturesNV :: struct {
  3754. sType: StructureType,
  3755. pNext: rawptr,
  3756. exclusiveScissor: b32,
  3757. }
  3758. QueueFamilyCheckpointPropertiesNV :: struct {
  3759. sType: StructureType,
  3760. pNext: rawptr,
  3761. checkpointExecutionStageMask: PipelineStageFlags,
  3762. }
  3763. CheckpointDataNV :: struct {
  3764. sType: StructureType,
  3765. pNext: rawptr,
  3766. stage: PipelineStageFlags,
  3767. pCheckpointMarker: rawptr,
  3768. }
  3769. PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL :: struct {
  3770. sType: StructureType,
  3771. pNext: rawptr,
  3772. shaderIntegerFunctions2: b32,
  3773. }
  3774. PerformanceValueDataINTEL :: struct #raw_union {
  3775. value32: u32,
  3776. value64: u64,
  3777. valueFloat: f32,
  3778. valueBool: b32,
  3779. valueString: cstring,
  3780. }
  3781. PerformanceValueINTEL :: struct {
  3782. type: PerformanceValueTypeINTEL,
  3783. data: PerformanceValueDataINTEL,
  3784. }
  3785. InitializePerformanceApiInfoINTEL :: struct {
  3786. sType: StructureType,
  3787. pNext: rawptr,
  3788. pUserData: rawptr,
  3789. }
  3790. QueryPoolPerformanceQueryCreateInfoINTEL :: struct {
  3791. sType: StructureType,
  3792. pNext: rawptr,
  3793. performanceCountersSampling: QueryPoolSamplingModeINTEL,
  3794. }
  3795. PerformanceMarkerInfoINTEL :: struct {
  3796. sType: StructureType,
  3797. pNext: rawptr,
  3798. marker: u64,
  3799. }
  3800. PerformanceStreamMarkerInfoINTEL :: struct {
  3801. sType: StructureType,
  3802. pNext: rawptr,
  3803. marker: u32,
  3804. }
  3805. PerformanceOverrideInfoINTEL :: struct {
  3806. sType: StructureType,
  3807. pNext: rawptr,
  3808. type: PerformanceOverrideTypeINTEL,
  3809. enable: b32,
  3810. parameter: u64,
  3811. }
  3812. PerformanceConfigurationAcquireInfoINTEL :: struct {
  3813. sType: StructureType,
  3814. pNext: rawptr,
  3815. type: PerformanceConfigurationTypeINTEL,
  3816. }
  3817. PhysicalDevicePCIBusInfoPropertiesEXT :: struct {
  3818. sType: StructureType,
  3819. pNext: rawptr,
  3820. pciDomain: u32,
  3821. pciBus: u32,
  3822. pciDevice: u32,
  3823. pciFunction: u32,
  3824. }
  3825. DisplayNativeHdrSurfaceCapabilitiesAMD :: struct {
  3826. sType: StructureType,
  3827. pNext: rawptr,
  3828. localDimmingSupport: b32,
  3829. }
  3830. SwapchainDisplayNativeHdrCreateInfoAMD :: struct {
  3831. sType: StructureType,
  3832. pNext: rawptr,
  3833. localDimmingEnable: b32,
  3834. }
  3835. PhysicalDeviceFragmentDensityMapFeaturesEXT :: struct {
  3836. sType: StructureType,
  3837. pNext: rawptr,
  3838. fragmentDensityMap: b32,
  3839. fragmentDensityMapDynamic: b32,
  3840. fragmentDensityMapNonSubsampledImages: b32,
  3841. }
  3842. PhysicalDeviceFragmentDensityMapPropertiesEXT :: struct {
  3843. sType: StructureType,
  3844. pNext: rawptr,
  3845. minFragmentDensityTexelSize: Extent2D,
  3846. maxFragmentDensityTexelSize: Extent2D,
  3847. fragmentDensityInvocations: b32,
  3848. }
  3849. RenderPassFragmentDensityMapCreateInfoEXT :: struct {
  3850. sType: StructureType,
  3851. pNext: rawptr,
  3852. fragmentDensityMapAttachment: AttachmentReference,
  3853. }
  3854. PhysicalDeviceShaderCoreProperties2AMD :: struct {
  3855. sType: StructureType,
  3856. pNext: rawptr,
  3857. shaderCoreFeatures: ShaderCorePropertiesFlagsAMD,
  3858. activeComputeUnitCount: u32,
  3859. }
  3860. PhysicalDeviceCoherentMemoryFeaturesAMD :: struct {
  3861. sType: StructureType,
  3862. pNext: rawptr,
  3863. deviceCoherentMemory: b32,
  3864. }
  3865. PhysicalDeviceShaderImageAtomicInt64FeaturesEXT :: struct {
  3866. sType: StructureType,
  3867. pNext: rawptr,
  3868. shaderImageInt64Atomics: b32,
  3869. sparseImageInt64Atomics: b32,
  3870. }
  3871. PhysicalDeviceMemoryBudgetPropertiesEXT :: struct {
  3872. sType: StructureType,
  3873. pNext: rawptr,
  3874. heapBudget: [MAX_MEMORY_HEAPS]DeviceSize,
  3875. heapUsage: [MAX_MEMORY_HEAPS]DeviceSize,
  3876. }
  3877. PhysicalDeviceMemoryPriorityFeaturesEXT :: struct {
  3878. sType: StructureType,
  3879. pNext: rawptr,
  3880. memoryPriority: b32,
  3881. }
  3882. MemoryPriorityAllocateInfoEXT :: struct {
  3883. sType: StructureType,
  3884. pNext: rawptr,
  3885. priority: f32,
  3886. }
  3887. PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV :: struct {
  3888. sType: StructureType,
  3889. pNext: rawptr,
  3890. dedicatedAllocationImageAliasing: b32,
  3891. }
  3892. PhysicalDeviceBufferDeviceAddressFeaturesEXT :: struct {
  3893. sType: StructureType,
  3894. pNext: rawptr,
  3895. bufferDeviceAddress: b32,
  3896. bufferDeviceAddressCaptureReplay: b32,
  3897. bufferDeviceAddressMultiDevice: b32,
  3898. }
  3899. BufferDeviceAddressCreateInfoEXT :: struct {
  3900. sType: StructureType,
  3901. pNext: rawptr,
  3902. deviceAddress: DeviceAddress,
  3903. }
  3904. ValidationFeaturesEXT :: struct {
  3905. sType: StructureType,
  3906. pNext: rawptr,
  3907. enabledValidationFeatureCount: u32,
  3908. pEnabledValidationFeatures: [^]ValidationFeatureEnableEXT,
  3909. disabledValidationFeatureCount: u32,
  3910. pDisabledValidationFeatures: [^]ValidationFeatureDisableEXT,
  3911. }
  3912. CooperativeMatrixPropertiesNV :: struct {
  3913. sType: StructureType,
  3914. pNext: rawptr,
  3915. MSize: u32,
  3916. NSize: u32,
  3917. KSize: u32,
  3918. AType: ComponentTypeNV,
  3919. BType: ComponentTypeNV,
  3920. CType: ComponentTypeNV,
  3921. DType: ComponentTypeNV,
  3922. scope: ScopeNV,
  3923. }
  3924. PhysicalDeviceCooperativeMatrixFeaturesNV :: struct {
  3925. sType: StructureType,
  3926. pNext: rawptr,
  3927. cooperativeMatrix: b32,
  3928. cooperativeMatrixRobustBufferAccess: b32,
  3929. }
  3930. PhysicalDeviceCooperativeMatrixPropertiesNV :: struct {
  3931. sType: StructureType,
  3932. pNext: rawptr,
  3933. cooperativeMatrixSupportedStages: ShaderStageFlags,
  3934. }
  3935. PhysicalDeviceCoverageReductionModeFeaturesNV :: struct {
  3936. sType: StructureType,
  3937. pNext: rawptr,
  3938. coverageReductionMode: b32,
  3939. }
  3940. PipelineCoverageReductionStateCreateInfoNV :: struct {
  3941. sType: StructureType,
  3942. pNext: rawptr,
  3943. flags: PipelineCoverageReductionStateCreateFlagsNV,
  3944. coverageReductionMode: CoverageReductionModeNV,
  3945. }
  3946. FramebufferMixedSamplesCombinationNV :: struct {
  3947. sType: StructureType,
  3948. pNext: rawptr,
  3949. coverageReductionMode: CoverageReductionModeNV,
  3950. rasterizationSamples: SampleCountFlags,
  3951. depthStencilSamples: SampleCountFlags,
  3952. colorSamples: SampleCountFlags,
  3953. }
  3954. PhysicalDeviceFragmentShaderInterlockFeaturesEXT :: struct {
  3955. sType: StructureType,
  3956. pNext: rawptr,
  3957. fragmentShaderSampleInterlock: b32,
  3958. fragmentShaderPixelInterlock: b32,
  3959. fragmentShaderShadingRateInterlock: b32,
  3960. }
  3961. PhysicalDeviceYcbcrImageArraysFeaturesEXT :: struct {
  3962. sType: StructureType,
  3963. pNext: rawptr,
  3964. ycbcrImageArrays: b32,
  3965. }
  3966. PhysicalDeviceProvokingVertexFeaturesEXT :: struct {
  3967. sType: StructureType,
  3968. pNext: rawptr,
  3969. provokingVertexLast: b32,
  3970. transformFeedbackPreservesProvokingVertex: b32,
  3971. }
  3972. PhysicalDeviceProvokingVertexPropertiesEXT :: struct {
  3973. sType: StructureType,
  3974. pNext: rawptr,
  3975. provokingVertexModePerPipeline: b32,
  3976. transformFeedbackPreservesTriangleFanProvokingVertex: b32,
  3977. }
  3978. PipelineRasterizationProvokingVertexStateCreateInfoEXT :: struct {
  3979. sType: StructureType,
  3980. pNext: rawptr,
  3981. provokingVertexMode: ProvokingVertexModeEXT,
  3982. }
  3983. HeadlessSurfaceCreateInfoEXT :: struct {
  3984. sType: StructureType,
  3985. pNext: rawptr,
  3986. flags: HeadlessSurfaceCreateFlagsEXT,
  3987. }
  3988. PhysicalDeviceLineRasterizationFeaturesEXT :: struct {
  3989. sType: StructureType,
  3990. pNext: rawptr,
  3991. rectangularLines: b32,
  3992. bresenhamLines: b32,
  3993. smoothLines: b32,
  3994. stippledRectangularLines: b32,
  3995. stippledBresenhamLines: b32,
  3996. stippledSmoothLines: b32,
  3997. }
  3998. PhysicalDeviceLineRasterizationPropertiesEXT :: struct {
  3999. sType: StructureType,
  4000. pNext: rawptr,
  4001. lineSubPixelPrecisionBits: u32,
  4002. }
  4003. PipelineRasterizationLineStateCreateInfoEXT :: struct {
  4004. sType: StructureType,
  4005. pNext: rawptr,
  4006. lineRasterizationMode: LineRasterizationModeEXT,
  4007. stippledLineEnable: b32,
  4008. lineStippleFactor: u32,
  4009. lineStipplePattern: u16,
  4010. }
  4011. PhysicalDeviceShaderAtomicFloatFeaturesEXT :: struct {
  4012. sType: StructureType,
  4013. pNext: rawptr,
  4014. shaderBufferFloat32Atomics: b32,
  4015. shaderBufferFloat32AtomicAdd: b32,
  4016. shaderBufferFloat64Atomics: b32,
  4017. shaderBufferFloat64AtomicAdd: b32,
  4018. shaderSharedFloat32Atomics: b32,
  4019. shaderSharedFloat32AtomicAdd: b32,
  4020. shaderSharedFloat64Atomics: b32,
  4021. shaderSharedFloat64AtomicAdd: b32,
  4022. shaderImageFloat32Atomics: b32,
  4023. shaderImageFloat32AtomicAdd: b32,
  4024. sparseImageFloat32Atomics: b32,
  4025. sparseImageFloat32AtomicAdd: b32,
  4026. }
  4027. PhysicalDeviceIndexTypeUint8FeaturesEXT :: struct {
  4028. sType: StructureType,
  4029. pNext: rawptr,
  4030. indexTypeUint8: b32,
  4031. }
  4032. PhysicalDeviceExtendedDynamicStateFeaturesEXT :: struct {
  4033. sType: StructureType,
  4034. pNext: rawptr,
  4035. extendedDynamicState: b32,
  4036. }
  4037. PhysicalDeviceShaderAtomicFloat2FeaturesEXT :: struct {
  4038. sType: StructureType,
  4039. pNext: rawptr,
  4040. shaderBufferFloat16Atomics: b32,
  4041. shaderBufferFloat16AtomicAdd: b32,
  4042. shaderBufferFloat16AtomicMinMax: b32,
  4043. shaderBufferFloat32AtomicMinMax: b32,
  4044. shaderBufferFloat64AtomicMinMax: b32,
  4045. shaderSharedFloat16Atomics: b32,
  4046. shaderSharedFloat16AtomicAdd: b32,
  4047. shaderSharedFloat16AtomicMinMax: b32,
  4048. shaderSharedFloat32AtomicMinMax: b32,
  4049. shaderSharedFloat64AtomicMinMax: b32,
  4050. shaderImageFloat32AtomicMinMax: b32,
  4051. sparseImageFloat32AtomicMinMax: b32,
  4052. }
  4053. PhysicalDeviceDeviceGeneratedCommandsPropertiesNV :: struct {
  4054. sType: StructureType,
  4055. pNext: rawptr,
  4056. maxGraphicsShaderGroupCount: u32,
  4057. maxIndirectSequenceCount: u32,
  4058. maxIndirectCommandsTokenCount: u32,
  4059. maxIndirectCommandsStreamCount: u32,
  4060. maxIndirectCommandsTokenOffset: u32,
  4061. maxIndirectCommandsStreamStride: u32,
  4062. minSequencesCountBufferOffsetAlignment: u32,
  4063. minSequencesIndexBufferOffsetAlignment: u32,
  4064. minIndirectCommandsBufferOffsetAlignment: u32,
  4065. }
  4066. PhysicalDeviceDeviceGeneratedCommandsFeaturesNV :: struct {
  4067. sType: StructureType,
  4068. pNext: rawptr,
  4069. deviceGeneratedCommands: b32,
  4070. }
  4071. GraphicsShaderGroupCreateInfoNV :: struct {
  4072. sType: StructureType,
  4073. pNext: rawptr,
  4074. stageCount: u32,
  4075. pStages: [^]PipelineShaderStageCreateInfo,
  4076. pVertexInputState: ^PipelineVertexInputStateCreateInfo,
  4077. pTessellationState: ^PipelineTessellationStateCreateInfo,
  4078. }
  4079. GraphicsPipelineShaderGroupsCreateInfoNV :: struct {
  4080. sType: StructureType,
  4081. pNext: rawptr,
  4082. groupCount: u32,
  4083. pGroups: [^]GraphicsShaderGroupCreateInfoNV,
  4084. pipelineCount: u32,
  4085. pPipelines: [^]Pipeline,
  4086. }
  4087. BindShaderGroupIndirectCommandNV :: struct {
  4088. groupIndex: u32,
  4089. }
  4090. BindIndexBufferIndirectCommandNV :: struct {
  4091. bufferAddress: DeviceAddress,
  4092. size: u32,
  4093. indexType: IndexType,
  4094. }
  4095. BindVertexBufferIndirectCommandNV :: struct {
  4096. bufferAddress: DeviceAddress,
  4097. size: u32,
  4098. stride: u32,
  4099. }
  4100. SetStateFlagsIndirectCommandNV :: struct {
  4101. data: u32,
  4102. }
  4103. IndirectCommandsStreamNV :: struct {
  4104. buffer: Buffer,
  4105. offset: DeviceSize,
  4106. }
  4107. IndirectCommandsLayoutTokenNV :: struct {
  4108. sType: StructureType,
  4109. pNext: rawptr,
  4110. tokenType: IndirectCommandsTokenTypeNV,
  4111. stream: u32,
  4112. offset: u32,
  4113. vertexBindingUnit: u32,
  4114. vertexDynamicStride: b32,
  4115. pushconstantPipelineLayout: PipelineLayout,
  4116. pushconstantShaderStageFlags: ShaderStageFlags,
  4117. pushconstantOffset: u32,
  4118. pushconstantSize: u32,
  4119. indirectStateFlags: IndirectStateFlagsNV,
  4120. indexTypeCount: u32,
  4121. pIndexTypes: [^]IndexType,
  4122. pIndexTypeValues: [^]u32,
  4123. }
  4124. IndirectCommandsLayoutCreateInfoNV :: struct {
  4125. sType: StructureType,
  4126. pNext: rawptr,
  4127. flags: IndirectCommandsLayoutUsageFlagsNV,
  4128. pipelineBindPoint: PipelineBindPoint,
  4129. tokenCount: u32,
  4130. pTokens: [^]IndirectCommandsLayoutTokenNV,
  4131. streamCount: u32,
  4132. pStreamStrides: [^]u32,
  4133. }
  4134. GeneratedCommandsInfoNV :: struct {
  4135. sType: StructureType,
  4136. pNext: rawptr,
  4137. pipelineBindPoint: PipelineBindPoint,
  4138. pipeline: Pipeline,
  4139. indirectCommandsLayout: IndirectCommandsLayoutNV,
  4140. streamCount: u32,
  4141. pStreams: [^]IndirectCommandsStreamNV,
  4142. sequencesCount: u32,
  4143. preprocessBuffer: Buffer,
  4144. preprocessOffset: DeviceSize,
  4145. preprocessSize: DeviceSize,
  4146. sequencesCountBuffer: Buffer,
  4147. sequencesCountOffset: DeviceSize,
  4148. sequencesIndexBuffer: Buffer,
  4149. sequencesIndexOffset: DeviceSize,
  4150. }
  4151. GeneratedCommandsMemoryRequirementsInfoNV :: struct {
  4152. sType: StructureType,
  4153. pNext: rawptr,
  4154. pipelineBindPoint: PipelineBindPoint,
  4155. pipeline: Pipeline,
  4156. indirectCommandsLayout: IndirectCommandsLayoutNV,
  4157. maxSequencesCount: u32,
  4158. }
  4159. PhysicalDeviceInheritedViewportScissorFeaturesNV :: struct {
  4160. sType: StructureType,
  4161. pNext: rawptr,
  4162. inheritedViewportScissor2D: b32,
  4163. }
  4164. CommandBufferInheritanceViewportScissorInfoNV :: struct {
  4165. sType: StructureType,
  4166. pNext: rawptr,
  4167. viewportScissor2D: b32,
  4168. viewportDepthCount: u32,
  4169. pViewportDepths: [^]Viewport,
  4170. }
  4171. PhysicalDeviceTexelBufferAlignmentFeaturesEXT :: struct {
  4172. sType: StructureType,
  4173. pNext: rawptr,
  4174. texelBufferAlignment: b32,
  4175. }
  4176. RenderPassTransformBeginInfoQCOM :: struct {
  4177. sType: StructureType,
  4178. pNext: rawptr,
  4179. transform: SurfaceTransformFlagsKHR,
  4180. }
  4181. CommandBufferInheritanceRenderPassTransformInfoQCOM :: struct {
  4182. sType: StructureType,
  4183. pNext: rawptr,
  4184. transform: SurfaceTransformFlagsKHR,
  4185. renderArea: Rect2D,
  4186. }
  4187. PhysicalDeviceDeviceMemoryReportFeaturesEXT :: struct {
  4188. sType: StructureType,
  4189. pNext: rawptr,
  4190. deviceMemoryReport: b32,
  4191. }
  4192. DeviceMemoryReportCallbackDataEXT :: struct {
  4193. sType: StructureType,
  4194. pNext: rawptr,
  4195. flags: DeviceMemoryReportFlagsEXT,
  4196. type: DeviceMemoryReportEventTypeEXT,
  4197. memoryObjectId: u64,
  4198. size: DeviceSize,
  4199. objectType: ObjectType,
  4200. objectHandle: u64,
  4201. heapIndex: u32,
  4202. }
  4203. DeviceDeviceMemoryReportCreateInfoEXT :: struct {
  4204. sType: StructureType,
  4205. pNext: rawptr,
  4206. flags: DeviceMemoryReportFlagsEXT,
  4207. pfnUserCallback: ProcDeviceMemoryReportCallbackEXT,
  4208. pUserData: rawptr,
  4209. }
  4210. PhysicalDeviceRobustness2FeaturesEXT :: struct {
  4211. sType: StructureType,
  4212. pNext: rawptr,
  4213. robustBufferAccess2: b32,
  4214. robustImageAccess2: b32,
  4215. nullDescriptor: b32,
  4216. }
  4217. PhysicalDeviceRobustness2PropertiesEXT :: struct {
  4218. sType: StructureType,
  4219. pNext: rawptr,
  4220. robustStorageBufferAccessSizeAlignment: DeviceSize,
  4221. robustUniformBufferAccessSizeAlignment: DeviceSize,
  4222. }
  4223. SamplerCustomBorderColorCreateInfoEXT :: struct {
  4224. sType: StructureType,
  4225. pNext: rawptr,
  4226. customBorderColor: ClearColorValue,
  4227. format: Format,
  4228. }
  4229. PhysicalDeviceCustomBorderColorPropertiesEXT :: struct {
  4230. sType: StructureType,
  4231. pNext: rawptr,
  4232. maxCustomBorderColorSamplers: u32,
  4233. }
  4234. PhysicalDeviceCustomBorderColorFeaturesEXT :: struct {
  4235. sType: StructureType,
  4236. pNext: rawptr,
  4237. customBorderColors: b32,
  4238. customBorderColorWithoutFormat: b32,
  4239. }
  4240. PhysicalDeviceDiagnosticsConfigFeaturesNV :: struct {
  4241. sType: StructureType,
  4242. pNext: rawptr,
  4243. diagnosticsConfig: b32,
  4244. }
  4245. DeviceDiagnosticsConfigCreateInfoNV :: struct {
  4246. sType: StructureType,
  4247. pNext: rawptr,
  4248. flags: DeviceDiagnosticsConfigFlagsNV,
  4249. }
  4250. PhysicalDeviceGraphicsPipelineLibraryFeaturesEXT :: struct {
  4251. sType: StructureType,
  4252. pNext: rawptr,
  4253. graphicsPipelineLibrary: b32,
  4254. }
  4255. PhysicalDeviceGraphicsPipelineLibraryPropertiesEXT :: struct {
  4256. sType: StructureType,
  4257. pNext: rawptr,
  4258. graphicsPipelineLibraryFastLinking: b32,
  4259. graphicsPipelineLibraryIndependentInterpolationDecoration: b32,
  4260. }
  4261. GraphicsPipelineLibraryCreateInfoEXT :: struct {
  4262. sType: StructureType,
  4263. pNext: rawptr,
  4264. flags: GraphicsPipelineLibraryFlagsEXT,
  4265. }
  4266. PhysicalDeviceFragmentShadingRateEnumsFeaturesNV :: struct {
  4267. sType: StructureType,
  4268. pNext: rawptr,
  4269. fragmentShadingRateEnums: b32,
  4270. supersampleFragmentShadingRates: b32,
  4271. noInvocationFragmentShadingRates: b32,
  4272. }
  4273. PhysicalDeviceFragmentShadingRateEnumsPropertiesNV :: struct {
  4274. sType: StructureType,
  4275. pNext: rawptr,
  4276. maxFragmentShadingRateInvocationCount: SampleCountFlags,
  4277. }
  4278. PipelineFragmentShadingRateEnumStateCreateInfoNV :: struct {
  4279. sType: StructureType,
  4280. pNext: rawptr,
  4281. shadingRateType: FragmentShadingRateTypeNV,
  4282. shadingRate: FragmentShadingRateNV,
  4283. combinerOps: [2]FragmentShadingRateCombinerOpKHR,
  4284. }
  4285. DeviceOrHostAddressConstKHR :: struct #raw_union {
  4286. deviceAddress: DeviceAddress,
  4287. hostAddress: rawptr,
  4288. }
  4289. AccelerationStructureGeometryMotionTrianglesDataNV :: struct {
  4290. sType: StructureType,
  4291. pNext: rawptr,
  4292. vertexData: DeviceOrHostAddressConstKHR,
  4293. }
  4294. AccelerationStructureMotionInfoNV :: struct {
  4295. sType: StructureType,
  4296. pNext: rawptr,
  4297. maxInstances: u32,
  4298. flags: AccelerationStructureMotionInfoFlagsNV,
  4299. }
  4300. AccelerationStructureMatrixMotionInstanceNV :: struct {
  4301. transformT0: TransformMatrixKHR,
  4302. transformT1: TransformMatrixKHR,
  4303. accelerationStructureReference: u64,
  4304. }
  4305. SRTDataNV :: struct {
  4306. sx: f32,
  4307. a: f32,
  4308. b: f32,
  4309. pvx: f32,
  4310. sy: f32,
  4311. c: f32,
  4312. pvy: f32,
  4313. sz: f32,
  4314. pvz: f32,
  4315. qx: f32,
  4316. qy: f32,
  4317. qz: f32,
  4318. qw: f32,
  4319. tx: f32,
  4320. ty: f32,
  4321. tz: f32,
  4322. }
  4323. AccelerationStructureSRTMotionInstanceNV :: struct {
  4324. transformT0: SRTDataNV,
  4325. transformT1: SRTDataNV,
  4326. accelerationStructureReference: u64,
  4327. }
  4328. AccelerationStructureMotionInstanceDataNV :: struct #raw_union {
  4329. staticInstance: AccelerationStructureInstanceKHR,
  4330. matrixMotionInstance: AccelerationStructureMatrixMotionInstanceNV,
  4331. srtMotionInstance: AccelerationStructureSRTMotionInstanceNV,
  4332. }
  4333. AccelerationStructureMotionInstanceNV :: struct {
  4334. type: AccelerationStructureMotionInstanceTypeNV,
  4335. flags: AccelerationStructureMotionInstanceFlagsNV,
  4336. data: AccelerationStructureMotionInstanceDataNV,
  4337. }
  4338. PhysicalDeviceRayTracingMotionBlurFeaturesNV :: struct {
  4339. sType: StructureType,
  4340. pNext: rawptr,
  4341. rayTracingMotionBlur: b32,
  4342. rayTracingMotionBlurPipelineTraceRaysIndirect: b32,
  4343. }
  4344. PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT :: struct {
  4345. sType: StructureType,
  4346. pNext: rawptr,
  4347. ycbcr2plane444Formats: b32,
  4348. }
  4349. PhysicalDeviceFragmentDensityMap2FeaturesEXT :: struct {
  4350. sType: StructureType,
  4351. pNext: rawptr,
  4352. fragmentDensityMapDeferred: b32,
  4353. }
  4354. PhysicalDeviceFragmentDensityMap2PropertiesEXT :: struct {
  4355. sType: StructureType,
  4356. pNext: rawptr,
  4357. subsampledLoads: b32,
  4358. subsampledCoarseReconstructionEarlyAccess: b32,
  4359. maxSubsampledArrayLayers: u32,
  4360. maxDescriptorSetSubsampledSamplers: u32,
  4361. }
  4362. CopyCommandTransformInfoQCOM :: struct {
  4363. sType: StructureType,
  4364. pNext: rawptr,
  4365. transform: SurfaceTransformFlagsKHR,
  4366. }
  4367. PhysicalDevice4444FormatsFeaturesEXT :: struct {
  4368. sType: StructureType,
  4369. pNext: rawptr,
  4370. formatA4R4G4B4: b32,
  4371. formatA4B4G4R4: b32,
  4372. }
  4373. PhysicalDeviceRasterizationOrderAttachmentAccessFeaturesARM :: struct {
  4374. sType: StructureType,
  4375. pNext: rawptr,
  4376. rasterizationOrderColorAttachmentAccess: b32,
  4377. rasterizationOrderDepthAttachmentAccess: b32,
  4378. rasterizationOrderStencilAttachmentAccess: b32,
  4379. }
  4380. PhysicalDeviceRGBA10X6FormatsFeaturesEXT :: struct {
  4381. sType: StructureType,
  4382. pNext: rawptr,
  4383. formatRgba10x6WithoutYCbCrSampler: b32,
  4384. }
  4385. PhysicalDeviceMutableDescriptorTypeFeaturesVALVE :: struct {
  4386. sType: StructureType,
  4387. pNext: rawptr,
  4388. mutableDescriptorType: b32,
  4389. }
  4390. MutableDescriptorTypeListVALVE :: struct {
  4391. descriptorTypeCount: u32,
  4392. pDescriptorTypes: [^]DescriptorType,
  4393. }
  4394. MutableDescriptorTypeCreateInfoVALVE :: struct {
  4395. sType: StructureType,
  4396. pNext: rawptr,
  4397. mutableDescriptorTypeListCount: u32,
  4398. pMutableDescriptorTypeLists: [^]MutableDescriptorTypeListVALVE,
  4399. }
  4400. PhysicalDeviceVertexInputDynamicStateFeaturesEXT :: struct {
  4401. sType: StructureType,
  4402. pNext: rawptr,
  4403. vertexInputDynamicState: b32,
  4404. }
  4405. VertexInputBindingDescription2EXT :: struct {
  4406. sType: StructureType,
  4407. pNext: rawptr,
  4408. binding: u32,
  4409. stride: u32,
  4410. inputRate: VertexInputRate,
  4411. divisor: u32,
  4412. }
  4413. VertexInputAttributeDescription2EXT :: struct {
  4414. sType: StructureType,
  4415. pNext: rawptr,
  4416. location: u32,
  4417. binding: u32,
  4418. format: Format,
  4419. offset: u32,
  4420. }
  4421. PhysicalDeviceDrmPropertiesEXT :: struct {
  4422. sType: StructureType,
  4423. pNext: rawptr,
  4424. hasPrimary: b32,
  4425. hasRender: b32,
  4426. primaryMajor: i64,
  4427. primaryMinor: i64,
  4428. renderMajor: i64,
  4429. renderMinor: i64,
  4430. }
  4431. PhysicalDeviceDepthClipControlFeaturesEXT :: struct {
  4432. sType: StructureType,
  4433. pNext: rawptr,
  4434. depthClipControl: b32,
  4435. }
  4436. PipelineViewportDepthClipControlCreateInfoEXT :: struct {
  4437. sType: StructureType,
  4438. pNext: rawptr,
  4439. negativeOneToOne: b32,
  4440. }
  4441. PhysicalDevicePrimitiveTopologyListRestartFeaturesEXT :: struct {
  4442. sType: StructureType,
  4443. pNext: rawptr,
  4444. primitiveTopologyListRestart: b32,
  4445. primitiveTopologyPatchListRestart: b32,
  4446. }
  4447. SubpassShadingPipelineCreateInfoHUAWEI :: struct {
  4448. sType: StructureType,
  4449. pNext: rawptr,
  4450. renderPass: RenderPass,
  4451. subpass: u32,
  4452. }
  4453. PhysicalDeviceSubpassShadingFeaturesHUAWEI :: struct {
  4454. sType: StructureType,
  4455. pNext: rawptr,
  4456. subpassShading: b32,
  4457. }
  4458. PhysicalDeviceSubpassShadingPropertiesHUAWEI :: struct {
  4459. sType: StructureType,
  4460. pNext: rawptr,
  4461. maxSubpassShadingWorkgroupSizeAspectRatio: u32,
  4462. }
  4463. PhysicalDeviceInvocationMaskFeaturesHUAWEI :: struct {
  4464. sType: StructureType,
  4465. pNext: rawptr,
  4466. invocationMask: b32,
  4467. }
  4468. MemoryGetRemoteAddressInfoNV :: struct {
  4469. sType: StructureType,
  4470. pNext: rawptr,
  4471. memory: DeviceMemory,
  4472. handleType: ExternalMemoryHandleTypeFlags,
  4473. }
  4474. PhysicalDeviceExternalMemoryRDMAFeaturesNV :: struct {
  4475. sType: StructureType,
  4476. pNext: rawptr,
  4477. externalMemoryRDMA: b32,
  4478. }
  4479. PhysicalDeviceExtendedDynamicState2FeaturesEXT :: struct {
  4480. sType: StructureType,
  4481. pNext: rawptr,
  4482. extendedDynamicState2: b32,
  4483. extendedDynamicState2LogicOp: b32,
  4484. extendedDynamicState2PatchControlPoints: b32,
  4485. }
  4486. PhysicalDeviceColorWriteEnableFeaturesEXT :: struct {
  4487. sType: StructureType,
  4488. pNext: rawptr,
  4489. colorWriteEnable: b32,
  4490. }
  4491. PipelineColorWriteCreateInfoEXT :: struct {
  4492. sType: StructureType,
  4493. pNext: rawptr,
  4494. attachmentCount: u32,
  4495. pColorWriteEnables: [^]b32,
  4496. }
  4497. PhysicalDevicePrimitivesGeneratedQueryFeaturesEXT :: struct {
  4498. sType: StructureType,
  4499. pNext: rawptr,
  4500. primitivesGeneratedQuery: b32,
  4501. primitivesGeneratedQueryWithRasterizerDiscard: b32,
  4502. primitivesGeneratedQueryWithNonZeroStreams: b32,
  4503. }
  4504. PhysicalDeviceImageViewMinLodFeaturesEXT :: struct {
  4505. sType: StructureType,
  4506. pNext: rawptr,
  4507. minLod: b32,
  4508. }
  4509. ImageViewMinLodCreateInfoEXT :: struct {
  4510. sType: StructureType,
  4511. pNext: rawptr,
  4512. minLod: f32,
  4513. }
  4514. PhysicalDeviceMultiDrawFeaturesEXT :: struct {
  4515. sType: StructureType,
  4516. pNext: rawptr,
  4517. multiDraw: b32,
  4518. }
  4519. PhysicalDeviceMultiDrawPropertiesEXT :: struct {
  4520. sType: StructureType,
  4521. pNext: rawptr,
  4522. maxMultiDrawCount: u32,
  4523. }
  4524. MultiDrawInfoEXT :: struct {
  4525. firstVertex: u32,
  4526. vertexCount: u32,
  4527. }
  4528. MultiDrawIndexedInfoEXT :: struct {
  4529. firstIndex: u32,
  4530. indexCount: u32,
  4531. vertexOffset: i32,
  4532. }
  4533. PhysicalDeviceImage2DViewOf3DFeaturesEXT :: struct {
  4534. sType: StructureType,
  4535. pNext: rawptr,
  4536. image2DViewOf3D: b32,
  4537. sampler2DViewOf3D: b32,
  4538. }
  4539. PhysicalDeviceBorderColorSwizzleFeaturesEXT :: struct {
  4540. sType: StructureType,
  4541. pNext: rawptr,
  4542. borderColorSwizzle: b32,
  4543. borderColorSwizzleFromImage: b32,
  4544. }
  4545. SamplerBorderColorComponentMappingCreateInfoEXT :: struct {
  4546. sType: StructureType,
  4547. pNext: rawptr,
  4548. components: ComponentMapping,
  4549. srgb: b32,
  4550. }
  4551. PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT :: struct {
  4552. sType: StructureType,
  4553. pNext: rawptr,
  4554. pageableDeviceLocalMemory: b32,
  4555. }
  4556. PhysicalDeviceDescriptorSetHostMappingFeaturesVALVE :: struct {
  4557. sType: StructureType,
  4558. pNext: rawptr,
  4559. descriptorSetHostMapping: b32,
  4560. }
  4561. DescriptorSetBindingReferenceVALVE :: struct {
  4562. sType: StructureType,
  4563. pNext: rawptr,
  4564. descriptorSetLayout: DescriptorSetLayout,
  4565. binding: u32,
  4566. }
  4567. DescriptorSetLayoutHostMappingInfoVALVE :: struct {
  4568. sType: StructureType,
  4569. pNext: rawptr,
  4570. descriptorOffset: int,
  4571. descriptorSize: u32,
  4572. }
  4573. PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM :: struct {
  4574. sType: StructureType,
  4575. pNext: rawptr,
  4576. fragmentDensityMapOffset: b32,
  4577. }
  4578. PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM :: struct {
  4579. sType: StructureType,
  4580. pNext: rawptr,
  4581. fragmentDensityOffsetGranularity: Extent2D,
  4582. }
  4583. SubpassFragmentDensityMapOffsetEndInfoQCOM :: struct {
  4584. sType: StructureType,
  4585. pNext: rawptr,
  4586. fragmentDensityOffsetCount: u32,
  4587. pFragmentDensityOffsets: [^]Offset2D,
  4588. }
  4589. PhysicalDeviceLinearColorAttachmentFeaturesNV :: struct {
  4590. sType: StructureType,
  4591. pNext: rawptr,
  4592. linearColorAttachment: b32,
  4593. }
  4594. DeviceOrHostAddressKHR :: struct #raw_union {
  4595. deviceAddress: DeviceAddress,
  4596. hostAddress: rawptr,
  4597. }
  4598. AccelerationStructureBuildRangeInfoKHR :: struct {
  4599. primitiveCount: u32,
  4600. primitiveOffset: u32,
  4601. firstVertex: u32,
  4602. transformOffset: u32,
  4603. }
  4604. AccelerationStructureGeometryTrianglesDataKHR :: struct {
  4605. sType: StructureType,
  4606. pNext: rawptr,
  4607. vertexFormat: Format,
  4608. vertexData: DeviceOrHostAddressConstKHR,
  4609. vertexStride: DeviceSize,
  4610. maxVertex: u32,
  4611. indexType: IndexType,
  4612. indexData: DeviceOrHostAddressConstKHR,
  4613. transformData: DeviceOrHostAddressConstKHR,
  4614. }
  4615. AccelerationStructureGeometryAabbsDataKHR :: struct {
  4616. sType: StructureType,
  4617. pNext: rawptr,
  4618. data: DeviceOrHostAddressConstKHR,
  4619. stride: DeviceSize,
  4620. }
  4621. AccelerationStructureGeometryInstancesDataKHR :: struct {
  4622. sType: StructureType,
  4623. pNext: rawptr,
  4624. arrayOfPointers: b32,
  4625. data: DeviceOrHostAddressConstKHR,
  4626. }
  4627. AccelerationStructureGeometryDataKHR :: struct #raw_union {
  4628. triangles: AccelerationStructureGeometryTrianglesDataKHR,
  4629. aabbs: AccelerationStructureGeometryAabbsDataKHR,
  4630. instances: AccelerationStructureGeometryInstancesDataKHR,
  4631. }
  4632. AccelerationStructureGeometryKHR :: struct {
  4633. sType: StructureType,
  4634. pNext: rawptr,
  4635. geometryType: GeometryTypeKHR,
  4636. geometry: AccelerationStructureGeometryDataKHR,
  4637. flags: GeometryFlagsKHR,
  4638. }
  4639. AccelerationStructureBuildGeometryInfoKHR :: struct {
  4640. sType: StructureType,
  4641. pNext: rawptr,
  4642. type: AccelerationStructureTypeKHR,
  4643. flags: BuildAccelerationStructureFlagsKHR,
  4644. mode: BuildAccelerationStructureModeKHR,
  4645. srcAccelerationStructure: AccelerationStructureKHR,
  4646. dstAccelerationStructure: AccelerationStructureKHR,
  4647. geometryCount: u32,
  4648. pGeometries: [^]AccelerationStructureGeometryKHR,
  4649. ppGeometries: ^[^]AccelerationStructureGeometryKHR,
  4650. scratchData: DeviceOrHostAddressKHR,
  4651. }
  4652. AccelerationStructureCreateInfoKHR :: struct {
  4653. sType: StructureType,
  4654. pNext: rawptr,
  4655. createFlags: AccelerationStructureCreateFlagsKHR,
  4656. buffer: Buffer,
  4657. offset: DeviceSize,
  4658. size: DeviceSize,
  4659. type: AccelerationStructureTypeKHR,
  4660. deviceAddress: DeviceAddress,
  4661. }
  4662. WriteDescriptorSetAccelerationStructureKHR :: struct {
  4663. sType: StructureType,
  4664. pNext: rawptr,
  4665. accelerationStructureCount: u32,
  4666. pAccelerationStructures: [^]AccelerationStructureKHR,
  4667. }
  4668. PhysicalDeviceAccelerationStructureFeaturesKHR :: struct {
  4669. sType: StructureType,
  4670. pNext: rawptr,
  4671. accelerationStructure: b32,
  4672. accelerationStructureCaptureReplay: b32,
  4673. accelerationStructureIndirectBuild: b32,
  4674. accelerationStructureHostCommands: b32,
  4675. descriptorBindingAccelerationStructureUpdateAfterBind: b32,
  4676. }
  4677. PhysicalDeviceAccelerationStructurePropertiesKHR :: struct {
  4678. sType: StructureType,
  4679. pNext: rawptr,
  4680. maxGeometryCount: u64,
  4681. maxInstanceCount: u64,
  4682. maxPrimitiveCount: u64,
  4683. maxPerStageDescriptorAccelerationStructures: u32,
  4684. maxPerStageDescriptorUpdateAfterBindAccelerationStructures: u32,
  4685. maxDescriptorSetAccelerationStructures: u32,
  4686. maxDescriptorSetUpdateAfterBindAccelerationStructures: u32,
  4687. minAccelerationStructureScratchOffsetAlignment: u32,
  4688. }
  4689. AccelerationStructureDeviceAddressInfoKHR :: struct {
  4690. sType: StructureType,
  4691. pNext: rawptr,
  4692. accelerationStructure: AccelerationStructureKHR,
  4693. }
  4694. AccelerationStructureVersionInfoKHR :: struct {
  4695. sType: StructureType,
  4696. pNext: rawptr,
  4697. pVersionData: ^u8,
  4698. }
  4699. CopyAccelerationStructureToMemoryInfoKHR :: struct {
  4700. sType: StructureType,
  4701. pNext: rawptr,
  4702. src: AccelerationStructureKHR,
  4703. dst: DeviceOrHostAddressKHR,
  4704. mode: CopyAccelerationStructureModeKHR,
  4705. }
  4706. CopyMemoryToAccelerationStructureInfoKHR :: struct {
  4707. sType: StructureType,
  4708. pNext: rawptr,
  4709. src: DeviceOrHostAddressConstKHR,
  4710. dst: AccelerationStructureKHR,
  4711. mode: CopyAccelerationStructureModeKHR,
  4712. }
  4713. CopyAccelerationStructureInfoKHR :: struct {
  4714. sType: StructureType,
  4715. pNext: rawptr,
  4716. src: AccelerationStructureKHR,
  4717. dst: AccelerationStructureKHR,
  4718. mode: CopyAccelerationStructureModeKHR,
  4719. }
  4720. AccelerationStructureBuildSizesInfoKHR :: struct {
  4721. sType: StructureType,
  4722. pNext: rawptr,
  4723. accelerationStructureSize: DeviceSize,
  4724. updateScratchSize: DeviceSize,
  4725. buildScratchSize: DeviceSize,
  4726. }
  4727. RayTracingShaderGroupCreateInfoKHR :: struct {
  4728. sType: StructureType,
  4729. pNext: rawptr,
  4730. type: RayTracingShaderGroupTypeKHR,
  4731. generalShader: u32,
  4732. closestHitShader: u32,
  4733. anyHitShader: u32,
  4734. intersectionShader: u32,
  4735. pShaderGroupCaptureReplayHandle: rawptr,
  4736. }
  4737. RayTracingPipelineInterfaceCreateInfoKHR :: struct {
  4738. sType: StructureType,
  4739. pNext: rawptr,
  4740. maxPipelineRayPayloadSize: u32,
  4741. maxPipelineRayHitAttributeSize: u32,
  4742. }
  4743. RayTracingPipelineCreateInfoKHR :: struct {
  4744. sType: StructureType,
  4745. pNext: rawptr,
  4746. flags: PipelineCreateFlags,
  4747. stageCount: u32,
  4748. pStages: [^]PipelineShaderStageCreateInfo,
  4749. groupCount: u32,
  4750. pGroups: [^]RayTracingShaderGroupCreateInfoKHR,
  4751. maxPipelineRayRecursionDepth: u32,
  4752. pLibraryInfo: ^PipelineLibraryCreateInfoKHR,
  4753. pLibraryInterface: ^RayTracingPipelineInterfaceCreateInfoKHR,
  4754. pDynamicState: ^PipelineDynamicStateCreateInfo,
  4755. layout: PipelineLayout,
  4756. basePipelineHandle: Pipeline,
  4757. basePipelineIndex: i32,
  4758. }
  4759. PhysicalDeviceRayTracingPipelineFeaturesKHR :: struct {
  4760. sType: StructureType,
  4761. pNext: rawptr,
  4762. rayTracingPipeline: b32,
  4763. rayTracingPipelineShaderGroupHandleCaptureReplay: b32,
  4764. rayTracingPipelineShaderGroupHandleCaptureReplayMixed: b32,
  4765. rayTracingPipelineTraceRaysIndirect: b32,
  4766. rayTraversalPrimitiveCulling: b32,
  4767. }
  4768. PhysicalDeviceRayTracingPipelinePropertiesKHR :: struct {
  4769. sType: StructureType,
  4770. pNext: rawptr,
  4771. shaderGroupHandleSize: u32,
  4772. maxRayRecursionDepth: u32,
  4773. maxShaderGroupStride: u32,
  4774. shaderGroupBaseAlignment: u32,
  4775. shaderGroupHandleCaptureReplaySize: u32,
  4776. maxRayDispatchInvocationCount: u32,
  4777. shaderGroupHandleAlignment: u32,
  4778. maxRayHitAttributeSize: u32,
  4779. }
  4780. StridedDeviceAddressRegionKHR :: struct {
  4781. deviceAddress: DeviceAddress,
  4782. stride: DeviceSize,
  4783. size: DeviceSize,
  4784. }
  4785. TraceRaysIndirectCommandKHR :: struct {
  4786. width: u32,
  4787. height: u32,
  4788. depth: u32,
  4789. }
  4790. PhysicalDeviceRayQueryFeaturesKHR :: struct {
  4791. sType: StructureType,
  4792. pNext: rawptr,
  4793. rayQuery: b32,
  4794. }
  4795. Win32SurfaceCreateInfoKHR :: struct {
  4796. sType: StructureType,
  4797. pNext: rawptr,
  4798. flags: Win32SurfaceCreateFlagsKHR,
  4799. hinstance: HINSTANCE,
  4800. hwnd: HWND,
  4801. }
  4802. ImportMemoryWin32HandleInfoKHR :: struct {
  4803. sType: StructureType,
  4804. pNext: rawptr,
  4805. handleType: ExternalMemoryHandleTypeFlags,
  4806. handle: HANDLE,
  4807. name: LPCWSTR,
  4808. }
  4809. ExportMemoryWin32HandleInfoKHR :: struct {
  4810. sType: StructureType,
  4811. pNext: rawptr,
  4812. pAttributes: [^]SECURITY_ATTRIBUTES,
  4813. dwAccess: DWORD,
  4814. name: LPCWSTR,
  4815. }
  4816. MemoryWin32HandlePropertiesKHR :: struct {
  4817. sType: StructureType,
  4818. pNext: rawptr,
  4819. memoryTypeBits: u32,
  4820. }
  4821. MemoryGetWin32HandleInfoKHR :: struct {
  4822. sType: StructureType,
  4823. pNext: rawptr,
  4824. memory: DeviceMemory,
  4825. handleType: ExternalMemoryHandleTypeFlags,
  4826. }
  4827. Win32KeyedMutexAcquireReleaseInfoKHR :: struct {
  4828. sType: StructureType,
  4829. pNext: rawptr,
  4830. acquireCount: u32,
  4831. pAcquireSyncs: [^]DeviceMemory,
  4832. pAcquireKeys: [^]u64,
  4833. pAcquireTimeouts: [^]u32,
  4834. releaseCount: u32,
  4835. pReleaseSyncs: [^]DeviceMemory,
  4836. pReleaseKeys: [^]u64,
  4837. }
  4838. ImportSemaphoreWin32HandleInfoKHR :: struct {
  4839. sType: StructureType,
  4840. pNext: rawptr,
  4841. semaphore: Semaphore,
  4842. flags: SemaphoreImportFlags,
  4843. handleType: ExternalSemaphoreHandleTypeFlags,
  4844. handle: HANDLE,
  4845. name: LPCWSTR,
  4846. }
  4847. ExportSemaphoreWin32HandleInfoKHR :: struct {
  4848. sType: StructureType,
  4849. pNext: rawptr,
  4850. pAttributes: [^]SECURITY_ATTRIBUTES,
  4851. dwAccess: DWORD,
  4852. name: LPCWSTR,
  4853. }
  4854. D3D12FenceSubmitInfoKHR :: struct {
  4855. sType: StructureType,
  4856. pNext: rawptr,
  4857. waitSemaphoreValuesCount: u32,
  4858. pWaitSemaphoreValues: [^]u64,
  4859. signalSemaphoreValuesCount: u32,
  4860. pSignalSemaphoreValues: [^]u64,
  4861. }
  4862. SemaphoreGetWin32HandleInfoKHR :: struct {
  4863. sType: StructureType,
  4864. pNext: rawptr,
  4865. semaphore: Semaphore,
  4866. handleType: ExternalSemaphoreHandleTypeFlags,
  4867. }
  4868. ImportFenceWin32HandleInfoKHR :: struct {
  4869. sType: StructureType,
  4870. pNext: rawptr,
  4871. fence: Fence,
  4872. flags: FenceImportFlags,
  4873. handleType: ExternalFenceHandleTypeFlags,
  4874. handle: HANDLE,
  4875. name: LPCWSTR,
  4876. }
  4877. ExportFenceWin32HandleInfoKHR :: struct {
  4878. sType: StructureType,
  4879. pNext: rawptr,
  4880. pAttributes: [^]SECURITY_ATTRIBUTES,
  4881. dwAccess: DWORD,
  4882. name: LPCWSTR,
  4883. }
  4884. FenceGetWin32HandleInfoKHR :: struct {
  4885. sType: StructureType,
  4886. pNext: rawptr,
  4887. fence: Fence,
  4888. handleType: ExternalFenceHandleTypeFlags,
  4889. }
  4890. ImportMemoryWin32HandleInfoNV :: struct {
  4891. sType: StructureType,
  4892. pNext: rawptr,
  4893. handleType: ExternalMemoryHandleTypeFlagsNV,
  4894. handle: HANDLE,
  4895. }
  4896. ExportMemoryWin32HandleInfoNV :: struct {
  4897. sType: StructureType,
  4898. pNext: rawptr,
  4899. pAttributes: [^]SECURITY_ATTRIBUTES,
  4900. dwAccess: DWORD,
  4901. }
  4902. Win32KeyedMutexAcquireReleaseInfoNV :: struct {
  4903. sType: StructureType,
  4904. pNext: rawptr,
  4905. acquireCount: u32,
  4906. pAcquireSyncs: [^]DeviceMemory,
  4907. pAcquireKeys: [^]u64,
  4908. pAcquireTimeoutMilliseconds: [^]u32,
  4909. releaseCount: u32,
  4910. pReleaseSyncs: [^]DeviceMemory,
  4911. pReleaseKeys: [^]u64,
  4912. }
  4913. SurfaceFullScreenExclusiveInfoEXT :: struct {
  4914. sType: StructureType,
  4915. pNext: rawptr,
  4916. fullScreenExclusive: FullScreenExclusiveEXT,
  4917. }
  4918. SurfaceCapabilitiesFullScreenExclusiveEXT :: struct {
  4919. sType: StructureType,
  4920. pNext: rawptr,
  4921. fullScreenExclusiveSupported: b32,
  4922. }
  4923. SurfaceFullScreenExclusiveWin32InfoEXT :: struct {
  4924. sType: StructureType,
  4925. pNext: rawptr,
  4926. hmonitor: HMONITOR,
  4927. }
  4928. MetalSurfaceCreateInfoEXT :: struct {
  4929. sType: StructureType,
  4930. pNext: rawptr,
  4931. flags: MetalSurfaceCreateFlagsEXT,
  4932. pLayer: ^CAMetalLayer,
  4933. }
  4934. MacOSSurfaceCreateInfoMVK :: struct {
  4935. sType: StructureType,
  4936. pNext: rawptr,
  4937. flags: MacOSSurfaceCreateFlagsMVK,
  4938. pView: rawptr,
  4939. }
  4940. IOSSurfaceCreateInfoMVK :: struct {
  4941. sType: StructureType,
  4942. pNext: rawptr,
  4943. flags: IOSSurfaceCreateFlagsMVK,
  4944. pView: rawptr,
  4945. }
  4946. // Aliases
  4947. PhysicalDeviceVariablePointerFeatures :: PhysicalDeviceVariablePointersFeatures
  4948. PhysicalDeviceShaderDrawParameterFeatures :: PhysicalDeviceShaderDrawParametersFeatures
  4949. PipelineStageFlags2 :: Flags64
  4950. PipelineStageFlag2 :: Flags64
  4951. AccessFlags2 :: Flags64
  4952. AccessFlag2 :: Flags64
  4953. FormatFeatureFlags2 :: Flags64
  4954. FormatFeatureFlag2 :: Flags64
  4955. RenderingFlagsKHR :: RenderingFlags
  4956. RenderingFlagKHR :: RenderingFlag
  4957. RenderingInfoKHR :: RenderingInfo
  4958. RenderingAttachmentInfoKHR :: RenderingAttachmentInfo
  4959. PipelineRenderingCreateInfoKHR :: PipelineRenderingCreateInfo
  4960. PhysicalDeviceDynamicRenderingFeaturesKHR :: PhysicalDeviceDynamicRenderingFeatures
  4961. CommandBufferInheritanceRenderingInfoKHR :: CommandBufferInheritanceRenderingInfo
  4962. AttachmentSampleCountInfoNV :: AttachmentSampleCountInfoAMD
  4963. RenderPassMultiviewCreateInfoKHR :: RenderPassMultiviewCreateInfo
  4964. PhysicalDeviceMultiviewFeaturesKHR :: PhysicalDeviceMultiviewFeatures
  4965. PhysicalDeviceMultiviewPropertiesKHR :: PhysicalDeviceMultiviewProperties
  4966. PhysicalDeviceFeatures2KHR :: PhysicalDeviceFeatures2
  4967. PhysicalDeviceProperties2KHR :: PhysicalDeviceProperties2
  4968. FormatProperties2KHR :: FormatProperties2
  4969. ImageFormatProperties2KHR :: ImageFormatProperties2
  4970. PhysicalDeviceImageFormatInfo2KHR :: PhysicalDeviceImageFormatInfo2
  4971. QueueFamilyProperties2KHR :: QueueFamilyProperties2
  4972. PhysicalDeviceMemoryProperties2KHR :: PhysicalDeviceMemoryProperties2
  4973. SparseImageFormatProperties2KHR :: SparseImageFormatProperties2
  4974. PhysicalDeviceSparseImageFormatInfo2KHR :: PhysicalDeviceSparseImageFormatInfo2
  4975. PeerMemoryFeatureFlagsKHR :: PeerMemoryFeatureFlags
  4976. PeerMemoryFeatureFlagKHR :: PeerMemoryFeatureFlag
  4977. MemoryAllocateFlagsKHR :: MemoryAllocateFlags
  4978. MemoryAllocateFlagKHR :: MemoryAllocateFlag
  4979. MemoryAllocateFlagsInfoKHR :: MemoryAllocateFlagsInfo
  4980. DeviceGroupRenderPassBeginInfoKHR :: DeviceGroupRenderPassBeginInfo
  4981. DeviceGroupCommandBufferBeginInfoKHR :: DeviceGroupCommandBufferBeginInfo
  4982. DeviceGroupSubmitInfoKHR :: DeviceGroupSubmitInfo
  4983. DeviceGroupBindSparseInfoKHR :: DeviceGroupBindSparseInfo
  4984. BindBufferMemoryDeviceGroupInfoKHR :: BindBufferMemoryDeviceGroupInfo
  4985. BindImageMemoryDeviceGroupInfoKHR :: BindImageMemoryDeviceGroupInfo
  4986. CommandPoolTrimFlagsKHR :: CommandPoolTrimFlags
  4987. PhysicalDeviceGroupPropertiesKHR :: PhysicalDeviceGroupProperties
  4988. DeviceGroupDeviceCreateInfoKHR :: DeviceGroupDeviceCreateInfo
  4989. ExternalMemoryHandleTypeFlagsKHR :: ExternalMemoryHandleTypeFlags
  4990. ExternalMemoryHandleTypeFlagKHR :: ExternalMemoryHandleTypeFlag
  4991. ExternalMemoryFeatureFlagsKHR :: ExternalMemoryFeatureFlags
  4992. ExternalMemoryFeatureFlagKHR :: ExternalMemoryFeatureFlag
  4993. ExternalMemoryPropertiesKHR :: ExternalMemoryProperties
  4994. PhysicalDeviceExternalImageFormatInfoKHR :: PhysicalDeviceExternalImageFormatInfo
  4995. ExternalImageFormatPropertiesKHR :: ExternalImageFormatProperties
  4996. PhysicalDeviceExternalBufferInfoKHR :: PhysicalDeviceExternalBufferInfo
  4997. ExternalBufferPropertiesKHR :: ExternalBufferProperties
  4998. PhysicalDeviceIDPropertiesKHR :: PhysicalDeviceIDProperties
  4999. ExternalMemoryImageCreateInfoKHR :: ExternalMemoryImageCreateInfo
  5000. ExternalMemoryBufferCreateInfoKHR :: ExternalMemoryBufferCreateInfo
  5001. ExportMemoryAllocateInfoKHR :: ExportMemoryAllocateInfo
  5002. ExternalSemaphoreHandleTypeFlagsKHR :: ExternalSemaphoreHandleTypeFlags
  5003. ExternalSemaphoreHandleTypeFlagKHR :: ExternalSemaphoreHandleTypeFlag
  5004. ExternalSemaphoreFeatureFlagsKHR :: ExternalSemaphoreFeatureFlags
  5005. ExternalSemaphoreFeatureFlagKHR :: ExternalSemaphoreFeatureFlag
  5006. PhysicalDeviceExternalSemaphoreInfoKHR :: PhysicalDeviceExternalSemaphoreInfo
  5007. ExternalSemaphorePropertiesKHR :: ExternalSemaphoreProperties
  5008. SemaphoreImportFlagsKHR :: SemaphoreImportFlags
  5009. SemaphoreImportFlagKHR :: SemaphoreImportFlag
  5010. ExportSemaphoreCreateInfoKHR :: ExportSemaphoreCreateInfo
  5011. PhysicalDeviceShaderFloat16Int8FeaturesKHR :: PhysicalDeviceShaderFloat16Int8Features
  5012. PhysicalDeviceFloat16Int8FeaturesKHR :: PhysicalDeviceShaderFloat16Int8Features
  5013. PhysicalDevice16BitStorageFeaturesKHR :: PhysicalDevice16BitStorageFeatures
  5014. DescriptorUpdateTemplateKHR :: DescriptorUpdateTemplate
  5015. DescriptorUpdateTemplateTypeKHR :: DescriptorUpdateTemplateType
  5016. DescriptorUpdateTemplateCreateFlagsKHR :: DescriptorUpdateTemplateCreateFlags
  5017. DescriptorUpdateTemplateEntryKHR :: DescriptorUpdateTemplateEntry
  5018. DescriptorUpdateTemplateCreateInfoKHR :: DescriptorUpdateTemplateCreateInfo
  5019. PhysicalDeviceImagelessFramebufferFeaturesKHR :: PhysicalDeviceImagelessFramebufferFeatures
  5020. FramebufferAttachmentsCreateInfoKHR :: FramebufferAttachmentsCreateInfo
  5021. FramebufferAttachmentImageInfoKHR :: FramebufferAttachmentImageInfo
  5022. RenderPassAttachmentBeginInfoKHR :: RenderPassAttachmentBeginInfo
  5023. RenderPassCreateInfo2KHR :: RenderPassCreateInfo2
  5024. AttachmentDescription2KHR :: AttachmentDescription2
  5025. AttachmentReference2KHR :: AttachmentReference2
  5026. SubpassDescription2KHR :: SubpassDescription2
  5027. SubpassDependency2KHR :: SubpassDependency2
  5028. SubpassBeginInfoKHR :: SubpassBeginInfo
  5029. SubpassEndInfoKHR :: SubpassEndInfo
  5030. ExternalFenceHandleTypeFlagsKHR :: ExternalFenceHandleTypeFlags
  5031. ExternalFenceHandleTypeFlagKHR :: ExternalFenceHandleTypeFlag
  5032. ExternalFenceFeatureFlagsKHR :: ExternalFenceFeatureFlags
  5033. ExternalFenceFeatureFlagKHR :: ExternalFenceFeatureFlag
  5034. PhysicalDeviceExternalFenceInfoKHR :: PhysicalDeviceExternalFenceInfo
  5035. ExternalFencePropertiesKHR :: ExternalFenceProperties
  5036. FenceImportFlagsKHR :: FenceImportFlags
  5037. FenceImportFlagKHR :: FenceImportFlag
  5038. ExportFenceCreateInfoKHR :: ExportFenceCreateInfo
  5039. PointClippingBehaviorKHR :: PointClippingBehavior
  5040. TessellationDomainOriginKHR :: TessellationDomainOrigin
  5041. PhysicalDevicePointClippingPropertiesKHR :: PhysicalDevicePointClippingProperties
  5042. RenderPassInputAttachmentAspectCreateInfoKHR :: RenderPassInputAttachmentAspectCreateInfo
  5043. InputAttachmentAspectReferenceKHR :: InputAttachmentAspectReference
  5044. ImageViewUsageCreateInfoKHR :: ImageViewUsageCreateInfo
  5045. PipelineTessellationDomainOriginStateCreateInfoKHR :: PipelineTessellationDomainOriginStateCreateInfo
  5046. PhysicalDeviceVariablePointerFeaturesKHR :: PhysicalDeviceVariablePointersFeatures
  5047. PhysicalDeviceVariablePointersFeaturesKHR :: PhysicalDeviceVariablePointersFeatures
  5048. MemoryDedicatedRequirementsKHR :: MemoryDedicatedRequirements
  5049. MemoryDedicatedAllocateInfoKHR :: MemoryDedicatedAllocateInfo
  5050. BufferMemoryRequirementsInfo2KHR :: BufferMemoryRequirementsInfo2
  5051. ImageMemoryRequirementsInfo2KHR :: ImageMemoryRequirementsInfo2
  5052. ImageSparseMemoryRequirementsInfo2KHR :: ImageSparseMemoryRequirementsInfo2
  5053. MemoryRequirements2KHR :: MemoryRequirements2
  5054. SparseImageMemoryRequirements2KHR :: SparseImageMemoryRequirements2
  5055. ImageFormatListCreateInfoKHR :: ImageFormatListCreateInfo
  5056. SamplerYcbcrConversionKHR :: SamplerYcbcrConversion
  5057. SamplerYcbcrModelConversionKHR :: SamplerYcbcrModelConversion
  5058. SamplerYcbcrRangeKHR :: SamplerYcbcrRange
  5059. ChromaLocationKHR :: ChromaLocation
  5060. SamplerYcbcrConversionCreateInfoKHR :: SamplerYcbcrConversionCreateInfo
  5061. SamplerYcbcrConversionInfoKHR :: SamplerYcbcrConversionInfo
  5062. BindImagePlaneMemoryInfoKHR :: BindImagePlaneMemoryInfo
  5063. ImagePlaneMemoryRequirementsInfoKHR :: ImagePlaneMemoryRequirementsInfo
  5064. PhysicalDeviceSamplerYcbcrConversionFeaturesKHR :: PhysicalDeviceSamplerYcbcrConversionFeatures
  5065. SamplerYcbcrConversionImageFormatPropertiesKHR :: SamplerYcbcrConversionImageFormatProperties
  5066. BindBufferMemoryInfoKHR :: BindBufferMemoryInfo
  5067. BindImageMemoryInfoKHR :: BindImageMemoryInfo
  5068. PhysicalDeviceMaintenance3PropertiesKHR :: PhysicalDeviceMaintenance3Properties
  5069. DescriptorSetLayoutSupportKHR :: DescriptorSetLayoutSupport
  5070. PhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR :: PhysicalDeviceShaderSubgroupExtendedTypesFeatures
  5071. PhysicalDevice8BitStorageFeaturesKHR :: PhysicalDevice8BitStorageFeatures
  5072. PhysicalDeviceShaderAtomicInt64FeaturesKHR :: PhysicalDeviceShaderAtomicInt64Features
  5073. DriverIdKHR :: DriverId
  5074. ConformanceVersionKHR :: ConformanceVersion
  5075. PhysicalDeviceDriverPropertiesKHR :: PhysicalDeviceDriverProperties
  5076. ShaderFloatControlsIndependenceKHR :: ShaderFloatControlsIndependence
  5077. PhysicalDeviceFloatControlsPropertiesKHR :: PhysicalDeviceFloatControlsProperties
  5078. ResolveModeFlagKHR :: ResolveModeFlag
  5079. ResolveModeFlagsKHR :: ResolveModeFlags
  5080. SubpassDescriptionDepthStencilResolveKHR :: SubpassDescriptionDepthStencilResolve
  5081. PhysicalDeviceDepthStencilResolvePropertiesKHR :: PhysicalDeviceDepthStencilResolveProperties
  5082. SemaphoreTypeKHR :: SemaphoreType
  5083. SemaphoreWaitFlagKHR :: SemaphoreWaitFlag
  5084. SemaphoreWaitFlagsKHR :: SemaphoreWaitFlags
  5085. PhysicalDeviceTimelineSemaphoreFeaturesKHR :: PhysicalDeviceTimelineSemaphoreFeatures
  5086. PhysicalDeviceTimelineSemaphorePropertiesKHR :: PhysicalDeviceTimelineSemaphoreProperties
  5087. SemaphoreTypeCreateInfoKHR :: SemaphoreTypeCreateInfo
  5088. TimelineSemaphoreSubmitInfoKHR :: TimelineSemaphoreSubmitInfo
  5089. SemaphoreWaitInfoKHR :: SemaphoreWaitInfo
  5090. SemaphoreSignalInfoKHR :: SemaphoreSignalInfo
  5091. PhysicalDeviceVulkanMemoryModelFeaturesKHR :: PhysicalDeviceVulkanMemoryModelFeatures
  5092. PhysicalDeviceShaderTerminateInvocationFeaturesKHR :: PhysicalDeviceShaderTerminateInvocationFeatures
  5093. PhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR :: PhysicalDeviceSeparateDepthStencilLayoutsFeatures
  5094. AttachmentReferenceStencilLayoutKHR :: AttachmentReferenceStencilLayout
  5095. AttachmentDescriptionStencilLayoutKHR :: AttachmentDescriptionStencilLayout
  5096. PhysicalDeviceUniformBufferStandardLayoutFeaturesKHR :: PhysicalDeviceUniformBufferStandardLayoutFeatures
  5097. PhysicalDeviceBufferDeviceAddressFeaturesKHR :: PhysicalDeviceBufferDeviceAddressFeatures
  5098. BufferDeviceAddressInfoKHR :: BufferDeviceAddressInfo
  5099. BufferOpaqueCaptureAddressCreateInfoKHR :: BufferOpaqueCaptureAddressCreateInfo
  5100. MemoryOpaqueCaptureAddressAllocateInfoKHR :: MemoryOpaqueCaptureAddressAllocateInfo
  5101. DeviceMemoryOpaqueCaptureAddressInfoKHR :: DeviceMemoryOpaqueCaptureAddressInfo
  5102. PhysicalDeviceShaderIntegerDotProductFeaturesKHR :: PhysicalDeviceShaderIntegerDotProductFeatures
  5103. PhysicalDeviceShaderIntegerDotProductPropertiesKHR :: PhysicalDeviceShaderIntegerDotProductProperties
  5104. PipelineStageFlags2KHR :: PipelineStageFlags2
  5105. PipelineStageFlag2KHR :: PipelineStageFlag2
  5106. AccessFlags2KHR :: AccessFlags2
  5107. AccessFlag2KHR :: AccessFlag2
  5108. SubmitFlagKHR :: SubmitFlag
  5109. SubmitFlagsKHR :: SubmitFlags
  5110. MemoryBarrier2KHR :: MemoryBarrier2
  5111. BufferMemoryBarrier2KHR :: BufferMemoryBarrier2
  5112. ImageMemoryBarrier2KHR :: ImageMemoryBarrier2
  5113. DependencyInfoKHR :: DependencyInfo
  5114. SubmitInfo2KHR :: SubmitInfo2
  5115. SemaphoreSubmitInfoKHR :: SemaphoreSubmitInfo
  5116. CommandBufferSubmitInfoKHR :: CommandBufferSubmitInfo
  5117. PhysicalDeviceSynchronization2FeaturesKHR :: PhysicalDeviceSynchronization2Features
  5118. PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR :: PhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
  5119. CopyBufferInfo2KHR :: CopyBufferInfo2
  5120. CopyImageInfo2KHR :: CopyImageInfo2
  5121. CopyBufferToImageInfo2KHR :: CopyBufferToImageInfo2
  5122. CopyImageToBufferInfo2KHR :: CopyImageToBufferInfo2
  5123. BlitImageInfo2KHR :: BlitImageInfo2
  5124. ResolveImageInfo2KHR :: ResolveImageInfo2
  5125. BufferCopy2KHR :: BufferCopy2
  5126. ImageCopy2KHR :: ImageCopy2
  5127. ImageBlit2KHR :: ImageBlit2
  5128. BufferImageCopy2KHR :: BufferImageCopy2
  5129. ImageResolve2KHR :: ImageResolve2
  5130. FormatFeatureFlags2KHR :: FormatFeatureFlags2
  5131. FormatFeatureFlag2KHR :: FormatFeatureFlag2
  5132. FormatProperties3KHR :: FormatProperties3
  5133. PhysicalDeviceMaintenance4FeaturesKHR :: PhysicalDeviceMaintenance4Features
  5134. PhysicalDeviceMaintenance4PropertiesKHR :: PhysicalDeviceMaintenance4Properties
  5135. DeviceBufferMemoryRequirementsKHR :: DeviceBufferMemoryRequirements
  5136. DeviceImageMemoryRequirementsKHR :: DeviceImageMemoryRequirements
  5137. PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT :: PhysicalDeviceTextureCompressionASTCHDRFeatures
  5138. SamplerReductionModeEXT :: SamplerReductionMode
  5139. SamplerReductionModeCreateInfoEXT :: SamplerReductionModeCreateInfo
  5140. PhysicalDeviceSamplerFilterMinmaxPropertiesEXT :: PhysicalDeviceSamplerFilterMinmaxProperties
  5141. PhysicalDeviceInlineUniformBlockFeaturesEXT :: PhysicalDeviceInlineUniformBlockFeatures
  5142. PhysicalDeviceInlineUniformBlockPropertiesEXT :: PhysicalDeviceInlineUniformBlockProperties
  5143. WriteDescriptorSetInlineUniformBlockEXT :: WriteDescriptorSetInlineUniformBlock
  5144. DescriptorPoolInlineUniformBlockCreateInfoEXT :: DescriptorPoolInlineUniformBlockCreateInfo
  5145. DescriptorBindingFlagEXT :: DescriptorBindingFlag
  5146. DescriptorBindingFlagsEXT :: DescriptorBindingFlags
  5147. DescriptorSetLayoutBindingFlagsCreateInfoEXT :: DescriptorSetLayoutBindingFlagsCreateInfo
  5148. PhysicalDeviceDescriptorIndexingFeaturesEXT :: PhysicalDeviceDescriptorIndexingFeatures
  5149. PhysicalDeviceDescriptorIndexingPropertiesEXT :: PhysicalDeviceDescriptorIndexingProperties
  5150. DescriptorSetVariableDescriptorCountAllocateInfoEXT :: DescriptorSetVariableDescriptorCountAllocateInfo
  5151. DescriptorSetVariableDescriptorCountLayoutSupportEXT :: DescriptorSetVariableDescriptorCountLayoutSupport
  5152. RayTracingShaderGroupTypeNV :: RayTracingShaderGroupTypeKHR
  5153. GeometryTypeNV :: GeometryTypeKHR
  5154. AccelerationStructureTypeNV :: AccelerationStructureTypeKHR
  5155. CopyAccelerationStructureModeNV :: CopyAccelerationStructureModeKHR
  5156. GeometryFlagsNV :: GeometryFlagsKHR
  5157. GeometryFlagNV :: GeometryFlagKHR
  5158. GeometryInstanceFlagsNV :: GeometryInstanceFlagsKHR
  5159. GeometryInstanceFlagNV :: GeometryInstanceFlagKHR
  5160. BuildAccelerationStructureFlagsNV :: BuildAccelerationStructureFlagsKHR
  5161. BuildAccelerationStructureFlagNV :: BuildAccelerationStructureFlagKHR
  5162. TransformMatrixNV :: TransformMatrixKHR
  5163. AabbPositionsNV :: AabbPositionsKHR
  5164. AccelerationStructureInstanceNV :: AccelerationStructureInstanceKHR
  5165. QueueGlobalPriorityEXT :: QueueGlobalPriorityKHR
  5166. DeviceQueueGlobalPriorityCreateInfoEXT :: DeviceQueueGlobalPriorityCreateInfoKHR
  5167. PipelineCreationFeedbackFlagEXT :: PipelineCreationFeedbackFlag
  5168. PipelineCreationFeedbackFlagsEXT :: PipelineCreationFeedbackFlags
  5169. PipelineCreationFeedbackCreateInfoEXT :: PipelineCreationFeedbackCreateInfo
  5170. PipelineCreationFeedbackEXT :: PipelineCreationFeedback
  5171. QueryPoolCreateInfoINTEL :: QueryPoolPerformanceQueryCreateInfoINTEL
  5172. PhysicalDeviceScalarBlockLayoutFeaturesEXT :: PhysicalDeviceScalarBlockLayoutFeatures
  5173. PhysicalDeviceSubgroupSizeControlFeaturesEXT :: PhysicalDeviceSubgroupSizeControlFeatures
  5174. PhysicalDeviceSubgroupSizeControlPropertiesEXT :: PhysicalDeviceSubgroupSizeControlProperties
  5175. PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT :: PipelineShaderStageRequiredSubgroupSizeCreateInfo
  5176. PhysicalDeviceBufferAddressFeaturesEXT :: PhysicalDeviceBufferDeviceAddressFeaturesEXT
  5177. BufferDeviceAddressInfoEXT :: BufferDeviceAddressInfo
  5178. ToolPurposeFlagEXT :: ToolPurposeFlag
  5179. ToolPurposeFlagsEXT :: ToolPurposeFlags
  5180. PhysicalDeviceToolPropertiesEXT :: PhysicalDeviceToolProperties
  5181. ImageStencilUsageCreateInfoEXT :: ImageStencilUsageCreateInfo
  5182. PhysicalDeviceHostQueryResetFeaturesEXT :: PhysicalDeviceHostQueryResetFeatures
  5183. PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT :: PhysicalDeviceShaderDemoteToHelperInvocationFeatures
  5184. PhysicalDeviceTexelBufferAlignmentPropertiesEXT :: PhysicalDeviceTexelBufferAlignmentProperties
  5185. PrivateDataSlotEXT :: PrivateDataSlot
  5186. PrivateDataSlotCreateFlagsEXT :: PrivateDataSlotCreateFlags
  5187. PhysicalDevicePrivateDataFeaturesEXT :: PhysicalDevicePrivateDataFeatures
  5188. DevicePrivateDataCreateInfoEXT :: DevicePrivateDataCreateInfo
  5189. PrivateDataSlotCreateInfoEXT :: PrivateDataSlotCreateInfo
  5190. PhysicalDevicePipelineCreationCacheControlFeaturesEXT :: PhysicalDevicePipelineCreationCacheControlFeatures
  5191. PhysicalDeviceImageRobustnessFeaturesEXT :: PhysicalDeviceImageRobustnessFeatures
  5192. PhysicalDeviceGlobalPriorityQueryFeaturesEXT :: PhysicalDeviceGlobalPriorityQueryFeaturesKHR
  5193. QueueFamilyGlobalPriorityPropertiesEXT :: QueueFamilyGlobalPriorityPropertiesKHR