structs.odin 249 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658
  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. MTLBuffer_id :: rawptr
  33. MTLTexture_id :: rawptr
  34. MTLSharedEvent_id :: rawptr
  35. MTLDevice_id :: rawptr
  36. MTLCommandQueue_id :: rawptr
  37. /********************************/
  38. Extent2D :: struct {
  39. width: u32,
  40. height: u32,
  41. }
  42. Extent3D :: struct {
  43. width: u32,
  44. height: u32,
  45. depth: u32,
  46. }
  47. Offset2D :: struct {
  48. x: i32,
  49. y: i32,
  50. }
  51. Offset3D :: struct {
  52. x: i32,
  53. y: i32,
  54. z: i32,
  55. }
  56. Rect2D :: struct {
  57. offset: Offset2D,
  58. extent: Extent2D,
  59. }
  60. BaseInStructure :: struct {
  61. sType: StructureType,
  62. pNext: ^BaseInStructure,
  63. }
  64. BaseOutStructure :: struct {
  65. sType: StructureType,
  66. pNext: ^BaseOutStructure,
  67. }
  68. BufferMemoryBarrier :: struct {
  69. sType: StructureType,
  70. pNext: rawptr,
  71. srcAccessMask: AccessFlags,
  72. dstAccessMask: AccessFlags,
  73. srcQueueFamilyIndex: u32,
  74. dstQueueFamilyIndex: u32,
  75. buffer: Buffer,
  76. offset: DeviceSize,
  77. size: DeviceSize,
  78. }
  79. DispatchIndirectCommand :: struct {
  80. x: u32,
  81. y: u32,
  82. z: u32,
  83. }
  84. DrawIndexedIndirectCommand :: struct {
  85. indexCount: u32,
  86. instanceCount: u32,
  87. firstIndex: u32,
  88. vertexOffset: i32,
  89. firstInstance: u32,
  90. }
  91. DrawIndirectCommand :: struct {
  92. vertexCount: u32,
  93. instanceCount: u32,
  94. firstVertex: u32,
  95. firstInstance: u32,
  96. }
  97. ImageSubresourceRange :: struct {
  98. aspectMask: ImageAspectFlags,
  99. baseMipLevel: u32,
  100. levelCount: u32,
  101. baseArrayLayer: u32,
  102. layerCount: u32,
  103. }
  104. ImageMemoryBarrier :: struct {
  105. sType: StructureType,
  106. pNext: rawptr,
  107. srcAccessMask: AccessFlags,
  108. dstAccessMask: AccessFlags,
  109. oldLayout: ImageLayout,
  110. newLayout: ImageLayout,
  111. srcQueueFamilyIndex: u32,
  112. dstQueueFamilyIndex: u32,
  113. image: Image,
  114. subresourceRange: ImageSubresourceRange,
  115. }
  116. MemoryBarrier :: struct {
  117. sType: StructureType,
  118. pNext: rawptr,
  119. srcAccessMask: AccessFlags,
  120. dstAccessMask: AccessFlags,
  121. }
  122. PipelineCacheHeaderVersionOne :: struct {
  123. headerSize: u32,
  124. headerVersion: PipelineCacheHeaderVersion,
  125. vendorID: u32,
  126. deviceID: u32,
  127. pipelineCacheUUID: [UUID_SIZE]u8,
  128. }
  129. AllocationCallbacks :: struct {
  130. pUserData: rawptr,
  131. pfnAllocation: ProcAllocationFunction,
  132. pfnReallocation: ProcReallocationFunction,
  133. pfnFree: ProcFreeFunction,
  134. pfnInternalAllocation: ProcInternalAllocationNotification,
  135. pfnInternalFree: ProcInternalFreeNotification,
  136. }
  137. ApplicationInfo :: struct {
  138. sType: StructureType,
  139. pNext: rawptr,
  140. pApplicationName: cstring,
  141. applicationVersion: u32,
  142. pEngineName: cstring,
  143. engineVersion: u32,
  144. apiVersion: u32,
  145. }
  146. FormatProperties :: struct {
  147. linearTilingFeatures: FormatFeatureFlags,
  148. optimalTilingFeatures: FormatFeatureFlags,
  149. bufferFeatures: FormatFeatureFlags,
  150. }
  151. ImageFormatProperties :: struct {
  152. maxExtent: Extent3D,
  153. maxMipLevels: u32,
  154. maxArrayLayers: u32,
  155. sampleCounts: SampleCountFlags,
  156. maxResourceSize: DeviceSize,
  157. }
  158. InstanceCreateInfo :: struct {
  159. sType: StructureType,
  160. pNext: rawptr,
  161. flags: InstanceCreateFlags,
  162. pApplicationInfo: ^ApplicationInfo,
  163. enabledLayerCount: u32,
  164. ppEnabledLayerNames: [^]cstring,
  165. enabledExtensionCount: u32,
  166. ppEnabledExtensionNames: [^]cstring,
  167. }
  168. MemoryHeap :: struct {
  169. size: DeviceSize,
  170. flags: MemoryHeapFlags,
  171. }
  172. MemoryType :: struct {
  173. propertyFlags: MemoryPropertyFlags,
  174. heapIndex: u32,
  175. }
  176. PhysicalDeviceFeatures :: struct {
  177. robustBufferAccess: b32,
  178. fullDrawIndexUint32: b32,
  179. imageCubeArray: b32,
  180. independentBlend: b32,
  181. geometryShader: b32,
  182. tessellationShader: b32,
  183. sampleRateShading: b32,
  184. dualSrcBlend: b32,
  185. logicOp: b32,
  186. multiDrawIndirect: b32,
  187. drawIndirectFirstInstance: b32,
  188. depthClamp: b32,
  189. depthBiasClamp: b32,
  190. fillModeNonSolid: b32,
  191. depthBounds: b32,
  192. wideLines: b32,
  193. largePoints: b32,
  194. alphaToOne: b32,
  195. multiViewport: b32,
  196. samplerAnisotropy: b32,
  197. textureCompressionETC2: b32,
  198. textureCompressionASTC_LDR: b32,
  199. textureCompressionBC: b32,
  200. occlusionQueryPrecise: b32,
  201. pipelineStatisticsQuery: b32,
  202. vertexPipelineStoresAndAtomics: b32,
  203. fragmentStoresAndAtomics: b32,
  204. shaderTessellationAndGeometryPointSize: b32,
  205. shaderImageGatherExtended: b32,
  206. shaderStorageImageExtendedFormats: b32,
  207. shaderStorageImageMultisample: b32,
  208. shaderStorageImageReadWithoutFormat: b32,
  209. shaderStorageImageWriteWithoutFormat: b32,
  210. shaderUniformBufferArrayDynamicIndexing: b32,
  211. shaderSampledImageArrayDynamicIndexing: b32,
  212. shaderStorageBufferArrayDynamicIndexing: b32,
  213. shaderStorageImageArrayDynamicIndexing: b32,
  214. shaderClipDistance: b32,
  215. shaderCullDistance: b32,
  216. shaderFloat64: b32,
  217. shaderInt64: b32,
  218. shaderInt16: b32,
  219. shaderResourceResidency: b32,
  220. shaderResourceMinLod: b32,
  221. sparseBinding: b32,
  222. sparseResidencyBuffer: b32,
  223. sparseResidencyImage2D: b32,
  224. sparseResidencyImage3D: b32,
  225. sparseResidency2Samples: b32,
  226. sparseResidency4Samples: b32,
  227. sparseResidency8Samples: b32,
  228. sparseResidency16Samples: b32,
  229. sparseResidencyAliased: b32,
  230. variableMultisampleRate: b32,
  231. inheritedQueries: b32,
  232. }
  233. PhysicalDeviceLimits :: struct {
  234. maxImageDimension1D: u32,
  235. maxImageDimension2D: u32,
  236. maxImageDimension3D: u32,
  237. maxImageDimensionCube: u32,
  238. maxImageArrayLayers: u32,
  239. maxTexelBufferElements: u32,
  240. maxUniformBufferRange: u32,
  241. maxStorageBufferRange: u32,
  242. maxPushConstantsSize: u32,
  243. maxMemoryAllocationCount: u32,
  244. maxSamplerAllocationCount: u32,
  245. bufferImageGranularity: DeviceSize,
  246. sparseAddressSpaceSize: DeviceSize,
  247. maxBoundDescriptorSets: u32,
  248. maxPerStageDescriptorSamplers: u32,
  249. maxPerStageDescriptorUniformBuffers: u32,
  250. maxPerStageDescriptorStorageBuffers: u32,
  251. maxPerStageDescriptorSampledImages: u32,
  252. maxPerStageDescriptorStorageImages: u32,
  253. maxPerStageDescriptorInputAttachments: u32,
  254. maxPerStageResources: u32,
  255. maxDescriptorSetSamplers: u32,
  256. maxDescriptorSetUniformBuffers: u32,
  257. maxDescriptorSetUniformBuffersDynamic: u32,
  258. maxDescriptorSetStorageBuffers: u32,
  259. maxDescriptorSetStorageBuffersDynamic: u32,
  260. maxDescriptorSetSampledImages: u32,
  261. maxDescriptorSetStorageImages: u32,
  262. maxDescriptorSetInputAttachments: u32,
  263. maxVertexInputAttributes: u32,
  264. maxVertexInputBindings: u32,
  265. maxVertexInputAttributeOffset: u32,
  266. maxVertexInputBindingStride: u32,
  267. maxVertexOutputComponents: u32,
  268. maxTessellationGenerationLevel: u32,
  269. maxTessellationPatchSize: u32,
  270. maxTessellationControlPerVertexInputComponents: u32,
  271. maxTessellationControlPerVertexOutputComponents: u32,
  272. maxTessellationControlPerPatchOutputComponents: u32,
  273. maxTessellationControlTotalOutputComponents: u32,
  274. maxTessellationEvaluationInputComponents: u32,
  275. maxTessellationEvaluationOutputComponents: u32,
  276. maxGeometryShaderInvocations: u32,
  277. maxGeometryInputComponents: u32,
  278. maxGeometryOutputComponents: u32,
  279. maxGeometryOutputVertices: u32,
  280. maxGeometryTotalOutputComponents: u32,
  281. maxFragmentInputComponents: u32,
  282. maxFragmentOutputAttachments: u32,
  283. maxFragmentDualSrcAttachments: u32,
  284. maxFragmentCombinedOutputResources: u32,
  285. maxComputeSharedMemorySize: u32,
  286. maxComputeWorkGroupCount: [3]u32,
  287. maxComputeWorkGroupInvocations: u32,
  288. maxComputeWorkGroupSize: [3]u32,
  289. subPixelPrecisionBits: u32,
  290. subTexelPrecisionBits: u32,
  291. mipmapPrecisionBits: u32,
  292. maxDrawIndexedIndexValue: u32,
  293. maxDrawIndirectCount: u32,
  294. maxSamplerLodBias: f32,
  295. maxSamplerAnisotropy: f32,
  296. maxViewports: u32,
  297. maxViewportDimensions: [2]u32,
  298. viewportBoundsRange: [2]f32,
  299. viewportSubPixelBits: u32,
  300. minMemoryMapAlignment: int,
  301. minTexelBufferOffsetAlignment: DeviceSize,
  302. minUniformBufferOffsetAlignment: DeviceSize,
  303. minStorageBufferOffsetAlignment: DeviceSize,
  304. minTexelOffset: i32,
  305. maxTexelOffset: u32,
  306. minTexelGatherOffset: i32,
  307. maxTexelGatherOffset: u32,
  308. minInterpolationOffset: f32,
  309. maxInterpolationOffset: f32,
  310. subPixelInterpolationOffsetBits: u32,
  311. maxFramebufferWidth: u32,
  312. maxFramebufferHeight: u32,
  313. maxFramebufferLayers: u32,
  314. framebufferColorSampleCounts: SampleCountFlags,
  315. framebufferDepthSampleCounts: SampleCountFlags,
  316. framebufferStencilSampleCounts: SampleCountFlags,
  317. framebufferNoAttachmentsSampleCounts: SampleCountFlags,
  318. maxColorAttachments: u32,
  319. sampledImageColorSampleCounts: SampleCountFlags,
  320. sampledImageIntegerSampleCounts: SampleCountFlags,
  321. sampledImageDepthSampleCounts: SampleCountFlags,
  322. sampledImageStencilSampleCounts: SampleCountFlags,
  323. storageImageSampleCounts: SampleCountFlags,
  324. maxSampleMaskWords: u32,
  325. timestampComputeAndGraphics: b32,
  326. timestampPeriod: f32,
  327. maxClipDistances: u32,
  328. maxCullDistances: u32,
  329. maxCombinedClipAndCullDistances: u32,
  330. discreteQueuePriorities: u32,
  331. pointSizeRange: [2]f32,
  332. lineWidthRange: [2]f32,
  333. pointSizeGranularity: f32,
  334. lineWidthGranularity: f32,
  335. strictLines: b32,
  336. standardSampleLocations: b32,
  337. optimalBufferCopyOffsetAlignment: DeviceSize,
  338. optimalBufferCopyRowPitchAlignment: DeviceSize,
  339. nonCoherentAtomSize: DeviceSize,
  340. }
  341. PhysicalDeviceMemoryProperties :: struct {
  342. memoryTypeCount: u32,
  343. memoryTypes: [MAX_MEMORY_TYPES]MemoryType,
  344. memoryHeapCount: u32,
  345. memoryHeaps: [MAX_MEMORY_HEAPS]MemoryHeap,
  346. }
  347. PhysicalDeviceSparseProperties :: struct {
  348. residencyStandard2DBlockShape: b32,
  349. residencyStandard2DMultisampleBlockShape: b32,
  350. residencyStandard3DBlockShape: b32,
  351. residencyAlignedMipSize: b32,
  352. residencyNonResidentStrict: b32,
  353. }
  354. PhysicalDeviceProperties :: struct {
  355. apiVersion: u32,
  356. driverVersion: u32,
  357. vendorID: u32,
  358. deviceID: u32,
  359. deviceType: PhysicalDeviceType,
  360. deviceName: [MAX_PHYSICAL_DEVICE_NAME_SIZE]byte,
  361. pipelineCacheUUID: [UUID_SIZE]u8,
  362. limits: PhysicalDeviceLimits,
  363. sparseProperties: PhysicalDeviceSparseProperties,
  364. }
  365. QueueFamilyProperties :: struct {
  366. queueFlags: QueueFlags,
  367. queueCount: u32,
  368. timestampValidBits: u32,
  369. minImageTransferGranularity: Extent3D,
  370. }
  371. DeviceQueueCreateInfo :: struct {
  372. sType: StructureType,
  373. pNext: rawptr,
  374. flags: DeviceQueueCreateFlags,
  375. queueFamilyIndex: u32,
  376. queueCount: u32,
  377. pQueuePriorities: [^]f32,
  378. }
  379. DeviceCreateInfo :: struct {
  380. sType: StructureType,
  381. pNext: rawptr,
  382. flags: DeviceCreateFlags,
  383. queueCreateInfoCount: u32,
  384. pQueueCreateInfos: [^]DeviceQueueCreateInfo,
  385. enabledLayerCount: u32,
  386. ppEnabledLayerNames: [^]cstring,
  387. enabledExtensionCount: u32,
  388. ppEnabledExtensionNames: [^]cstring,
  389. pEnabledFeatures: [^]PhysicalDeviceFeatures,
  390. }
  391. ExtensionProperties :: struct {
  392. extensionName: [MAX_EXTENSION_NAME_SIZE]byte,
  393. specVersion: u32,
  394. }
  395. LayerProperties :: struct {
  396. layerName: [MAX_EXTENSION_NAME_SIZE]byte,
  397. specVersion: u32,
  398. implementationVersion: u32,
  399. description: [MAX_DESCRIPTION_SIZE]byte,
  400. }
  401. SubmitInfo :: struct {
  402. sType: StructureType,
  403. pNext: rawptr,
  404. waitSemaphoreCount: u32,
  405. pWaitSemaphores: [^]Semaphore,
  406. pWaitDstStageMask: [^]PipelineStageFlags,
  407. commandBufferCount: u32,
  408. pCommandBuffers: [^]CommandBuffer,
  409. signalSemaphoreCount: u32,
  410. pSignalSemaphores: [^]Semaphore,
  411. }
  412. MappedMemoryRange :: struct {
  413. sType: StructureType,
  414. pNext: rawptr,
  415. memory: DeviceMemory,
  416. offset: DeviceSize,
  417. size: DeviceSize,
  418. }
  419. MemoryAllocateInfo :: struct {
  420. sType: StructureType,
  421. pNext: rawptr,
  422. allocationSize: DeviceSize,
  423. memoryTypeIndex: u32,
  424. }
  425. MemoryRequirements :: struct {
  426. size: DeviceSize,
  427. alignment: DeviceSize,
  428. memoryTypeBits: u32,
  429. }
  430. SparseMemoryBind :: struct {
  431. resourceOffset: DeviceSize,
  432. size: DeviceSize,
  433. memory: DeviceMemory,
  434. memoryOffset: DeviceSize,
  435. flags: SparseMemoryBindFlags,
  436. }
  437. SparseBufferMemoryBindInfo :: struct {
  438. buffer: Buffer,
  439. bindCount: u32,
  440. pBinds: [^]SparseMemoryBind,
  441. }
  442. SparseImageOpaqueMemoryBindInfo :: struct {
  443. image: Image,
  444. bindCount: u32,
  445. pBinds: [^]SparseMemoryBind,
  446. }
  447. ImageSubresource :: struct {
  448. aspectMask: ImageAspectFlags,
  449. mipLevel: u32,
  450. arrayLayer: u32,
  451. }
  452. SparseImageMemoryBind :: struct {
  453. subresource: ImageSubresource,
  454. offset: Offset3D,
  455. extent: Extent3D,
  456. memory: DeviceMemory,
  457. memoryOffset: DeviceSize,
  458. flags: SparseMemoryBindFlags,
  459. }
  460. SparseImageMemoryBindInfo :: struct {
  461. image: Image,
  462. bindCount: u32,
  463. pBinds: [^]SparseImageMemoryBind,
  464. }
  465. BindSparseInfo :: struct {
  466. sType: StructureType,
  467. pNext: rawptr,
  468. waitSemaphoreCount: u32,
  469. pWaitSemaphores: [^]Semaphore,
  470. bufferBindCount: u32,
  471. pBufferBinds: [^]SparseBufferMemoryBindInfo,
  472. imageOpaqueBindCount: u32,
  473. pImageOpaqueBinds: [^]SparseImageOpaqueMemoryBindInfo,
  474. imageBindCount: u32,
  475. pImageBinds: [^]SparseImageMemoryBindInfo,
  476. signalSemaphoreCount: u32,
  477. pSignalSemaphores: [^]Semaphore,
  478. }
  479. SparseImageFormatProperties :: struct {
  480. aspectMask: ImageAspectFlags,
  481. imageGranularity: Extent3D,
  482. flags: SparseImageFormatFlags,
  483. }
  484. SparseImageMemoryRequirements :: struct {
  485. formatProperties: SparseImageFormatProperties,
  486. imageMipTailFirstLod: u32,
  487. imageMipTailSize: DeviceSize,
  488. imageMipTailOffset: DeviceSize,
  489. imageMipTailStride: DeviceSize,
  490. }
  491. FenceCreateInfo :: struct {
  492. sType: StructureType,
  493. pNext: rawptr,
  494. flags: FenceCreateFlags,
  495. }
  496. SemaphoreCreateInfo :: struct {
  497. sType: StructureType,
  498. pNext: rawptr,
  499. flags: SemaphoreCreateFlags,
  500. }
  501. EventCreateInfo :: struct {
  502. sType: StructureType,
  503. pNext: rawptr,
  504. flags: EventCreateFlags,
  505. }
  506. QueryPoolCreateInfo :: struct {
  507. sType: StructureType,
  508. pNext: rawptr,
  509. flags: QueryPoolCreateFlags,
  510. queryType: QueryType,
  511. queryCount: u32,
  512. pipelineStatistics: QueryPipelineStatisticFlags,
  513. }
  514. BufferCreateInfo :: struct {
  515. sType: StructureType,
  516. pNext: rawptr,
  517. flags: BufferCreateFlags,
  518. size: DeviceSize,
  519. usage: BufferUsageFlags,
  520. sharingMode: SharingMode,
  521. queueFamilyIndexCount: u32,
  522. pQueueFamilyIndices: [^]u32,
  523. }
  524. BufferViewCreateInfo :: struct {
  525. sType: StructureType,
  526. pNext: rawptr,
  527. flags: BufferViewCreateFlags,
  528. buffer: Buffer,
  529. format: Format,
  530. offset: DeviceSize,
  531. range: DeviceSize,
  532. }
  533. ImageCreateInfo :: struct {
  534. sType: StructureType,
  535. pNext: rawptr,
  536. flags: ImageCreateFlags,
  537. imageType: ImageType,
  538. format: Format,
  539. extent: Extent3D,
  540. mipLevels: u32,
  541. arrayLayers: u32,
  542. samples: SampleCountFlags,
  543. tiling: ImageTiling,
  544. usage: ImageUsageFlags,
  545. sharingMode: SharingMode,
  546. queueFamilyIndexCount: u32,
  547. pQueueFamilyIndices: [^]u32,
  548. initialLayout: ImageLayout,
  549. }
  550. SubresourceLayout :: struct {
  551. offset: DeviceSize,
  552. size: DeviceSize,
  553. rowPitch: DeviceSize,
  554. arrayPitch: DeviceSize,
  555. depthPitch: DeviceSize,
  556. }
  557. ComponentMapping :: struct {
  558. r: ComponentSwizzle,
  559. g: ComponentSwizzle,
  560. b: ComponentSwizzle,
  561. a: ComponentSwizzle,
  562. }
  563. ImageViewCreateInfo :: struct {
  564. sType: StructureType,
  565. pNext: rawptr,
  566. flags: ImageViewCreateFlags,
  567. image: Image,
  568. viewType: ImageViewType,
  569. format: Format,
  570. components: ComponentMapping,
  571. subresourceRange: ImageSubresourceRange,
  572. }
  573. ShaderModuleCreateInfo :: struct {
  574. sType: StructureType,
  575. pNext: rawptr,
  576. flags: ShaderModuleCreateFlags,
  577. codeSize: int,
  578. pCode: ^u32,
  579. }
  580. PipelineCacheCreateInfo :: struct {
  581. sType: StructureType,
  582. pNext: rawptr,
  583. flags: PipelineCacheCreateFlags,
  584. initialDataSize: int,
  585. pInitialData: rawptr,
  586. }
  587. SpecializationMapEntry :: struct {
  588. constantID: u32,
  589. offset: u32,
  590. size: int,
  591. }
  592. SpecializationInfo :: struct {
  593. mapEntryCount: u32,
  594. pMapEntries: [^]SpecializationMapEntry,
  595. dataSize: int,
  596. pData: rawptr,
  597. }
  598. PipelineShaderStageCreateInfo :: struct {
  599. sType: StructureType,
  600. pNext: rawptr,
  601. flags: PipelineShaderStageCreateFlags,
  602. stage: ShaderStageFlags,
  603. module: ShaderModule,
  604. pName: cstring,
  605. pSpecializationInfo: ^SpecializationInfo,
  606. }
  607. ComputePipelineCreateInfo :: struct {
  608. sType: StructureType,
  609. pNext: rawptr,
  610. flags: PipelineCreateFlags,
  611. stage: PipelineShaderStageCreateInfo,
  612. layout: PipelineLayout,
  613. basePipelineHandle: Pipeline,
  614. basePipelineIndex: i32,
  615. }
  616. VertexInputBindingDescription :: struct {
  617. binding: u32,
  618. stride: u32,
  619. inputRate: VertexInputRate,
  620. }
  621. VertexInputAttributeDescription :: struct {
  622. location: u32,
  623. binding: u32,
  624. format: Format,
  625. offset: u32,
  626. }
  627. PipelineVertexInputStateCreateInfo :: struct {
  628. sType: StructureType,
  629. pNext: rawptr,
  630. flags: PipelineVertexInputStateCreateFlags,
  631. vertexBindingDescriptionCount: u32,
  632. pVertexBindingDescriptions: [^]VertexInputBindingDescription,
  633. vertexAttributeDescriptionCount: u32,
  634. pVertexAttributeDescriptions: [^]VertexInputAttributeDescription,
  635. }
  636. PipelineInputAssemblyStateCreateInfo :: struct {
  637. sType: StructureType,
  638. pNext: rawptr,
  639. flags: PipelineInputAssemblyStateCreateFlags,
  640. topology: PrimitiveTopology,
  641. primitiveRestartEnable: b32,
  642. }
  643. PipelineTessellationStateCreateInfo :: struct {
  644. sType: StructureType,
  645. pNext: rawptr,
  646. flags: PipelineTessellationStateCreateFlags,
  647. patchControlPoints: u32,
  648. }
  649. Viewport :: struct {
  650. x: f32,
  651. y: f32,
  652. width: f32,
  653. height: f32,
  654. minDepth: f32,
  655. maxDepth: f32,
  656. }
  657. PipelineViewportStateCreateInfo :: struct {
  658. sType: StructureType,
  659. pNext: rawptr,
  660. flags: PipelineViewportStateCreateFlags,
  661. viewportCount: u32,
  662. pViewports: [^]Viewport,
  663. scissorCount: u32,
  664. pScissors: [^]Rect2D,
  665. }
  666. PipelineRasterizationStateCreateInfo :: struct {
  667. sType: StructureType,
  668. pNext: rawptr,
  669. flags: PipelineRasterizationStateCreateFlags,
  670. depthClampEnable: b32,
  671. rasterizerDiscardEnable: b32,
  672. polygonMode: PolygonMode,
  673. cullMode: CullModeFlags,
  674. frontFace: FrontFace,
  675. depthBiasEnable: b32,
  676. depthBiasConstantFactor: f32,
  677. depthBiasClamp: f32,
  678. depthBiasSlopeFactor: f32,
  679. lineWidth: f32,
  680. }
  681. PipelineMultisampleStateCreateInfo :: struct {
  682. sType: StructureType,
  683. pNext: rawptr,
  684. flags: PipelineMultisampleStateCreateFlags,
  685. rasterizationSamples: SampleCountFlags,
  686. sampleShadingEnable: b32,
  687. minSampleShading: f32,
  688. pSampleMask: ^SampleMask,
  689. alphaToCoverageEnable: b32,
  690. alphaToOneEnable: b32,
  691. }
  692. StencilOpState :: struct {
  693. failOp: StencilOp,
  694. passOp: StencilOp,
  695. depthFailOp: StencilOp,
  696. compareOp: CompareOp,
  697. compareMask: u32,
  698. writeMask: u32,
  699. reference: u32,
  700. }
  701. PipelineDepthStencilStateCreateInfo :: struct {
  702. sType: StructureType,
  703. pNext: rawptr,
  704. flags: PipelineDepthStencilStateCreateFlags,
  705. depthTestEnable: b32,
  706. depthWriteEnable: b32,
  707. depthCompareOp: CompareOp,
  708. depthBoundsTestEnable: b32,
  709. stencilTestEnable: b32,
  710. front: StencilOpState,
  711. back: StencilOpState,
  712. minDepthBounds: f32,
  713. maxDepthBounds: f32,
  714. }
  715. PipelineColorBlendAttachmentState :: struct {
  716. blendEnable: b32,
  717. srcColorBlendFactor: BlendFactor,
  718. dstColorBlendFactor: BlendFactor,
  719. colorBlendOp: BlendOp,
  720. srcAlphaBlendFactor: BlendFactor,
  721. dstAlphaBlendFactor: BlendFactor,
  722. alphaBlendOp: BlendOp,
  723. colorWriteMask: ColorComponentFlags,
  724. }
  725. PipelineColorBlendStateCreateInfo :: struct {
  726. sType: StructureType,
  727. pNext: rawptr,
  728. flags: PipelineColorBlendStateCreateFlags,
  729. logicOpEnable: b32,
  730. logicOp: LogicOp,
  731. attachmentCount: u32,
  732. pAttachments: [^]PipelineColorBlendAttachmentState,
  733. blendConstants: [4]f32,
  734. }
  735. PipelineDynamicStateCreateInfo :: struct {
  736. sType: StructureType,
  737. pNext: rawptr,
  738. flags: PipelineDynamicStateCreateFlags,
  739. dynamicStateCount: u32,
  740. pDynamicStates: [^]DynamicState,
  741. }
  742. GraphicsPipelineCreateInfo :: struct {
  743. sType: StructureType,
  744. pNext: rawptr,
  745. flags: PipelineCreateFlags,
  746. stageCount: u32,
  747. pStages: [^]PipelineShaderStageCreateInfo,
  748. pVertexInputState: ^PipelineVertexInputStateCreateInfo,
  749. pInputAssemblyState: ^PipelineInputAssemblyStateCreateInfo,
  750. pTessellationState: ^PipelineTessellationStateCreateInfo,
  751. pViewportState: ^PipelineViewportStateCreateInfo,
  752. pRasterizationState: ^PipelineRasterizationStateCreateInfo,
  753. pMultisampleState: ^PipelineMultisampleStateCreateInfo,
  754. pDepthStencilState: ^PipelineDepthStencilStateCreateInfo,
  755. pColorBlendState: ^PipelineColorBlendStateCreateInfo,
  756. pDynamicState: ^PipelineDynamicStateCreateInfo,
  757. layout: PipelineLayout,
  758. renderPass: RenderPass,
  759. subpass: u32,
  760. basePipelineHandle: Pipeline,
  761. basePipelineIndex: i32,
  762. }
  763. PushConstantRange :: struct {
  764. stageFlags: ShaderStageFlags,
  765. offset: u32,
  766. size: u32,
  767. }
  768. PipelineLayoutCreateInfo :: struct {
  769. sType: StructureType,
  770. pNext: rawptr,
  771. flags: PipelineLayoutCreateFlags,
  772. setLayoutCount: u32,
  773. pSetLayouts: [^]DescriptorSetLayout,
  774. pushConstantRangeCount: u32,
  775. pPushConstantRanges: [^]PushConstantRange,
  776. }
  777. SamplerCreateInfo :: struct {
  778. sType: StructureType,
  779. pNext: rawptr,
  780. flags: SamplerCreateFlags,
  781. magFilter: Filter,
  782. minFilter: Filter,
  783. mipmapMode: SamplerMipmapMode,
  784. addressModeU: SamplerAddressMode,
  785. addressModeV: SamplerAddressMode,
  786. addressModeW: SamplerAddressMode,
  787. mipLodBias: f32,
  788. anisotropyEnable: b32,
  789. maxAnisotropy: f32,
  790. compareEnable: b32,
  791. compareOp: CompareOp,
  792. minLod: f32,
  793. maxLod: f32,
  794. borderColor: BorderColor,
  795. unnormalizedCoordinates: b32,
  796. }
  797. CopyDescriptorSet :: struct {
  798. sType: StructureType,
  799. pNext: rawptr,
  800. srcSet: DescriptorSet,
  801. srcBinding: u32,
  802. srcArrayElement: u32,
  803. dstSet: DescriptorSet,
  804. dstBinding: u32,
  805. dstArrayElement: u32,
  806. descriptorCount: u32,
  807. }
  808. DescriptorBufferInfo :: struct {
  809. buffer: Buffer,
  810. offset: DeviceSize,
  811. range: DeviceSize,
  812. }
  813. DescriptorImageInfo :: struct {
  814. sampler: Sampler,
  815. imageView: ImageView,
  816. imageLayout: ImageLayout,
  817. }
  818. DescriptorPoolSize :: struct {
  819. type: DescriptorType,
  820. descriptorCount: u32,
  821. }
  822. DescriptorPoolCreateInfo :: struct {
  823. sType: StructureType,
  824. pNext: rawptr,
  825. flags: DescriptorPoolCreateFlags,
  826. maxSets: u32,
  827. poolSizeCount: u32,
  828. pPoolSizes: [^]DescriptorPoolSize,
  829. }
  830. DescriptorSetAllocateInfo :: struct {
  831. sType: StructureType,
  832. pNext: rawptr,
  833. descriptorPool: DescriptorPool,
  834. descriptorSetCount: u32,
  835. pSetLayouts: [^]DescriptorSetLayout,
  836. }
  837. DescriptorSetLayoutBinding :: struct {
  838. binding: u32,
  839. descriptorType: DescriptorType,
  840. descriptorCount: u32,
  841. stageFlags: ShaderStageFlags,
  842. pImmutableSamplers: [^]Sampler,
  843. }
  844. DescriptorSetLayoutCreateInfo :: struct {
  845. sType: StructureType,
  846. pNext: rawptr,
  847. flags: DescriptorSetLayoutCreateFlags,
  848. bindingCount: u32,
  849. pBindings: [^]DescriptorSetLayoutBinding,
  850. }
  851. WriteDescriptorSet :: struct {
  852. sType: StructureType,
  853. pNext: rawptr,
  854. dstSet: DescriptorSet,
  855. dstBinding: u32,
  856. dstArrayElement: u32,
  857. descriptorCount: u32,
  858. descriptorType: DescriptorType,
  859. pImageInfo: ^DescriptorImageInfo,
  860. pBufferInfo: ^DescriptorBufferInfo,
  861. pTexelBufferView: ^BufferView,
  862. }
  863. AttachmentDescription :: struct {
  864. flags: AttachmentDescriptionFlags,
  865. format: Format,
  866. samples: SampleCountFlags,
  867. loadOp: AttachmentLoadOp,
  868. storeOp: AttachmentStoreOp,
  869. stencilLoadOp: AttachmentLoadOp,
  870. stencilStoreOp: AttachmentStoreOp,
  871. initialLayout: ImageLayout,
  872. finalLayout: ImageLayout,
  873. }
  874. AttachmentReference :: struct {
  875. attachment: u32,
  876. layout: ImageLayout,
  877. }
  878. FramebufferCreateInfo :: struct {
  879. sType: StructureType,
  880. pNext: rawptr,
  881. flags: FramebufferCreateFlags,
  882. renderPass: RenderPass,
  883. attachmentCount: u32,
  884. pAttachments: [^]ImageView,
  885. width: u32,
  886. height: u32,
  887. layers: u32,
  888. }
  889. SubpassDescription :: struct {
  890. flags: SubpassDescriptionFlags,
  891. pipelineBindPoint: PipelineBindPoint,
  892. inputAttachmentCount: u32,
  893. pInputAttachments: [^]AttachmentReference,
  894. colorAttachmentCount: u32,
  895. pColorAttachments: [^]AttachmentReference,
  896. pResolveAttachments: [^]AttachmentReference,
  897. pDepthStencilAttachment: ^AttachmentReference,
  898. preserveAttachmentCount: u32,
  899. pPreserveAttachments: [^]u32,
  900. }
  901. SubpassDependency :: struct {
  902. srcSubpass: u32,
  903. dstSubpass: u32,
  904. srcStageMask: PipelineStageFlags,
  905. dstStageMask: PipelineStageFlags,
  906. srcAccessMask: AccessFlags,
  907. dstAccessMask: AccessFlags,
  908. dependencyFlags: DependencyFlags,
  909. }
  910. RenderPassCreateInfo :: struct {
  911. sType: StructureType,
  912. pNext: rawptr,
  913. flags: RenderPassCreateFlags,
  914. attachmentCount: u32,
  915. pAttachments: [^]AttachmentDescription,
  916. subpassCount: u32,
  917. pSubpasses: [^]SubpassDescription,
  918. dependencyCount: u32,
  919. pDependencies: [^]SubpassDependency,
  920. }
  921. CommandPoolCreateInfo :: struct {
  922. sType: StructureType,
  923. pNext: rawptr,
  924. flags: CommandPoolCreateFlags,
  925. queueFamilyIndex: u32,
  926. }
  927. CommandBufferAllocateInfo :: struct {
  928. sType: StructureType,
  929. pNext: rawptr,
  930. commandPool: CommandPool,
  931. level: CommandBufferLevel,
  932. commandBufferCount: u32,
  933. }
  934. CommandBufferInheritanceInfo :: struct {
  935. sType: StructureType,
  936. pNext: rawptr,
  937. renderPass: RenderPass,
  938. subpass: u32,
  939. framebuffer: Framebuffer,
  940. occlusionQueryEnable: b32,
  941. queryFlags: QueryControlFlags,
  942. pipelineStatistics: QueryPipelineStatisticFlags,
  943. }
  944. CommandBufferBeginInfo :: struct {
  945. sType: StructureType,
  946. pNext: rawptr,
  947. flags: CommandBufferUsageFlags,
  948. pInheritanceInfo: ^CommandBufferInheritanceInfo,
  949. }
  950. BufferCopy :: struct {
  951. srcOffset: DeviceSize,
  952. dstOffset: DeviceSize,
  953. size: DeviceSize,
  954. }
  955. ImageSubresourceLayers :: struct {
  956. aspectMask: ImageAspectFlags,
  957. mipLevel: u32,
  958. baseArrayLayer: u32,
  959. layerCount: u32,
  960. }
  961. BufferImageCopy :: struct {
  962. bufferOffset: DeviceSize,
  963. bufferRowLength: u32,
  964. bufferImageHeight: u32,
  965. imageSubresource: ImageSubresourceLayers,
  966. imageOffset: Offset3D,
  967. imageExtent: Extent3D,
  968. }
  969. ClearColorValue :: struct #raw_union {
  970. float32: [4]f32,
  971. int32: [4]i32,
  972. uint32: [4]u32,
  973. }
  974. ClearDepthStencilValue :: struct {
  975. depth: f32,
  976. stencil: u32,
  977. }
  978. ClearValue :: struct #raw_union {
  979. color: ClearColorValue,
  980. depthStencil: ClearDepthStencilValue,
  981. }
  982. ClearAttachment :: struct {
  983. aspectMask: ImageAspectFlags,
  984. colorAttachment: u32,
  985. clearValue: ClearValue,
  986. }
  987. ClearRect :: struct {
  988. rect: Rect2D,
  989. baseArrayLayer: u32,
  990. layerCount: u32,
  991. }
  992. ImageBlit :: struct {
  993. srcSubresource: ImageSubresourceLayers,
  994. srcOffsets: [2]Offset3D,
  995. dstSubresource: ImageSubresourceLayers,
  996. dstOffsets: [2]Offset3D,
  997. }
  998. ImageCopy :: struct {
  999. srcSubresource: ImageSubresourceLayers,
  1000. srcOffset: Offset3D,
  1001. dstSubresource: ImageSubresourceLayers,
  1002. dstOffset: Offset3D,
  1003. extent: Extent3D,
  1004. }
  1005. ImageResolve :: struct {
  1006. srcSubresource: ImageSubresourceLayers,
  1007. srcOffset: Offset3D,
  1008. dstSubresource: ImageSubresourceLayers,
  1009. dstOffset: Offset3D,
  1010. extent: Extent3D,
  1011. }
  1012. RenderPassBeginInfo :: struct {
  1013. sType: StructureType,
  1014. pNext: rawptr,
  1015. renderPass: RenderPass,
  1016. framebuffer: Framebuffer,
  1017. renderArea: Rect2D,
  1018. clearValueCount: u32,
  1019. pClearValues: [^]ClearValue,
  1020. }
  1021. PhysicalDeviceSubgroupProperties :: struct {
  1022. sType: StructureType,
  1023. pNext: rawptr,
  1024. subgroupSize: u32,
  1025. supportedStages: ShaderStageFlags,
  1026. supportedOperations: SubgroupFeatureFlags,
  1027. quadOperationsInAllStages: b32,
  1028. }
  1029. BindBufferMemoryInfo :: struct {
  1030. sType: StructureType,
  1031. pNext: rawptr,
  1032. buffer: Buffer,
  1033. memory: DeviceMemory,
  1034. memoryOffset: DeviceSize,
  1035. }
  1036. BindImageMemoryInfo :: struct {
  1037. sType: StructureType,
  1038. pNext: rawptr,
  1039. image: Image,
  1040. memory: DeviceMemory,
  1041. memoryOffset: DeviceSize,
  1042. }
  1043. PhysicalDevice16BitStorageFeatures :: struct {
  1044. sType: StructureType,
  1045. pNext: rawptr,
  1046. storageBuffer16BitAccess: b32,
  1047. uniformAndStorageBuffer16BitAccess: b32,
  1048. storagePushConstant16: b32,
  1049. storageInputOutput16: b32,
  1050. }
  1051. MemoryDedicatedRequirements :: struct {
  1052. sType: StructureType,
  1053. pNext: rawptr,
  1054. prefersDedicatedAllocation: b32,
  1055. requiresDedicatedAllocation: b32,
  1056. }
  1057. MemoryDedicatedAllocateInfo :: struct {
  1058. sType: StructureType,
  1059. pNext: rawptr,
  1060. image: Image,
  1061. buffer: Buffer,
  1062. }
  1063. MemoryAllocateFlagsInfo :: struct {
  1064. sType: StructureType,
  1065. pNext: rawptr,
  1066. flags: MemoryAllocateFlags,
  1067. deviceMask: u32,
  1068. }
  1069. DeviceGroupRenderPassBeginInfo :: struct {
  1070. sType: StructureType,
  1071. pNext: rawptr,
  1072. deviceMask: u32,
  1073. deviceRenderAreaCount: u32,
  1074. pDeviceRenderAreas: [^]Rect2D,
  1075. }
  1076. DeviceGroupCommandBufferBeginInfo :: struct {
  1077. sType: StructureType,
  1078. pNext: rawptr,
  1079. deviceMask: u32,
  1080. }
  1081. DeviceGroupSubmitInfo :: struct {
  1082. sType: StructureType,
  1083. pNext: rawptr,
  1084. waitSemaphoreCount: u32,
  1085. pWaitSemaphoreDeviceIndices: [^]u32,
  1086. commandBufferCount: u32,
  1087. pCommandBufferDeviceMasks: [^]u32,
  1088. signalSemaphoreCount: u32,
  1089. pSignalSemaphoreDeviceIndices: [^]u32,
  1090. }
  1091. DeviceGroupBindSparseInfo :: struct {
  1092. sType: StructureType,
  1093. pNext: rawptr,
  1094. resourceDeviceIndex: u32,
  1095. memoryDeviceIndex: u32,
  1096. }
  1097. BindBufferMemoryDeviceGroupInfo :: struct {
  1098. sType: StructureType,
  1099. pNext: rawptr,
  1100. deviceIndexCount: u32,
  1101. pDeviceIndices: [^]u32,
  1102. }
  1103. BindImageMemoryDeviceGroupInfo :: struct {
  1104. sType: StructureType,
  1105. pNext: rawptr,
  1106. deviceIndexCount: u32,
  1107. pDeviceIndices: [^]u32,
  1108. splitInstanceBindRegionCount: u32,
  1109. pSplitInstanceBindRegions: [^]Rect2D,
  1110. }
  1111. PhysicalDeviceGroupProperties :: struct {
  1112. sType: StructureType,
  1113. pNext: rawptr,
  1114. physicalDeviceCount: u32,
  1115. physicalDevices: [MAX_DEVICE_GROUP_SIZE]PhysicalDevice,
  1116. subsetAllocation: b32,
  1117. }
  1118. DeviceGroupDeviceCreateInfo :: struct {
  1119. sType: StructureType,
  1120. pNext: rawptr,
  1121. physicalDeviceCount: u32,
  1122. pPhysicalDevices: [^]PhysicalDevice,
  1123. }
  1124. BufferMemoryRequirementsInfo2 :: struct {
  1125. sType: StructureType,
  1126. pNext: rawptr,
  1127. buffer: Buffer,
  1128. }
  1129. ImageMemoryRequirementsInfo2 :: struct {
  1130. sType: StructureType,
  1131. pNext: rawptr,
  1132. image: Image,
  1133. }
  1134. ImageSparseMemoryRequirementsInfo2 :: struct {
  1135. sType: StructureType,
  1136. pNext: rawptr,
  1137. image: Image,
  1138. }
  1139. MemoryRequirements2 :: struct {
  1140. sType: StructureType,
  1141. pNext: rawptr,
  1142. memoryRequirements: MemoryRequirements,
  1143. }
  1144. SparseImageMemoryRequirements2 :: struct {
  1145. sType: StructureType,
  1146. pNext: rawptr,
  1147. memoryRequirements: SparseImageMemoryRequirements,
  1148. }
  1149. PhysicalDeviceFeatures2 :: struct {
  1150. sType: StructureType,
  1151. pNext: rawptr,
  1152. features: PhysicalDeviceFeatures,
  1153. }
  1154. PhysicalDeviceProperties2 :: struct {
  1155. sType: StructureType,
  1156. pNext: rawptr,
  1157. properties: PhysicalDeviceProperties,
  1158. }
  1159. FormatProperties2 :: struct {
  1160. sType: StructureType,
  1161. pNext: rawptr,
  1162. formatProperties: FormatProperties,
  1163. }
  1164. ImageFormatProperties2 :: struct {
  1165. sType: StructureType,
  1166. pNext: rawptr,
  1167. imageFormatProperties: ImageFormatProperties,
  1168. }
  1169. PhysicalDeviceImageFormatInfo2 :: struct {
  1170. sType: StructureType,
  1171. pNext: rawptr,
  1172. format: Format,
  1173. type: ImageType,
  1174. tiling: ImageTiling,
  1175. usage: ImageUsageFlags,
  1176. flags: ImageCreateFlags,
  1177. }
  1178. QueueFamilyProperties2 :: struct {
  1179. sType: StructureType,
  1180. pNext: rawptr,
  1181. queueFamilyProperties: QueueFamilyProperties,
  1182. }
  1183. PhysicalDeviceMemoryProperties2 :: struct {
  1184. sType: StructureType,
  1185. pNext: rawptr,
  1186. memoryProperties: PhysicalDeviceMemoryProperties,
  1187. }
  1188. SparseImageFormatProperties2 :: struct {
  1189. sType: StructureType,
  1190. pNext: rawptr,
  1191. properties: SparseImageFormatProperties,
  1192. }
  1193. PhysicalDeviceSparseImageFormatInfo2 :: struct {
  1194. sType: StructureType,
  1195. pNext: rawptr,
  1196. format: Format,
  1197. type: ImageType,
  1198. samples: SampleCountFlags,
  1199. usage: ImageUsageFlags,
  1200. tiling: ImageTiling,
  1201. }
  1202. PhysicalDevicePointClippingProperties :: struct {
  1203. sType: StructureType,
  1204. pNext: rawptr,
  1205. pointClippingBehavior: PointClippingBehavior,
  1206. }
  1207. InputAttachmentAspectReference :: struct {
  1208. subpass: u32,
  1209. inputAttachmentIndex: u32,
  1210. aspectMask: ImageAspectFlags,
  1211. }
  1212. RenderPassInputAttachmentAspectCreateInfo :: struct {
  1213. sType: StructureType,
  1214. pNext: rawptr,
  1215. aspectReferenceCount: u32,
  1216. pAspectReferences: [^]InputAttachmentAspectReference,
  1217. }
  1218. ImageViewUsageCreateInfo :: struct {
  1219. sType: StructureType,
  1220. pNext: rawptr,
  1221. usage: ImageUsageFlags,
  1222. }
  1223. PipelineTessellationDomainOriginStateCreateInfo :: struct {
  1224. sType: StructureType,
  1225. pNext: rawptr,
  1226. domainOrigin: TessellationDomainOrigin,
  1227. }
  1228. RenderPassMultiviewCreateInfo :: struct {
  1229. sType: StructureType,
  1230. pNext: rawptr,
  1231. subpassCount: u32,
  1232. pViewMasks: [^]u32,
  1233. dependencyCount: u32,
  1234. pViewOffsets: [^]i32,
  1235. correlationMaskCount: u32,
  1236. pCorrelationMasks: [^]u32,
  1237. }
  1238. PhysicalDeviceMultiviewFeatures :: struct {
  1239. sType: StructureType,
  1240. pNext: rawptr,
  1241. multiview: b32,
  1242. multiviewGeometryShader: b32,
  1243. multiviewTessellationShader: b32,
  1244. }
  1245. PhysicalDeviceMultiviewProperties :: struct {
  1246. sType: StructureType,
  1247. pNext: rawptr,
  1248. maxMultiviewViewCount: u32,
  1249. maxMultiviewInstanceIndex: u32,
  1250. }
  1251. PhysicalDeviceVariablePointersFeatures :: struct {
  1252. sType: StructureType,
  1253. pNext: rawptr,
  1254. variablePointersStorageBuffer: b32,
  1255. variablePointers: b32,
  1256. }
  1257. PhysicalDeviceProtectedMemoryFeatures :: struct {
  1258. sType: StructureType,
  1259. pNext: rawptr,
  1260. protectedMemory: b32,
  1261. }
  1262. PhysicalDeviceProtectedMemoryProperties :: struct {
  1263. sType: StructureType,
  1264. pNext: rawptr,
  1265. protectedNoFault: b32,
  1266. }
  1267. DeviceQueueInfo2 :: struct {
  1268. sType: StructureType,
  1269. pNext: rawptr,
  1270. flags: DeviceQueueCreateFlags,
  1271. queueFamilyIndex: u32,
  1272. queueIndex: u32,
  1273. }
  1274. ProtectedSubmitInfo :: struct {
  1275. sType: StructureType,
  1276. pNext: rawptr,
  1277. protectedSubmit: b32,
  1278. }
  1279. SamplerYcbcrConversionCreateInfo :: struct {
  1280. sType: StructureType,
  1281. pNext: rawptr,
  1282. format: Format,
  1283. ycbcrModel: SamplerYcbcrModelConversion,
  1284. ycbcrRange: SamplerYcbcrRange,
  1285. components: ComponentMapping,
  1286. xChromaOffset: ChromaLocation,
  1287. yChromaOffset: ChromaLocation,
  1288. chromaFilter: Filter,
  1289. forceExplicitReconstruction: b32,
  1290. }
  1291. SamplerYcbcrConversionInfo :: struct {
  1292. sType: StructureType,
  1293. pNext: rawptr,
  1294. conversion: SamplerYcbcrConversion,
  1295. }
  1296. BindImagePlaneMemoryInfo :: struct {
  1297. sType: StructureType,
  1298. pNext: rawptr,
  1299. planeAspect: ImageAspectFlags,
  1300. }
  1301. ImagePlaneMemoryRequirementsInfo :: struct {
  1302. sType: StructureType,
  1303. pNext: rawptr,
  1304. planeAspect: ImageAspectFlags,
  1305. }
  1306. PhysicalDeviceSamplerYcbcrConversionFeatures :: struct {
  1307. sType: StructureType,
  1308. pNext: rawptr,
  1309. samplerYcbcrConversion: b32,
  1310. }
  1311. SamplerYcbcrConversionImageFormatProperties :: struct {
  1312. sType: StructureType,
  1313. pNext: rawptr,
  1314. combinedImageSamplerDescriptorCount: u32,
  1315. }
  1316. DescriptorUpdateTemplateEntry :: struct {
  1317. dstBinding: u32,
  1318. dstArrayElement: u32,
  1319. descriptorCount: u32,
  1320. descriptorType: DescriptorType,
  1321. offset: int,
  1322. stride: int,
  1323. }
  1324. DescriptorUpdateTemplateCreateInfo :: struct {
  1325. sType: StructureType,
  1326. pNext: rawptr,
  1327. flags: DescriptorUpdateTemplateCreateFlags,
  1328. descriptorUpdateEntryCount: u32,
  1329. pDescriptorUpdateEntries: [^]DescriptorUpdateTemplateEntry,
  1330. templateType: DescriptorUpdateTemplateType,
  1331. descriptorSetLayout: DescriptorSetLayout,
  1332. pipelineBindPoint: PipelineBindPoint,
  1333. pipelineLayout: PipelineLayout,
  1334. set: u32,
  1335. }
  1336. ExternalMemoryProperties :: struct {
  1337. externalMemoryFeatures: ExternalMemoryFeatureFlags,
  1338. exportFromImportedHandleTypes: ExternalMemoryHandleTypeFlags,
  1339. compatibleHandleTypes: ExternalMemoryHandleTypeFlags,
  1340. }
  1341. PhysicalDeviceExternalImageFormatInfo :: struct {
  1342. sType: StructureType,
  1343. pNext: rawptr,
  1344. handleType: ExternalMemoryHandleTypeFlags,
  1345. }
  1346. ExternalImageFormatProperties :: struct {
  1347. sType: StructureType,
  1348. pNext: rawptr,
  1349. externalMemoryProperties: ExternalMemoryProperties,
  1350. }
  1351. PhysicalDeviceExternalBufferInfo :: struct {
  1352. sType: StructureType,
  1353. pNext: rawptr,
  1354. flags: BufferCreateFlags,
  1355. usage: BufferUsageFlags,
  1356. handleType: ExternalMemoryHandleTypeFlags,
  1357. }
  1358. ExternalBufferProperties :: struct {
  1359. sType: StructureType,
  1360. pNext: rawptr,
  1361. externalMemoryProperties: ExternalMemoryProperties,
  1362. }
  1363. PhysicalDeviceIDProperties :: struct {
  1364. sType: StructureType,
  1365. pNext: rawptr,
  1366. deviceUUID: [UUID_SIZE]u8,
  1367. driverUUID: [UUID_SIZE]u8,
  1368. deviceLUID: [LUID_SIZE]u8,
  1369. deviceNodeMask: u32,
  1370. deviceLUIDValid: b32,
  1371. }
  1372. ExternalMemoryImageCreateInfo :: struct {
  1373. sType: StructureType,
  1374. pNext: rawptr,
  1375. handleTypes: ExternalMemoryHandleTypeFlags,
  1376. }
  1377. ExternalMemoryBufferCreateInfo :: struct {
  1378. sType: StructureType,
  1379. pNext: rawptr,
  1380. handleTypes: ExternalMemoryHandleTypeFlags,
  1381. }
  1382. ExportMemoryAllocateInfo :: struct {
  1383. sType: StructureType,
  1384. pNext: rawptr,
  1385. handleTypes: ExternalMemoryHandleTypeFlags,
  1386. }
  1387. PhysicalDeviceExternalFenceInfo :: struct {
  1388. sType: StructureType,
  1389. pNext: rawptr,
  1390. handleType: ExternalFenceHandleTypeFlags,
  1391. }
  1392. ExternalFenceProperties :: struct {
  1393. sType: StructureType,
  1394. pNext: rawptr,
  1395. exportFromImportedHandleTypes: ExternalFenceHandleTypeFlags,
  1396. compatibleHandleTypes: ExternalFenceHandleTypeFlags,
  1397. externalFenceFeatures: ExternalFenceFeatureFlags,
  1398. }
  1399. ExportFenceCreateInfo :: struct {
  1400. sType: StructureType,
  1401. pNext: rawptr,
  1402. handleTypes: ExternalFenceHandleTypeFlags,
  1403. }
  1404. ExportSemaphoreCreateInfo :: struct {
  1405. sType: StructureType,
  1406. pNext: rawptr,
  1407. handleTypes: ExternalSemaphoreHandleTypeFlags,
  1408. }
  1409. PhysicalDeviceExternalSemaphoreInfo :: struct {
  1410. sType: StructureType,
  1411. pNext: rawptr,
  1412. handleType: ExternalSemaphoreHandleTypeFlags,
  1413. }
  1414. ExternalSemaphoreProperties :: struct {
  1415. sType: StructureType,
  1416. pNext: rawptr,
  1417. exportFromImportedHandleTypes: ExternalSemaphoreHandleTypeFlags,
  1418. compatibleHandleTypes: ExternalSemaphoreHandleTypeFlags,
  1419. externalSemaphoreFeatures: ExternalSemaphoreFeatureFlags,
  1420. }
  1421. PhysicalDeviceMaintenance3Properties :: struct {
  1422. sType: StructureType,
  1423. pNext: rawptr,
  1424. maxPerSetDescriptors: u32,
  1425. maxMemoryAllocationSize: DeviceSize,
  1426. }
  1427. DescriptorSetLayoutSupport :: struct {
  1428. sType: StructureType,
  1429. pNext: rawptr,
  1430. supported: b32,
  1431. }
  1432. PhysicalDeviceShaderDrawParametersFeatures :: struct {
  1433. sType: StructureType,
  1434. pNext: rawptr,
  1435. shaderDrawParameters: b32,
  1436. }
  1437. PhysicalDeviceVulkan11Features :: struct {
  1438. sType: StructureType,
  1439. pNext: rawptr,
  1440. storageBuffer16BitAccess: b32,
  1441. uniformAndStorageBuffer16BitAccess: b32,
  1442. storagePushConstant16: b32,
  1443. storageInputOutput16: b32,
  1444. multiview: b32,
  1445. multiviewGeometryShader: b32,
  1446. multiviewTessellationShader: b32,
  1447. variablePointersStorageBuffer: b32,
  1448. variablePointers: b32,
  1449. protectedMemory: b32,
  1450. samplerYcbcrConversion: b32,
  1451. shaderDrawParameters: b32,
  1452. }
  1453. PhysicalDeviceVulkan11Properties :: struct {
  1454. sType: StructureType,
  1455. pNext: rawptr,
  1456. deviceUUID: [UUID_SIZE]u8,
  1457. driverUUID: [UUID_SIZE]u8,
  1458. deviceLUID: [LUID_SIZE]u8,
  1459. deviceNodeMask: u32,
  1460. deviceLUIDValid: b32,
  1461. subgroupSize: u32,
  1462. subgroupSupportedStages: ShaderStageFlags,
  1463. subgroupSupportedOperations: SubgroupFeatureFlags,
  1464. subgroupQuadOperationsInAllStages: b32,
  1465. pointClippingBehavior: PointClippingBehavior,
  1466. maxMultiviewViewCount: u32,
  1467. maxMultiviewInstanceIndex: u32,
  1468. protectedNoFault: b32,
  1469. maxPerSetDescriptors: u32,
  1470. maxMemoryAllocationSize: DeviceSize,
  1471. }
  1472. PhysicalDeviceVulkan12Features :: struct {
  1473. sType: StructureType,
  1474. pNext: rawptr,
  1475. samplerMirrorClampToEdge: b32,
  1476. drawIndirectCount: b32,
  1477. storageBuffer8BitAccess: b32,
  1478. uniformAndStorageBuffer8BitAccess: b32,
  1479. storagePushConstant8: b32,
  1480. shaderBufferInt64Atomics: b32,
  1481. shaderSharedInt64Atomics: b32,
  1482. shaderFloat16: b32,
  1483. shaderInt8: b32,
  1484. descriptorIndexing: b32,
  1485. shaderInputAttachmentArrayDynamicIndexing: b32,
  1486. shaderUniformTexelBufferArrayDynamicIndexing: b32,
  1487. shaderStorageTexelBufferArrayDynamicIndexing: b32,
  1488. shaderUniformBufferArrayNonUniformIndexing: b32,
  1489. shaderSampledImageArrayNonUniformIndexing: b32,
  1490. shaderStorageBufferArrayNonUniformIndexing: b32,
  1491. shaderStorageImageArrayNonUniformIndexing: b32,
  1492. shaderInputAttachmentArrayNonUniformIndexing: b32,
  1493. shaderUniformTexelBufferArrayNonUniformIndexing: b32,
  1494. shaderStorageTexelBufferArrayNonUniformIndexing: b32,
  1495. descriptorBindingUniformBufferUpdateAfterBind: b32,
  1496. descriptorBindingSampledImageUpdateAfterBind: b32,
  1497. descriptorBindingStorageImageUpdateAfterBind: b32,
  1498. descriptorBindingStorageBufferUpdateAfterBind: b32,
  1499. descriptorBindingUniformTexelBufferUpdateAfterBind: b32,
  1500. descriptorBindingStorageTexelBufferUpdateAfterBind: b32,
  1501. descriptorBindingUpdateUnusedWhilePending: b32,
  1502. descriptorBindingPartiallyBound: b32,
  1503. descriptorBindingVariableDescriptorCount: b32,
  1504. runtimeDescriptorArray: b32,
  1505. samplerFilterMinmax: b32,
  1506. scalarBlockLayout: b32,
  1507. imagelessFramebuffer: b32,
  1508. uniformBufferStandardLayout: b32,
  1509. shaderSubgroupExtendedTypes: b32,
  1510. separateDepthStencilLayouts: b32,
  1511. hostQueryReset: b32,
  1512. timelineSemaphore: b32,
  1513. bufferDeviceAddress: b32,
  1514. bufferDeviceAddressCaptureReplay: b32,
  1515. bufferDeviceAddressMultiDevice: b32,
  1516. vulkanMemoryModel: b32,
  1517. vulkanMemoryModelDeviceScope: b32,
  1518. vulkanMemoryModelAvailabilityVisibilityChains: b32,
  1519. shaderOutputViewportIndex: b32,
  1520. shaderOutputLayer: b32,
  1521. subgroupBroadcastDynamicId: b32,
  1522. }
  1523. ConformanceVersion :: struct {
  1524. major: u8,
  1525. minor: u8,
  1526. subminor: u8,
  1527. patch: u8,
  1528. }
  1529. PhysicalDeviceVulkan12Properties :: struct {
  1530. sType: StructureType,
  1531. pNext: rawptr,
  1532. driverID: DriverId,
  1533. driverName: [MAX_DRIVER_NAME_SIZE]byte,
  1534. driverInfo: [MAX_DRIVER_INFO_SIZE]byte,
  1535. conformanceVersion: ConformanceVersion,
  1536. denormBehaviorIndependence: ShaderFloatControlsIndependence,
  1537. roundingModeIndependence: ShaderFloatControlsIndependence,
  1538. shaderSignedZeroInfNanPreserveFloat16: b32,
  1539. shaderSignedZeroInfNanPreserveFloat32: b32,
  1540. shaderSignedZeroInfNanPreserveFloat64: b32,
  1541. shaderDenormPreserveFloat16: b32,
  1542. shaderDenormPreserveFloat32: b32,
  1543. shaderDenormPreserveFloat64: b32,
  1544. shaderDenormFlushToZeroFloat16: b32,
  1545. shaderDenormFlushToZeroFloat32: b32,
  1546. shaderDenormFlushToZeroFloat64: b32,
  1547. shaderRoundingModeRTEFloat16: b32,
  1548. shaderRoundingModeRTEFloat32: b32,
  1549. shaderRoundingModeRTEFloat64: b32,
  1550. shaderRoundingModeRTZFloat16: b32,
  1551. shaderRoundingModeRTZFloat32: b32,
  1552. shaderRoundingModeRTZFloat64: b32,
  1553. maxUpdateAfterBindDescriptorsInAllPools: u32,
  1554. shaderUniformBufferArrayNonUniformIndexingNative: b32,
  1555. shaderSampledImageArrayNonUniformIndexingNative: b32,
  1556. shaderStorageBufferArrayNonUniformIndexingNative: b32,
  1557. shaderStorageImageArrayNonUniformIndexingNative: b32,
  1558. shaderInputAttachmentArrayNonUniformIndexingNative: b32,
  1559. robustBufferAccessUpdateAfterBind: b32,
  1560. quadDivergentImplicitLod: b32,
  1561. maxPerStageDescriptorUpdateAfterBindSamplers: u32,
  1562. maxPerStageDescriptorUpdateAfterBindUniformBuffers: u32,
  1563. maxPerStageDescriptorUpdateAfterBindStorageBuffers: u32,
  1564. maxPerStageDescriptorUpdateAfterBindSampledImages: u32,
  1565. maxPerStageDescriptorUpdateAfterBindStorageImages: u32,
  1566. maxPerStageDescriptorUpdateAfterBindInputAttachments: u32,
  1567. maxPerStageUpdateAfterBindResources: u32,
  1568. maxDescriptorSetUpdateAfterBindSamplers: u32,
  1569. maxDescriptorSetUpdateAfterBindUniformBuffers: u32,
  1570. maxDescriptorSetUpdateAfterBindUniformBuffersDynamic: u32,
  1571. maxDescriptorSetUpdateAfterBindStorageBuffers: u32,
  1572. maxDescriptorSetUpdateAfterBindStorageBuffersDynamic: u32,
  1573. maxDescriptorSetUpdateAfterBindSampledImages: u32,
  1574. maxDescriptorSetUpdateAfterBindStorageImages: u32,
  1575. maxDescriptorSetUpdateAfterBindInputAttachments: u32,
  1576. supportedDepthResolveModes: ResolveModeFlags,
  1577. supportedStencilResolveModes: ResolveModeFlags,
  1578. independentResolveNone: b32,
  1579. independentResolve: b32,
  1580. filterMinmaxSingleComponentFormats: b32,
  1581. filterMinmaxImageComponentMapping: b32,
  1582. maxTimelineSemaphoreValueDifference: u64,
  1583. framebufferIntegerColorSampleCounts: SampleCountFlags,
  1584. }
  1585. ImageFormatListCreateInfo :: struct {
  1586. sType: StructureType,
  1587. pNext: rawptr,
  1588. viewFormatCount: u32,
  1589. pViewFormats: [^]Format,
  1590. }
  1591. AttachmentDescription2 :: struct {
  1592. sType: StructureType,
  1593. pNext: rawptr,
  1594. flags: AttachmentDescriptionFlags,
  1595. format: Format,
  1596. samples: SampleCountFlags,
  1597. loadOp: AttachmentLoadOp,
  1598. storeOp: AttachmentStoreOp,
  1599. stencilLoadOp: AttachmentLoadOp,
  1600. stencilStoreOp: AttachmentStoreOp,
  1601. initialLayout: ImageLayout,
  1602. finalLayout: ImageLayout,
  1603. }
  1604. AttachmentReference2 :: struct {
  1605. sType: StructureType,
  1606. pNext: rawptr,
  1607. attachment: u32,
  1608. layout: ImageLayout,
  1609. aspectMask: ImageAspectFlags,
  1610. }
  1611. SubpassDescription2 :: struct {
  1612. sType: StructureType,
  1613. pNext: rawptr,
  1614. flags: SubpassDescriptionFlags,
  1615. pipelineBindPoint: PipelineBindPoint,
  1616. viewMask: u32,
  1617. inputAttachmentCount: u32,
  1618. pInputAttachments: [^]AttachmentReference2,
  1619. colorAttachmentCount: u32,
  1620. pColorAttachments: [^]AttachmentReference2,
  1621. pResolveAttachments: [^]AttachmentReference2,
  1622. pDepthStencilAttachment: ^AttachmentReference2,
  1623. preserveAttachmentCount: u32,
  1624. pPreserveAttachments: [^]u32,
  1625. }
  1626. SubpassDependency2 :: struct {
  1627. sType: StructureType,
  1628. pNext: rawptr,
  1629. srcSubpass: u32,
  1630. dstSubpass: u32,
  1631. srcStageMask: PipelineStageFlags,
  1632. dstStageMask: PipelineStageFlags,
  1633. srcAccessMask: AccessFlags,
  1634. dstAccessMask: AccessFlags,
  1635. dependencyFlags: DependencyFlags,
  1636. viewOffset: i32,
  1637. }
  1638. RenderPassCreateInfo2 :: struct {
  1639. sType: StructureType,
  1640. pNext: rawptr,
  1641. flags: RenderPassCreateFlags,
  1642. attachmentCount: u32,
  1643. pAttachments: [^]AttachmentDescription2,
  1644. subpassCount: u32,
  1645. pSubpasses: [^]SubpassDescription2,
  1646. dependencyCount: u32,
  1647. pDependencies: [^]SubpassDependency2,
  1648. correlatedViewMaskCount: u32,
  1649. pCorrelatedViewMasks: [^]u32,
  1650. }
  1651. SubpassBeginInfo :: struct {
  1652. sType: StructureType,
  1653. pNext: rawptr,
  1654. contents: SubpassContents,
  1655. }
  1656. SubpassEndInfo :: struct {
  1657. sType: StructureType,
  1658. pNext: rawptr,
  1659. }
  1660. PhysicalDevice8BitStorageFeatures :: struct {
  1661. sType: StructureType,
  1662. pNext: rawptr,
  1663. storageBuffer8BitAccess: b32,
  1664. uniformAndStorageBuffer8BitAccess: b32,
  1665. storagePushConstant8: b32,
  1666. }
  1667. PhysicalDeviceDriverProperties :: struct {
  1668. sType: StructureType,
  1669. pNext: rawptr,
  1670. driverID: DriverId,
  1671. driverName: [MAX_DRIVER_NAME_SIZE]byte,
  1672. driverInfo: [MAX_DRIVER_INFO_SIZE]byte,
  1673. conformanceVersion: ConformanceVersion,
  1674. }
  1675. PhysicalDeviceShaderAtomicInt64Features :: struct {
  1676. sType: StructureType,
  1677. pNext: rawptr,
  1678. shaderBufferInt64Atomics: b32,
  1679. shaderSharedInt64Atomics: b32,
  1680. }
  1681. PhysicalDeviceShaderFloat16Int8Features :: struct {
  1682. sType: StructureType,
  1683. pNext: rawptr,
  1684. shaderFloat16: b32,
  1685. shaderInt8: b32,
  1686. }
  1687. PhysicalDeviceFloatControlsProperties :: struct {
  1688. sType: StructureType,
  1689. pNext: rawptr,
  1690. denormBehaviorIndependence: ShaderFloatControlsIndependence,
  1691. roundingModeIndependence: ShaderFloatControlsIndependence,
  1692. shaderSignedZeroInfNanPreserveFloat16: b32,
  1693. shaderSignedZeroInfNanPreserveFloat32: b32,
  1694. shaderSignedZeroInfNanPreserveFloat64: b32,
  1695. shaderDenormPreserveFloat16: b32,
  1696. shaderDenormPreserveFloat32: b32,
  1697. shaderDenormPreserveFloat64: b32,
  1698. shaderDenormFlushToZeroFloat16: b32,
  1699. shaderDenormFlushToZeroFloat32: b32,
  1700. shaderDenormFlushToZeroFloat64: b32,
  1701. shaderRoundingModeRTEFloat16: b32,
  1702. shaderRoundingModeRTEFloat32: b32,
  1703. shaderRoundingModeRTEFloat64: b32,
  1704. shaderRoundingModeRTZFloat16: b32,
  1705. shaderRoundingModeRTZFloat32: b32,
  1706. shaderRoundingModeRTZFloat64: b32,
  1707. }
  1708. DescriptorSetLayoutBindingFlagsCreateInfo :: struct {
  1709. sType: StructureType,
  1710. pNext: rawptr,
  1711. bindingCount: u32,
  1712. pBindingFlags: [^]DescriptorBindingFlags,
  1713. }
  1714. PhysicalDeviceDescriptorIndexingFeatures :: struct {
  1715. sType: StructureType,
  1716. pNext: rawptr,
  1717. shaderInputAttachmentArrayDynamicIndexing: b32,
  1718. shaderUniformTexelBufferArrayDynamicIndexing: b32,
  1719. shaderStorageTexelBufferArrayDynamicIndexing: b32,
  1720. shaderUniformBufferArrayNonUniformIndexing: b32,
  1721. shaderSampledImageArrayNonUniformIndexing: b32,
  1722. shaderStorageBufferArrayNonUniformIndexing: b32,
  1723. shaderStorageImageArrayNonUniformIndexing: b32,
  1724. shaderInputAttachmentArrayNonUniformIndexing: b32,
  1725. shaderUniformTexelBufferArrayNonUniformIndexing: b32,
  1726. shaderStorageTexelBufferArrayNonUniformIndexing: b32,
  1727. descriptorBindingUniformBufferUpdateAfterBind: b32,
  1728. descriptorBindingSampledImageUpdateAfterBind: b32,
  1729. descriptorBindingStorageImageUpdateAfterBind: b32,
  1730. descriptorBindingStorageBufferUpdateAfterBind: b32,
  1731. descriptorBindingUniformTexelBufferUpdateAfterBind: b32,
  1732. descriptorBindingStorageTexelBufferUpdateAfterBind: b32,
  1733. descriptorBindingUpdateUnusedWhilePending: b32,
  1734. descriptorBindingPartiallyBound: b32,
  1735. descriptorBindingVariableDescriptorCount: b32,
  1736. runtimeDescriptorArray: b32,
  1737. }
  1738. PhysicalDeviceDescriptorIndexingProperties :: struct {
  1739. sType: StructureType,
  1740. pNext: rawptr,
  1741. maxUpdateAfterBindDescriptorsInAllPools: u32,
  1742. shaderUniformBufferArrayNonUniformIndexingNative: b32,
  1743. shaderSampledImageArrayNonUniformIndexingNative: b32,
  1744. shaderStorageBufferArrayNonUniformIndexingNative: b32,
  1745. shaderStorageImageArrayNonUniformIndexingNative: b32,
  1746. shaderInputAttachmentArrayNonUniformIndexingNative: b32,
  1747. robustBufferAccessUpdateAfterBind: b32,
  1748. quadDivergentImplicitLod: b32,
  1749. maxPerStageDescriptorUpdateAfterBindSamplers: u32,
  1750. maxPerStageDescriptorUpdateAfterBindUniformBuffers: u32,
  1751. maxPerStageDescriptorUpdateAfterBindStorageBuffers: u32,
  1752. maxPerStageDescriptorUpdateAfterBindSampledImages: u32,
  1753. maxPerStageDescriptorUpdateAfterBindStorageImages: u32,
  1754. maxPerStageDescriptorUpdateAfterBindInputAttachments: u32,
  1755. maxPerStageUpdateAfterBindResources: u32,
  1756. maxDescriptorSetUpdateAfterBindSamplers: u32,
  1757. maxDescriptorSetUpdateAfterBindUniformBuffers: u32,
  1758. maxDescriptorSetUpdateAfterBindUniformBuffersDynamic: u32,
  1759. maxDescriptorSetUpdateAfterBindStorageBuffers: u32,
  1760. maxDescriptorSetUpdateAfterBindStorageBuffersDynamic: u32,
  1761. maxDescriptorSetUpdateAfterBindSampledImages: u32,
  1762. maxDescriptorSetUpdateAfterBindStorageImages: u32,
  1763. maxDescriptorSetUpdateAfterBindInputAttachments: u32,
  1764. }
  1765. DescriptorSetVariableDescriptorCountAllocateInfo :: struct {
  1766. sType: StructureType,
  1767. pNext: rawptr,
  1768. descriptorSetCount: u32,
  1769. pDescriptorCounts: [^]u32,
  1770. }
  1771. DescriptorSetVariableDescriptorCountLayoutSupport :: struct {
  1772. sType: StructureType,
  1773. pNext: rawptr,
  1774. maxVariableDescriptorCount: u32,
  1775. }
  1776. SubpassDescriptionDepthStencilResolve :: struct {
  1777. sType: StructureType,
  1778. pNext: rawptr,
  1779. depthResolveMode: ResolveModeFlags,
  1780. stencilResolveMode: ResolveModeFlags,
  1781. pDepthStencilResolveAttachment: ^AttachmentReference2,
  1782. }
  1783. PhysicalDeviceDepthStencilResolveProperties :: struct {
  1784. sType: StructureType,
  1785. pNext: rawptr,
  1786. supportedDepthResolveModes: ResolveModeFlags,
  1787. supportedStencilResolveModes: ResolveModeFlags,
  1788. independentResolveNone: b32,
  1789. independentResolve: b32,
  1790. }
  1791. PhysicalDeviceScalarBlockLayoutFeatures :: struct {
  1792. sType: StructureType,
  1793. pNext: rawptr,
  1794. scalarBlockLayout: b32,
  1795. }
  1796. ImageStencilUsageCreateInfo :: struct {
  1797. sType: StructureType,
  1798. pNext: rawptr,
  1799. stencilUsage: ImageUsageFlags,
  1800. }
  1801. SamplerReductionModeCreateInfo :: struct {
  1802. sType: StructureType,
  1803. pNext: rawptr,
  1804. reductionMode: SamplerReductionMode,
  1805. }
  1806. PhysicalDeviceSamplerFilterMinmaxProperties :: struct {
  1807. sType: StructureType,
  1808. pNext: rawptr,
  1809. filterMinmaxSingleComponentFormats: b32,
  1810. filterMinmaxImageComponentMapping: b32,
  1811. }
  1812. PhysicalDeviceVulkanMemoryModelFeatures :: struct {
  1813. sType: StructureType,
  1814. pNext: rawptr,
  1815. vulkanMemoryModel: b32,
  1816. vulkanMemoryModelDeviceScope: b32,
  1817. vulkanMemoryModelAvailabilityVisibilityChains: b32,
  1818. }
  1819. PhysicalDeviceImagelessFramebufferFeatures :: struct {
  1820. sType: StructureType,
  1821. pNext: rawptr,
  1822. imagelessFramebuffer: b32,
  1823. }
  1824. FramebufferAttachmentImageInfo :: struct {
  1825. sType: StructureType,
  1826. pNext: rawptr,
  1827. flags: ImageCreateFlags,
  1828. usage: ImageUsageFlags,
  1829. width: u32,
  1830. height: u32,
  1831. layerCount: u32,
  1832. viewFormatCount: u32,
  1833. pViewFormats: [^]Format,
  1834. }
  1835. FramebufferAttachmentsCreateInfo :: struct {
  1836. sType: StructureType,
  1837. pNext: rawptr,
  1838. attachmentImageInfoCount: u32,
  1839. pAttachmentImageInfos: [^]FramebufferAttachmentImageInfo,
  1840. }
  1841. RenderPassAttachmentBeginInfo :: struct {
  1842. sType: StructureType,
  1843. pNext: rawptr,
  1844. attachmentCount: u32,
  1845. pAttachments: [^]ImageView,
  1846. }
  1847. PhysicalDeviceUniformBufferStandardLayoutFeatures :: struct {
  1848. sType: StructureType,
  1849. pNext: rawptr,
  1850. uniformBufferStandardLayout: b32,
  1851. }
  1852. PhysicalDeviceShaderSubgroupExtendedTypesFeatures :: struct {
  1853. sType: StructureType,
  1854. pNext: rawptr,
  1855. shaderSubgroupExtendedTypes: b32,
  1856. }
  1857. PhysicalDeviceSeparateDepthStencilLayoutsFeatures :: struct {
  1858. sType: StructureType,
  1859. pNext: rawptr,
  1860. separateDepthStencilLayouts: b32,
  1861. }
  1862. AttachmentReferenceStencilLayout :: struct {
  1863. sType: StructureType,
  1864. pNext: rawptr,
  1865. stencilLayout: ImageLayout,
  1866. }
  1867. AttachmentDescriptionStencilLayout :: struct {
  1868. sType: StructureType,
  1869. pNext: rawptr,
  1870. stencilInitialLayout: ImageLayout,
  1871. stencilFinalLayout: ImageLayout,
  1872. }
  1873. PhysicalDeviceHostQueryResetFeatures :: struct {
  1874. sType: StructureType,
  1875. pNext: rawptr,
  1876. hostQueryReset: b32,
  1877. }
  1878. PhysicalDeviceTimelineSemaphoreFeatures :: struct {
  1879. sType: StructureType,
  1880. pNext: rawptr,
  1881. timelineSemaphore: b32,
  1882. }
  1883. PhysicalDeviceTimelineSemaphoreProperties :: struct {
  1884. sType: StructureType,
  1885. pNext: rawptr,
  1886. maxTimelineSemaphoreValueDifference: u64,
  1887. }
  1888. SemaphoreTypeCreateInfo :: struct {
  1889. sType: StructureType,
  1890. pNext: rawptr,
  1891. semaphoreType: SemaphoreType,
  1892. initialValue: u64,
  1893. }
  1894. TimelineSemaphoreSubmitInfo :: struct {
  1895. sType: StructureType,
  1896. pNext: rawptr,
  1897. waitSemaphoreValueCount: u32,
  1898. pWaitSemaphoreValues: [^]u64,
  1899. signalSemaphoreValueCount: u32,
  1900. pSignalSemaphoreValues: [^]u64,
  1901. }
  1902. SemaphoreWaitInfo :: struct {
  1903. sType: StructureType,
  1904. pNext: rawptr,
  1905. flags: SemaphoreWaitFlags,
  1906. semaphoreCount: u32,
  1907. pSemaphores: [^]Semaphore,
  1908. pValues: [^]u64,
  1909. }
  1910. SemaphoreSignalInfo :: struct {
  1911. sType: StructureType,
  1912. pNext: rawptr,
  1913. semaphore: Semaphore,
  1914. value: u64,
  1915. }
  1916. PhysicalDeviceBufferDeviceAddressFeatures :: struct {
  1917. sType: StructureType,
  1918. pNext: rawptr,
  1919. bufferDeviceAddress: b32,
  1920. bufferDeviceAddressCaptureReplay: b32,
  1921. bufferDeviceAddressMultiDevice: b32,
  1922. }
  1923. BufferDeviceAddressInfo :: struct {
  1924. sType: StructureType,
  1925. pNext: rawptr,
  1926. buffer: Buffer,
  1927. }
  1928. BufferOpaqueCaptureAddressCreateInfo :: struct {
  1929. sType: StructureType,
  1930. pNext: rawptr,
  1931. opaqueCaptureAddress: u64,
  1932. }
  1933. MemoryOpaqueCaptureAddressAllocateInfo :: struct {
  1934. sType: StructureType,
  1935. pNext: rawptr,
  1936. opaqueCaptureAddress: u64,
  1937. }
  1938. DeviceMemoryOpaqueCaptureAddressInfo :: struct {
  1939. sType: StructureType,
  1940. pNext: rawptr,
  1941. memory: DeviceMemory,
  1942. }
  1943. PhysicalDeviceVulkan13Features :: struct {
  1944. sType: StructureType,
  1945. pNext: rawptr,
  1946. robustImageAccess: b32,
  1947. inlineUniformBlock: b32,
  1948. descriptorBindingInlineUniformBlockUpdateAfterBind: b32,
  1949. pipelineCreationCacheControl: b32,
  1950. privateData: b32,
  1951. shaderDemoteToHelperInvocation: b32,
  1952. shaderTerminateInvocation: b32,
  1953. subgroupSizeControl: b32,
  1954. computeFullSubgroups: b32,
  1955. synchronization2: b32,
  1956. textureCompressionASTC_HDR: b32,
  1957. shaderZeroInitializeWorkgroupMemory: b32,
  1958. dynamicRendering: b32,
  1959. shaderIntegerDotProduct: b32,
  1960. maintenance4: b32,
  1961. }
  1962. PhysicalDeviceVulkan13Properties :: struct {
  1963. sType: StructureType,
  1964. pNext: rawptr,
  1965. minSubgroupSize: u32,
  1966. maxSubgroupSize: u32,
  1967. maxComputeWorkgroupSubgroups: u32,
  1968. requiredSubgroupSizeStages: ShaderStageFlags,
  1969. maxInlineUniformBlockSize: u32,
  1970. maxPerStageDescriptorInlineUniformBlocks: u32,
  1971. maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks: u32,
  1972. maxDescriptorSetInlineUniformBlocks: u32,
  1973. maxDescriptorSetUpdateAfterBindInlineUniformBlocks: u32,
  1974. maxInlineUniformTotalSize: u32,
  1975. integerDotProduct8BitUnsignedAccelerated: b32,
  1976. integerDotProduct8BitSignedAccelerated: b32,
  1977. integerDotProduct8BitMixedSignednessAccelerated: b32,
  1978. integerDotProduct4x8BitPackedUnsignedAccelerated: b32,
  1979. integerDotProduct4x8BitPackedSignedAccelerated: b32,
  1980. integerDotProduct4x8BitPackedMixedSignednessAccelerated: b32,
  1981. integerDotProduct16BitUnsignedAccelerated: b32,
  1982. integerDotProduct16BitSignedAccelerated: b32,
  1983. integerDotProduct16BitMixedSignednessAccelerated: b32,
  1984. integerDotProduct32BitUnsignedAccelerated: b32,
  1985. integerDotProduct32BitSignedAccelerated: b32,
  1986. integerDotProduct32BitMixedSignednessAccelerated: b32,
  1987. integerDotProduct64BitUnsignedAccelerated: b32,
  1988. integerDotProduct64BitSignedAccelerated: b32,
  1989. integerDotProduct64BitMixedSignednessAccelerated: b32,
  1990. integerDotProductAccumulatingSaturating8BitUnsignedAccelerated: b32,
  1991. integerDotProductAccumulatingSaturating8BitSignedAccelerated: b32,
  1992. integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated: b32,
  1993. integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated: b32,
  1994. integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated: b32,
  1995. integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated: b32,
  1996. integerDotProductAccumulatingSaturating16BitUnsignedAccelerated: b32,
  1997. integerDotProductAccumulatingSaturating16BitSignedAccelerated: b32,
  1998. integerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated: b32,
  1999. integerDotProductAccumulatingSaturating32BitUnsignedAccelerated: b32,
  2000. integerDotProductAccumulatingSaturating32BitSignedAccelerated: b32,
  2001. integerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated: b32,
  2002. integerDotProductAccumulatingSaturating64BitUnsignedAccelerated: b32,
  2003. integerDotProductAccumulatingSaturating64BitSignedAccelerated: b32,
  2004. integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated: b32,
  2005. storageTexelBufferOffsetAlignmentBytes: DeviceSize,
  2006. storageTexelBufferOffsetSingleTexelAlignment: b32,
  2007. uniformTexelBufferOffsetAlignmentBytes: DeviceSize,
  2008. uniformTexelBufferOffsetSingleTexelAlignment: b32,
  2009. maxBufferSize: DeviceSize,
  2010. }
  2011. PipelineCreationFeedback :: struct {
  2012. flags: PipelineCreationFeedbackFlags,
  2013. duration: u64,
  2014. }
  2015. PipelineCreationFeedbackCreateInfo :: struct {
  2016. sType: StructureType,
  2017. pNext: rawptr,
  2018. pPipelineCreationFeedback: ^PipelineCreationFeedback,
  2019. pipelineStageCreationFeedbackCount: u32,
  2020. pPipelineStageCreationFeedbacks: [^]PipelineCreationFeedback,
  2021. }
  2022. PhysicalDeviceShaderTerminateInvocationFeatures :: struct {
  2023. sType: StructureType,
  2024. pNext: rawptr,
  2025. shaderTerminateInvocation: b32,
  2026. }
  2027. PhysicalDeviceToolProperties :: struct {
  2028. sType: StructureType,
  2029. pNext: rawptr,
  2030. name: [MAX_EXTENSION_NAME_SIZE]byte,
  2031. version: [MAX_EXTENSION_NAME_SIZE]byte,
  2032. purposes: ToolPurposeFlags,
  2033. description: [MAX_DESCRIPTION_SIZE]byte,
  2034. layer: [MAX_EXTENSION_NAME_SIZE]byte,
  2035. }
  2036. PhysicalDeviceShaderDemoteToHelperInvocationFeatures :: struct {
  2037. sType: StructureType,
  2038. pNext: rawptr,
  2039. shaderDemoteToHelperInvocation: b32,
  2040. }
  2041. PhysicalDevicePrivateDataFeatures :: struct {
  2042. sType: StructureType,
  2043. pNext: rawptr,
  2044. privateData: b32,
  2045. }
  2046. DevicePrivateDataCreateInfo :: struct {
  2047. sType: StructureType,
  2048. pNext: rawptr,
  2049. privateDataSlotRequestCount: u32,
  2050. }
  2051. PrivateDataSlotCreateInfo :: struct {
  2052. sType: StructureType,
  2053. pNext: rawptr,
  2054. flags: PrivateDataSlotCreateFlags,
  2055. }
  2056. PhysicalDevicePipelineCreationCacheControlFeatures :: struct {
  2057. sType: StructureType,
  2058. pNext: rawptr,
  2059. pipelineCreationCacheControl: b32,
  2060. }
  2061. MemoryBarrier2 :: struct {
  2062. sType: StructureType,
  2063. pNext: rawptr,
  2064. srcStageMask: PipelineStageFlags2,
  2065. srcAccessMask: AccessFlags2,
  2066. dstStageMask: PipelineStageFlags2,
  2067. dstAccessMask: AccessFlags2,
  2068. }
  2069. BufferMemoryBarrier2 :: struct {
  2070. sType: StructureType,
  2071. pNext: rawptr,
  2072. srcStageMask: PipelineStageFlags2,
  2073. srcAccessMask: AccessFlags2,
  2074. dstStageMask: PipelineStageFlags2,
  2075. dstAccessMask: AccessFlags2,
  2076. srcQueueFamilyIndex: u32,
  2077. dstQueueFamilyIndex: u32,
  2078. buffer: Buffer,
  2079. offset: DeviceSize,
  2080. size: DeviceSize,
  2081. }
  2082. ImageMemoryBarrier2 :: struct {
  2083. sType: StructureType,
  2084. pNext: rawptr,
  2085. srcStageMask: PipelineStageFlags2,
  2086. srcAccessMask: AccessFlags2,
  2087. dstStageMask: PipelineStageFlags2,
  2088. dstAccessMask: AccessFlags2,
  2089. oldLayout: ImageLayout,
  2090. newLayout: ImageLayout,
  2091. srcQueueFamilyIndex: u32,
  2092. dstQueueFamilyIndex: u32,
  2093. image: Image,
  2094. subresourceRange: ImageSubresourceRange,
  2095. }
  2096. DependencyInfo :: struct {
  2097. sType: StructureType,
  2098. pNext: rawptr,
  2099. dependencyFlags: DependencyFlags,
  2100. memoryBarrierCount: u32,
  2101. pMemoryBarriers: [^]MemoryBarrier2,
  2102. bufferMemoryBarrierCount: u32,
  2103. pBufferMemoryBarriers: [^]BufferMemoryBarrier2,
  2104. imageMemoryBarrierCount: u32,
  2105. pImageMemoryBarriers: [^]ImageMemoryBarrier2,
  2106. }
  2107. SemaphoreSubmitInfo :: struct {
  2108. sType: StructureType,
  2109. pNext: rawptr,
  2110. semaphore: Semaphore,
  2111. value: u64,
  2112. stageMask: PipelineStageFlags2,
  2113. deviceIndex: u32,
  2114. }
  2115. CommandBufferSubmitInfo :: struct {
  2116. sType: StructureType,
  2117. pNext: rawptr,
  2118. commandBuffer: CommandBuffer,
  2119. deviceMask: u32,
  2120. }
  2121. SubmitInfo2 :: struct {
  2122. sType: StructureType,
  2123. pNext: rawptr,
  2124. flags: SubmitFlags,
  2125. waitSemaphoreInfoCount: u32,
  2126. pWaitSemaphoreInfos: [^]SemaphoreSubmitInfo,
  2127. commandBufferInfoCount: u32,
  2128. pCommandBufferInfos: [^]CommandBufferSubmitInfo,
  2129. signalSemaphoreInfoCount: u32,
  2130. pSignalSemaphoreInfos: [^]SemaphoreSubmitInfo,
  2131. }
  2132. PhysicalDeviceSynchronization2Features :: struct {
  2133. sType: StructureType,
  2134. pNext: rawptr,
  2135. synchronization2: b32,
  2136. }
  2137. PhysicalDeviceZeroInitializeWorkgroupMemoryFeatures :: struct {
  2138. sType: StructureType,
  2139. pNext: rawptr,
  2140. shaderZeroInitializeWorkgroupMemory: b32,
  2141. }
  2142. PhysicalDeviceImageRobustnessFeatures :: struct {
  2143. sType: StructureType,
  2144. pNext: rawptr,
  2145. robustImageAccess: b32,
  2146. }
  2147. BufferCopy2 :: struct {
  2148. sType: StructureType,
  2149. pNext: rawptr,
  2150. srcOffset: DeviceSize,
  2151. dstOffset: DeviceSize,
  2152. size: DeviceSize,
  2153. }
  2154. CopyBufferInfo2 :: struct {
  2155. sType: StructureType,
  2156. pNext: rawptr,
  2157. srcBuffer: Buffer,
  2158. dstBuffer: Buffer,
  2159. regionCount: u32,
  2160. pRegions: [^]BufferCopy2,
  2161. }
  2162. ImageCopy2 :: struct {
  2163. sType: StructureType,
  2164. pNext: rawptr,
  2165. srcSubresource: ImageSubresourceLayers,
  2166. srcOffset: Offset3D,
  2167. dstSubresource: ImageSubresourceLayers,
  2168. dstOffset: Offset3D,
  2169. extent: Extent3D,
  2170. }
  2171. CopyImageInfo2 :: struct {
  2172. sType: StructureType,
  2173. pNext: rawptr,
  2174. srcImage: Image,
  2175. srcImageLayout: ImageLayout,
  2176. dstImage: Image,
  2177. dstImageLayout: ImageLayout,
  2178. regionCount: u32,
  2179. pRegions: [^]ImageCopy2,
  2180. }
  2181. BufferImageCopy2 :: struct {
  2182. sType: StructureType,
  2183. pNext: rawptr,
  2184. bufferOffset: DeviceSize,
  2185. bufferRowLength: u32,
  2186. bufferImageHeight: u32,
  2187. imageSubresource: ImageSubresourceLayers,
  2188. imageOffset: Offset3D,
  2189. imageExtent: Extent3D,
  2190. }
  2191. CopyBufferToImageInfo2 :: struct {
  2192. sType: StructureType,
  2193. pNext: rawptr,
  2194. srcBuffer: Buffer,
  2195. dstImage: Image,
  2196. dstImageLayout: ImageLayout,
  2197. regionCount: u32,
  2198. pRegions: [^]BufferImageCopy2,
  2199. }
  2200. CopyImageToBufferInfo2 :: struct {
  2201. sType: StructureType,
  2202. pNext: rawptr,
  2203. srcImage: Image,
  2204. srcImageLayout: ImageLayout,
  2205. dstBuffer: Buffer,
  2206. regionCount: u32,
  2207. pRegions: [^]BufferImageCopy2,
  2208. }
  2209. ImageBlit2 :: struct {
  2210. sType: StructureType,
  2211. pNext: rawptr,
  2212. srcSubresource: ImageSubresourceLayers,
  2213. srcOffsets: [2]Offset3D,
  2214. dstSubresource: ImageSubresourceLayers,
  2215. dstOffsets: [2]Offset3D,
  2216. }
  2217. BlitImageInfo2 :: struct {
  2218. sType: StructureType,
  2219. pNext: rawptr,
  2220. srcImage: Image,
  2221. srcImageLayout: ImageLayout,
  2222. dstImage: Image,
  2223. dstImageLayout: ImageLayout,
  2224. regionCount: u32,
  2225. pRegions: [^]ImageBlit2,
  2226. filter: Filter,
  2227. }
  2228. ImageResolve2 :: struct {
  2229. sType: StructureType,
  2230. pNext: rawptr,
  2231. srcSubresource: ImageSubresourceLayers,
  2232. srcOffset: Offset3D,
  2233. dstSubresource: ImageSubresourceLayers,
  2234. dstOffset: Offset3D,
  2235. extent: Extent3D,
  2236. }
  2237. ResolveImageInfo2 :: struct {
  2238. sType: StructureType,
  2239. pNext: rawptr,
  2240. srcImage: Image,
  2241. srcImageLayout: ImageLayout,
  2242. dstImage: Image,
  2243. dstImageLayout: ImageLayout,
  2244. regionCount: u32,
  2245. pRegions: [^]ImageResolve2,
  2246. }
  2247. PhysicalDeviceSubgroupSizeControlFeatures :: struct {
  2248. sType: StructureType,
  2249. pNext: rawptr,
  2250. subgroupSizeControl: b32,
  2251. computeFullSubgroups: b32,
  2252. }
  2253. PhysicalDeviceSubgroupSizeControlProperties :: struct {
  2254. sType: StructureType,
  2255. pNext: rawptr,
  2256. minSubgroupSize: u32,
  2257. maxSubgroupSize: u32,
  2258. maxComputeWorkgroupSubgroups: u32,
  2259. requiredSubgroupSizeStages: ShaderStageFlags,
  2260. }
  2261. PipelineShaderStageRequiredSubgroupSizeCreateInfo :: struct {
  2262. sType: StructureType,
  2263. pNext: rawptr,
  2264. requiredSubgroupSize: u32,
  2265. }
  2266. PhysicalDeviceInlineUniformBlockFeatures :: struct {
  2267. sType: StructureType,
  2268. pNext: rawptr,
  2269. inlineUniformBlock: b32,
  2270. descriptorBindingInlineUniformBlockUpdateAfterBind: b32,
  2271. }
  2272. PhysicalDeviceInlineUniformBlockProperties :: struct {
  2273. sType: StructureType,
  2274. pNext: rawptr,
  2275. maxInlineUniformBlockSize: u32,
  2276. maxPerStageDescriptorInlineUniformBlocks: u32,
  2277. maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks: u32,
  2278. maxDescriptorSetInlineUniformBlocks: u32,
  2279. maxDescriptorSetUpdateAfterBindInlineUniformBlocks: u32,
  2280. }
  2281. WriteDescriptorSetInlineUniformBlock :: struct {
  2282. sType: StructureType,
  2283. pNext: rawptr,
  2284. dataSize: u32,
  2285. pData: rawptr,
  2286. }
  2287. DescriptorPoolInlineUniformBlockCreateInfo :: struct {
  2288. sType: StructureType,
  2289. pNext: rawptr,
  2290. maxInlineUniformBlockBindings: u32,
  2291. }
  2292. PhysicalDeviceTextureCompressionASTCHDRFeatures :: struct {
  2293. sType: StructureType,
  2294. pNext: rawptr,
  2295. textureCompressionASTC_HDR: b32,
  2296. }
  2297. RenderingAttachmentInfo :: struct {
  2298. sType: StructureType,
  2299. pNext: rawptr,
  2300. imageView: ImageView,
  2301. imageLayout: ImageLayout,
  2302. resolveMode: ResolveModeFlags,
  2303. resolveImageView: ImageView,
  2304. resolveImageLayout: ImageLayout,
  2305. loadOp: AttachmentLoadOp,
  2306. storeOp: AttachmentStoreOp,
  2307. clearValue: ClearValue,
  2308. }
  2309. RenderingInfo :: struct {
  2310. sType: StructureType,
  2311. pNext: rawptr,
  2312. flags: RenderingFlags,
  2313. renderArea: Rect2D,
  2314. layerCount: u32,
  2315. viewMask: u32,
  2316. colorAttachmentCount: u32,
  2317. pColorAttachments: [^]RenderingAttachmentInfo,
  2318. pDepthAttachment: ^RenderingAttachmentInfo,
  2319. pStencilAttachment: ^RenderingAttachmentInfo,
  2320. }
  2321. PipelineRenderingCreateInfo :: struct {
  2322. sType: StructureType,
  2323. pNext: rawptr,
  2324. viewMask: u32,
  2325. colorAttachmentCount: u32,
  2326. pColorAttachmentFormats: [^]Format,
  2327. depthAttachmentFormat: Format,
  2328. stencilAttachmentFormat: Format,
  2329. }
  2330. PhysicalDeviceDynamicRenderingFeatures :: struct {
  2331. sType: StructureType,
  2332. pNext: rawptr,
  2333. dynamicRendering: b32,
  2334. }
  2335. CommandBufferInheritanceRenderingInfo :: struct {
  2336. sType: StructureType,
  2337. pNext: rawptr,
  2338. flags: RenderingFlags,
  2339. viewMask: u32,
  2340. colorAttachmentCount: u32,
  2341. pColorAttachmentFormats: [^]Format,
  2342. depthAttachmentFormat: Format,
  2343. stencilAttachmentFormat: Format,
  2344. rasterizationSamples: SampleCountFlags,
  2345. }
  2346. PhysicalDeviceShaderIntegerDotProductFeatures :: struct {
  2347. sType: StructureType,
  2348. pNext: rawptr,
  2349. shaderIntegerDotProduct: b32,
  2350. }
  2351. PhysicalDeviceShaderIntegerDotProductProperties :: struct {
  2352. sType: StructureType,
  2353. pNext: rawptr,
  2354. integerDotProduct8BitUnsignedAccelerated: b32,
  2355. integerDotProduct8BitSignedAccelerated: b32,
  2356. integerDotProduct8BitMixedSignednessAccelerated: b32,
  2357. integerDotProduct4x8BitPackedUnsignedAccelerated: b32,
  2358. integerDotProduct4x8BitPackedSignedAccelerated: b32,
  2359. integerDotProduct4x8BitPackedMixedSignednessAccelerated: b32,
  2360. integerDotProduct16BitUnsignedAccelerated: b32,
  2361. integerDotProduct16BitSignedAccelerated: b32,
  2362. integerDotProduct16BitMixedSignednessAccelerated: b32,
  2363. integerDotProduct32BitUnsignedAccelerated: b32,
  2364. integerDotProduct32BitSignedAccelerated: b32,
  2365. integerDotProduct32BitMixedSignednessAccelerated: b32,
  2366. integerDotProduct64BitUnsignedAccelerated: b32,
  2367. integerDotProduct64BitSignedAccelerated: b32,
  2368. integerDotProduct64BitMixedSignednessAccelerated: b32,
  2369. integerDotProductAccumulatingSaturating8BitUnsignedAccelerated: b32,
  2370. integerDotProductAccumulatingSaturating8BitSignedAccelerated: b32,
  2371. integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated: b32,
  2372. integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated: b32,
  2373. integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated: b32,
  2374. integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated: b32,
  2375. integerDotProductAccumulatingSaturating16BitUnsignedAccelerated: b32,
  2376. integerDotProductAccumulatingSaturating16BitSignedAccelerated: b32,
  2377. integerDotProductAccumulatingSaturating16BitMixedSignednessAccelerated: b32,
  2378. integerDotProductAccumulatingSaturating32BitUnsignedAccelerated: b32,
  2379. integerDotProductAccumulatingSaturating32BitSignedAccelerated: b32,
  2380. integerDotProductAccumulatingSaturating32BitMixedSignednessAccelerated: b32,
  2381. integerDotProductAccumulatingSaturating64BitUnsignedAccelerated: b32,
  2382. integerDotProductAccumulatingSaturating64BitSignedAccelerated: b32,
  2383. integerDotProductAccumulatingSaturating64BitMixedSignednessAccelerated: b32,
  2384. }
  2385. PhysicalDeviceTexelBufferAlignmentProperties :: struct {
  2386. sType: StructureType,
  2387. pNext: rawptr,
  2388. storageTexelBufferOffsetAlignmentBytes: DeviceSize,
  2389. storageTexelBufferOffsetSingleTexelAlignment: b32,
  2390. uniformTexelBufferOffsetAlignmentBytes: DeviceSize,
  2391. uniformTexelBufferOffsetSingleTexelAlignment: b32,
  2392. }
  2393. FormatProperties3 :: struct {
  2394. sType: StructureType,
  2395. pNext: rawptr,
  2396. linearTilingFeatures: FormatFeatureFlags2,
  2397. optimalTilingFeatures: FormatFeatureFlags2,
  2398. bufferFeatures: FormatFeatureFlags2,
  2399. }
  2400. PhysicalDeviceMaintenance4Features :: struct {
  2401. sType: StructureType,
  2402. pNext: rawptr,
  2403. maintenance4: b32,
  2404. }
  2405. PhysicalDeviceMaintenance4Properties :: struct {
  2406. sType: StructureType,
  2407. pNext: rawptr,
  2408. maxBufferSize: DeviceSize,
  2409. }
  2410. DeviceBufferMemoryRequirements :: struct {
  2411. sType: StructureType,
  2412. pNext: rawptr,
  2413. pCreateInfo: ^BufferCreateInfo,
  2414. }
  2415. DeviceImageMemoryRequirements :: struct {
  2416. sType: StructureType,
  2417. pNext: rawptr,
  2418. pCreateInfo: ^ImageCreateInfo,
  2419. planeAspect: ImageAspectFlags,
  2420. }
  2421. SurfaceCapabilitiesKHR :: struct {
  2422. minImageCount: u32,
  2423. maxImageCount: u32,
  2424. currentExtent: Extent2D,
  2425. minImageExtent: Extent2D,
  2426. maxImageExtent: Extent2D,
  2427. maxImageArrayLayers: u32,
  2428. supportedTransforms: SurfaceTransformFlagsKHR,
  2429. currentTransform: SurfaceTransformFlagsKHR,
  2430. supportedCompositeAlpha: CompositeAlphaFlagsKHR,
  2431. supportedUsageFlags: ImageUsageFlags,
  2432. }
  2433. SurfaceFormatKHR :: struct {
  2434. format: Format,
  2435. colorSpace: ColorSpaceKHR,
  2436. }
  2437. SwapchainCreateInfoKHR :: struct {
  2438. sType: StructureType,
  2439. pNext: rawptr,
  2440. flags: SwapchainCreateFlagsKHR,
  2441. surface: SurfaceKHR,
  2442. minImageCount: u32,
  2443. imageFormat: Format,
  2444. imageColorSpace: ColorSpaceKHR,
  2445. imageExtent: Extent2D,
  2446. imageArrayLayers: u32,
  2447. imageUsage: ImageUsageFlags,
  2448. imageSharingMode: SharingMode,
  2449. queueFamilyIndexCount: u32,
  2450. pQueueFamilyIndices: [^]u32,
  2451. preTransform: SurfaceTransformFlagsKHR,
  2452. compositeAlpha: CompositeAlphaFlagsKHR,
  2453. presentMode: PresentModeKHR,
  2454. clipped: b32,
  2455. oldSwapchain: SwapchainKHR,
  2456. }
  2457. PresentInfoKHR :: struct {
  2458. sType: StructureType,
  2459. pNext: rawptr,
  2460. waitSemaphoreCount: u32,
  2461. pWaitSemaphores: [^]Semaphore,
  2462. swapchainCount: u32,
  2463. pSwapchains: [^]SwapchainKHR,
  2464. pImageIndices: [^]u32,
  2465. pResults: [^]Result,
  2466. }
  2467. ImageSwapchainCreateInfoKHR :: struct {
  2468. sType: StructureType,
  2469. pNext: rawptr,
  2470. swapchain: SwapchainKHR,
  2471. }
  2472. BindImageMemorySwapchainInfoKHR :: struct {
  2473. sType: StructureType,
  2474. pNext: rawptr,
  2475. swapchain: SwapchainKHR,
  2476. imageIndex: u32,
  2477. }
  2478. AcquireNextImageInfoKHR :: struct {
  2479. sType: StructureType,
  2480. pNext: rawptr,
  2481. swapchain: SwapchainKHR,
  2482. timeout: u64,
  2483. semaphore: Semaphore,
  2484. fence: Fence,
  2485. deviceMask: u32,
  2486. }
  2487. DeviceGroupPresentCapabilitiesKHR :: struct {
  2488. sType: StructureType,
  2489. pNext: rawptr,
  2490. presentMask: [MAX_DEVICE_GROUP_SIZE]u32,
  2491. modes: DeviceGroupPresentModeFlagsKHR,
  2492. }
  2493. DeviceGroupPresentInfoKHR :: struct {
  2494. sType: StructureType,
  2495. pNext: rawptr,
  2496. swapchainCount: u32,
  2497. pDeviceMasks: [^]u32,
  2498. mode: DeviceGroupPresentModeFlagsKHR,
  2499. }
  2500. DeviceGroupSwapchainCreateInfoKHR :: struct {
  2501. sType: StructureType,
  2502. pNext: rawptr,
  2503. modes: DeviceGroupPresentModeFlagsKHR,
  2504. }
  2505. DisplayModeParametersKHR :: struct {
  2506. visibleRegion: Extent2D,
  2507. refreshRate: u32,
  2508. }
  2509. DisplayModeCreateInfoKHR :: struct {
  2510. sType: StructureType,
  2511. pNext: rawptr,
  2512. flags: DisplayModeCreateFlagsKHR,
  2513. parameters: DisplayModeParametersKHR,
  2514. }
  2515. DisplayModePropertiesKHR :: struct {
  2516. displayMode: DisplayModeKHR,
  2517. parameters: DisplayModeParametersKHR,
  2518. }
  2519. DisplayPlaneCapabilitiesKHR :: struct {
  2520. supportedAlpha: DisplayPlaneAlphaFlagsKHR,
  2521. minSrcPosition: Offset2D,
  2522. maxSrcPosition: Offset2D,
  2523. minSrcExtent: Extent2D,
  2524. maxSrcExtent: Extent2D,
  2525. minDstPosition: Offset2D,
  2526. maxDstPosition: Offset2D,
  2527. minDstExtent: Extent2D,
  2528. maxDstExtent: Extent2D,
  2529. }
  2530. DisplayPlanePropertiesKHR :: struct {
  2531. currentDisplay: DisplayKHR,
  2532. currentStackIndex: u32,
  2533. }
  2534. DisplayPropertiesKHR :: struct {
  2535. display: DisplayKHR,
  2536. displayName: cstring,
  2537. physicalDimensions: Extent2D,
  2538. physicalResolution: Extent2D,
  2539. supportedTransforms: SurfaceTransformFlagsKHR,
  2540. planeReorderPossible: b32,
  2541. persistentContent: b32,
  2542. }
  2543. DisplaySurfaceCreateInfoKHR :: struct {
  2544. sType: StructureType,
  2545. pNext: rawptr,
  2546. flags: DisplaySurfaceCreateFlagsKHR,
  2547. displayMode: DisplayModeKHR,
  2548. planeIndex: u32,
  2549. planeStackIndex: u32,
  2550. transform: SurfaceTransformFlagsKHR,
  2551. globalAlpha: f32,
  2552. alphaMode: DisplayPlaneAlphaFlagsKHR,
  2553. imageExtent: Extent2D,
  2554. }
  2555. DisplayPresentInfoKHR :: struct {
  2556. sType: StructureType,
  2557. pNext: rawptr,
  2558. srcRect: Rect2D,
  2559. dstRect: Rect2D,
  2560. persistent: b32,
  2561. }
  2562. QueueFamilyQueryResultStatusPropertiesKHR :: struct {
  2563. sType: StructureType,
  2564. pNext: rawptr,
  2565. queryResultStatusSupport: b32,
  2566. }
  2567. QueueFamilyVideoPropertiesKHR :: struct {
  2568. sType: StructureType,
  2569. pNext: rawptr,
  2570. videoCodecOperations: VideoCodecOperationFlagsKHR,
  2571. }
  2572. VideoProfileInfoKHR :: struct {
  2573. sType: StructureType,
  2574. pNext: rawptr,
  2575. videoCodecOperation: VideoCodecOperationFlagsKHR,
  2576. chromaSubsampling: VideoChromaSubsamplingFlagsKHR,
  2577. lumaBitDepth: VideoComponentBitDepthFlagsKHR,
  2578. chromaBitDepth: VideoComponentBitDepthFlagsKHR,
  2579. }
  2580. VideoProfileListInfoKHR :: struct {
  2581. sType: StructureType,
  2582. pNext: rawptr,
  2583. profileCount: u32,
  2584. pProfiles: [^]VideoProfileInfoKHR,
  2585. }
  2586. VideoCapabilitiesKHR :: struct {
  2587. sType: StructureType,
  2588. pNext: rawptr,
  2589. flags: VideoCapabilityFlagsKHR,
  2590. minBitstreamBufferOffsetAlignment: DeviceSize,
  2591. minBitstreamBufferSizeAlignment: DeviceSize,
  2592. pictureAccessGranularity: Extent2D,
  2593. minCodedExtent: Extent2D,
  2594. maxCodedExtent: Extent2D,
  2595. maxDpbSlots: u32,
  2596. maxActiveReferencePictures: u32,
  2597. stdHeaderVersion: ExtensionProperties,
  2598. }
  2599. PhysicalDeviceVideoFormatInfoKHR :: struct {
  2600. sType: StructureType,
  2601. pNext: rawptr,
  2602. imageUsage: ImageUsageFlags,
  2603. }
  2604. VideoFormatPropertiesKHR :: struct {
  2605. sType: StructureType,
  2606. pNext: rawptr,
  2607. format: Format,
  2608. componentMapping: ComponentMapping,
  2609. imageCreateFlags: ImageCreateFlags,
  2610. imageType: ImageType,
  2611. imageTiling: ImageTiling,
  2612. imageUsageFlags: ImageUsageFlags,
  2613. }
  2614. VideoPictureResourceInfoKHR :: struct {
  2615. sType: StructureType,
  2616. pNext: rawptr,
  2617. codedOffset: Offset2D,
  2618. codedExtent: Extent2D,
  2619. baseArrayLayer: u32,
  2620. imageViewBinding: ImageView,
  2621. }
  2622. VideoReferenceSlotInfoKHR :: struct {
  2623. sType: StructureType,
  2624. pNext: rawptr,
  2625. slotIndex: i32,
  2626. pPictureResource: ^VideoPictureResourceInfoKHR,
  2627. }
  2628. VideoSessionMemoryRequirementsKHR :: struct {
  2629. sType: StructureType,
  2630. pNext: rawptr,
  2631. memoryBindIndex: u32,
  2632. memoryRequirements: MemoryRequirements,
  2633. }
  2634. BindVideoSessionMemoryInfoKHR :: struct {
  2635. sType: StructureType,
  2636. pNext: rawptr,
  2637. memoryBindIndex: u32,
  2638. memory: DeviceMemory,
  2639. memoryOffset: DeviceSize,
  2640. memorySize: DeviceSize,
  2641. }
  2642. VideoSessionCreateInfoKHR :: struct {
  2643. sType: StructureType,
  2644. pNext: rawptr,
  2645. queueFamilyIndex: u32,
  2646. flags: VideoSessionCreateFlagsKHR,
  2647. pVideoProfile: ^VideoProfileInfoKHR,
  2648. pictureFormat: Format,
  2649. maxCodedExtent: Extent2D,
  2650. referencePictureFormat: Format,
  2651. maxDpbSlots: u32,
  2652. maxActiveReferencePictures: u32,
  2653. pStdHeaderVersion: ^ExtensionProperties,
  2654. }
  2655. VideoSessionParametersCreateInfoKHR :: struct {
  2656. sType: StructureType,
  2657. pNext: rawptr,
  2658. flags: VideoSessionParametersCreateFlagsKHR,
  2659. videoSessionParametersTemplate: VideoSessionParametersKHR,
  2660. videoSession: VideoSessionKHR,
  2661. }
  2662. VideoSessionParametersUpdateInfoKHR :: struct {
  2663. sType: StructureType,
  2664. pNext: rawptr,
  2665. updateSequenceCount: u32,
  2666. }
  2667. VideoBeginCodingInfoKHR :: struct {
  2668. sType: StructureType,
  2669. pNext: rawptr,
  2670. flags: VideoBeginCodingFlagsKHR,
  2671. videoSession: VideoSessionKHR,
  2672. videoSessionParameters: VideoSessionParametersKHR,
  2673. referenceSlotCount: u32,
  2674. pReferenceSlots: [^]VideoReferenceSlotInfoKHR,
  2675. }
  2676. VideoEndCodingInfoKHR :: struct {
  2677. sType: StructureType,
  2678. pNext: rawptr,
  2679. flags: VideoEndCodingFlagsKHR,
  2680. }
  2681. VideoCodingControlInfoKHR :: struct {
  2682. sType: StructureType,
  2683. pNext: rawptr,
  2684. flags: VideoCodingControlFlagsKHR,
  2685. }
  2686. VideoDecodeCapabilitiesKHR :: struct {
  2687. sType: StructureType,
  2688. pNext: rawptr,
  2689. flags: VideoDecodeCapabilityFlagsKHR,
  2690. }
  2691. VideoDecodeUsageInfoKHR :: struct {
  2692. sType: StructureType,
  2693. pNext: rawptr,
  2694. videoUsageHints: VideoDecodeUsageFlagsKHR,
  2695. }
  2696. VideoDecodeInfoKHR :: struct {
  2697. sType: StructureType,
  2698. pNext: rawptr,
  2699. flags: VideoDecodeFlagsKHR,
  2700. srcBuffer: Buffer,
  2701. srcBufferOffset: DeviceSize,
  2702. srcBufferRange: DeviceSize,
  2703. dstPictureResource: VideoPictureResourceInfoKHR,
  2704. pSetupReferenceSlot: ^VideoReferenceSlotInfoKHR,
  2705. referenceSlotCount: u32,
  2706. pReferenceSlots: [^]VideoReferenceSlotInfoKHR,
  2707. }
  2708. VideoDecodeH264ProfileInfoKHR :: struct {
  2709. sType: StructureType,
  2710. pNext: rawptr,
  2711. stdProfileIdc: VideoH264ProfileIdc,
  2712. pictureLayout: VideoDecodeH264PictureLayoutFlagsKHR,
  2713. }
  2714. VideoDecodeH264CapabilitiesKHR :: struct {
  2715. sType: StructureType,
  2716. pNext: rawptr,
  2717. maxLevelIdc: VideoH264LevelIdc,
  2718. fieldOffsetGranularity: Offset2D,
  2719. }
  2720. VideoDecodeH264SessionParametersAddInfoKHR :: struct {
  2721. sType: StructureType,
  2722. pNext: rawptr,
  2723. stdSPSCount: u32,
  2724. pStdSPSs: [^]VideoH264SequenceParameterSet,
  2725. stdPPSCount: u32,
  2726. pStdPPSs: [^]VideoH264PictureParameterSet,
  2727. }
  2728. VideoDecodeH264SessionParametersCreateInfoKHR :: struct {
  2729. sType: StructureType,
  2730. pNext: rawptr,
  2731. maxStdSPSCount: u32,
  2732. maxStdPPSCount: u32,
  2733. pParametersAddInfo: ^VideoDecodeH264SessionParametersAddInfoKHR,
  2734. }
  2735. VideoDecodeH264PictureInfoKHR :: struct {
  2736. sType: StructureType,
  2737. pNext: rawptr,
  2738. pStdPictureInfo: ^VideoDecodeH264PictureInfo,
  2739. sliceCount: u32,
  2740. pSliceOffsets: [^]u32,
  2741. }
  2742. VideoDecodeH264DpbSlotInfoKHR :: struct {
  2743. sType: StructureType,
  2744. pNext: rawptr,
  2745. pStdReferenceInfo: ^VideoDecodeH264ReferenceInfo,
  2746. }
  2747. RenderingFragmentShadingRateAttachmentInfoKHR :: struct {
  2748. sType: StructureType,
  2749. pNext: rawptr,
  2750. imageView: ImageView,
  2751. imageLayout: ImageLayout,
  2752. shadingRateAttachmentTexelSize: Extent2D,
  2753. }
  2754. RenderingFragmentDensityMapAttachmentInfoEXT :: struct {
  2755. sType: StructureType,
  2756. pNext: rawptr,
  2757. imageView: ImageView,
  2758. imageLayout: ImageLayout,
  2759. }
  2760. AttachmentSampleCountInfoAMD :: struct {
  2761. sType: StructureType,
  2762. pNext: rawptr,
  2763. colorAttachmentCount: u32,
  2764. pColorAttachmentSamples: [^]SampleCountFlags,
  2765. depthStencilAttachmentSamples: SampleCountFlags,
  2766. }
  2767. MultiviewPerViewAttributesInfoNVX :: struct {
  2768. sType: StructureType,
  2769. pNext: rawptr,
  2770. perViewAttributes: b32,
  2771. perViewAttributesPositionXOnly: b32,
  2772. }
  2773. ImportMemoryFdInfoKHR :: struct {
  2774. sType: StructureType,
  2775. pNext: rawptr,
  2776. handleType: ExternalMemoryHandleTypeFlags,
  2777. fd: c.int,
  2778. }
  2779. MemoryFdPropertiesKHR :: struct {
  2780. sType: StructureType,
  2781. pNext: rawptr,
  2782. memoryTypeBits: u32,
  2783. }
  2784. MemoryGetFdInfoKHR :: struct {
  2785. sType: StructureType,
  2786. pNext: rawptr,
  2787. memory: DeviceMemory,
  2788. handleType: ExternalMemoryHandleTypeFlags,
  2789. }
  2790. ImportSemaphoreFdInfoKHR :: struct {
  2791. sType: StructureType,
  2792. pNext: rawptr,
  2793. semaphore: Semaphore,
  2794. flags: SemaphoreImportFlags,
  2795. handleType: ExternalSemaphoreHandleTypeFlags,
  2796. fd: c.int,
  2797. }
  2798. SemaphoreGetFdInfoKHR :: struct {
  2799. sType: StructureType,
  2800. pNext: rawptr,
  2801. semaphore: Semaphore,
  2802. handleType: ExternalSemaphoreHandleTypeFlags,
  2803. }
  2804. PhysicalDevicePushDescriptorPropertiesKHR :: struct {
  2805. sType: StructureType,
  2806. pNext: rawptr,
  2807. maxPushDescriptors: u32,
  2808. }
  2809. RectLayerKHR :: struct {
  2810. offset: Offset2D,
  2811. extent: Extent2D,
  2812. layer: u32,
  2813. }
  2814. PresentRegionKHR :: struct {
  2815. rectangleCount: u32,
  2816. pRectangles: [^]RectLayerKHR,
  2817. }
  2818. PresentRegionsKHR :: struct {
  2819. sType: StructureType,
  2820. pNext: rawptr,
  2821. swapchainCount: u32,
  2822. pRegions: [^]PresentRegionKHR,
  2823. }
  2824. SharedPresentSurfaceCapabilitiesKHR :: struct {
  2825. sType: StructureType,
  2826. pNext: rawptr,
  2827. sharedPresentSupportedUsageFlags: ImageUsageFlags,
  2828. }
  2829. ImportFenceFdInfoKHR :: struct {
  2830. sType: StructureType,
  2831. pNext: rawptr,
  2832. fence: Fence,
  2833. flags: FenceImportFlags,
  2834. handleType: ExternalFenceHandleTypeFlags,
  2835. fd: c.int,
  2836. }
  2837. FenceGetFdInfoKHR :: struct {
  2838. sType: StructureType,
  2839. pNext: rawptr,
  2840. fence: Fence,
  2841. handleType: ExternalFenceHandleTypeFlags,
  2842. }
  2843. PhysicalDevicePerformanceQueryFeaturesKHR :: struct {
  2844. sType: StructureType,
  2845. pNext: rawptr,
  2846. performanceCounterQueryPools: b32,
  2847. performanceCounterMultipleQueryPools: b32,
  2848. }
  2849. PhysicalDevicePerformanceQueryPropertiesKHR :: struct {
  2850. sType: StructureType,
  2851. pNext: rawptr,
  2852. allowCommandBufferQueryCopies: b32,
  2853. }
  2854. PerformanceCounterKHR :: struct {
  2855. sType: StructureType,
  2856. pNext: rawptr,
  2857. unit: PerformanceCounterUnitKHR,
  2858. scope: PerformanceCounterScopeKHR,
  2859. storage: PerformanceCounterStorageKHR,
  2860. uuid: [UUID_SIZE]u8,
  2861. }
  2862. PerformanceCounterDescriptionKHR :: struct {
  2863. sType: StructureType,
  2864. pNext: rawptr,
  2865. flags: PerformanceCounterDescriptionFlagsKHR,
  2866. name: [MAX_DESCRIPTION_SIZE]byte,
  2867. category: [MAX_DESCRIPTION_SIZE]byte,
  2868. description: [MAX_DESCRIPTION_SIZE]byte,
  2869. }
  2870. QueryPoolPerformanceCreateInfoKHR :: struct {
  2871. sType: StructureType,
  2872. pNext: rawptr,
  2873. queueFamilyIndex: u32,
  2874. counterIndexCount: u32,
  2875. pCounterIndices: [^]u32,
  2876. }
  2877. PerformanceCounterResultKHR :: struct #raw_union {
  2878. int32: i32,
  2879. int64: i64,
  2880. uint32: u32,
  2881. uint64: u64,
  2882. float32: f32,
  2883. float64: f64,
  2884. }
  2885. AcquireProfilingLockInfoKHR :: struct {
  2886. sType: StructureType,
  2887. pNext: rawptr,
  2888. flags: AcquireProfilingLockFlagsKHR,
  2889. timeout: u64,
  2890. }
  2891. PerformanceQuerySubmitInfoKHR :: struct {
  2892. sType: StructureType,
  2893. pNext: rawptr,
  2894. counterPassIndex: u32,
  2895. }
  2896. PhysicalDeviceSurfaceInfo2KHR :: struct {
  2897. sType: StructureType,
  2898. pNext: rawptr,
  2899. surface: SurfaceKHR,
  2900. }
  2901. SurfaceCapabilities2KHR :: struct {
  2902. sType: StructureType,
  2903. pNext: rawptr,
  2904. surfaceCapabilities: SurfaceCapabilitiesKHR,
  2905. }
  2906. SurfaceFormat2KHR :: struct {
  2907. sType: StructureType,
  2908. pNext: rawptr,
  2909. surfaceFormat: SurfaceFormatKHR,
  2910. }
  2911. DisplayProperties2KHR :: struct {
  2912. sType: StructureType,
  2913. pNext: rawptr,
  2914. displayProperties: DisplayPropertiesKHR,
  2915. }
  2916. DisplayPlaneProperties2KHR :: struct {
  2917. sType: StructureType,
  2918. pNext: rawptr,
  2919. displayPlaneProperties: DisplayPlanePropertiesKHR,
  2920. }
  2921. DisplayModeProperties2KHR :: struct {
  2922. sType: StructureType,
  2923. pNext: rawptr,
  2924. displayModeProperties: DisplayModePropertiesKHR,
  2925. }
  2926. DisplayPlaneInfo2KHR :: struct {
  2927. sType: StructureType,
  2928. pNext: rawptr,
  2929. mode: DisplayModeKHR,
  2930. planeIndex: u32,
  2931. }
  2932. DisplayPlaneCapabilities2KHR :: struct {
  2933. sType: StructureType,
  2934. pNext: rawptr,
  2935. capabilities: DisplayPlaneCapabilitiesKHR,
  2936. }
  2937. PhysicalDeviceShaderClockFeaturesKHR :: struct {
  2938. sType: StructureType,
  2939. pNext: rawptr,
  2940. shaderSubgroupClock: b32,
  2941. shaderDeviceClock: b32,
  2942. }
  2943. VideoDecodeH265ProfileInfoKHR :: struct {
  2944. sType: StructureType,
  2945. pNext: rawptr,
  2946. stdProfileIdc: VideoH265ProfileIdc,
  2947. }
  2948. VideoDecodeH265CapabilitiesKHR :: struct {
  2949. sType: StructureType,
  2950. pNext: rawptr,
  2951. maxLevelIdc: VideoH265LevelIdc,
  2952. }
  2953. VideoDecodeH265SessionParametersAddInfoKHR :: struct {
  2954. sType: StructureType,
  2955. pNext: rawptr,
  2956. stdVPSCount: u32,
  2957. pStdVPSs: [^]VideoH265VideoParameterSet,
  2958. stdSPSCount: u32,
  2959. pStdSPSs: [^]VideoH265SequenceParameterSet,
  2960. stdPPSCount: u32,
  2961. pStdPPSs: [^]VideoH265PictureParameterSet,
  2962. }
  2963. VideoDecodeH265SessionParametersCreateInfoKHR :: struct {
  2964. sType: StructureType,
  2965. pNext: rawptr,
  2966. maxStdVPSCount: u32,
  2967. maxStdSPSCount: u32,
  2968. maxStdPPSCount: u32,
  2969. pParametersAddInfo: ^VideoDecodeH265SessionParametersAddInfoKHR,
  2970. }
  2971. VideoDecodeH265PictureInfoKHR :: struct {
  2972. sType: StructureType,
  2973. pNext: rawptr,
  2974. pStdPictureInfo: ^VideoDecodeH265PictureInfo,
  2975. sliceSegmentCount: u32,
  2976. pSliceSegmentOffsets: [^]u32,
  2977. }
  2978. VideoDecodeH265DpbSlotInfoKHR :: struct {
  2979. sType: StructureType,
  2980. pNext: rawptr,
  2981. pStdReferenceInfo: ^VideoDecodeH265ReferenceInfo,
  2982. }
  2983. DeviceQueueGlobalPriorityCreateInfoKHR :: struct {
  2984. sType: StructureType,
  2985. pNext: rawptr,
  2986. globalPriority: QueueGlobalPriorityKHR,
  2987. }
  2988. PhysicalDeviceGlobalPriorityQueryFeaturesKHR :: struct {
  2989. sType: StructureType,
  2990. pNext: rawptr,
  2991. globalPriorityQuery: b32,
  2992. }
  2993. QueueFamilyGlobalPriorityPropertiesKHR :: struct {
  2994. sType: StructureType,
  2995. pNext: rawptr,
  2996. priorityCount: u32,
  2997. priorities: [MAX_GLOBAL_PRIORITY_SIZE_KHR]QueueGlobalPriorityKHR,
  2998. }
  2999. FragmentShadingRateAttachmentInfoKHR :: struct {
  3000. sType: StructureType,
  3001. pNext: rawptr,
  3002. pFragmentShadingRateAttachment: ^AttachmentReference2,
  3003. shadingRateAttachmentTexelSize: Extent2D,
  3004. }
  3005. PipelineFragmentShadingRateStateCreateInfoKHR :: struct {
  3006. sType: StructureType,
  3007. pNext: rawptr,
  3008. fragmentSize: Extent2D,
  3009. combinerOps: [2]FragmentShadingRateCombinerOpKHR,
  3010. }
  3011. PhysicalDeviceFragmentShadingRateFeaturesKHR :: struct {
  3012. sType: StructureType,
  3013. pNext: rawptr,
  3014. pipelineFragmentShadingRate: b32,
  3015. primitiveFragmentShadingRate: b32,
  3016. attachmentFragmentShadingRate: b32,
  3017. }
  3018. PhysicalDeviceFragmentShadingRatePropertiesKHR :: struct {
  3019. sType: StructureType,
  3020. pNext: rawptr,
  3021. minFragmentShadingRateAttachmentTexelSize: Extent2D,
  3022. maxFragmentShadingRateAttachmentTexelSize: Extent2D,
  3023. maxFragmentShadingRateAttachmentTexelSizeAspectRatio: u32,
  3024. primitiveFragmentShadingRateWithMultipleViewports: b32,
  3025. layeredShadingRateAttachments: b32,
  3026. fragmentShadingRateNonTrivialCombinerOps: b32,
  3027. maxFragmentSize: Extent2D,
  3028. maxFragmentSizeAspectRatio: u32,
  3029. maxFragmentShadingRateCoverageSamples: u32,
  3030. maxFragmentShadingRateRasterizationSamples: SampleCountFlags,
  3031. fragmentShadingRateWithShaderDepthStencilWrites: b32,
  3032. fragmentShadingRateWithSampleMask: b32,
  3033. fragmentShadingRateWithShaderSampleMask: b32,
  3034. fragmentShadingRateWithConservativeRasterization: b32,
  3035. fragmentShadingRateWithFragmentShaderInterlock: b32,
  3036. fragmentShadingRateWithCustomSampleLocations: b32,
  3037. fragmentShadingRateStrictMultiplyCombiner: b32,
  3038. }
  3039. PhysicalDeviceFragmentShadingRateKHR :: struct {
  3040. sType: StructureType,
  3041. pNext: rawptr,
  3042. sampleCounts: SampleCountFlags,
  3043. fragmentSize: Extent2D,
  3044. }
  3045. SurfaceProtectedCapabilitiesKHR :: struct {
  3046. sType: StructureType,
  3047. pNext: rawptr,
  3048. supportsProtected: b32,
  3049. }
  3050. PhysicalDevicePresentWaitFeaturesKHR :: struct {
  3051. sType: StructureType,
  3052. pNext: rawptr,
  3053. presentWait: b32,
  3054. }
  3055. PhysicalDevicePipelineExecutablePropertiesFeaturesKHR :: struct {
  3056. sType: StructureType,
  3057. pNext: rawptr,
  3058. pipelineExecutableInfo: b32,
  3059. }
  3060. PipelineInfoKHR :: struct {
  3061. sType: StructureType,
  3062. pNext: rawptr,
  3063. pipeline: Pipeline,
  3064. }
  3065. PipelineExecutablePropertiesKHR :: struct {
  3066. sType: StructureType,
  3067. pNext: rawptr,
  3068. stages: ShaderStageFlags,
  3069. name: [MAX_DESCRIPTION_SIZE]byte,
  3070. description: [MAX_DESCRIPTION_SIZE]byte,
  3071. subgroupSize: u32,
  3072. }
  3073. PipelineExecutableInfoKHR :: struct {
  3074. sType: StructureType,
  3075. pNext: rawptr,
  3076. pipeline: Pipeline,
  3077. executableIndex: u32,
  3078. }
  3079. PipelineExecutableStatisticValueKHR :: struct #raw_union {
  3080. b32: b32,
  3081. i64: i64,
  3082. u64: u64,
  3083. f64: f64,
  3084. }
  3085. PipelineExecutableStatisticKHR :: struct {
  3086. sType: StructureType,
  3087. pNext: rawptr,
  3088. name: [MAX_DESCRIPTION_SIZE]byte,
  3089. description: [MAX_DESCRIPTION_SIZE]byte,
  3090. format: PipelineExecutableStatisticFormatKHR,
  3091. value: PipelineExecutableStatisticValueKHR,
  3092. }
  3093. PipelineExecutableInternalRepresentationKHR :: struct {
  3094. sType: StructureType,
  3095. pNext: rawptr,
  3096. name: [MAX_DESCRIPTION_SIZE]byte,
  3097. description: [MAX_DESCRIPTION_SIZE]byte,
  3098. isText: b32,
  3099. dataSize: int,
  3100. pData: rawptr,
  3101. }
  3102. MemoryMapInfoKHR :: struct {
  3103. sType: StructureType,
  3104. pNext: rawptr,
  3105. flags: MemoryMapFlags,
  3106. memory: DeviceMemory,
  3107. offset: DeviceSize,
  3108. size: DeviceSize,
  3109. }
  3110. MemoryUnmapInfoKHR :: struct {
  3111. sType: StructureType,
  3112. pNext: rawptr,
  3113. flags: MemoryUnmapFlagsKHR,
  3114. memory: DeviceMemory,
  3115. }
  3116. PipelineLibraryCreateInfoKHR :: struct {
  3117. sType: StructureType,
  3118. pNext: rawptr,
  3119. libraryCount: u32,
  3120. pLibraries: [^]Pipeline,
  3121. }
  3122. PresentIdKHR :: struct {
  3123. sType: StructureType,
  3124. pNext: rawptr,
  3125. swapchainCount: u32,
  3126. pPresentIds: [^]u64,
  3127. }
  3128. PhysicalDevicePresentIdFeaturesKHR :: struct {
  3129. sType: StructureType,
  3130. pNext: rawptr,
  3131. presentId: b32,
  3132. }
  3133. QueueFamilyCheckpointProperties2NV :: struct {
  3134. sType: StructureType,
  3135. pNext: rawptr,
  3136. checkpointExecutionStageMask: PipelineStageFlags2,
  3137. }
  3138. CheckpointData2NV :: struct {
  3139. sType: StructureType,
  3140. pNext: rawptr,
  3141. stage: PipelineStageFlags2,
  3142. pCheckpointMarker: rawptr,
  3143. }
  3144. PhysicalDeviceFragmentShaderBarycentricFeaturesKHR :: struct {
  3145. sType: StructureType,
  3146. pNext: rawptr,
  3147. fragmentShaderBarycentric: b32,
  3148. }
  3149. PhysicalDeviceFragmentShaderBarycentricPropertiesKHR :: struct {
  3150. sType: StructureType,
  3151. pNext: rawptr,
  3152. triStripVertexOrderIndependentOfProvokingVertex: b32,
  3153. }
  3154. PhysicalDeviceShaderSubgroupUniformControlFlowFeaturesKHR :: struct {
  3155. sType: StructureType,
  3156. pNext: rawptr,
  3157. shaderSubgroupUniformControlFlow: b32,
  3158. }
  3159. PhysicalDeviceWorkgroupMemoryExplicitLayoutFeaturesKHR :: struct {
  3160. sType: StructureType,
  3161. pNext: rawptr,
  3162. workgroupMemoryExplicitLayout: b32,
  3163. workgroupMemoryExplicitLayoutScalarBlockLayout: b32,
  3164. workgroupMemoryExplicitLayout8BitAccess: b32,
  3165. workgroupMemoryExplicitLayout16BitAccess: b32,
  3166. }
  3167. PhysicalDeviceRayTracingMaintenance1FeaturesKHR :: struct {
  3168. sType: StructureType,
  3169. pNext: rawptr,
  3170. rayTracingMaintenance1: b32,
  3171. rayTracingPipelineTraceRaysIndirect2: b32,
  3172. }
  3173. TraceRaysIndirectCommand2KHR :: struct {
  3174. raygenShaderRecordAddress: DeviceAddress,
  3175. raygenShaderRecordSize: DeviceSize,
  3176. missShaderBindingTableAddress: DeviceAddress,
  3177. missShaderBindingTableSize: DeviceSize,
  3178. missShaderBindingTableStride: DeviceSize,
  3179. hitShaderBindingTableAddress: DeviceAddress,
  3180. hitShaderBindingTableSize: DeviceSize,
  3181. hitShaderBindingTableStride: DeviceSize,
  3182. callableShaderBindingTableAddress: DeviceAddress,
  3183. callableShaderBindingTableSize: DeviceSize,
  3184. callableShaderBindingTableStride: DeviceSize,
  3185. width: u32,
  3186. height: u32,
  3187. depth: u32,
  3188. }
  3189. PhysicalDeviceRayTracingPositionFetchFeaturesKHR :: struct {
  3190. sType: StructureType,
  3191. pNext: rawptr,
  3192. rayTracingPositionFetch: b32,
  3193. }
  3194. DebugReportCallbackCreateInfoEXT :: struct {
  3195. sType: StructureType,
  3196. pNext: rawptr,
  3197. flags: DebugReportFlagsEXT,
  3198. pfnCallback: ProcDebugReportCallbackEXT,
  3199. pUserData: rawptr,
  3200. }
  3201. PipelineRasterizationStateRasterizationOrderAMD :: struct {
  3202. sType: StructureType,
  3203. pNext: rawptr,
  3204. rasterizationOrder: RasterizationOrderAMD,
  3205. }
  3206. DebugMarkerObjectNameInfoEXT :: struct {
  3207. sType: StructureType,
  3208. pNext: rawptr,
  3209. objectType: DebugReportObjectTypeEXT,
  3210. object: u64,
  3211. pObjectName: cstring,
  3212. }
  3213. DebugMarkerObjectTagInfoEXT :: struct {
  3214. sType: StructureType,
  3215. pNext: rawptr,
  3216. objectType: DebugReportObjectTypeEXT,
  3217. object: u64,
  3218. tagName: u64,
  3219. tagSize: int,
  3220. pTag: rawptr,
  3221. }
  3222. DebugMarkerMarkerInfoEXT :: struct {
  3223. sType: StructureType,
  3224. pNext: rawptr,
  3225. pMarkerName: cstring,
  3226. color: [4]f32,
  3227. }
  3228. DedicatedAllocationImageCreateInfoNV :: struct {
  3229. sType: StructureType,
  3230. pNext: rawptr,
  3231. dedicatedAllocation: b32,
  3232. }
  3233. DedicatedAllocationBufferCreateInfoNV :: struct {
  3234. sType: StructureType,
  3235. pNext: rawptr,
  3236. dedicatedAllocation: b32,
  3237. }
  3238. DedicatedAllocationMemoryAllocateInfoNV :: struct {
  3239. sType: StructureType,
  3240. pNext: rawptr,
  3241. image: Image,
  3242. buffer: Buffer,
  3243. }
  3244. PhysicalDeviceTransformFeedbackFeaturesEXT :: struct {
  3245. sType: StructureType,
  3246. pNext: rawptr,
  3247. transformFeedback: b32,
  3248. geometryStreams: b32,
  3249. }
  3250. PhysicalDeviceTransformFeedbackPropertiesEXT :: struct {
  3251. sType: StructureType,
  3252. pNext: rawptr,
  3253. maxTransformFeedbackStreams: u32,
  3254. maxTransformFeedbackBuffers: u32,
  3255. maxTransformFeedbackBufferSize: DeviceSize,
  3256. maxTransformFeedbackStreamDataSize: u32,
  3257. maxTransformFeedbackBufferDataSize: u32,
  3258. maxTransformFeedbackBufferDataStride: u32,
  3259. transformFeedbackQueries: b32,
  3260. transformFeedbackStreamsLinesTriangles: b32,
  3261. transformFeedbackRasterizationStreamSelect: b32,
  3262. transformFeedbackDraw: b32,
  3263. }
  3264. PipelineRasterizationStateStreamCreateInfoEXT :: struct {
  3265. sType: StructureType,
  3266. pNext: rawptr,
  3267. flags: PipelineRasterizationStateStreamCreateFlagsEXT,
  3268. rasterizationStream: u32,
  3269. }
  3270. CuModuleCreateInfoNVX :: struct {
  3271. sType: StructureType,
  3272. pNext: rawptr,
  3273. dataSize: int,
  3274. pData: rawptr,
  3275. }
  3276. CuFunctionCreateInfoNVX :: struct {
  3277. sType: StructureType,
  3278. pNext: rawptr,
  3279. module: CuModuleNVX,
  3280. pName: cstring,
  3281. }
  3282. CuLaunchInfoNVX :: struct {
  3283. sType: StructureType,
  3284. pNext: rawptr,
  3285. function: CuFunctionNVX,
  3286. gridDimX: u32,
  3287. gridDimY: u32,
  3288. gridDimZ: u32,
  3289. blockDimX: u32,
  3290. blockDimY: u32,
  3291. blockDimZ: u32,
  3292. sharedMemBytes: u32,
  3293. paramCount: int,
  3294. pParams: [^]rawptr,
  3295. extraCount: int,
  3296. pExtras: [^]rawptr,
  3297. }
  3298. ImageViewHandleInfoNVX :: struct {
  3299. sType: StructureType,
  3300. pNext: rawptr,
  3301. imageView: ImageView,
  3302. descriptorType: DescriptorType,
  3303. sampler: Sampler,
  3304. }
  3305. ImageViewAddressPropertiesNVX :: struct {
  3306. sType: StructureType,
  3307. pNext: rawptr,
  3308. deviceAddress: DeviceAddress,
  3309. size: DeviceSize,
  3310. }
  3311. TextureLODGatherFormatPropertiesAMD :: struct {
  3312. sType: StructureType,
  3313. pNext: rawptr,
  3314. supportsTextureGatherLODBiasAMD: b32,
  3315. }
  3316. ShaderResourceUsageAMD :: struct {
  3317. numUsedVgprs: u32,
  3318. numUsedSgprs: u32,
  3319. ldsSizePerLocalWorkGroup: u32,
  3320. ldsUsageSizeInBytes: int,
  3321. scratchMemUsageInBytes: int,
  3322. }
  3323. ShaderStatisticsInfoAMD :: struct {
  3324. shaderStageMask: ShaderStageFlags,
  3325. resourceUsage: ShaderResourceUsageAMD,
  3326. numPhysicalVgprs: u32,
  3327. numPhysicalSgprs: u32,
  3328. numAvailableVgprs: u32,
  3329. numAvailableSgprs: u32,
  3330. computeWorkGroupSize: [3]u32,
  3331. }
  3332. PhysicalDeviceCornerSampledImageFeaturesNV :: struct {
  3333. sType: StructureType,
  3334. pNext: rawptr,
  3335. cornerSampledImage: b32,
  3336. }
  3337. ExternalImageFormatPropertiesNV :: struct {
  3338. imageFormatProperties: ImageFormatProperties,
  3339. externalMemoryFeatures: ExternalMemoryFeatureFlagsNV,
  3340. exportFromImportedHandleTypes: ExternalMemoryHandleTypeFlagsNV,
  3341. compatibleHandleTypes: ExternalMemoryHandleTypeFlagsNV,
  3342. }
  3343. ExternalMemoryImageCreateInfoNV :: struct {
  3344. sType: StructureType,
  3345. pNext: rawptr,
  3346. handleTypes: ExternalMemoryHandleTypeFlagsNV,
  3347. }
  3348. ExportMemoryAllocateInfoNV :: struct {
  3349. sType: StructureType,
  3350. pNext: rawptr,
  3351. handleTypes: ExternalMemoryHandleTypeFlagsNV,
  3352. }
  3353. ValidationFlagsEXT :: struct {
  3354. sType: StructureType,
  3355. pNext: rawptr,
  3356. disabledValidationCheckCount: u32,
  3357. pDisabledValidationChecks: [^]ValidationCheckEXT,
  3358. }
  3359. ImageViewASTCDecodeModeEXT :: struct {
  3360. sType: StructureType,
  3361. pNext: rawptr,
  3362. decodeMode: Format,
  3363. }
  3364. PhysicalDeviceASTCDecodeFeaturesEXT :: struct {
  3365. sType: StructureType,
  3366. pNext: rawptr,
  3367. decodeModeSharedExponent: b32,
  3368. }
  3369. PhysicalDevicePipelineRobustnessFeaturesEXT :: struct {
  3370. sType: StructureType,
  3371. pNext: rawptr,
  3372. pipelineRobustness: b32,
  3373. }
  3374. PhysicalDevicePipelineRobustnessPropertiesEXT :: struct {
  3375. sType: StructureType,
  3376. pNext: rawptr,
  3377. defaultRobustnessStorageBuffers: PipelineRobustnessBufferBehaviorEXT,
  3378. defaultRobustnessUniformBuffers: PipelineRobustnessBufferBehaviorEXT,
  3379. defaultRobustnessVertexInputs: PipelineRobustnessBufferBehaviorEXT,
  3380. defaultRobustnessImages: PipelineRobustnessImageBehaviorEXT,
  3381. }
  3382. PipelineRobustnessCreateInfoEXT :: struct {
  3383. sType: StructureType,
  3384. pNext: rawptr,
  3385. storageBuffers: PipelineRobustnessBufferBehaviorEXT,
  3386. uniformBuffers: PipelineRobustnessBufferBehaviorEXT,
  3387. vertexInputs: PipelineRobustnessBufferBehaviorEXT,
  3388. images: PipelineRobustnessImageBehaviorEXT,
  3389. }
  3390. ConditionalRenderingBeginInfoEXT :: struct {
  3391. sType: StructureType,
  3392. pNext: rawptr,
  3393. buffer: Buffer,
  3394. offset: DeviceSize,
  3395. flags: ConditionalRenderingFlagsEXT,
  3396. }
  3397. PhysicalDeviceConditionalRenderingFeaturesEXT :: struct {
  3398. sType: StructureType,
  3399. pNext: rawptr,
  3400. conditionalRendering: b32,
  3401. inheritedConditionalRendering: b32,
  3402. }
  3403. CommandBufferInheritanceConditionalRenderingInfoEXT :: struct {
  3404. sType: StructureType,
  3405. pNext: rawptr,
  3406. conditionalRenderingEnable: b32,
  3407. }
  3408. ViewportWScalingNV :: struct {
  3409. xcoeff: f32,
  3410. ycoeff: f32,
  3411. }
  3412. PipelineViewportWScalingStateCreateInfoNV :: struct {
  3413. sType: StructureType,
  3414. pNext: rawptr,
  3415. viewportWScalingEnable: b32,
  3416. viewportCount: u32,
  3417. pViewportWScalings: [^]ViewportWScalingNV,
  3418. }
  3419. SurfaceCapabilities2EXT :: struct {
  3420. sType: StructureType,
  3421. pNext: rawptr,
  3422. minImageCount: u32,
  3423. maxImageCount: u32,
  3424. currentExtent: Extent2D,
  3425. minImageExtent: Extent2D,
  3426. maxImageExtent: Extent2D,
  3427. maxImageArrayLayers: u32,
  3428. supportedTransforms: SurfaceTransformFlagsKHR,
  3429. currentTransform: SurfaceTransformFlagsKHR,
  3430. supportedCompositeAlpha: CompositeAlphaFlagsKHR,
  3431. supportedUsageFlags: ImageUsageFlags,
  3432. supportedSurfaceCounters: SurfaceCounterFlagsEXT,
  3433. }
  3434. DisplayPowerInfoEXT :: struct {
  3435. sType: StructureType,
  3436. pNext: rawptr,
  3437. powerState: DisplayPowerStateEXT,
  3438. }
  3439. DeviceEventInfoEXT :: struct {
  3440. sType: StructureType,
  3441. pNext: rawptr,
  3442. deviceEvent: DeviceEventTypeEXT,
  3443. }
  3444. DisplayEventInfoEXT :: struct {
  3445. sType: StructureType,
  3446. pNext: rawptr,
  3447. displayEvent: DisplayEventTypeEXT,
  3448. }
  3449. SwapchainCounterCreateInfoEXT :: struct {
  3450. sType: StructureType,
  3451. pNext: rawptr,
  3452. surfaceCounters: SurfaceCounterFlagsEXT,
  3453. }
  3454. RefreshCycleDurationGOOGLE :: struct {
  3455. refreshDuration: u64,
  3456. }
  3457. PastPresentationTimingGOOGLE :: struct {
  3458. presentID: u32,
  3459. desiredPresentTime: u64,
  3460. actualPresentTime: u64,
  3461. earliestPresentTime: u64,
  3462. presentMargin: u64,
  3463. }
  3464. PresentTimeGOOGLE :: struct {
  3465. presentID: u32,
  3466. desiredPresentTime: u64,
  3467. }
  3468. PresentTimesInfoGOOGLE :: struct {
  3469. sType: StructureType,
  3470. pNext: rawptr,
  3471. swapchainCount: u32,
  3472. pTimes: [^]PresentTimeGOOGLE,
  3473. }
  3474. PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX :: struct {
  3475. sType: StructureType,
  3476. pNext: rawptr,
  3477. perViewPositionAllComponents: b32,
  3478. }
  3479. ViewportSwizzleNV :: struct {
  3480. x: ViewportCoordinateSwizzleNV,
  3481. y: ViewportCoordinateSwizzleNV,
  3482. z: ViewportCoordinateSwizzleNV,
  3483. w: ViewportCoordinateSwizzleNV,
  3484. }
  3485. PipelineViewportSwizzleStateCreateInfoNV :: struct {
  3486. sType: StructureType,
  3487. pNext: rawptr,
  3488. flags: PipelineViewportSwizzleStateCreateFlagsNV,
  3489. viewportCount: u32,
  3490. pViewportSwizzles: [^]ViewportSwizzleNV,
  3491. }
  3492. PhysicalDeviceDiscardRectanglePropertiesEXT :: struct {
  3493. sType: StructureType,
  3494. pNext: rawptr,
  3495. maxDiscardRectangles: u32,
  3496. }
  3497. PipelineDiscardRectangleStateCreateInfoEXT :: struct {
  3498. sType: StructureType,
  3499. pNext: rawptr,
  3500. flags: PipelineDiscardRectangleStateCreateFlagsEXT,
  3501. discardRectangleMode: DiscardRectangleModeEXT,
  3502. discardRectangleCount: u32,
  3503. pDiscardRectangles: [^]Rect2D,
  3504. }
  3505. PhysicalDeviceConservativeRasterizationPropertiesEXT :: struct {
  3506. sType: StructureType,
  3507. pNext: rawptr,
  3508. primitiveOverestimationSize: f32,
  3509. maxExtraPrimitiveOverestimationSize: f32,
  3510. extraPrimitiveOverestimationSizeGranularity: f32,
  3511. primitiveUnderestimation: b32,
  3512. conservativePointAndLineRasterization: b32,
  3513. degenerateTrianglesRasterized: b32,
  3514. degenerateLinesRasterized: b32,
  3515. fullyCoveredFragmentShaderInputVariable: b32,
  3516. conservativeRasterizationPostDepthCoverage: b32,
  3517. }
  3518. PipelineRasterizationConservativeStateCreateInfoEXT :: struct {
  3519. sType: StructureType,
  3520. pNext: rawptr,
  3521. flags: PipelineRasterizationConservativeStateCreateFlagsEXT,
  3522. conservativeRasterizationMode: ConservativeRasterizationModeEXT,
  3523. extraPrimitiveOverestimationSize: f32,
  3524. }
  3525. PhysicalDeviceDepthClipEnableFeaturesEXT :: struct {
  3526. sType: StructureType,
  3527. pNext: rawptr,
  3528. depthClipEnable: b32,
  3529. }
  3530. PipelineRasterizationDepthClipStateCreateInfoEXT :: struct {
  3531. sType: StructureType,
  3532. pNext: rawptr,
  3533. flags: PipelineRasterizationDepthClipStateCreateFlagsEXT,
  3534. depthClipEnable: b32,
  3535. }
  3536. XYColorEXT :: struct {
  3537. x: f32,
  3538. y: f32,
  3539. }
  3540. HdrMetadataEXT :: struct {
  3541. sType: StructureType,
  3542. pNext: rawptr,
  3543. displayPrimaryRed: XYColorEXT,
  3544. displayPrimaryGreen: XYColorEXT,
  3545. displayPrimaryBlue: XYColorEXT,
  3546. whitePoint: XYColorEXT,
  3547. maxLuminance: f32,
  3548. minLuminance: f32,
  3549. maxContentLightLevel: f32,
  3550. maxFrameAverageLightLevel: f32,
  3551. }
  3552. DebugUtilsLabelEXT :: struct {
  3553. sType: StructureType,
  3554. pNext: rawptr,
  3555. pLabelName: cstring,
  3556. color: [4]f32,
  3557. }
  3558. DebugUtilsObjectNameInfoEXT :: struct {
  3559. sType: StructureType,
  3560. pNext: rawptr,
  3561. objectType: ObjectType,
  3562. objectHandle: u64,
  3563. pObjectName: cstring,
  3564. }
  3565. DebugUtilsMessengerCallbackDataEXT :: struct {
  3566. sType: StructureType,
  3567. pNext: rawptr,
  3568. flags: DebugUtilsMessengerCallbackDataFlagsEXT,
  3569. pMessageIdName: cstring,
  3570. messageIdNumber: i32,
  3571. pMessage: cstring,
  3572. queueLabelCount: u32,
  3573. pQueueLabels: [^]DebugUtilsLabelEXT,
  3574. cmdBufLabelCount: u32,
  3575. pCmdBufLabels: [^]DebugUtilsLabelEXT,
  3576. objectCount: u32,
  3577. pObjects: [^]DebugUtilsObjectNameInfoEXT,
  3578. }
  3579. DebugUtilsMessengerCreateInfoEXT :: struct {
  3580. sType: StructureType,
  3581. pNext: rawptr,
  3582. flags: DebugUtilsMessengerCreateFlagsEXT,
  3583. messageSeverity: DebugUtilsMessageSeverityFlagsEXT,
  3584. messageType: DebugUtilsMessageTypeFlagsEXT,
  3585. pfnUserCallback: ProcDebugUtilsMessengerCallbackEXT,
  3586. pUserData: rawptr,
  3587. }
  3588. DebugUtilsObjectTagInfoEXT :: struct {
  3589. sType: StructureType,
  3590. pNext: rawptr,
  3591. objectType: ObjectType,
  3592. objectHandle: u64,
  3593. tagName: u64,
  3594. tagSize: int,
  3595. pTag: rawptr,
  3596. }
  3597. SampleLocationEXT :: struct {
  3598. x: f32,
  3599. y: f32,
  3600. }
  3601. SampleLocationsInfoEXT :: struct {
  3602. sType: StructureType,
  3603. pNext: rawptr,
  3604. sampleLocationsPerPixel: SampleCountFlags,
  3605. sampleLocationGridSize: Extent2D,
  3606. sampleLocationsCount: u32,
  3607. pSampleLocations: [^]SampleLocationEXT,
  3608. }
  3609. AttachmentSampleLocationsEXT :: struct {
  3610. attachmentIndex: u32,
  3611. sampleLocationsInfo: SampleLocationsInfoEXT,
  3612. }
  3613. SubpassSampleLocationsEXT :: struct {
  3614. subpassIndex: u32,
  3615. sampleLocationsInfo: SampleLocationsInfoEXT,
  3616. }
  3617. RenderPassSampleLocationsBeginInfoEXT :: struct {
  3618. sType: StructureType,
  3619. pNext: rawptr,
  3620. attachmentInitialSampleLocationsCount: u32,
  3621. pAttachmentInitialSampleLocations: [^]AttachmentSampleLocationsEXT,
  3622. postSubpassSampleLocationsCount: u32,
  3623. pPostSubpassSampleLocations: [^]SubpassSampleLocationsEXT,
  3624. }
  3625. PipelineSampleLocationsStateCreateInfoEXT :: struct {
  3626. sType: StructureType,
  3627. pNext: rawptr,
  3628. sampleLocationsEnable: b32,
  3629. sampleLocationsInfo: SampleLocationsInfoEXT,
  3630. }
  3631. PhysicalDeviceSampleLocationsPropertiesEXT :: struct {
  3632. sType: StructureType,
  3633. pNext: rawptr,
  3634. sampleLocationSampleCounts: SampleCountFlags,
  3635. maxSampleLocationGridSize: Extent2D,
  3636. sampleLocationCoordinateRange: [2]f32,
  3637. sampleLocationSubPixelBits: u32,
  3638. variableSampleLocations: b32,
  3639. }
  3640. MultisamplePropertiesEXT :: struct {
  3641. sType: StructureType,
  3642. pNext: rawptr,
  3643. maxSampleLocationGridSize: Extent2D,
  3644. }
  3645. PhysicalDeviceBlendOperationAdvancedFeaturesEXT :: struct {
  3646. sType: StructureType,
  3647. pNext: rawptr,
  3648. advancedBlendCoherentOperations: b32,
  3649. }
  3650. PhysicalDeviceBlendOperationAdvancedPropertiesEXT :: struct {
  3651. sType: StructureType,
  3652. pNext: rawptr,
  3653. advancedBlendMaxColorAttachments: u32,
  3654. advancedBlendIndependentBlend: b32,
  3655. advancedBlendNonPremultipliedSrcColor: b32,
  3656. advancedBlendNonPremultipliedDstColor: b32,
  3657. advancedBlendCorrelatedOverlap: b32,
  3658. advancedBlendAllOperations: b32,
  3659. }
  3660. PipelineColorBlendAdvancedStateCreateInfoEXT :: struct {
  3661. sType: StructureType,
  3662. pNext: rawptr,
  3663. srcPremultiplied: b32,
  3664. dstPremultiplied: b32,
  3665. blendOverlap: BlendOverlapEXT,
  3666. }
  3667. PipelineCoverageToColorStateCreateInfoNV :: struct {
  3668. sType: StructureType,
  3669. pNext: rawptr,
  3670. flags: PipelineCoverageToColorStateCreateFlagsNV,
  3671. coverageToColorEnable: b32,
  3672. coverageToColorLocation: u32,
  3673. }
  3674. PipelineCoverageModulationStateCreateInfoNV :: struct {
  3675. sType: StructureType,
  3676. pNext: rawptr,
  3677. flags: PipelineCoverageModulationStateCreateFlagsNV,
  3678. coverageModulationMode: CoverageModulationModeNV,
  3679. coverageModulationTableEnable: b32,
  3680. coverageModulationTableCount: u32,
  3681. pCoverageModulationTable: [^]f32,
  3682. }
  3683. PhysicalDeviceShaderSMBuiltinsPropertiesNV :: struct {
  3684. sType: StructureType,
  3685. pNext: rawptr,
  3686. shaderSMCount: u32,
  3687. shaderWarpsPerSM: u32,
  3688. }
  3689. PhysicalDeviceShaderSMBuiltinsFeaturesNV :: struct {
  3690. sType: StructureType,
  3691. pNext: rawptr,
  3692. shaderSMBuiltins: b32,
  3693. }
  3694. DrmFormatModifierPropertiesEXT :: struct {
  3695. drmFormatModifier: u64,
  3696. drmFormatModifierPlaneCount: u32,
  3697. drmFormatModifierTilingFeatures: FormatFeatureFlags,
  3698. }
  3699. DrmFormatModifierPropertiesListEXT :: struct {
  3700. sType: StructureType,
  3701. pNext: rawptr,
  3702. drmFormatModifierCount: u32,
  3703. pDrmFormatModifierProperties: [^]DrmFormatModifierPropertiesEXT,
  3704. }
  3705. PhysicalDeviceImageDrmFormatModifierInfoEXT :: struct {
  3706. sType: StructureType,
  3707. pNext: rawptr,
  3708. drmFormatModifier: u64,
  3709. sharingMode: SharingMode,
  3710. queueFamilyIndexCount: u32,
  3711. pQueueFamilyIndices: [^]u32,
  3712. }
  3713. ImageDrmFormatModifierListCreateInfoEXT :: struct {
  3714. sType: StructureType,
  3715. pNext: rawptr,
  3716. drmFormatModifierCount: u32,
  3717. pDrmFormatModifiers: [^]u64,
  3718. }
  3719. ImageDrmFormatModifierExplicitCreateInfoEXT :: struct {
  3720. sType: StructureType,
  3721. pNext: rawptr,
  3722. drmFormatModifier: u64,
  3723. drmFormatModifierPlaneCount: u32,
  3724. pPlaneLayouts: [^]SubresourceLayout,
  3725. }
  3726. ImageDrmFormatModifierPropertiesEXT :: struct {
  3727. sType: StructureType,
  3728. pNext: rawptr,
  3729. drmFormatModifier: u64,
  3730. }
  3731. DrmFormatModifierProperties2EXT :: struct {
  3732. drmFormatModifier: u64,
  3733. drmFormatModifierPlaneCount: u32,
  3734. drmFormatModifierTilingFeatures: FormatFeatureFlags2,
  3735. }
  3736. DrmFormatModifierPropertiesList2EXT :: struct {
  3737. sType: StructureType,
  3738. pNext: rawptr,
  3739. drmFormatModifierCount: u32,
  3740. pDrmFormatModifierProperties: [^]DrmFormatModifierProperties2EXT,
  3741. }
  3742. ValidationCacheCreateInfoEXT :: struct {
  3743. sType: StructureType,
  3744. pNext: rawptr,
  3745. flags: ValidationCacheCreateFlagsEXT,
  3746. initialDataSize: int,
  3747. pInitialData: rawptr,
  3748. }
  3749. ShaderModuleValidationCacheCreateInfoEXT :: struct {
  3750. sType: StructureType,
  3751. pNext: rawptr,
  3752. validationCache: ValidationCacheEXT,
  3753. }
  3754. ShadingRatePaletteNV :: struct {
  3755. shadingRatePaletteEntryCount: u32,
  3756. pShadingRatePaletteEntries: [^]ShadingRatePaletteEntryNV,
  3757. }
  3758. PipelineViewportShadingRateImageStateCreateInfoNV :: struct {
  3759. sType: StructureType,
  3760. pNext: rawptr,
  3761. shadingRateImageEnable: b32,
  3762. viewportCount: u32,
  3763. pShadingRatePalettes: [^]ShadingRatePaletteNV,
  3764. }
  3765. PhysicalDeviceShadingRateImageFeaturesNV :: struct {
  3766. sType: StructureType,
  3767. pNext: rawptr,
  3768. shadingRateImage: b32,
  3769. shadingRateCoarseSampleOrder: b32,
  3770. }
  3771. PhysicalDeviceShadingRateImagePropertiesNV :: struct {
  3772. sType: StructureType,
  3773. pNext: rawptr,
  3774. shadingRateTexelSize: Extent2D,
  3775. shadingRatePaletteSize: u32,
  3776. shadingRateMaxCoarseSamples: u32,
  3777. }
  3778. CoarseSampleLocationNV :: struct {
  3779. pixelX: u32,
  3780. pixelY: u32,
  3781. sample: u32,
  3782. }
  3783. CoarseSampleOrderCustomNV :: struct {
  3784. shadingRate: ShadingRatePaletteEntryNV,
  3785. sampleCount: u32,
  3786. sampleLocationCount: u32,
  3787. pSampleLocations: [^]CoarseSampleLocationNV,
  3788. }
  3789. PipelineViewportCoarseSampleOrderStateCreateInfoNV :: struct {
  3790. sType: StructureType,
  3791. pNext: rawptr,
  3792. sampleOrderType: CoarseSampleOrderTypeNV,
  3793. customSampleOrderCount: u32,
  3794. pCustomSampleOrders: [^]CoarseSampleOrderCustomNV,
  3795. }
  3796. RayTracingShaderGroupCreateInfoNV :: struct {
  3797. sType: StructureType,
  3798. pNext: rawptr,
  3799. type: RayTracingShaderGroupTypeKHR,
  3800. generalShader: u32,
  3801. closestHitShader: u32,
  3802. anyHitShader: u32,
  3803. intersectionShader: u32,
  3804. }
  3805. RayTracingPipelineCreateInfoNV :: struct {
  3806. sType: StructureType,
  3807. pNext: rawptr,
  3808. flags: PipelineCreateFlags,
  3809. stageCount: u32,
  3810. pStages: [^]PipelineShaderStageCreateInfo,
  3811. groupCount: u32,
  3812. pGroups: [^]RayTracingShaderGroupCreateInfoNV,
  3813. maxRecursionDepth: u32,
  3814. layout: PipelineLayout,
  3815. basePipelineHandle: Pipeline,
  3816. basePipelineIndex: i32,
  3817. }
  3818. GeometryTrianglesNV :: struct {
  3819. sType: StructureType,
  3820. pNext: rawptr,
  3821. vertexData: Buffer,
  3822. vertexOffset: DeviceSize,
  3823. vertexCount: u32,
  3824. vertexStride: DeviceSize,
  3825. vertexFormat: Format,
  3826. indexData: Buffer,
  3827. indexOffset: DeviceSize,
  3828. indexCount: u32,
  3829. indexType: IndexType,
  3830. transformData: Buffer,
  3831. transformOffset: DeviceSize,
  3832. }
  3833. GeometryAABBNV :: struct {
  3834. sType: StructureType,
  3835. pNext: rawptr,
  3836. aabbData: Buffer,
  3837. numAABBs: u32,
  3838. stride: u32,
  3839. offset: DeviceSize,
  3840. }
  3841. GeometryDataNV :: struct {
  3842. triangles: GeometryTrianglesNV,
  3843. aabbs: GeometryAABBNV,
  3844. }
  3845. GeometryNV :: struct {
  3846. sType: StructureType,
  3847. pNext: rawptr,
  3848. geometryType: GeometryTypeKHR,
  3849. geometry: GeometryDataNV,
  3850. flags: GeometryFlagsKHR,
  3851. }
  3852. AccelerationStructureInfoNV :: struct {
  3853. sType: StructureType,
  3854. pNext: rawptr,
  3855. type: AccelerationStructureTypeNV,
  3856. flags: BuildAccelerationStructureFlagsNV,
  3857. instanceCount: u32,
  3858. geometryCount: u32,
  3859. pGeometries: [^]GeometryNV,
  3860. }
  3861. AccelerationStructureCreateInfoNV :: struct {
  3862. sType: StructureType,
  3863. pNext: rawptr,
  3864. compactedSize: DeviceSize,
  3865. info: AccelerationStructureInfoNV,
  3866. }
  3867. BindAccelerationStructureMemoryInfoNV :: struct {
  3868. sType: StructureType,
  3869. pNext: rawptr,
  3870. accelerationStructure: AccelerationStructureNV,
  3871. memory: DeviceMemory,
  3872. memoryOffset: DeviceSize,
  3873. deviceIndexCount: u32,
  3874. pDeviceIndices: [^]u32,
  3875. }
  3876. WriteDescriptorSetAccelerationStructureNV :: struct {
  3877. sType: StructureType,
  3878. pNext: rawptr,
  3879. accelerationStructureCount: u32,
  3880. pAccelerationStructures: [^]AccelerationStructureNV,
  3881. }
  3882. AccelerationStructureMemoryRequirementsInfoNV :: struct {
  3883. sType: StructureType,
  3884. pNext: rawptr,
  3885. type: AccelerationStructureMemoryRequirementsTypeNV,
  3886. accelerationStructure: AccelerationStructureNV,
  3887. }
  3888. PhysicalDeviceRayTracingPropertiesNV :: struct {
  3889. sType: StructureType,
  3890. pNext: rawptr,
  3891. shaderGroupHandleSize: u32,
  3892. maxRecursionDepth: u32,
  3893. maxShaderGroupStride: u32,
  3894. shaderGroupBaseAlignment: u32,
  3895. maxGeometryCount: u64,
  3896. maxInstanceCount: u64,
  3897. maxTriangleCount: u64,
  3898. maxDescriptorSetAccelerationStructures: u32,
  3899. }
  3900. TransformMatrixKHR :: struct {
  3901. mat: [3][4]f32,
  3902. }
  3903. AabbPositionsKHR :: struct {
  3904. minX: f32,
  3905. minY: f32,
  3906. minZ: f32,
  3907. maxX: f32,
  3908. maxY: f32,
  3909. maxZ: f32,
  3910. }
  3911. AccelerationStructureInstanceKHR :: struct {
  3912. transform: TransformMatrixKHR,
  3913. accelerationStructureReference: u64,
  3914. }
  3915. PhysicalDeviceRepresentativeFragmentTestFeaturesNV :: struct {
  3916. sType: StructureType,
  3917. pNext: rawptr,
  3918. representativeFragmentTest: b32,
  3919. }
  3920. PipelineRepresentativeFragmentTestStateCreateInfoNV :: struct {
  3921. sType: StructureType,
  3922. pNext: rawptr,
  3923. representativeFragmentTestEnable: b32,
  3924. }
  3925. PhysicalDeviceImageViewImageFormatInfoEXT :: struct {
  3926. sType: StructureType,
  3927. pNext: rawptr,
  3928. imageViewType: ImageViewType,
  3929. }
  3930. FilterCubicImageViewImageFormatPropertiesEXT :: struct {
  3931. sType: StructureType,
  3932. pNext: rawptr,
  3933. filterCubic: b32,
  3934. filterCubicMinmax: b32,
  3935. }
  3936. ImportMemoryHostPointerInfoEXT :: struct {
  3937. sType: StructureType,
  3938. pNext: rawptr,
  3939. handleType: ExternalMemoryHandleTypeFlags,
  3940. pHostPointer: rawptr,
  3941. }
  3942. MemoryHostPointerPropertiesEXT :: struct {
  3943. sType: StructureType,
  3944. pNext: rawptr,
  3945. memoryTypeBits: u32,
  3946. }
  3947. PhysicalDeviceExternalMemoryHostPropertiesEXT :: struct {
  3948. sType: StructureType,
  3949. pNext: rawptr,
  3950. minImportedHostPointerAlignment: DeviceSize,
  3951. }
  3952. PipelineCompilerControlCreateInfoAMD :: struct {
  3953. sType: StructureType,
  3954. pNext: rawptr,
  3955. compilerControlFlags: PipelineCompilerControlFlagsAMD,
  3956. }
  3957. CalibratedTimestampInfoEXT :: struct {
  3958. sType: StructureType,
  3959. pNext: rawptr,
  3960. timeDomain: TimeDomainEXT,
  3961. }
  3962. PhysicalDeviceShaderCorePropertiesAMD :: struct {
  3963. sType: StructureType,
  3964. pNext: rawptr,
  3965. shaderEngineCount: u32,
  3966. shaderArraysPerEngineCount: u32,
  3967. computeUnitsPerShaderArray: u32,
  3968. simdPerComputeUnit: u32,
  3969. wavefrontsPerSimd: u32,
  3970. wavefrontSize: u32,
  3971. sgprsPerSimd: u32,
  3972. minSgprAllocation: u32,
  3973. maxSgprAllocation: u32,
  3974. sgprAllocationGranularity: u32,
  3975. vgprsPerSimd: u32,
  3976. minVgprAllocation: u32,
  3977. maxVgprAllocation: u32,
  3978. vgprAllocationGranularity: u32,
  3979. }
  3980. DeviceMemoryOverallocationCreateInfoAMD :: struct {
  3981. sType: StructureType,
  3982. pNext: rawptr,
  3983. overallocationBehavior: MemoryOverallocationBehaviorAMD,
  3984. }
  3985. PhysicalDeviceVertexAttributeDivisorPropertiesEXT :: struct {
  3986. sType: StructureType,
  3987. pNext: rawptr,
  3988. maxVertexAttribDivisor: u32,
  3989. }
  3990. VertexInputBindingDivisorDescriptionEXT :: struct {
  3991. binding: u32,
  3992. divisor: u32,
  3993. }
  3994. PipelineVertexInputDivisorStateCreateInfoEXT :: struct {
  3995. sType: StructureType,
  3996. pNext: rawptr,
  3997. vertexBindingDivisorCount: u32,
  3998. pVertexBindingDivisors: [^]VertexInputBindingDivisorDescriptionEXT,
  3999. }
  4000. PhysicalDeviceVertexAttributeDivisorFeaturesEXT :: struct {
  4001. sType: StructureType,
  4002. pNext: rawptr,
  4003. vertexAttributeInstanceRateDivisor: b32,
  4004. vertexAttributeInstanceRateZeroDivisor: b32,
  4005. }
  4006. PhysicalDeviceComputeShaderDerivativesFeaturesNV :: struct {
  4007. sType: StructureType,
  4008. pNext: rawptr,
  4009. computeDerivativeGroupQuads: b32,
  4010. computeDerivativeGroupLinear: b32,
  4011. }
  4012. PhysicalDeviceMeshShaderFeaturesNV :: struct {
  4013. sType: StructureType,
  4014. pNext: rawptr,
  4015. taskShader: b32,
  4016. meshShader: b32,
  4017. }
  4018. PhysicalDeviceMeshShaderPropertiesNV :: struct {
  4019. sType: StructureType,
  4020. pNext: rawptr,
  4021. maxDrawMeshTasksCount: u32,
  4022. maxTaskWorkGroupInvocations: u32,
  4023. maxTaskWorkGroupSize: [3]u32,
  4024. maxTaskTotalMemorySize: u32,
  4025. maxTaskOutputCount: u32,
  4026. maxMeshWorkGroupInvocations: u32,
  4027. maxMeshWorkGroupSize: [3]u32,
  4028. maxMeshTotalMemorySize: u32,
  4029. maxMeshOutputVertices: u32,
  4030. maxMeshOutputPrimitives: u32,
  4031. maxMeshMultiviewViewCount: u32,
  4032. meshOutputPerVertexGranularity: u32,
  4033. meshOutputPerPrimitiveGranularity: u32,
  4034. }
  4035. DrawMeshTasksIndirectCommandNV :: struct {
  4036. taskCount: u32,
  4037. firstTask: u32,
  4038. }
  4039. PhysicalDeviceShaderImageFootprintFeaturesNV :: struct {
  4040. sType: StructureType,
  4041. pNext: rawptr,
  4042. imageFootprint: b32,
  4043. }
  4044. PipelineViewportExclusiveScissorStateCreateInfoNV :: struct {
  4045. sType: StructureType,
  4046. pNext: rawptr,
  4047. exclusiveScissorCount: u32,
  4048. pExclusiveScissors: [^]Rect2D,
  4049. }
  4050. PhysicalDeviceExclusiveScissorFeaturesNV :: struct {
  4051. sType: StructureType,
  4052. pNext: rawptr,
  4053. exclusiveScissor: b32,
  4054. }
  4055. QueueFamilyCheckpointPropertiesNV :: struct {
  4056. sType: StructureType,
  4057. pNext: rawptr,
  4058. checkpointExecutionStageMask: PipelineStageFlags,
  4059. }
  4060. CheckpointDataNV :: struct {
  4061. sType: StructureType,
  4062. pNext: rawptr,
  4063. stage: PipelineStageFlags,
  4064. pCheckpointMarker: rawptr,
  4065. }
  4066. PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL :: struct {
  4067. sType: StructureType,
  4068. pNext: rawptr,
  4069. shaderIntegerFunctions2: b32,
  4070. }
  4071. PerformanceValueDataINTEL :: struct #raw_union {
  4072. value32: u32,
  4073. value64: u64,
  4074. valueFloat: f32,
  4075. valueBool: b32,
  4076. valueString: cstring,
  4077. }
  4078. PerformanceValueINTEL :: struct {
  4079. type: PerformanceValueTypeINTEL,
  4080. data: PerformanceValueDataINTEL,
  4081. }
  4082. InitializePerformanceApiInfoINTEL :: struct {
  4083. sType: StructureType,
  4084. pNext: rawptr,
  4085. pUserData: rawptr,
  4086. }
  4087. QueryPoolPerformanceQueryCreateInfoINTEL :: struct {
  4088. sType: StructureType,
  4089. pNext: rawptr,
  4090. performanceCountersSampling: QueryPoolSamplingModeINTEL,
  4091. }
  4092. PerformanceMarkerInfoINTEL :: struct {
  4093. sType: StructureType,
  4094. pNext: rawptr,
  4095. marker: u64,
  4096. }
  4097. PerformanceStreamMarkerInfoINTEL :: struct {
  4098. sType: StructureType,
  4099. pNext: rawptr,
  4100. marker: u32,
  4101. }
  4102. PerformanceOverrideInfoINTEL :: struct {
  4103. sType: StructureType,
  4104. pNext: rawptr,
  4105. type: PerformanceOverrideTypeINTEL,
  4106. enable: b32,
  4107. parameter: u64,
  4108. }
  4109. PerformanceConfigurationAcquireInfoINTEL :: struct {
  4110. sType: StructureType,
  4111. pNext: rawptr,
  4112. type: PerformanceConfigurationTypeINTEL,
  4113. }
  4114. PhysicalDevicePCIBusInfoPropertiesEXT :: struct {
  4115. sType: StructureType,
  4116. pNext: rawptr,
  4117. pciDomain: u32,
  4118. pciBus: u32,
  4119. pciDevice: u32,
  4120. pciFunction: u32,
  4121. }
  4122. DisplayNativeHdrSurfaceCapabilitiesAMD :: struct {
  4123. sType: StructureType,
  4124. pNext: rawptr,
  4125. localDimmingSupport: b32,
  4126. }
  4127. SwapchainDisplayNativeHdrCreateInfoAMD :: struct {
  4128. sType: StructureType,
  4129. pNext: rawptr,
  4130. localDimmingEnable: b32,
  4131. }
  4132. PhysicalDeviceFragmentDensityMapFeaturesEXT :: struct {
  4133. sType: StructureType,
  4134. pNext: rawptr,
  4135. fragmentDensityMap: b32,
  4136. fragmentDensityMapDynamic: b32,
  4137. fragmentDensityMapNonSubsampledImages: b32,
  4138. }
  4139. PhysicalDeviceFragmentDensityMapPropertiesEXT :: struct {
  4140. sType: StructureType,
  4141. pNext: rawptr,
  4142. minFragmentDensityTexelSize: Extent2D,
  4143. maxFragmentDensityTexelSize: Extent2D,
  4144. fragmentDensityInvocations: b32,
  4145. }
  4146. RenderPassFragmentDensityMapCreateInfoEXT :: struct {
  4147. sType: StructureType,
  4148. pNext: rawptr,
  4149. fragmentDensityMapAttachment: AttachmentReference,
  4150. }
  4151. PhysicalDeviceShaderCoreProperties2AMD :: struct {
  4152. sType: StructureType,
  4153. pNext: rawptr,
  4154. shaderCoreFeatures: ShaderCorePropertiesFlagsAMD,
  4155. activeComputeUnitCount: u32,
  4156. }
  4157. PhysicalDeviceCoherentMemoryFeaturesAMD :: struct {
  4158. sType: StructureType,
  4159. pNext: rawptr,
  4160. deviceCoherentMemory: b32,
  4161. }
  4162. PhysicalDeviceShaderImageAtomicInt64FeaturesEXT :: struct {
  4163. sType: StructureType,
  4164. pNext: rawptr,
  4165. shaderImageInt64Atomics: b32,
  4166. sparseImageInt64Atomics: b32,
  4167. }
  4168. PhysicalDeviceMemoryBudgetPropertiesEXT :: struct {
  4169. sType: StructureType,
  4170. pNext: rawptr,
  4171. heapBudget: [MAX_MEMORY_HEAPS]DeviceSize,
  4172. heapUsage: [MAX_MEMORY_HEAPS]DeviceSize,
  4173. }
  4174. PhysicalDeviceMemoryPriorityFeaturesEXT :: struct {
  4175. sType: StructureType,
  4176. pNext: rawptr,
  4177. memoryPriority: b32,
  4178. }
  4179. MemoryPriorityAllocateInfoEXT :: struct {
  4180. sType: StructureType,
  4181. pNext: rawptr,
  4182. priority: f32,
  4183. }
  4184. PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV :: struct {
  4185. sType: StructureType,
  4186. pNext: rawptr,
  4187. dedicatedAllocationImageAliasing: b32,
  4188. }
  4189. PhysicalDeviceBufferDeviceAddressFeaturesEXT :: struct {
  4190. sType: StructureType,
  4191. pNext: rawptr,
  4192. bufferDeviceAddress: b32,
  4193. bufferDeviceAddressCaptureReplay: b32,
  4194. bufferDeviceAddressMultiDevice: b32,
  4195. }
  4196. BufferDeviceAddressCreateInfoEXT :: struct {
  4197. sType: StructureType,
  4198. pNext: rawptr,
  4199. deviceAddress: DeviceAddress,
  4200. }
  4201. ValidationFeaturesEXT :: struct {
  4202. sType: StructureType,
  4203. pNext: rawptr,
  4204. enabledValidationFeatureCount: u32,
  4205. pEnabledValidationFeatures: [^]ValidationFeatureEnableEXT,
  4206. disabledValidationFeatureCount: u32,
  4207. pDisabledValidationFeatures: [^]ValidationFeatureDisableEXT,
  4208. }
  4209. CooperativeMatrixPropertiesNV :: struct {
  4210. sType: StructureType,
  4211. pNext: rawptr,
  4212. MSize: u32,
  4213. NSize: u32,
  4214. KSize: u32,
  4215. AType: ComponentTypeNV,
  4216. BType: ComponentTypeNV,
  4217. CType: ComponentTypeNV,
  4218. DType: ComponentTypeNV,
  4219. scope: ScopeNV,
  4220. }
  4221. PhysicalDeviceCooperativeMatrixFeaturesNV :: struct {
  4222. sType: StructureType,
  4223. pNext: rawptr,
  4224. cooperativeMatrix: b32,
  4225. cooperativeMatrixRobustBufferAccess: b32,
  4226. }
  4227. PhysicalDeviceCooperativeMatrixPropertiesNV :: struct {
  4228. sType: StructureType,
  4229. pNext: rawptr,
  4230. cooperativeMatrixSupportedStages: ShaderStageFlags,
  4231. }
  4232. PhysicalDeviceCoverageReductionModeFeaturesNV :: struct {
  4233. sType: StructureType,
  4234. pNext: rawptr,
  4235. coverageReductionMode: b32,
  4236. }
  4237. PipelineCoverageReductionStateCreateInfoNV :: struct {
  4238. sType: StructureType,
  4239. pNext: rawptr,
  4240. flags: PipelineCoverageReductionStateCreateFlagsNV,
  4241. coverageReductionMode: CoverageReductionModeNV,
  4242. }
  4243. FramebufferMixedSamplesCombinationNV :: struct {
  4244. sType: StructureType,
  4245. pNext: rawptr,
  4246. coverageReductionMode: CoverageReductionModeNV,
  4247. rasterizationSamples: SampleCountFlags,
  4248. depthStencilSamples: SampleCountFlags,
  4249. colorSamples: SampleCountFlags,
  4250. }
  4251. PhysicalDeviceFragmentShaderInterlockFeaturesEXT :: struct {
  4252. sType: StructureType,
  4253. pNext: rawptr,
  4254. fragmentShaderSampleInterlock: b32,
  4255. fragmentShaderPixelInterlock: b32,
  4256. fragmentShaderShadingRateInterlock: b32,
  4257. }
  4258. PhysicalDeviceYcbcrImageArraysFeaturesEXT :: struct {
  4259. sType: StructureType,
  4260. pNext: rawptr,
  4261. ycbcrImageArrays: b32,
  4262. }
  4263. PhysicalDeviceProvokingVertexFeaturesEXT :: struct {
  4264. sType: StructureType,
  4265. pNext: rawptr,
  4266. provokingVertexLast: b32,
  4267. transformFeedbackPreservesProvokingVertex: b32,
  4268. }
  4269. PhysicalDeviceProvokingVertexPropertiesEXT :: struct {
  4270. sType: StructureType,
  4271. pNext: rawptr,
  4272. provokingVertexModePerPipeline: b32,
  4273. transformFeedbackPreservesTriangleFanProvokingVertex: b32,
  4274. }
  4275. PipelineRasterizationProvokingVertexStateCreateInfoEXT :: struct {
  4276. sType: StructureType,
  4277. pNext: rawptr,
  4278. provokingVertexMode: ProvokingVertexModeEXT,
  4279. }
  4280. HeadlessSurfaceCreateInfoEXT :: struct {
  4281. sType: StructureType,
  4282. pNext: rawptr,
  4283. flags: HeadlessSurfaceCreateFlagsEXT,
  4284. }
  4285. PhysicalDeviceLineRasterizationFeaturesEXT :: struct {
  4286. sType: StructureType,
  4287. pNext: rawptr,
  4288. rectangularLines: b32,
  4289. bresenhamLines: b32,
  4290. smoothLines: b32,
  4291. stippledRectangularLines: b32,
  4292. stippledBresenhamLines: b32,
  4293. stippledSmoothLines: b32,
  4294. }
  4295. PhysicalDeviceLineRasterizationPropertiesEXT :: struct {
  4296. sType: StructureType,
  4297. pNext: rawptr,
  4298. lineSubPixelPrecisionBits: u32,
  4299. }
  4300. PipelineRasterizationLineStateCreateInfoEXT :: struct {
  4301. sType: StructureType,
  4302. pNext: rawptr,
  4303. lineRasterizationMode: LineRasterizationModeEXT,
  4304. stippledLineEnable: b32,
  4305. lineStippleFactor: u32,
  4306. lineStipplePattern: u16,
  4307. }
  4308. PhysicalDeviceShaderAtomicFloatFeaturesEXT :: struct {
  4309. sType: StructureType,
  4310. pNext: rawptr,
  4311. shaderBufferFloat32Atomics: b32,
  4312. shaderBufferFloat32AtomicAdd: b32,
  4313. shaderBufferFloat64Atomics: b32,
  4314. shaderBufferFloat64AtomicAdd: b32,
  4315. shaderSharedFloat32Atomics: b32,
  4316. shaderSharedFloat32AtomicAdd: b32,
  4317. shaderSharedFloat64Atomics: b32,
  4318. shaderSharedFloat64AtomicAdd: b32,
  4319. shaderImageFloat32Atomics: b32,
  4320. shaderImageFloat32AtomicAdd: b32,
  4321. sparseImageFloat32Atomics: b32,
  4322. sparseImageFloat32AtomicAdd: b32,
  4323. }
  4324. PhysicalDeviceIndexTypeUint8FeaturesEXT :: struct {
  4325. sType: StructureType,
  4326. pNext: rawptr,
  4327. indexTypeUint8: b32,
  4328. }
  4329. PhysicalDeviceExtendedDynamicStateFeaturesEXT :: struct {
  4330. sType: StructureType,
  4331. pNext: rawptr,
  4332. extendedDynamicState: b32,
  4333. }
  4334. PhysicalDeviceShaderAtomicFloat2FeaturesEXT :: struct {
  4335. sType: StructureType,
  4336. pNext: rawptr,
  4337. shaderBufferFloat16Atomics: b32,
  4338. shaderBufferFloat16AtomicAdd: b32,
  4339. shaderBufferFloat16AtomicMinMax: b32,
  4340. shaderBufferFloat32AtomicMinMax: b32,
  4341. shaderBufferFloat64AtomicMinMax: b32,
  4342. shaderSharedFloat16Atomics: b32,
  4343. shaderSharedFloat16AtomicAdd: b32,
  4344. shaderSharedFloat16AtomicMinMax: b32,
  4345. shaderSharedFloat32AtomicMinMax: b32,
  4346. shaderSharedFloat64AtomicMinMax: b32,
  4347. shaderImageFloat32AtomicMinMax: b32,
  4348. sparseImageFloat32AtomicMinMax: b32,
  4349. }
  4350. SurfacePresentModeEXT :: struct {
  4351. sType: StructureType,
  4352. pNext: rawptr,
  4353. presentMode: PresentModeKHR,
  4354. }
  4355. SurfacePresentScalingCapabilitiesEXT :: struct {
  4356. sType: StructureType,
  4357. pNext: rawptr,
  4358. supportedPresentScaling: PresentScalingFlagsEXT,
  4359. supportedPresentGravityX: PresentGravityFlagsEXT,
  4360. supportedPresentGravityY: PresentGravityFlagsEXT,
  4361. minScaledImageExtent: Extent2D,
  4362. maxScaledImageExtent: Extent2D,
  4363. }
  4364. SurfacePresentModeCompatibilityEXT :: struct {
  4365. sType: StructureType,
  4366. pNext: rawptr,
  4367. presentModeCount: u32,
  4368. pPresentModes: [^]PresentModeKHR,
  4369. }
  4370. PhysicalDeviceSwapchainMaintenance1FeaturesEXT :: struct {
  4371. sType: StructureType,
  4372. pNext: rawptr,
  4373. swapchainMaintenance1: b32,
  4374. }
  4375. SwapchainPresentFenceInfoEXT :: struct {
  4376. sType: StructureType,
  4377. pNext: rawptr,
  4378. swapchainCount: u32,
  4379. pFences: [^]Fence,
  4380. }
  4381. SwapchainPresentModesCreateInfoEXT :: struct {
  4382. sType: StructureType,
  4383. pNext: rawptr,
  4384. presentModeCount: u32,
  4385. pPresentModes: [^]PresentModeKHR,
  4386. }
  4387. SwapchainPresentModeInfoEXT :: struct {
  4388. sType: StructureType,
  4389. pNext: rawptr,
  4390. swapchainCount: u32,
  4391. pPresentModes: [^]PresentModeKHR,
  4392. }
  4393. SwapchainPresentScalingCreateInfoEXT :: struct {
  4394. sType: StructureType,
  4395. pNext: rawptr,
  4396. scalingBehavior: PresentScalingFlagsEXT,
  4397. presentGravityX: PresentGravityFlagsEXT,
  4398. presentGravityY: PresentGravityFlagsEXT,
  4399. }
  4400. ReleaseSwapchainImagesInfoEXT :: struct {
  4401. sType: StructureType,
  4402. pNext: rawptr,
  4403. swapchain: SwapchainKHR,
  4404. imageIndexCount: u32,
  4405. pImageIndices: [^]u32,
  4406. }
  4407. PhysicalDeviceDeviceGeneratedCommandsPropertiesNV :: struct {
  4408. sType: StructureType,
  4409. pNext: rawptr,
  4410. maxGraphicsShaderGroupCount: u32,
  4411. maxIndirectSequenceCount: u32,
  4412. maxIndirectCommandsTokenCount: u32,
  4413. maxIndirectCommandsStreamCount: u32,
  4414. maxIndirectCommandsTokenOffset: u32,
  4415. maxIndirectCommandsStreamStride: u32,
  4416. minSequencesCountBufferOffsetAlignment: u32,
  4417. minSequencesIndexBufferOffsetAlignment: u32,
  4418. minIndirectCommandsBufferOffsetAlignment: u32,
  4419. }
  4420. PhysicalDeviceDeviceGeneratedCommandsFeaturesNV :: struct {
  4421. sType: StructureType,
  4422. pNext: rawptr,
  4423. deviceGeneratedCommands: b32,
  4424. }
  4425. GraphicsShaderGroupCreateInfoNV :: struct {
  4426. sType: StructureType,
  4427. pNext: rawptr,
  4428. stageCount: u32,
  4429. pStages: [^]PipelineShaderStageCreateInfo,
  4430. pVertexInputState: ^PipelineVertexInputStateCreateInfo,
  4431. pTessellationState: ^PipelineTessellationStateCreateInfo,
  4432. }
  4433. GraphicsPipelineShaderGroupsCreateInfoNV :: struct {
  4434. sType: StructureType,
  4435. pNext: rawptr,
  4436. groupCount: u32,
  4437. pGroups: [^]GraphicsShaderGroupCreateInfoNV,
  4438. pipelineCount: u32,
  4439. pPipelines: [^]Pipeline,
  4440. }
  4441. BindShaderGroupIndirectCommandNV :: struct {
  4442. groupIndex: u32,
  4443. }
  4444. BindIndexBufferIndirectCommandNV :: struct {
  4445. bufferAddress: DeviceAddress,
  4446. size: u32,
  4447. indexType: IndexType,
  4448. }
  4449. BindVertexBufferIndirectCommandNV :: struct {
  4450. bufferAddress: DeviceAddress,
  4451. size: u32,
  4452. stride: u32,
  4453. }
  4454. SetStateFlagsIndirectCommandNV :: struct {
  4455. data: u32,
  4456. }
  4457. IndirectCommandsStreamNV :: struct {
  4458. buffer: Buffer,
  4459. offset: DeviceSize,
  4460. }
  4461. IndirectCommandsLayoutTokenNV :: struct {
  4462. sType: StructureType,
  4463. pNext: rawptr,
  4464. tokenType: IndirectCommandsTokenTypeNV,
  4465. stream: u32,
  4466. offset: u32,
  4467. vertexBindingUnit: u32,
  4468. vertexDynamicStride: b32,
  4469. pushconstantPipelineLayout: PipelineLayout,
  4470. pushconstantShaderStageFlags: ShaderStageFlags,
  4471. pushconstantOffset: u32,
  4472. pushconstantSize: u32,
  4473. indirectStateFlags: IndirectStateFlagsNV,
  4474. indexTypeCount: u32,
  4475. pIndexTypes: [^]IndexType,
  4476. pIndexTypeValues: [^]u32,
  4477. }
  4478. IndirectCommandsLayoutCreateInfoNV :: struct {
  4479. sType: StructureType,
  4480. pNext: rawptr,
  4481. flags: IndirectCommandsLayoutUsageFlagsNV,
  4482. pipelineBindPoint: PipelineBindPoint,
  4483. tokenCount: u32,
  4484. pTokens: [^]IndirectCommandsLayoutTokenNV,
  4485. streamCount: u32,
  4486. pStreamStrides: [^]u32,
  4487. }
  4488. GeneratedCommandsInfoNV :: struct {
  4489. sType: StructureType,
  4490. pNext: rawptr,
  4491. pipelineBindPoint: PipelineBindPoint,
  4492. pipeline: Pipeline,
  4493. indirectCommandsLayout: IndirectCommandsLayoutNV,
  4494. streamCount: u32,
  4495. pStreams: [^]IndirectCommandsStreamNV,
  4496. sequencesCount: u32,
  4497. preprocessBuffer: Buffer,
  4498. preprocessOffset: DeviceSize,
  4499. preprocessSize: DeviceSize,
  4500. sequencesCountBuffer: Buffer,
  4501. sequencesCountOffset: DeviceSize,
  4502. sequencesIndexBuffer: Buffer,
  4503. sequencesIndexOffset: DeviceSize,
  4504. }
  4505. GeneratedCommandsMemoryRequirementsInfoNV :: struct {
  4506. sType: StructureType,
  4507. pNext: rawptr,
  4508. pipelineBindPoint: PipelineBindPoint,
  4509. pipeline: Pipeline,
  4510. indirectCommandsLayout: IndirectCommandsLayoutNV,
  4511. maxSequencesCount: u32,
  4512. }
  4513. PhysicalDeviceInheritedViewportScissorFeaturesNV :: struct {
  4514. sType: StructureType,
  4515. pNext: rawptr,
  4516. inheritedViewportScissor2D: b32,
  4517. }
  4518. CommandBufferInheritanceViewportScissorInfoNV :: struct {
  4519. sType: StructureType,
  4520. pNext: rawptr,
  4521. viewportScissor2D: b32,
  4522. viewportDepthCount: u32,
  4523. pViewportDepths: [^]Viewport,
  4524. }
  4525. PhysicalDeviceTexelBufferAlignmentFeaturesEXT :: struct {
  4526. sType: StructureType,
  4527. pNext: rawptr,
  4528. texelBufferAlignment: b32,
  4529. }
  4530. RenderPassTransformBeginInfoQCOM :: struct {
  4531. sType: StructureType,
  4532. pNext: rawptr,
  4533. transform: SurfaceTransformFlagsKHR,
  4534. }
  4535. CommandBufferInheritanceRenderPassTransformInfoQCOM :: struct {
  4536. sType: StructureType,
  4537. pNext: rawptr,
  4538. transform: SurfaceTransformFlagsKHR,
  4539. renderArea: Rect2D,
  4540. }
  4541. PhysicalDeviceDeviceMemoryReportFeaturesEXT :: struct {
  4542. sType: StructureType,
  4543. pNext: rawptr,
  4544. deviceMemoryReport: b32,
  4545. }
  4546. DeviceMemoryReportCallbackDataEXT :: struct {
  4547. sType: StructureType,
  4548. pNext: rawptr,
  4549. flags: DeviceMemoryReportFlagsEXT,
  4550. type: DeviceMemoryReportEventTypeEXT,
  4551. memoryObjectId: u64,
  4552. size: DeviceSize,
  4553. objectType: ObjectType,
  4554. objectHandle: u64,
  4555. heapIndex: u32,
  4556. }
  4557. DeviceDeviceMemoryReportCreateInfoEXT :: struct {
  4558. sType: StructureType,
  4559. pNext: rawptr,
  4560. flags: DeviceMemoryReportFlagsEXT,
  4561. pfnUserCallback: ProcDeviceMemoryReportCallbackEXT,
  4562. pUserData: rawptr,
  4563. }
  4564. PhysicalDeviceRobustness2FeaturesEXT :: struct {
  4565. sType: StructureType,
  4566. pNext: rawptr,
  4567. robustBufferAccess2: b32,
  4568. robustImageAccess2: b32,
  4569. nullDescriptor: b32,
  4570. }
  4571. PhysicalDeviceRobustness2PropertiesEXT :: struct {
  4572. sType: StructureType,
  4573. pNext: rawptr,
  4574. robustStorageBufferAccessSizeAlignment: DeviceSize,
  4575. robustUniformBufferAccessSizeAlignment: DeviceSize,
  4576. }
  4577. SamplerCustomBorderColorCreateInfoEXT :: struct {
  4578. sType: StructureType,
  4579. pNext: rawptr,
  4580. customBorderColor: ClearColorValue,
  4581. format: Format,
  4582. }
  4583. PhysicalDeviceCustomBorderColorPropertiesEXT :: struct {
  4584. sType: StructureType,
  4585. pNext: rawptr,
  4586. maxCustomBorderColorSamplers: u32,
  4587. }
  4588. PhysicalDeviceCustomBorderColorFeaturesEXT :: struct {
  4589. sType: StructureType,
  4590. pNext: rawptr,
  4591. customBorderColors: b32,
  4592. customBorderColorWithoutFormat: b32,
  4593. }
  4594. PhysicalDevicePresentBarrierFeaturesNV :: struct {
  4595. sType: StructureType,
  4596. pNext: rawptr,
  4597. presentBarrier: b32,
  4598. }
  4599. SurfaceCapabilitiesPresentBarrierNV :: struct {
  4600. sType: StructureType,
  4601. pNext: rawptr,
  4602. presentBarrierSupported: b32,
  4603. }
  4604. SwapchainPresentBarrierCreateInfoNV :: struct {
  4605. sType: StructureType,
  4606. pNext: rawptr,
  4607. presentBarrierEnable: b32,
  4608. }
  4609. PhysicalDeviceDiagnosticsConfigFeaturesNV :: struct {
  4610. sType: StructureType,
  4611. pNext: rawptr,
  4612. diagnosticsConfig: b32,
  4613. }
  4614. DeviceDiagnosticsConfigCreateInfoNV :: struct {
  4615. sType: StructureType,
  4616. pNext: rawptr,
  4617. flags: DeviceDiagnosticsConfigFlagsNV,
  4618. }
  4619. QueryLowLatencySupportNV :: struct {
  4620. sType: StructureType,
  4621. pNext: rawptr,
  4622. pQueriedLowLatencyData: rawptr,
  4623. }
  4624. PhysicalDeviceDescriptorBufferPropertiesEXT :: struct {
  4625. sType: StructureType,
  4626. pNext: rawptr,
  4627. combinedImageSamplerDescriptorSingleArray: b32,
  4628. bufferlessPushDescriptors: b32,
  4629. allowSamplerImageViewPostSubmitCreation: b32,
  4630. descriptorBufferOffsetAlignment: DeviceSize,
  4631. maxDescriptorBufferBindings: u32,
  4632. maxResourceDescriptorBufferBindings: u32,
  4633. maxSamplerDescriptorBufferBindings: u32,
  4634. maxEmbeddedImmutableSamplerBindings: u32,
  4635. maxEmbeddedImmutableSamplers: u32,
  4636. bufferCaptureReplayDescriptorDataSize: int,
  4637. imageCaptureReplayDescriptorDataSize: int,
  4638. imageViewCaptureReplayDescriptorDataSize: int,
  4639. samplerCaptureReplayDescriptorDataSize: int,
  4640. accelerationStructureCaptureReplayDescriptorDataSize: int,
  4641. samplerDescriptorSize: int,
  4642. combinedImageSamplerDescriptorSize: int,
  4643. sampledImageDescriptorSize: int,
  4644. storageImageDescriptorSize: int,
  4645. uniformTexelBufferDescriptorSize: int,
  4646. robustUniformTexelBufferDescriptorSize: int,
  4647. storageTexelBufferDescriptorSize: int,
  4648. robustStorageTexelBufferDescriptorSize: int,
  4649. uniformBufferDescriptorSize: int,
  4650. robustUniformBufferDescriptorSize: int,
  4651. storageBufferDescriptorSize: int,
  4652. robustStorageBufferDescriptorSize: int,
  4653. inputAttachmentDescriptorSize: int,
  4654. accelerationStructureDescriptorSize: int,
  4655. maxSamplerDescriptorBufferRange: DeviceSize,
  4656. maxResourceDescriptorBufferRange: DeviceSize,
  4657. samplerDescriptorBufferAddressSpaceSize: DeviceSize,
  4658. resourceDescriptorBufferAddressSpaceSize: DeviceSize,
  4659. descriptorBufferAddressSpaceSize: DeviceSize,
  4660. }
  4661. PhysicalDeviceDescriptorBufferDensityMapPropertiesEXT :: struct {
  4662. sType: StructureType,
  4663. pNext: rawptr,
  4664. combinedImageSamplerDensityMapDescriptorSize: int,
  4665. }
  4666. PhysicalDeviceDescriptorBufferFeaturesEXT :: struct {
  4667. sType: StructureType,
  4668. pNext: rawptr,
  4669. descriptorBuffer: b32,
  4670. descriptorBufferCaptureReplay: b32,
  4671. descriptorBufferImageLayoutIgnored: b32,
  4672. descriptorBufferPushDescriptors: b32,
  4673. }
  4674. DescriptorAddressInfoEXT :: struct {
  4675. sType: StructureType,
  4676. pNext: rawptr,
  4677. address: DeviceAddress,
  4678. range: DeviceSize,
  4679. format: Format,
  4680. }
  4681. DescriptorBufferBindingInfoEXT :: struct {
  4682. sType: StructureType,
  4683. pNext: rawptr,
  4684. address: DeviceAddress,
  4685. usage: BufferUsageFlags,
  4686. }
  4687. DescriptorBufferBindingPushDescriptorBufferHandleEXT :: struct {
  4688. sType: StructureType,
  4689. pNext: rawptr,
  4690. buffer: Buffer,
  4691. }
  4692. DescriptorDataEXT :: struct #raw_union {
  4693. pSampler: ^Sampler,
  4694. pCombinedImageSampler: ^DescriptorImageInfo,
  4695. pInputAttachmentImage: ^DescriptorImageInfo,
  4696. pSampledImage: ^DescriptorImageInfo,
  4697. pStorageImage: ^DescriptorImageInfo,
  4698. pUniformTexelBuffer: ^DescriptorAddressInfoEXT,
  4699. pStorageTexelBuffer: ^DescriptorAddressInfoEXT,
  4700. pUniformBuffer: ^DescriptorAddressInfoEXT,
  4701. pStorageBuffer: ^DescriptorAddressInfoEXT,
  4702. accelerationStructure: DeviceAddress,
  4703. }
  4704. DescriptorGetInfoEXT :: struct {
  4705. sType: StructureType,
  4706. pNext: rawptr,
  4707. type: DescriptorType,
  4708. data: DescriptorDataEXT,
  4709. }
  4710. BufferCaptureDescriptorDataInfoEXT :: struct {
  4711. sType: StructureType,
  4712. pNext: rawptr,
  4713. buffer: Buffer,
  4714. }
  4715. ImageCaptureDescriptorDataInfoEXT :: struct {
  4716. sType: StructureType,
  4717. pNext: rawptr,
  4718. image: Image,
  4719. }
  4720. ImageViewCaptureDescriptorDataInfoEXT :: struct {
  4721. sType: StructureType,
  4722. pNext: rawptr,
  4723. imageView: ImageView,
  4724. }
  4725. SamplerCaptureDescriptorDataInfoEXT :: struct {
  4726. sType: StructureType,
  4727. pNext: rawptr,
  4728. sampler: Sampler,
  4729. }
  4730. OpaqueCaptureDescriptorDataCreateInfoEXT :: struct {
  4731. sType: StructureType,
  4732. pNext: rawptr,
  4733. opaqueCaptureDescriptorData: rawptr,
  4734. }
  4735. AccelerationStructureCaptureDescriptorDataInfoEXT :: struct {
  4736. sType: StructureType,
  4737. pNext: rawptr,
  4738. accelerationStructure: AccelerationStructureKHR,
  4739. accelerationStructureNV: AccelerationStructureNV,
  4740. }
  4741. PhysicalDeviceGraphicsPipelineLibraryFeaturesEXT :: struct {
  4742. sType: StructureType,
  4743. pNext: rawptr,
  4744. graphicsPipelineLibrary: b32,
  4745. }
  4746. PhysicalDeviceGraphicsPipelineLibraryPropertiesEXT :: struct {
  4747. sType: StructureType,
  4748. pNext: rawptr,
  4749. graphicsPipelineLibraryFastLinking: b32,
  4750. graphicsPipelineLibraryIndependentInterpolationDecoration: b32,
  4751. }
  4752. GraphicsPipelineLibraryCreateInfoEXT :: struct {
  4753. sType: StructureType,
  4754. pNext: rawptr,
  4755. flags: GraphicsPipelineLibraryFlagsEXT,
  4756. }
  4757. PhysicalDeviceShaderEarlyAndLateFragmentTestsFeaturesAMD :: struct {
  4758. sType: StructureType,
  4759. pNext: rawptr,
  4760. shaderEarlyAndLateFragmentTests: b32,
  4761. }
  4762. PhysicalDeviceFragmentShadingRateEnumsFeaturesNV :: struct {
  4763. sType: StructureType,
  4764. pNext: rawptr,
  4765. fragmentShadingRateEnums: b32,
  4766. supersampleFragmentShadingRates: b32,
  4767. noInvocationFragmentShadingRates: b32,
  4768. }
  4769. PhysicalDeviceFragmentShadingRateEnumsPropertiesNV :: struct {
  4770. sType: StructureType,
  4771. pNext: rawptr,
  4772. maxFragmentShadingRateInvocationCount: SampleCountFlags,
  4773. }
  4774. PipelineFragmentShadingRateEnumStateCreateInfoNV :: struct {
  4775. sType: StructureType,
  4776. pNext: rawptr,
  4777. shadingRateType: FragmentShadingRateTypeNV,
  4778. shadingRate: FragmentShadingRateNV,
  4779. combinerOps: [2]FragmentShadingRateCombinerOpKHR,
  4780. }
  4781. DeviceOrHostAddressConstKHR :: struct #raw_union {
  4782. deviceAddress: DeviceAddress,
  4783. hostAddress: rawptr,
  4784. }
  4785. AccelerationStructureGeometryMotionTrianglesDataNV :: struct {
  4786. sType: StructureType,
  4787. pNext: rawptr,
  4788. vertexData: DeviceOrHostAddressConstKHR,
  4789. }
  4790. AccelerationStructureMotionInfoNV :: struct {
  4791. sType: StructureType,
  4792. pNext: rawptr,
  4793. maxInstances: u32,
  4794. flags: AccelerationStructureMotionInfoFlagsNV,
  4795. }
  4796. AccelerationStructureMatrixMotionInstanceNV :: struct {
  4797. transformT0: TransformMatrixKHR,
  4798. transformT1: TransformMatrixKHR,
  4799. accelerationStructureReference: u64,
  4800. }
  4801. SRTDataNV :: struct {
  4802. sx: f32,
  4803. a: f32,
  4804. b: f32,
  4805. pvx: f32,
  4806. sy: f32,
  4807. c: f32,
  4808. pvy: f32,
  4809. sz: f32,
  4810. pvz: f32,
  4811. qx: f32,
  4812. qy: f32,
  4813. qz: f32,
  4814. qw: f32,
  4815. tx: f32,
  4816. ty: f32,
  4817. tz: f32,
  4818. }
  4819. AccelerationStructureSRTMotionInstanceNV :: struct {
  4820. transformT0: SRTDataNV,
  4821. transformT1: SRTDataNV,
  4822. accelerationStructureReference: u64,
  4823. }
  4824. AccelerationStructureMotionInstanceDataNV :: struct #raw_union {
  4825. staticInstance: AccelerationStructureInstanceKHR,
  4826. matrixMotionInstance: AccelerationStructureMatrixMotionInstanceNV,
  4827. srtMotionInstance: AccelerationStructureSRTMotionInstanceNV,
  4828. }
  4829. AccelerationStructureMotionInstanceNV :: struct {
  4830. type: AccelerationStructureMotionInstanceTypeNV,
  4831. flags: AccelerationStructureMotionInstanceFlagsNV,
  4832. data: AccelerationStructureMotionInstanceDataNV,
  4833. }
  4834. PhysicalDeviceRayTracingMotionBlurFeaturesNV :: struct {
  4835. sType: StructureType,
  4836. pNext: rawptr,
  4837. rayTracingMotionBlur: b32,
  4838. rayTracingMotionBlurPipelineTraceRaysIndirect: b32,
  4839. }
  4840. PhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT :: struct {
  4841. sType: StructureType,
  4842. pNext: rawptr,
  4843. ycbcr2plane444Formats: b32,
  4844. }
  4845. PhysicalDeviceFragmentDensityMap2FeaturesEXT :: struct {
  4846. sType: StructureType,
  4847. pNext: rawptr,
  4848. fragmentDensityMapDeferred: b32,
  4849. }
  4850. PhysicalDeviceFragmentDensityMap2PropertiesEXT :: struct {
  4851. sType: StructureType,
  4852. pNext: rawptr,
  4853. subsampledLoads: b32,
  4854. subsampledCoarseReconstructionEarlyAccess: b32,
  4855. maxSubsampledArrayLayers: u32,
  4856. maxDescriptorSetSubsampledSamplers: u32,
  4857. }
  4858. CopyCommandTransformInfoQCOM :: struct {
  4859. sType: StructureType,
  4860. pNext: rawptr,
  4861. transform: SurfaceTransformFlagsKHR,
  4862. }
  4863. PhysicalDeviceImageCompressionControlFeaturesEXT :: struct {
  4864. sType: StructureType,
  4865. pNext: rawptr,
  4866. imageCompressionControl: b32,
  4867. }
  4868. ImageCompressionControlEXT :: struct {
  4869. sType: StructureType,
  4870. pNext: rawptr,
  4871. flags: ImageCompressionFlagsEXT,
  4872. compressionControlPlaneCount: u32,
  4873. pFixedRateFlags: [^]ImageCompressionFixedRateFlagsEXT,
  4874. }
  4875. SubresourceLayout2EXT :: struct {
  4876. sType: StructureType,
  4877. pNext: rawptr,
  4878. subresourceLayout: SubresourceLayout,
  4879. }
  4880. ImageSubresource2EXT :: struct {
  4881. sType: StructureType,
  4882. pNext: rawptr,
  4883. imageSubresource: ImageSubresource,
  4884. }
  4885. ImageCompressionPropertiesEXT :: struct {
  4886. sType: StructureType,
  4887. pNext: rawptr,
  4888. imageCompressionFlags: ImageCompressionFlagsEXT,
  4889. imageCompressionFixedRateFlags: ImageCompressionFixedRateFlagsEXT,
  4890. }
  4891. PhysicalDeviceAttachmentFeedbackLoopLayoutFeaturesEXT :: struct {
  4892. sType: StructureType,
  4893. pNext: rawptr,
  4894. attachmentFeedbackLoopLayout: b32,
  4895. }
  4896. PhysicalDevice4444FormatsFeaturesEXT :: struct {
  4897. sType: StructureType,
  4898. pNext: rawptr,
  4899. formatA4R4G4B4: b32,
  4900. formatA4B4G4R4: b32,
  4901. }
  4902. PhysicalDeviceFaultFeaturesEXT :: struct {
  4903. sType: StructureType,
  4904. pNext: rawptr,
  4905. deviceFault: b32,
  4906. deviceFaultVendorBinary: b32,
  4907. }
  4908. DeviceFaultCountsEXT :: struct {
  4909. sType: StructureType,
  4910. pNext: rawptr,
  4911. addressInfoCount: u32,
  4912. vendorInfoCount: u32,
  4913. vendorBinarySize: DeviceSize,
  4914. }
  4915. DeviceFaultAddressInfoEXT :: struct {
  4916. addressType: DeviceFaultAddressTypeEXT,
  4917. reportedAddress: DeviceAddress,
  4918. addressPrecision: DeviceSize,
  4919. }
  4920. DeviceFaultVendorInfoEXT :: struct {
  4921. description: [MAX_DESCRIPTION_SIZE]byte,
  4922. vendorFaultCode: u64,
  4923. vendorFaultData: u64,
  4924. }
  4925. DeviceFaultInfoEXT :: struct {
  4926. sType: StructureType,
  4927. pNext: rawptr,
  4928. description: [MAX_DESCRIPTION_SIZE]byte,
  4929. pAddressInfos: [^]DeviceFaultAddressInfoEXT,
  4930. pVendorInfos: [^]DeviceFaultVendorInfoEXT,
  4931. pVendorBinaryData: rawptr,
  4932. }
  4933. DeviceFaultVendorBinaryHeaderVersionOneEXT :: struct {
  4934. headerSize: u32,
  4935. headerVersion: DeviceFaultVendorBinaryHeaderVersionEXT,
  4936. vendorID: u32,
  4937. deviceID: u32,
  4938. driverVersion: u32,
  4939. pipelineCacheUUID: [UUID_SIZE]u8,
  4940. applicationNameOffset: u32,
  4941. applicationVersion: u32,
  4942. engineNameOffset: u32,
  4943. engineVersion: u32,
  4944. apiVersion: u32,
  4945. }
  4946. PhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT :: struct {
  4947. sType: StructureType,
  4948. pNext: rawptr,
  4949. rasterizationOrderColorAttachmentAccess: b32,
  4950. rasterizationOrderDepthAttachmentAccess: b32,
  4951. rasterizationOrderStencilAttachmentAccess: b32,
  4952. }
  4953. PhysicalDeviceRGBA10X6FormatsFeaturesEXT :: struct {
  4954. sType: StructureType,
  4955. pNext: rawptr,
  4956. formatRgba10x6WithoutYCbCrSampler: b32,
  4957. }
  4958. PhysicalDeviceMutableDescriptorTypeFeaturesEXT :: struct {
  4959. sType: StructureType,
  4960. pNext: rawptr,
  4961. mutableDescriptorType: b32,
  4962. }
  4963. MutableDescriptorTypeListEXT :: struct {
  4964. descriptorTypeCount: u32,
  4965. pDescriptorTypes: [^]DescriptorType,
  4966. }
  4967. MutableDescriptorTypeCreateInfoEXT :: struct {
  4968. sType: StructureType,
  4969. pNext: rawptr,
  4970. mutableDescriptorTypeListCount: u32,
  4971. pMutableDescriptorTypeLists: [^]MutableDescriptorTypeListEXT,
  4972. }
  4973. PhysicalDeviceVertexInputDynamicStateFeaturesEXT :: struct {
  4974. sType: StructureType,
  4975. pNext: rawptr,
  4976. vertexInputDynamicState: b32,
  4977. }
  4978. VertexInputBindingDescription2EXT :: struct {
  4979. sType: StructureType,
  4980. pNext: rawptr,
  4981. binding: u32,
  4982. stride: u32,
  4983. inputRate: VertexInputRate,
  4984. divisor: u32,
  4985. }
  4986. VertexInputAttributeDescription2EXT :: struct {
  4987. sType: StructureType,
  4988. pNext: rawptr,
  4989. location: u32,
  4990. binding: u32,
  4991. format: Format,
  4992. offset: u32,
  4993. }
  4994. PhysicalDeviceDrmPropertiesEXT :: struct {
  4995. sType: StructureType,
  4996. pNext: rawptr,
  4997. hasPrimary: b32,
  4998. hasRender: b32,
  4999. primaryMajor: i64,
  5000. primaryMinor: i64,
  5001. renderMajor: i64,
  5002. renderMinor: i64,
  5003. }
  5004. PhysicalDeviceAddressBindingReportFeaturesEXT :: struct {
  5005. sType: StructureType,
  5006. pNext: rawptr,
  5007. reportAddressBinding: b32,
  5008. }
  5009. DeviceAddressBindingCallbackDataEXT :: struct {
  5010. sType: StructureType,
  5011. pNext: rawptr,
  5012. flags: DeviceAddressBindingFlagsEXT,
  5013. baseAddress: DeviceAddress,
  5014. size: DeviceSize,
  5015. bindingType: DeviceAddressBindingTypeEXT,
  5016. }
  5017. PhysicalDeviceDepthClipControlFeaturesEXT :: struct {
  5018. sType: StructureType,
  5019. pNext: rawptr,
  5020. depthClipControl: b32,
  5021. }
  5022. PipelineViewportDepthClipControlCreateInfoEXT :: struct {
  5023. sType: StructureType,
  5024. pNext: rawptr,
  5025. negativeOneToOne: b32,
  5026. }
  5027. PhysicalDevicePrimitiveTopologyListRestartFeaturesEXT :: struct {
  5028. sType: StructureType,
  5029. pNext: rawptr,
  5030. primitiveTopologyListRestart: b32,
  5031. primitiveTopologyPatchListRestart: b32,
  5032. }
  5033. SubpassShadingPipelineCreateInfoHUAWEI :: struct {
  5034. sType: StructureType,
  5035. pNext: rawptr,
  5036. renderPass: RenderPass,
  5037. subpass: u32,
  5038. }
  5039. PhysicalDeviceSubpassShadingFeaturesHUAWEI :: struct {
  5040. sType: StructureType,
  5041. pNext: rawptr,
  5042. subpassShading: b32,
  5043. }
  5044. PhysicalDeviceSubpassShadingPropertiesHUAWEI :: struct {
  5045. sType: StructureType,
  5046. pNext: rawptr,
  5047. maxSubpassShadingWorkgroupSizeAspectRatio: u32,
  5048. }
  5049. PhysicalDeviceInvocationMaskFeaturesHUAWEI :: struct {
  5050. sType: StructureType,
  5051. pNext: rawptr,
  5052. invocationMask: b32,
  5053. }
  5054. MemoryGetRemoteAddressInfoNV :: struct {
  5055. sType: StructureType,
  5056. pNext: rawptr,
  5057. memory: DeviceMemory,
  5058. handleType: ExternalMemoryHandleTypeFlags,
  5059. }
  5060. PhysicalDeviceExternalMemoryRDMAFeaturesNV :: struct {
  5061. sType: StructureType,
  5062. pNext: rawptr,
  5063. externalMemoryRDMA: b32,
  5064. }
  5065. PipelinePropertiesIdentifierEXT :: struct {
  5066. sType: StructureType,
  5067. pNext: rawptr,
  5068. pipelineIdentifier: [UUID_SIZE]u8,
  5069. }
  5070. PhysicalDevicePipelinePropertiesFeaturesEXT :: struct {
  5071. sType: StructureType,
  5072. pNext: rawptr,
  5073. pipelinePropertiesIdentifier: b32,
  5074. }
  5075. PhysicalDeviceMultisampledRenderToSingleSampledFeaturesEXT :: struct {
  5076. sType: StructureType,
  5077. pNext: rawptr,
  5078. multisampledRenderToSingleSampled: b32,
  5079. }
  5080. SubpassResolvePerformanceQueryEXT :: struct {
  5081. sType: StructureType,
  5082. pNext: rawptr,
  5083. optimal: b32,
  5084. }
  5085. MultisampledRenderToSingleSampledInfoEXT :: struct {
  5086. sType: StructureType,
  5087. pNext: rawptr,
  5088. multisampledRenderToSingleSampledEnable: b32,
  5089. rasterizationSamples: SampleCountFlags,
  5090. }
  5091. PhysicalDeviceExtendedDynamicState2FeaturesEXT :: struct {
  5092. sType: StructureType,
  5093. pNext: rawptr,
  5094. extendedDynamicState2: b32,
  5095. extendedDynamicState2LogicOp: b32,
  5096. extendedDynamicState2PatchControlPoints: b32,
  5097. }
  5098. PhysicalDeviceColorWriteEnableFeaturesEXT :: struct {
  5099. sType: StructureType,
  5100. pNext: rawptr,
  5101. colorWriteEnable: b32,
  5102. }
  5103. PipelineColorWriteCreateInfoEXT :: struct {
  5104. sType: StructureType,
  5105. pNext: rawptr,
  5106. attachmentCount: u32,
  5107. pColorWriteEnables: [^]b32,
  5108. }
  5109. PhysicalDevicePrimitivesGeneratedQueryFeaturesEXT :: struct {
  5110. sType: StructureType,
  5111. pNext: rawptr,
  5112. primitivesGeneratedQuery: b32,
  5113. primitivesGeneratedQueryWithRasterizerDiscard: b32,
  5114. primitivesGeneratedQueryWithNonZeroStreams: b32,
  5115. }
  5116. PhysicalDeviceImageViewMinLodFeaturesEXT :: struct {
  5117. sType: StructureType,
  5118. pNext: rawptr,
  5119. minLod: b32,
  5120. }
  5121. ImageViewMinLodCreateInfoEXT :: struct {
  5122. sType: StructureType,
  5123. pNext: rawptr,
  5124. minLod: f32,
  5125. }
  5126. PhysicalDeviceMultiDrawFeaturesEXT :: struct {
  5127. sType: StructureType,
  5128. pNext: rawptr,
  5129. multiDraw: b32,
  5130. }
  5131. PhysicalDeviceMultiDrawPropertiesEXT :: struct {
  5132. sType: StructureType,
  5133. pNext: rawptr,
  5134. maxMultiDrawCount: u32,
  5135. }
  5136. MultiDrawInfoEXT :: struct {
  5137. firstVertex: u32,
  5138. vertexCount: u32,
  5139. }
  5140. MultiDrawIndexedInfoEXT :: struct {
  5141. firstIndex: u32,
  5142. indexCount: u32,
  5143. vertexOffset: i32,
  5144. }
  5145. PhysicalDeviceImage2DViewOf3DFeaturesEXT :: struct {
  5146. sType: StructureType,
  5147. pNext: rawptr,
  5148. image2DViewOf3D: b32,
  5149. sampler2DViewOf3D: b32,
  5150. }
  5151. PhysicalDeviceShaderTileImageFeaturesEXT :: struct {
  5152. sType: StructureType,
  5153. pNext: rawptr,
  5154. shaderTileImageColorReadAccess: b32,
  5155. shaderTileImageDepthReadAccess: b32,
  5156. shaderTileImageStencilReadAccess: b32,
  5157. }
  5158. PhysicalDeviceShaderTileImagePropertiesEXT :: struct {
  5159. sType: StructureType,
  5160. pNext: rawptr,
  5161. shaderTileImageCoherentReadAccelerated: b32,
  5162. shaderTileImageReadSampleFromPixelRateInvocation: b32,
  5163. shaderTileImageReadFromHelperInvocation: b32,
  5164. }
  5165. MicromapUsageEXT :: struct {
  5166. count: u32,
  5167. subdivisionLevel: u32,
  5168. format: u32,
  5169. }
  5170. DeviceOrHostAddressKHR :: struct #raw_union {
  5171. deviceAddress: DeviceAddress,
  5172. hostAddress: rawptr,
  5173. }
  5174. MicromapBuildInfoEXT :: struct {
  5175. sType: StructureType,
  5176. pNext: rawptr,
  5177. type: MicromapTypeEXT,
  5178. flags: BuildMicromapFlagsEXT,
  5179. mode: BuildMicromapModeEXT,
  5180. dstMicromap: MicromapEXT,
  5181. usageCountsCount: u32,
  5182. pUsageCounts: [^]MicromapUsageEXT,
  5183. ppUsageCounts: ^[^]MicromapUsageEXT,
  5184. data: DeviceOrHostAddressConstKHR,
  5185. scratchData: DeviceOrHostAddressKHR,
  5186. triangleArray: DeviceOrHostAddressConstKHR,
  5187. triangleArrayStride: DeviceSize,
  5188. }
  5189. MicromapCreateInfoEXT :: struct {
  5190. sType: StructureType,
  5191. pNext: rawptr,
  5192. createFlags: MicromapCreateFlagsEXT,
  5193. buffer: Buffer,
  5194. offset: DeviceSize,
  5195. size: DeviceSize,
  5196. type: MicromapTypeEXT,
  5197. deviceAddress: DeviceAddress,
  5198. }
  5199. PhysicalDeviceOpacityMicromapFeaturesEXT :: struct {
  5200. sType: StructureType,
  5201. pNext: rawptr,
  5202. micromap: b32,
  5203. micromapCaptureReplay: b32,
  5204. micromapHostCommands: b32,
  5205. }
  5206. PhysicalDeviceOpacityMicromapPropertiesEXT :: struct {
  5207. sType: StructureType,
  5208. pNext: rawptr,
  5209. maxOpacity2StateSubdivisionLevel: u32,
  5210. maxOpacity4StateSubdivisionLevel: u32,
  5211. }
  5212. MicromapVersionInfoEXT :: struct {
  5213. sType: StructureType,
  5214. pNext: rawptr,
  5215. pVersionData: ^u8,
  5216. }
  5217. CopyMicromapToMemoryInfoEXT :: struct {
  5218. sType: StructureType,
  5219. pNext: rawptr,
  5220. src: MicromapEXT,
  5221. dst: DeviceOrHostAddressKHR,
  5222. mode: CopyMicromapModeEXT,
  5223. }
  5224. CopyMemoryToMicromapInfoEXT :: struct {
  5225. sType: StructureType,
  5226. pNext: rawptr,
  5227. src: DeviceOrHostAddressConstKHR,
  5228. dst: MicromapEXT,
  5229. mode: CopyMicromapModeEXT,
  5230. }
  5231. CopyMicromapInfoEXT :: struct {
  5232. sType: StructureType,
  5233. pNext: rawptr,
  5234. src: MicromapEXT,
  5235. dst: MicromapEXT,
  5236. mode: CopyMicromapModeEXT,
  5237. }
  5238. MicromapBuildSizesInfoEXT :: struct {
  5239. sType: StructureType,
  5240. pNext: rawptr,
  5241. micromapSize: DeviceSize,
  5242. buildScratchSize: DeviceSize,
  5243. discardable: b32,
  5244. }
  5245. AccelerationStructureTrianglesOpacityMicromapEXT :: struct {
  5246. sType: StructureType,
  5247. pNext: rawptr,
  5248. indexType: IndexType,
  5249. indexBuffer: DeviceOrHostAddressConstKHR,
  5250. indexStride: DeviceSize,
  5251. baseTriangle: u32,
  5252. usageCountsCount: u32,
  5253. pUsageCounts: [^]MicromapUsageEXT,
  5254. ppUsageCounts: ^[^]MicromapUsageEXT,
  5255. micromap: MicromapEXT,
  5256. }
  5257. MicromapTriangleEXT :: struct {
  5258. dataOffset: u32,
  5259. subdivisionLevel: u16,
  5260. format: u16,
  5261. }
  5262. PhysicalDeviceClusterCullingShaderFeaturesHUAWEI :: struct {
  5263. sType: StructureType,
  5264. pNext: rawptr,
  5265. clustercullingShader: b32,
  5266. multiviewClusterCullingShader: b32,
  5267. }
  5268. PhysicalDeviceClusterCullingShaderPropertiesHUAWEI :: struct {
  5269. sType: StructureType,
  5270. pNext: rawptr,
  5271. maxWorkGroupCount: [3]u32,
  5272. maxWorkGroupSize: [3]u32,
  5273. maxOutputClusterCount: u32,
  5274. indirectBufferOffsetAlignment: DeviceSize,
  5275. }
  5276. PhysicalDeviceBorderColorSwizzleFeaturesEXT :: struct {
  5277. sType: StructureType,
  5278. pNext: rawptr,
  5279. borderColorSwizzle: b32,
  5280. borderColorSwizzleFromImage: b32,
  5281. }
  5282. SamplerBorderColorComponentMappingCreateInfoEXT :: struct {
  5283. sType: StructureType,
  5284. pNext: rawptr,
  5285. components: ComponentMapping,
  5286. srgb: b32,
  5287. }
  5288. PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT :: struct {
  5289. sType: StructureType,
  5290. pNext: rawptr,
  5291. pageableDeviceLocalMemory: b32,
  5292. }
  5293. PhysicalDeviceShaderCorePropertiesARM :: struct {
  5294. sType: StructureType,
  5295. pNext: rawptr,
  5296. pixelRate: u32,
  5297. texelRate: u32,
  5298. fmaRate: u32,
  5299. }
  5300. PhysicalDeviceImageSlicedViewOf3DFeaturesEXT :: struct {
  5301. sType: StructureType,
  5302. pNext: rawptr,
  5303. imageSlicedViewOf3D: b32,
  5304. }
  5305. ImageViewSlicedCreateInfoEXT :: struct {
  5306. sType: StructureType,
  5307. pNext: rawptr,
  5308. sliceOffset: u32,
  5309. sliceCount: u32,
  5310. }
  5311. PhysicalDeviceDescriptorSetHostMappingFeaturesVALVE :: struct {
  5312. sType: StructureType,
  5313. pNext: rawptr,
  5314. descriptorSetHostMapping: b32,
  5315. }
  5316. DescriptorSetBindingReferenceVALVE :: struct {
  5317. sType: StructureType,
  5318. pNext: rawptr,
  5319. descriptorSetLayout: DescriptorSetLayout,
  5320. binding: u32,
  5321. }
  5322. DescriptorSetLayoutHostMappingInfoVALVE :: struct {
  5323. sType: StructureType,
  5324. pNext: rawptr,
  5325. descriptorOffset: int,
  5326. descriptorSize: u32,
  5327. }
  5328. PhysicalDeviceDepthClampZeroOneFeaturesEXT :: struct {
  5329. sType: StructureType,
  5330. pNext: rawptr,
  5331. depthClampZeroOne: b32,
  5332. }
  5333. PhysicalDeviceNonSeamlessCubeMapFeaturesEXT :: struct {
  5334. sType: StructureType,
  5335. pNext: rawptr,
  5336. nonSeamlessCubeMap: b32,
  5337. }
  5338. PhysicalDeviceFragmentDensityMapOffsetFeaturesQCOM :: struct {
  5339. sType: StructureType,
  5340. pNext: rawptr,
  5341. fragmentDensityMapOffset: b32,
  5342. }
  5343. PhysicalDeviceFragmentDensityMapOffsetPropertiesQCOM :: struct {
  5344. sType: StructureType,
  5345. pNext: rawptr,
  5346. fragmentDensityOffsetGranularity: Extent2D,
  5347. }
  5348. SubpassFragmentDensityMapOffsetEndInfoQCOM :: struct {
  5349. sType: StructureType,
  5350. pNext: rawptr,
  5351. fragmentDensityOffsetCount: u32,
  5352. pFragmentDensityOffsets: [^]Offset2D,
  5353. }
  5354. CopyMemoryIndirectCommandNV :: struct {
  5355. srcAddress: DeviceAddress,
  5356. dstAddress: DeviceAddress,
  5357. size: DeviceSize,
  5358. }
  5359. CopyMemoryToImageIndirectCommandNV :: struct {
  5360. srcAddress: DeviceAddress,
  5361. bufferRowLength: u32,
  5362. bufferImageHeight: u32,
  5363. imageSubresource: ImageSubresourceLayers,
  5364. imageOffset: Offset3D,
  5365. imageExtent: Extent3D,
  5366. }
  5367. PhysicalDeviceCopyMemoryIndirectFeaturesNV :: struct {
  5368. sType: StructureType,
  5369. pNext: rawptr,
  5370. indirectCopy: b32,
  5371. }
  5372. PhysicalDeviceCopyMemoryIndirectPropertiesNV :: struct {
  5373. sType: StructureType,
  5374. pNext: rawptr,
  5375. supportedQueues: QueueFlags,
  5376. }
  5377. DecompressMemoryRegionNV :: struct {
  5378. srcAddress: DeviceAddress,
  5379. dstAddress: DeviceAddress,
  5380. compressedSize: DeviceSize,
  5381. decompressedSize: DeviceSize,
  5382. decompressionMethod: MemoryDecompressionMethodFlagsNV,
  5383. }
  5384. PhysicalDeviceMemoryDecompressionFeaturesNV :: struct {
  5385. sType: StructureType,
  5386. pNext: rawptr,
  5387. memoryDecompression: b32,
  5388. }
  5389. PhysicalDeviceMemoryDecompressionPropertiesNV :: struct {
  5390. sType: StructureType,
  5391. pNext: rawptr,
  5392. decompressionMethods: MemoryDecompressionMethodFlagsNV,
  5393. maxDecompressionIndirectCount: u64,
  5394. }
  5395. PhysicalDeviceLinearColorAttachmentFeaturesNV :: struct {
  5396. sType: StructureType,
  5397. pNext: rawptr,
  5398. linearColorAttachment: b32,
  5399. }
  5400. PhysicalDeviceImageCompressionControlSwapchainFeaturesEXT :: struct {
  5401. sType: StructureType,
  5402. pNext: rawptr,
  5403. imageCompressionControlSwapchain: b32,
  5404. }
  5405. ImageViewSampleWeightCreateInfoQCOM :: struct {
  5406. sType: StructureType,
  5407. pNext: rawptr,
  5408. filterCenter: Offset2D,
  5409. filterSize: Extent2D,
  5410. numPhases: u32,
  5411. }
  5412. PhysicalDeviceImageProcessingFeaturesQCOM :: struct {
  5413. sType: StructureType,
  5414. pNext: rawptr,
  5415. textureSampleWeighted: b32,
  5416. textureBoxFilter: b32,
  5417. textureBlockMatch: b32,
  5418. }
  5419. PhysicalDeviceImageProcessingPropertiesQCOM :: struct {
  5420. sType: StructureType,
  5421. pNext: rawptr,
  5422. maxWeightFilterPhases: u32,
  5423. maxWeightFilterDimension: Extent2D,
  5424. maxBlockMatchRegion: Extent2D,
  5425. maxBoxFilterBlockSize: Extent2D,
  5426. }
  5427. PhysicalDeviceExtendedDynamicState3FeaturesEXT :: struct {
  5428. sType: StructureType,
  5429. pNext: rawptr,
  5430. extendedDynamicState3TessellationDomainOrigin: b32,
  5431. extendedDynamicState3DepthClampEnable: b32,
  5432. extendedDynamicState3PolygonMode: b32,
  5433. extendedDynamicState3RasterizationSamples: b32,
  5434. extendedDynamicState3SampleMask: b32,
  5435. extendedDynamicState3AlphaToCoverageEnable: b32,
  5436. extendedDynamicState3AlphaToOneEnable: b32,
  5437. extendedDynamicState3LogicOpEnable: b32,
  5438. extendedDynamicState3ColorBlendEnable: b32,
  5439. extendedDynamicState3ColorBlendEquation: b32,
  5440. extendedDynamicState3ColorWriteMask: b32,
  5441. extendedDynamicState3RasterizationStream: b32,
  5442. extendedDynamicState3ConservativeRasterizationMode: b32,
  5443. extendedDynamicState3ExtraPrimitiveOverestimationSize: b32,
  5444. extendedDynamicState3DepthClipEnable: b32,
  5445. extendedDynamicState3SampleLocationsEnable: b32,
  5446. extendedDynamicState3ColorBlendAdvanced: b32,
  5447. extendedDynamicState3ProvokingVertexMode: b32,
  5448. extendedDynamicState3LineRasterizationMode: b32,
  5449. extendedDynamicState3LineStippleEnable: b32,
  5450. extendedDynamicState3DepthClipNegativeOneToOne: b32,
  5451. extendedDynamicState3ViewportWScalingEnable: b32,
  5452. extendedDynamicState3ViewportSwizzle: b32,
  5453. extendedDynamicState3CoverageToColorEnable: b32,
  5454. extendedDynamicState3CoverageToColorLocation: b32,
  5455. extendedDynamicState3CoverageModulationMode: b32,
  5456. extendedDynamicState3CoverageModulationTableEnable: b32,
  5457. extendedDynamicState3CoverageModulationTable: b32,
  5458. extendedDynamicState3CoverageReductionMode: b32,
  5459. extendedDynamicState3RepresentativeFragmentTestEnable: b32,
  5460. extendedDynamicState3ShadingRateImageEnable: b32,
  5461. }
  5462. PhysicalDeviceExtendedDynamicState3PropertiesEXT :: struct {
  5463. sType: StructureType,
  5464. pNext: rawptr,
  5465. dynamicPrimitiveTopologyUnrestricted: b32,
  5466. }
  5467. ColorBlendEquationEXT :: struct {
  5468. srcColorBlendFactor: BlendFactor,
  5469. dstColorBlendFactor: BlendFactor,
  5470. colorBlendOp: BlendOp,
  5471. srcAlphaBlendFactor: BlendFactor,
  5472. dstAlphaBlendFactor: BlendFactor,
  5473. alphaBlendOp: BlendOp,
  5474. }
  5475. ColorBlendAdvancedEXT :: struct {
  5476. advancedBlendOp: BlendOp,
  5477. srcPremultiplied: b32,
  5478. dstPremultiplied: b32,
  5479. blendOverlap: BlendOverlapEXT,
  5480. clampResults: b32,
  5481. }
  5482. PhysicalDeviceSubpassMergeFeedbackFeaturesEXT :: struct {
  5483. sType: StructureType,
  5484. pNext: rawptr,
  5485. subpassMergeFeedback: b32,
  5486. }
  5487. RenderPassCreationControlEXT :: struct {
  5488. sType: StructureType,
  5489. pNext: rawptr,
  5490. disallowMerging: b32,
  5491. }
  5492. RenderPassCreationFeedbackInfoEXT :: struct {
  5493. postMergeSubpassCount: u32,
  5494. }
  5495. RenderPassCreationFeedbackCreateInfoEXT :: struct {
  5496. sType: StructureType,
  5497. pNext: rawptr,
  5498. pRenderPassFeedback: ^RenderPassCreationFeedbackInfoEXT,
  5499. }
  5500. RenderPassSubpassFeedbackInfoEXT :: struct {
  5501. subpassMergeStatus: SubpassMergeStatusEXT,
  5502. description: [MAX_DESCRIPTION_SIZE]byte,
  5503. postMergeIndex: u32,
  5504. }
  5505. RenderPassSubpassFeedbackCreateInfoEXT :: struct {
  5506. sType: StructureType,
  5507. pNext: rawptr,
  5508. pSubpassFeedback: ^RenderPassSubpassFeedbackInfoEXT,
  5509. }
  5510. DirectDriverLoadingInfoLUNARG :: struct {
  5511. sType: StructureType,
  5512. pNext: rawptr,
  5513. flags: DirectDriverLoadingFlagsLUNARG,
  5514. pfnGetInstanceProcAddr: ProcGetInstanceProcAddrLUNARG,
  5515. }
  5516. DirectDriverLoadingListLUNARG :: struct {
  5517. sType: StructureType,
  5518. pNext: rawptr,
  5519. mode: DirectDriverLoadingModeLUNARG,
  5520. driverCount: u32,
  5521. pDrivers: [^]DirectDriverLoadingInfoLUNARG,
  5522. }
  5523. PhysicalDeviceShaderModuleIdentifierFeaturesEXT :: struct {
  5524. sType: StructureType,
  5525. pNext: rawptr,
  5526. shaderModuleIdentifier: b32,
  5527. }
  5528. PhysicalDeviceShaderModuleIdentifierPropertiesEXT :: struct {
  5529. sType: StructureType,
  5530. pNext: rawptr,
  5531. shaderModuleIdentifierAlgorithmUUID: [UUID_SIZE]u8,
  5532. }
  5533. PipelineShaderStageModuleIdentifierCreateInfoEXT :: struct {
  5534. sType: StructureType,
  5535. pNext: rawptr,
  5536. identifierSize: u32,
  5537. pIdentifier: ^u8,
  5538. }
  5539. ShaderModuleIdentifierEXT :: struct {
  5540. sType: StructureType,
  5541. pNext: rawptr,
  5542. identifierSize: u32,
  5543. identifier: [MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT]u8,
  5544. }
  5545. PhysicalDeviceOpticalFlowFeaturesNV :: struct {
  5546. sType: StructureType,
  5547. pNext: rawptr,
  5548. opticalFlow: b32,
  5549. }
  5550. PhysicalDeviceOpticalFlowPropertiesNV :: struct {
  5551. sType: StructureType,
  5552. pNext: rawptr,
  5553. supportedOutputGridSizes: OpticalFlowGridSizeFlagsNV,
  5554. supportedHintGridSizes: OpticalFlowGridSizeFlagsNV,
  5555. hintSupported: b32,
  5556. costSupported: b32,
  5557. bidirectionalFlowSupported: b32,
  5558. globalFlowSupported: b32,
  5559. minWidth: u32,
  5560. minHeight: u32,
  5561. maxWidth: u32,
  5562. maxHeight: u32,
  5563. maxNumRegionsOfInterest: u32,
  5564. }
  5565. OpticalFlowImageFormatInfoNV :: struct {
  5566. sType: StructureType,
  5567. pNext: rawptr,
  5568. usage: OpticalFlowUsageFlagsNV,
  5569. }
  5570. OpticalFlowImageFormatPropertiesNV :: struct {
  5571. sType: StructureType,
  5572. pNext: rawptr,
  5573. format: Format,
  5574. }
  5575. OpticalFlowSessionCreateInfoNV :: struct {
  5576. sType: StructureType,
  5577. pNext: rawptr,
  5578. width: u32,
  5579. height: u32,
  5580. imageFormat: Format,
  5581. flowVectorFormat: Format,
  5582. costFormat: Format,
  5583. outputGridSize: OpticalFlowGridSizeFlagsNV,
  5584. hintGridSize: OpticalFlowGridSizeFlagsNV,
  5585. performanceLevel: OpticalFlowPerformanceLevelNV,
  5586. flags: OpticalFlowSessionCreateFlagsNV,
  5587. }
  5588. OpticalFlowSessionCreatePrivateDataInfoNV :: struct {
  5589. sType: StructureType,
  5590. pNext: rawptr,
  5591. id: u32,
  5592. size: u32,
  5593. pPrivateData: rawptr,
  5594. }
  5595. OpticalFlowExecuteInfoNV :: struct {
  5596. sType: StructureType,
  5597. pNext: rawptr,
  5598. flags: OpticalFlowExecuteFlagsNV,
  5599. regionCount: u32,
  5600. pRegions: [^]Rect2D,
  5601. }
  5602. PhysicalDeviceLegacyDitheringFeaturesEXT :: struct {
  5603. sType: StructureType,
  5604. pNext: rawptr,
  5605. legacyDithering: b32,
  5606. }
  5607. PhysicalDevicePipelineProtectedAccessFeaturesEXT :: struct {
  5608. sType: StructureType,
  5609. pNext: rawptr,
  5610. pipelineProtectedAccess: b32,
  5611. }
  5612. PhysicalDeviceShaderObjectFeaturesEXT :: struct {
  5613. sType: StructureType,
  5614. pNext: rawptr,
  5615. shaderObject: b32,
  5616. }
  5617. PhysicalDeviceShaderObjectPropertiesEXT :: struct {
  5618. sType: StructureType,
  5619. pNext: rawptr,
  5620. shaderBinaryUUID: [UUID_SIZE]u8,
  5621. shaderBinaryVersion: u32,
  5622. }
  5623. ShaderCreateInfoEXT :: struct {
  5624. sType: StructureType,
  5625. pNext: rawptr,
  5626. flags: ShaderCreateFlagsEXT,
  5627. stage: ShaderStageFlags,
  5628. nextStage: ShaderStageFlags,
  5629. codeType: ShaderCodeTypeEXT,
  5630. codeSize: int,
  5631. pCode: rawptr,
  5632. pName: cstring,
  5633. setLayoutCount: u32,
  5634. pSetLayouts: [^]DescriptorSetLayout,
  5635. pushConstantRangeCount: u32,
  5636. pPushConstantRanges: [^]PushConstantRange,
  5637. pSpecializationInfo: ^SpecializationInfo,
  5638. }
  5639. PhysicalDeviceTilePropertiesFeaturesQCOM :: struct {
  5640. sType: StructureType,
  5641. pNext: rawptr,
  5642. tileProperties: b32,
  5643. }
  5644. TilePropertiesQCOM :: struct {
  5645. sType: StructureType,
  5646. pNext: rawptr,
  5647. tileSize: Extent3D,
  5648. apronSize: Extent2D,
  5649. origin: Offset2D,
  5650. }
  5651. PhysicalDeviceAmigoProfilingFeaturesSEC :: struct {
  5652. sType: StructureType,
  5653. pNext: rawptr,
  5654. amigoProfiling: b32,
  5655. }
  5656. AmigoProfilingSubmitInfoSEC :: struct {
  5657. sType: StructureType,
  5658. pNext: rawptr,
  5659. firstDrawTimestamp: u64,
  5660. swapBufferTimestamp: u64,
  5661. }
  5662. PhysicalDeviceMultiviewPerViewViewportsFeaturesQCOM :: struct {
  5663. sType: StructureType,
  5664. pNext: rawptr,
  5665. multiviewPerViewViewports: b32,
  5666. }
  5667. PhysicalDeviceRayTracingInvocationReorderPropertiesNV :: struct {
  5668. sType: StructureType,
  5669. pNext: rawptr,
  5670. rayTracingInvocationReorderReorderingHint: RayTracingInvocationReorderModeNV,
  5671. }
  5672. PhysicalDeviceRayTracingInvocationReorderFeaturesNV :: struct {
  5673. sType: StructureType,
  5674. pNext: rawptr,
  5675. rayTracingInvocationReorder: b32,
  5676. }
  5677. PhysicalDeviceShaderCoreBuiltinsFeaturesARM :: struct {
  5678. sType: StructureType,
  5679. pNext: rawptr,
  5680. shaderCoreBuiltins: b32,
  5681. }
  5682. PhysicalDeviceShaderCoreBuiltinsPropertiesARM :: struct {
  5683. sType: StructureType,
  5684. pNext: rawptr,
  5685. shaderCoreMask: u64,
  5686. shaderCoreCount: u32,
  5687. shaderWarpsPerCore: u32,
  5688. }
  5689. PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT :: struct {
  5690. sType: StructureType,
  5691. pNext: rawptr,
  5692. pipelineLibraryGroupHandles: b32,
  5693. }
  5694. PhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM :: struct {
  5695. sType: StructureType,
  5696. pNext: rawptr,
  5697. multiviewPerViewRenderAreas: b32,
  5698. }
  5699. MultiviewPerViewRenderAreasRenderPassBeginInfoQCOM :: struct {
  5700. sType: StructureType,
  5701. pNext: rawptr,
  5702. perViewRenderAreaCount: u32,
  5703. pPerViewRenderAreas: [^]Rect2D,
  5704. }
  5705. PhysicalDeviceAttachmentFeedbackLoopDynamicStateFeaturesEXT :: struct {
  5706. sType: StructureType,
  5707. pNext: rawptr,
  5708. attachmentFeedbackLoopDynamicState: b32,
  5709. }
  5710. AccelerationStructureBuildRangeInfoKHR :: struct {
  5711. primitiveCount: u32,
  5712. primitiveOffset: u32,
  5713. firstVertex: u32,
  5714. transformOffset: u32,
  5715. }
  5716. AccelerationStructureGeometryTrianglesDataKHR :: struct {
  5717. sType: StructureType,
  5718. pNext: rawptr,
  5719. vertexFormat: Format,
  5720. vertexData: DeviceOrHostAddressConstKHR,
  5721. vertexStride: DeviceSize,
  5722. maxVertex: u32,
  5723. indexType: IndexType,
  5724. indexData: DeviceOrHostAddressConstKHR,
  5725. transformData: DeviceOrHostAddressConstKHR,
  5726. }
  5727. AccelerationStructureGeometryAabbsDataKHR :: struct {
  5728. sType: StructureType,
  5729. pNext: rawptr,
  5730. data: DeviceOrHostAddressConstKHR,
  5731. stride: DeviceSize,
  5732. }
  5733. AccelerationStructureGeometryInstancesDataKHR :: struct {
  5734. sType: StructureType,
  5735. pNext: rawptr,
  5736. arrayOfPointers: b32,
  5737. data: DeviceOrHostAddressConstKHR,
  5738. }
  5739. AccelerationStructureGeometryDataKHR :: struct #raw_union {
  5740. triangles: AccelerationStructureGeometryTrianglesDataKHR,
  5741. aabbs: AccelerationStructureGeometryAabbsDataKHR,
  5742. instances: AccelerationStructureGeometryInstancesDataKHR,
  5743. }
  5744. AccelerationStructureGeometryKHR :: struct {
  5745. sType: StructureType,
  5746. pNext: rawptr,
  5747. geometryType: GeometryTypeKHR,
  5748. geometry: AccelerationStructureGeometryDataKHR,
  5749. flags: GeometryFlagsKHR,
  5750. }
  5751. AccelerationStructureBuildGeometryInfoKHR :: struct {
  5752. sType: StructureType,
  5753. pNext: rawptr,
  5754. type: AccelerationStructureTypeKHR,
  5755. flags: BuildAccelerationStructureFlagsKHR,
  5756. mode: BuildAccelerationStructureModeKHR,
  5757. srcAccelerationStructure: AccelerationStructureKHR,
  5758. dstAccelerationStructure: AccelerationStructureKHR,
  5759. geometryCount: u32,
  5760. pGeometries: [^]AccelerationStructureGeometryKHR,
  5761. ppGeometries: ^[^]AccelerationStructureGeometryKHR,
  5762. scratchData: DeviceOrHostAddressKHR,
  5763. }
  5764. AccelerationStructureCreateInfoKHR :: struct {
  5765. sType: StructureType,
  5766. pNext: rawptr,
  5767. createFlags: AccelerationStructureCreateFlagsKHR,
  5768. buffer: Buffer,
  5769. offset: DeviceSize,
  5770. size: DeviceSize,
  5771. type: AccelerationStructureTypeKHR,
  5772. deviceAddress: DeviceAddress,
  5773. }
  5774. WriteDescriptorSetAccelerationStructureKHR :: struct {
  5775. sType: StructureType,
  5776. pNext: rawptr,
  5777. accelerationStructureCount: u32,
  5778. pAccelerationStructures: [^]AccelerationStructureKHR,
  5779. }
  5780. PhysicalDeviceAccelerationStructureFeaturesKHR :: struct {
  5781. sType: StructureType,
  5782. pNext: rawptr,
  5783. accelerationStructure: b32,
  5784. accelerationStructureCaptureReplay: b32,
  5785. accelerationStructureIndirectBuild: b32,
  5786. accelerationStructureHostCommands: b32,
  5787. descriptorBindingAccelerationStructureUpdateAfterBind: b32,
  5788. }
  5789. PhysicalDeviceAccelerationStructurePropertiesKHR :: struct {
  5790. sType: StructureType,
  5791. pNext: rawptr,
  5792. maxGeometryCount: u64,
  5793. maxInstanceCount: u64,
  5794. maxPrimitiveCount: u64,
  5795. maxPerStageDescriptorAccelerationStructures: u32,
  5796. maxPerStageDescriptorUpdateAfterBindAccelerationStructures: u32,
  5797. maxDescriptorSetAccelerationStructures: u32,
  5798. maxDescriptorSetUpdateAfterBindAccelerationStructures: u32,
  5799. minAccelerationStructureScratchOffsetAlignment: u32,
  5800. }
  5801. AccelerationStructureDeviceAddressInfoKHR :: struct {
  5802. sType: StructureType,
  5803. pNext: rawptr,
  5804. accelerationStructure: AccelerationStructureKHR,
  5805. }
  5806. AccelerationStructureVersionInfoKHR :: struct {
  5807. sType: StructureType,
  5808. pNext: rawptr,
  5809. pVersionData: ^u8,
  5810. }
  5811. CopyAccelerationStructureToMemoryInfoKHR :: struct {
  5812. sType: StructureType,
  5813. pNext: rawptr,
  5814. src: AccelerationStructureKHR,
  5815. dst: DeviceOrHostAddressKHR,
  5816. mode: CopyAccelerationStructureModeKHR,
  5817. }
  5818. CopyMemoryToAccelerationStructureInfoKHR :: struct {
  5819. sType: StructureType,
  5820. pNext: rawptr,
  5821. src: DeviceOrHostAddressConstKHR,
  5822. dst: AccelerationStructureKHR,
  5823. mode: CopyAccelerationStructureModeKHR,
  5824. }
  5825. CopyAccelerationStructureInfoKHR :: struct {
  5826. sType: StructureType,
  5827. pNext: rawptr,
  5828. src: AccelerationStructureKHR,
  5829. dst: AccelerationStructureKHR,
  5830. mode: CopyAccelerationStructureModeKHR,
  5831. }
  5832. AccelerationStructureBuildSizesInfoKHR :: struct {
  5833. sType: StructureType,
  5834. pNext: rawptr,
  5835. accelerationStructureSize: DeviceSize,
  5836. updateScratchSize: DeviceSize,
  5837. buildScratchSize: DeviceSize,
  5838. }
  5839. RayTracingShaderGroupCreateInfoKHR :: struct {
  5840. sType: StructureType,
  5841. pNext: rawptr,
  5842. type: RayTracingShaderGroupTypeKHR,
  5843. generalShader: u32,
  5844. closestHitShader: u32,
  5845. anyHitShader: u32,
  5846. intersectionShader: u32,
  5847. pShaderGroupCaptureReplayHandle: rawptr,
  5848. }
  5849. RayTracingPipelineInterfaceCreateInfoKHR :: struct {
  5850. sType: StructureType,
  5851. pNext: rawptr,
  5852. maxPipelineRayPayloadSize: u32,
  5853. maxPipelineRayHitAttributeSize: u32,
  5854. }
  5855. RayTracingPipelineCreateInfoKHR :: struct {
  5856. sType: StructureType,
  5857. pNext: rawptr,
  5858. flags: PipelineCreateFlags,
  5859. stageCount: u32,
  5860. pStages: [^]PipelineShaderStageCreateInfo,
  5861. groupCount: u32,
  5862. pGroups: [^]RayTracingShaderGroupCreateInfoKHR,
  5863. maxPipelineRayRecursionDepth: u32,
  5864. pLibraryInfo: ^PipelineLibraryCreateInfoKHR,
  5865. pLibraryInterface: ^RayTracingPipelineInterfaceCreateInfoKHR,
  5866. pDynamicState: ^PipelineDynamicStateCreateInfo,
  5867. layout: PipelineLayout,
  5868. basePipelineHandle: Pipeline,
  5869. basePipelineIndex: i32,
  5870. }
  5871. PhysicalDeviceRayTracingPipelineFeaturesKHR :: struct {
  5872. sType: StructureType,
  5873. pNext: rawptr,
  5874. rayTracingPipeline: b32,
  5875. rayTracingPipelineShaderGroupHandleCaptureReplay: b32,
  5876. rayTracingPipelineShaderGroupHandleCaptureReplayMixed: b32,
  5877. rayTracingPipelineTraceRaysIndirect: b32,
  5878. rayTraversalPrimitiveCulling: b32,
  5879. }
  5880. PhysicalDeviceRayTracingPipelinePropertiesKHR :: struct {
  5881. sType: StructureType,
  5882. pNext: rawptr,
  5883. shaderGroupHandleSize: u32,
  5884. maxRayRecursionDepth: u32,
  5885. maxShaderGroupStride: u32,
  5886. shaderGroupBaseAlignment: u32,
  5887. shaderGroupHandleCaptureReplaySize: u32,
  5888. maxRayDispatchInvocationCount: u32,
  5889. shaderGroupHandleAlignment: u32,
  5890. maxRayHitAttributeSize: u32,
  5891. }
  5892. StridedDeviceAddressRegionKHR :: struct {
  5893. deviceAddress: DeviceAddress,
  5894. stride: DeviceSize,
  5895. size: DeviceSize,
  5896. }
  5897. TraceRaysIndirectCommandKHR :: struct {
  5898. width: u32,
  5899. height: u32,
  5900. depth: u32,
  5901. }
  5902. PhysicalDeviceRayQueryFeaturesKHR :: struct {
  5903. sType: StructureType,
  5904. pNext: rawptr,
  5905. rayQuery: b32,
  5906. }
  5907. PhysicalDeviceMeshShaderFeaturesEXT :: struct {
  5908. sType: StructureType,
  5909. pNext: rawptr,
  5910. taskShader: b32,
  5911. meshShader: b32,
  5912. multiviewMeshShader: b32,
  5913. primitiveFragmentShadingRateMeshShader: b32,
  5914. meshShaderQueries: b32,
  5915. }
  5916. PhysicalDeviceMeshShaderPropertiesEXT :: struct {
  5917. sType: StructureType,
  5918. pNext: rawptr,
  5919. maxTaskWorkGroupTotalCount: u32,
  5920. maxTaskWorkGroupCount: [3]u32,
  5921. maxTaskWorkGroupInvocations: u32,
  5922. maxTaskWorkGroupSize: [3]u32,
  5923. maxTaskPayloadSize: u32,
  5924. maxTaskSharedMemorySize: u32,
  5925. maxTaskPayloadAndSharedMemorySize: u32,
  5926. maxMeshWorkGroupTotalCount: u32,
  5927. maxMeshWorkGroupCount: [3]u32,
  5928. maxMeshWorkGroupInvocations: u32,
  5929. maxMeshWorkGroupSize: [3]u32,
  5930. maxMeshSharedMemorySize: u32,
  5931. maxMeshPayloadAndSharedMemorySize: u32,
  5932. maxMeshOutputMemorySize: u32,
  5933. maxMeshPayloadAndOutputMemorySize: u32,
  5934. maxMeshOutputComponents: u32,
  5935. maxMeshOutputVertices: u32,
  5936. maxMeshOutputPrimitives: u32,
  5937. maxMeshOutputLayers: u32,
  5938. maxMeshMultiviewViewCount: u32,
  5939. meshOutputPerVertexGranularity: u32,
  5940. meshOutputPerPrimitiveGranularity: u32,
  5941. maxPreferredTaskWorkGroupInvocations: u32,
  5942. maxPreferredMeshWorkGroupInvocations: u32,
  5943. prefersLocalInvocationVertexOutput: b32,
  5944. prefersLocalInvocationPrimitiveOutput: b32,
  5945. prefersCompactVertexOutput: b32,
  5946. prefersCompactPrimitiveOutput: b32,
  5947. }
  5948. DrawMeshTasksIndirectCommandEXT :: struct {
  5949. groupCountX: u32,
  5950. groupCountY: u32,
  5951. groupCountZ: u32,
  5952. }
  5953. Win32SurfaceCreateInfoKHR :: struct {
  5954. sType: StructureType,
  5955. pNext: rawptr,
  5956. flags: Win32SurfaceCreateFlagsKHR,
  5957. hinstance: HINSTANCE,
  5958. hwnd: HWND,
  5959. }
  5960. ImportMemoryWin32HandleInfoKHR :: struct {
  5961. sType: StructureType,
  5962. pNext: rawptr,
  5963. handleType: ExternalMemoryHandleTypeFlags,
  5964. handle: HANDLE,
  5965. name: LPCWSTR,
  5966. }
  5967. ExportMemoryWin32HandleInfoKHR :: struct {
  5968. sType: StructureType,
  5969. pNext: rawptr,
  5970. pAttributes: [^]SECURITY_ATTRIBUTES,
  5971. dwAccess: DWORD,
  5972. name: LPCWSTR,
  5973. }
  5974. MemoryWin32HandlePropertiesKHR :: struct {
  5975. sType: StructureType,
  5976. pNext: rawptr,
  5977. memoryTypeBits: u32,
  5978. }
  5979. MemoryGetWin32HandleInfoKHR :: struct {
  5980. sType: StructureType,
  5981. pNext: rawptr,
  5982. memory: DeviceMemory,
  5983. handleType: ExternalMemoryHandleTypeFlags,
  5984. }
  5985. Win32KeyedMutexAcquireReleaseInfoKHR :: struct {
  5986. sType: StructureType,
  5987. pNext: rawptr,
  5988. acquireCount: u32,
  5989. pAcquireSyncs: [^]DeviceMemory,
  5990. pAcquireKeys: [^]u64,
  5991. pAcquireTimeouts: [^]u32,
  5992. releaseCount: u32,
  5993. pReleaseSyncs: [^]DeviceMemory,
  5994. pReleaseKeys: [^]u64,
  5995. }
  5996. ImportSemaphoreWin32HandleInfoKHR :: struct {
  5997. sType: StructureType,
  5998. pNext: rawptr,
  5999. semaphore: Semaphore,
  6000. flags: SemaphoreImportFlags,
  6001. handleType: ExternalSemaphoreHandleTypeFlags,
  6002. handle: HANDLE,
  6003. name: LPCWSTR,
  6004. }
  6005. ExportSemaphoreWin32HandleInfoKHR :: struct {
  6006. sType: StructureType,
  6007. pNext: rawptr,
  6008. pAttributes: [^]SECURITY_ATTRIBUTES,
  6009. dwAccess: DWORD,
  6010. name: LPCWSTR,
  6011. }
  6012. D3D12FenceSubmitInfoKHR :: struct {
  6013. sType: StructureType,
  6014. pNext: rawptr,
  6015. waitSemaphoreValuesCount: u32,
  6016. pWaitSemaphoreValues: [^]u64,
  6017. signalSemaphoreValuesCount: u32,
  6018. pSignalSemaphoreValues: [^]u64,
  6019. }
  6020. SemaphoreGetWin32HandleInfoKHR :: struct {
  6021. sType: StructureType,
  6022. pNext: rawptr,
  6023. semaphore: Semaphore,
  6024. handleType: ExternalSemaphoreHandleTypeFlags,
  6025. }
  6026. ImportFenceWin32HandleInfoKHR :: struct {
  6027. sType: StructureType,
  6028. pNext: rawptr,
  6029. fence: Fence,
  6030. flags: FenceImportFlags,
  6031. handleType: ExternalFenceHandleTypeFlags,
  6032. handle: HANDLE,
  6033. name: LPCWSTR,
  6034. }
  6035. ExportFenceWin32HandleInfoKHR :: struct {
  6036. sType: StructureType,
  6037. pNext: rawptr,
  6038. pAttributes: [^]SECURITY_ATTRIBUTES,
  6039. dwAccess: DWORD,
  6040. name: LPCWSTR,
  6041. }
  6042. FenceGetWin32HandleInfoKHR :: struct {
  6043. sType: StructureType,
  6044. pNext: rawptr,
  6045. fence: Fence,
  6046. handleType: ExternalFenceHandleTypeFlags,
  6047. }
  6048. ImportMemoryWin32HandleInfoNV :: struct {
  6049. sType: StructureType,
  6050. pNext: rawptr,
  6051. handleType: ExternalMemoryHandleTypeFlagsNV,
  6052. handle: HANDLE,
  6053. }
  6054. ExportMemoryWin32HandleInfoNV :: struct {
  6055. sType: StructureType,
  6056. pNext: rawptr,
  6057. pAttributes: [^]SECURITY_ATTRIBUTES,
  6058. dwAccess: DWORD,
  6059. }
  6060. Win32KeyedMutexAcquireReleaseInfoNV :: struct {
  6061. sType: StructureType,
  6062. pNext: rawptr,
  6063. acquireCount: u32,
  6064. pAcquireSyncs: [^]DeviceMemory,
  6065. pAcquireKeys: [^]u64,
  6066. pAcquireTimeoutMilliseconds: [^]u32,
  6067. releaseCount: u32,
  6068. pReleaseSyncs: [^]DeviceMemory,
  6069. pReleaseKeys: [^]u64,
  6070. }
  6071. SurfaceFullScreenExclusiveInfoEXT :: struct {
  6072. sType: StructureType,
  6073. pNext: rawptr,
  6074. fullScreenExclusive: FullScreenExclusiveEXT,
  6075. }
  6076. SurfaceCapabilitiesFullScreenExclusiveEXT :: struct {
  6077. sType: StructureType,
  6078. pNext: rawptr,
  6079. fullScreenExclusiveSupported: b32,
  6080. }
  6081. SurfaceFullScreenExclusiveWin32InfoEXT :: struct {
  6082. sType: StructureType,
  6083. pNext: rawptr,
  6084. hmonitor: HMONITOR,
  6085. }
  6086. MetalSurfaceCreateInfoEXT :: struct {
  6087. sType: StructureType,
  6088. pNext: rawptr,
  6089. flags: MetalSurfaceCreateFlagsEXT,
  6090. pLayer: ^CAMetalLayer,
  6091. }
  6092. ExportMetalObjectCreateInfoEXT :: struct {
  6093. sType: StructureType,
  6094. pNext: rawptr,
  6095. exportObjectType: ExportMetalObjectTypeFlagsEXT,
  6096. }
  6097. ExportMetalObjectsInfoEXT :: struct {
  6098. sType: StructureType,
  6099. pNext: rawptr,
  6100. }
  6101. ExportMetalDeviceInfoEXT :: struct {
  6102. sType: StructureType,
  6103. pNext: rawptr,
  6104. mtlDevice: MTLDevice_id,
  6105. }
  6106. ExportMetalCommandQueueInfoEXT :: struct {
  6107. sType: StructureType,
  6108. pNext: rawptr,
  6109. queue: Queue,
  6110. mtlCommandQueue: MTLCommandQueue_id,
  6111. }
  6112. ExportMetalBufferInfoEXT :: struct {
  6113. sType: StructureType,
  6114. pNext: rawptr,
  6115. memory: DeviceMemory,
  6116. mtlBuffer: MTLBuffer_id,
  6117. }
  6118. ImportMetalBufferInfoEXT :: struct {
  6119. sType: StructureType,
  6120. pNext: rawptr,
  6121. mtlBuffer: MTLBuffer_id,
  6122. }
  6123. ExportMetalTextureInfoEXT :: struct {
  6124. sType: StructureType,
  6125. pNext: rawptr,
  6126. image: Image,
  6127. imageView: ImageView,
  6128. bufferView: BufferView,
  6129. plane: ImageAspectFlags,
  6130. mtlTexture: MTLTexture_id,
  6131. }
  6132. ImportMetalTextureInfoEXT :: struct {
  6133. sType: StructureType,
  6134. pNext: rawptr,
  6135. plane: ImageAspectFlags,
  6136. mtlTexture: MTLTexture_id,
  6137. }
  6138. ExportMetalIOSurfaceInfoEXT :: struct {
  6139. sType: StructureType,
  6140. pNext: rawptr,
  6141. image: Image,
  6142. ioSurface: IOSurfaceRef,
  6143. }
  6144. ImportMetalIOSurfaceInfoEXT :: struct {
  6145. sType: StructureType,
  6146. pNext: rawptr,
  6147. ioSurface: IOSurfaceRef,
  6148. }
  6149. ExportMetalSharedEventInfoEXT :: struct {
  6150. sType: StructureType,
  6151. pNext: rawptr,
  6152. semaphore: Semaphore,
  6153. event: Event,
  6154. mtlSharedEvent: MTLSharedEvent_id,
  6155. }
  6156. ImportMetalSharedEventInfoEXT :: struct {
  6157. sType: StructureType,
  6158. pNext: rawptr,
  6159. mtlSharedEvent: MTLSharedEvent_id,
  6160. }
  6161. MacOSSurfaceCreateInfoMVK :: struct {
  6162. sType: StructureType,
  6163. pNext: rawptr,
  6164. flags: MacOSSurfaceCreateFlagsMVK,
  6165. pView: rawptr,
  6166. }
  6167. IOSSurfaceCreateInfoMVK :: struct {
  6168. sType: StructureType,
  6169. pNext: rawptr,
  6170. flags: IOSSurfaceCreateFlagsMVK,
  6171. pView: rawptr,
  6172. }
  6173. WaylandSurfaceCreateInfoKHR :: struct {
  6174. sType: StructureType,
  6175. pNext: rawptr,
  6176. flags: WaylandSurfaceCreateFlagsKHR,
  6177. display: ^wl_display,
  6178. surface: ^wl_surface,
  6179. }
  6180. VideoH264SpsVuiFlags :: struct {
  6181. bit_field: u32,
  6182. }
  6183. VideoH264HrdParameters :: struct {
  6184. cpb_cnt_minus1: u8,
  6185. bit_rate_scale: u8,
  6186. cpb_size_scale: u8,
  6187. reserved1: u8,
  6188. bit_rate_value_minus1: [VIDEO_H264_CPB_CNT_LIST_SIZE]u32,
  6189. cpb_size_value_minus1: [VIDEO_H264_CPB_CNT_LIST_SIZE]u32,
  6190. cbr_flag: [VIDEO_H264_CPB_CNT_LIST_SIZE]u8,
  6191. initial_cpb_removal_delay_length_minus1: u32,
  6192. cpb_removal_delay_length_minus1: u32,
  6193. dpb_output_delay_length_minus1: u32,
  6194. time_offset_length: u32,
  6195. }
  6196. VideoH264SequenceParameterSetVui :: struct {
  6197. flags: VideoH264SpsVuiFlags,
  6198. aspect_ratio_idc: VideoH264AspectRatioIdc,
  6199. sar_width: u16,
  6200. sar_height: u16,
  6201. video_format: u8,
  6202. colour_primaries: u8,
  6203. transfer_characteristics: u8,
  6204. matrix_coefficients: u8,
  6205. num_units_in_tick: u32,
  6206. time_scale: u32,
  6207. max_num_reorder_frames: u8,
  6208. max_dec_frame_buffering: u8,
  6209. chroma_sample_loc_type_top_field: u8,
  6210. chroma_sample_loc_type_bottom_field: u8,
  6211. reserved1: u32,
  6212. pHrdParameters: [^]VideoH264HrdParameters,
  6213. }
  6214. VideoH264SpsFlags :: struct {
  6215. bit_field: u32,
  6216. }
  6217. VideoH264ScalingLists :: struct {
  6218. scaling_list_present_mask: u16,
  6219. use_default_scaling_matrix_mask: u16,
  6220. ScalingList4x4: [VIDEO_H264_SCALING_LIST_4X4_NUM_LISTS][VIDEO_H264_SCALING_LIST_4X4_NUM_ELEMENTS]u8,
  6221. ScalingList8x8: [VIDEO_H264_SCALING_LIST_8X8_NUM_LISTS][VIDEO_H264_SCALING_LIST_8X8_NUM_ELEMENTS]u8,
  6222. }
  6223. VideoH264SequenceParameterSet :: struct {
  6224. flags: VideoH264SpsFlags,
  6225. profile_idc: VideoH264ProfileIdc,
  6226. level_idc: VideoH264LevelIdc,
  6227. chroma_format_idc: VideoH264ChromaFormatIdc,
  6228. seq_parameter_set_id: u8,
  6229. bit_depth_luma_minus8: u8,
  6230. bit_depth_chroma_minus8: u8,
  6231. log2_max_frame_num_minus4: u8,
  6232. pic_order_cnt_type: VideoH264PocType,
  6233. offset_for_non_ref_pic: i32,
  6234. offset_for_top_to_bottom_field: i32,
  6235. log2_max_pic_order_cnt_lsb_minus4: u8,
  6236. num_ref_frames_in_pic_order_cnt_cycle: u8,
  6237. max_num_ref_frames: u8,
  6238. reserved1: u8,
  6239. pic_width_in_mbs_minus1: u32,
  6240. pic_height_in_map_units_minus1: u32,
  6241. frame_crop_left_offset: u32,
  6242. frame_crop_right_offset: u32,
  6243. frame_crop_top_offset: u32,
  6244. frame_crop_bottom_offset: u32,
  6245. reserved2: u32,
  6246. pOffsetForRefFrame: ^i32,
  6247. pScalingLists: [^]VideoH264ScalingLists,
  6248. pSequenceParameterSetVui: ^VideoH264SequenceParameterSetVui,
  6249. }
  6250. VideoH264PpsFlags :: struct {
  6251. bit_field: u32,
  6252. }
  6253. VideoH264PictureParameterSet :: struct {
  6254. flags: VideoH264PpsFlags,
  6255. seq_parameter_set_id: u8,
  6256. pic_parameter_set_id: u8,
  6257. num_ref_idx_l0_default_active_minus1: u8,
  6258. num_ref_idx_l1_default_active_minus1: u8,
  6259. weighted_bipred_idc: VideoH264WeightedBipredIdc,
  6260. pic_init_qp_minus26: i8,
  6261. pic_init_qs_minus26: i8,
  6262. chroma_qp_index_offset: i8,
  6263. second_chroma_qp_index_offset: i8,
  6264. pScalingLists: [^]VideoH264ScalingLists,
  6265. }
  6266. VideoH265DecPicBufMgr :: struct {
  6267. max_latency_increase_plus1: [VIDEO_H265_SUBLAYERS_LIST_SIZE]u32,
  6268. max_dec_pic_buffering_minus1: [VIDEO_H265_SUBLAYERS_LIST_SIZE]u8,
  6269. max_num_reorder_pics: [VIDEO_H265_SUBLAYERS_LIST_SIZE]u8,
  6270. }
  6271. VideoH265SubLayerHrdParameters :: struct {
  6272. bit_rate_value_minus1: [VIDEO_H265_CPB_CNT_LIST_SIZE]u32,
  6273. cpb_size_value_minus1: [VIDEO_H265_CPB_CNT_LIST_SIZE]u32,
  6274. cpb_size_du_value_minus1: [VIDEO_H265_CPB_CNT_LIST_SIZE]u32,
  6275. bit_rate_du_value_minus1: [VIDEO_H265_CPB_CNT_LIST_SIZE]u32,
  6276. cbr_flag: u32,
  6277. }
  6278. VideoH265HrdFlags :: struct {
  6279. bit_field: u32,
  6280. }
  6281. VideoH265HrdParameters :: struct {
  6282. flags: VideoH265HrdFlags,
  6283. tick_divisor_minus2: u8,
  6284. du_cpb_removal_delay_increment_length_minus1: u8,
  6285. dpb_output_delay_du_length_minus1: u8,
  6286. bit_rate_scale: u8,
  6287. cpb_size_scale: u8,
  6288. cpb_size_du_scale: u8,
  6289. initial_cpb_removal_delay_length_minus1: u8,
  6290. au_cpb_removal_delay_length_minus1: u8,
  6291. dpb_output_delay_length_minus1: u8,
  6292. cpb_cnt_minus1: [VIDEO_H265_SUBLAYERS_LIST_SIZE]u8,
  6293. elemental_duration_in_tc_minus1: [VIDEO_H265_SUBLAYERS_LIST_SIZE]u16,
  6294. reserved: [3]u16,
  6295. pSubLayerHrdParametersNal: ^VideoH265SubLayerHrdParameters,
  6296. pSubLayerHrdParametersVcl: ^VideoH265SubLayerHrdParameters,
  6297. }
  6298. VideoH265VpsFlags :: struct {
  6299. bit_field: u32,
  6300. }
  6301. VideoH265ProfileTierLevelFlags :: struct {
  6302. bit_field: u32,
  6303. }
  6304. VideoH265ProfileTierLevel :: struct {
  6305. flags: VideoH265ProfileTierLevelFlags,
  6306. general_profile_idc: VideoH265ProfileIdc,
  6307. general_level_idc: VideoH265LevelIdc,
  6308. }
  6309. VideoH265VideoParameterSet :: struct {
  6310. flags: VideoH265VpsFlags,
  6311. vps_video_parameter_set_id: u8,
  6312. vps_max_sub_layers_minus1: u8,
  6313. reserved1: u8,
  6314. reserved2: u8,
  6315. vps_num_units_in_tick: u32,
  6316. vps_time_scale: u32,
  6317. vps_num_ticks_poc_diff_one_minus1: u32,
  6318. reserved3: u32,
  6319. pDecPicBufMgr: ^VideoH265DecPicBufMgr,
  6320. pHrdParameters: [^]VideoH265HrdParameters,
  6321. pProfileTierLevel: ^VideoH265ProfileTierLevel,
  6322. }
  6323. VideoH265ScalingLists :: struct {
  6324. ScalingList4x4: [VIDEO_H265_SCALING_LIST_4X4_NUM_LISTS][VIDEO_H265_SCALING_LIST_4X4_NUM_ELEMENTS]u8,
  6325. ScalingList8x8: [VIDEO_H265_SCALING_LIST_8X8_NUM_LISTS][VIDEO_H265_SCALING_LIST_8X8_NUM_ELEMENTS]u8,
  6326. ScalingList16x16: [VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS][VIDEO_H265_SCALING_LIST_16X16_NUM_ELEMENTS]u8,
  6327. ScalingList32x32: [VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS][VIDEO_H265_SCALING_LIST_32X32_NUM_ELEMENTS]u8,
  6328. ScalingListDCCoef16x16: [VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS]u8,
  6329. ScalingListDCCoef32x32: [VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS]u8,
  6330. }
  6331. VideoH265SpsVuiFlags :: struct {
  6332. bit_field: u32,
  6333. }
  6334. VideoH265SequenceParameterSetVui :: struct {
  6335. flags: VideoH265SpsVuiFlags,
  6336. aspect_ratio_idc: VideoH265AspectRatioIdc,
  6337. sar_width: u16,
  6338. sar_height: u16,
  6339. video_format: u8,
  6340. colour_primaries: u8,
  6341. transfer_characteristics: u8,
  6342. matrix_coeffs: u8,
  6343. chroma_sample_loc_type_top_field: u8,
  6344. chroma_sample_loc_type_bottom_field: u8,
  6345. reserved1: u8,
  6346. reserved2: u8,
  6347. def_disp_win_left_offset: u16,
  6348. def_disp_win_right_offset: u16,
  6349. def_disp_win_top_offset: u16,
  6350. def_disp_win_bottom_offset: u16,
  6351. vui_num_units_in_tick: u32,
  6352. vui_time_scale: u32,
  6353. vui_num_ticks_poc_diff_one_minus1: u32,
  6354. min_spatial_segmentation_idc: u16,
  6355. reserved3: u16,
  6356. max_bytes_per_pic_denom: u8,
  6357. max_bits_per_min_cu_denom: u8,
  6358. log2_max_mv_length_horizontal: u8,
  6359. log2_max_mv_length_vertical: u8,
  6360. pHrdParameters: [^]VideoH265HrdParameters,
  6361. }
  6362. VideoH265PredictorPaletteEntries :: struct {
  6363. PredictorPaletteEntries: [VIDEO_H265_PREDICTOR_PALETTE_COMPONENTS_LIST_SIZE][VIDEO_H265_PREDICTOR_PALETTE_COMP_ENTRIES_LIST_SIZE]u16,
  6364. }
  6365. VideoH265SpsFlags :: struct {
  6366. bit_field: u32,
  6367. }
  6368. VideoH265ShortTermRefPicSetFlags :: struct {
  6369. bit_field: u32,
  6370. }
  6371. VideoH265ShortTermRefPicSet :: struct {
  6372. flags: VideoH265ShortTermRefPicSetFlags,
  6373. delta_idx_minus1: u32,
  6374. use_delta_flag: u16,
  6375. abs_delta_rps_minus1: u16,
  6376. used_by_curr_pic_flag: u16,
  6377. used_by_curr_pic_s0_flag: u16,
  6378. used_by_curr_pic_s1_flag: u16,
  6379. reserved1: u16,
  6380. reserved2: u8,
  6381. reserved3: u8,
  6382. num_negative_pics: u8,
  6383. num_positive_pics: u8,
  6384. delta_poc_s0_minus1: [VIDEO_H265_MAX_DPB_SIZE]u16,
  6385. delta_poc_s1_minus1: [VIDEO_H265_MAX_DPB_SIZE]u16,
  6386. }
  6387. VideoH265LongTermRefPicsSps :: struct {
  6388. used_by_curr_pic_lt_sps_flag: u32,
  6389. lt_ref_pic_poc_lsb_sps: [VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS]u32,
  6390. }
  6391. VideoH265SequenceParameterSet :: struct {
  6392. flags: VideoH265SpsFlags,
  6393. chroma_format_idc: VideoH265ChromaFormatIdc,
  6394. pic_width_in_luma_samples: u32,
  6395. pic_height_in_luma_samples: u32,
  6396. sps_video_parameter_set_id: u8,
  6397. sps_max_sub_layers_minus1: u8,
  6398. sps_seq_parameter_set_id: u8,
  6399. bit_depth_luma_minus8: u8,
  6400. bit_depth_chroma_minus8: u8,
  6401. log2_max_pic_order_cnt_lsb_minus4: u8,
  6402. log2_min_luma_coding_block_size_minus3: u8,
  6403. log2_diff_max_min_luma_coding_block_size: u8,
  6404. log2_min_luma_transform_block_size_minus2: u8,
  6405. log2_diff_max_min_luma_transform_block_size: u8,
  6406. max_transform_hierarchy_depth_inter: u8,
  6407. max_transform_hierarchy_depth_intra: u8,
  6408. num_short_term_ref_pic_sets: u8,
  6409. num_long_term_ref_pics_sps: u8,
  6410. pcm_sample_bit_depth_luma_minus1: u8,
  6411. pcm_sample_bit_depth_chroma_minus1: u8,
  6412. log2_min_pcm_luma_coding_block_size_minus3: u8,
  6413. log2_diff_max_min_pcm_luma_coding_block_size: u8,
  6414. reserved1: u8,
  6415. reserved2: u8,
  6416. palette_max_size: u8,
  6417. delta_palette_max_predictor_size: u8,
  6418. motion_vector_resolution_control_idc: u8,
  6419. sps_num_palette_predictor_initializers_minus1: u8,
  6420. conf_win_left_offset: u32,
  6421. conf_win_right_offset: u32,
  6422. conf_win_top_offset: u32,
  6423. conf_win_bottom_offset: u32,
  6424. pProfileTierLevel: ^VideoH265ProfileTierLevel,
  6425. pDecPicBufMgr: ^VideoH265DecPicBufMgr,
  6426. pScalingLists: [^]VideoH265ScalingLists,
  6427. pShortTermRefPicSet: ^VideoH265ShortTermRefPicSet,
  6428. pLongTermRefPicsSps: [^]VideoH265LongTermRefPicsSps,
  6429. pSequenceParameterSetVui: ^VideoH265SequenceParameterSetVui,
  6430. pPredictorPaletteEntries: [^]VideoH265PredictorPaletteEntries,
  6431. }
  6432. VideoH265PpsFlags :: struct {
  6433. bit_field: u32,
  6434. }
  6435. VideoH265PictureParameterSet :: struct {
  6436. flags: VideoH265PpsFlags,
  6437. pps_pic_parameter_set_id: u8,
  6438. pps_seq_parameter_set_id: u8,
  6439. sps_video_parameter_set_id: u8,
  6440. num_extra_slice_header_bits: u8,
  6441. num_ref_idx_l0_default_active_minus1: u8,
  6442. num_ref_idx_l1_default_active_minus1: u8,
  6443. init_qp_minus26: i8,
  6444. diff_cu_qp_delta_depth: u8,
  6445. pps_cb_qp_offset: i8,
  6446. pps_cr_qp_offset: i8,
  6447. pps_beta_offset_div2: i8,
  6448. pps_tc_offset_div2: i8,
  6449. log2_parallel_merge_level_minus2: u8,
  6450. log2_max_transform_skip_block_size_minus2: u8,
  6451. diff_cu_chroma_qp_offset_depth: u8,
  6452. chroma_qp_offset_list_len_minus1: u8,
  6453. cb_qp_offset_list: [VIDEO_H265_CHROMA_QP_OFFSET_LIST_SIZE]i8,
  6454. cr_qp_offset_list: [VIDEO_H265_CHROMA_QP_OFFSET_LIST_SIZE]i8,
  6455. log2_sao_offset_scale_luma: u8,
  6456. log2_sao_offset_scale_chroma: u8,
  6457. pps_act_y_qp_offset_plus5: i8,
  6458. pps_act_cb_qp_offset_plus5: i8,
  6459. pps_act_cr_qp_offset_plus3: i8,
  6460. pps_num_palette_predictor_initializers: u8,
  6461. luma_bit_depth_entry_minus8: u8,
  6462. chroma_bit_depth_entry_minus8: u8,
  6463. num_tile_columns_minus1: u8,
  6464. num_tile_rows_minus1: u8,
  6465. reserved1: u8,
  6466. reserved2: u8,
  6467. column_width_minus1: [VIDEO_H265_CHROMA_QP_OFFSET_TILE_COLS_LIST_SIZE]u16,
  6468. row_height_minus1: [VIDEO_H265_CHROMA_QP_OFFSET_TILE_ROWS_LIST_SIZE]u16,
  6469. reserved3: u32,
  6470. pScalingLists: [^]VideoH265ScalingLists,
  6471. pPredictorPaletteEntries: [^]VideoH265PredictorPaletteEntries,
  6472. }
  6473. VideoDecodeH264PictureInfoFlags :: struct {
  6474. bit_field: u32,
  6475. }
  6476. VideoDecodeH264PictureInfo :: struct {
  6477. flags: VideoDecodeH264PictureInfoFlags,
  6478. seq_parameter_set_id: u8,
  6479. pic_parameter_set_id: u8,
  6480. reserved1: u8,
  6481. reserved2: u8,
  6482. frame_num: u16,
  6483. idr_pic_id: u16,
  6484. PicOrderCnt: [VIDEO_DECODE_H264_FIELD_ORDER_COUNT_LIST_SIZE]i32,
  6485. }
  6486. VideoDecodeH264ReferenceInfoFlags :: struct {
  6487. bit_field: u32,
  6488. }
  6489. VideoDecodeH264ReferenceInfo :: struct {
  6490. flags: VideoDecodeH264ReferenceInfoFlags,
  6491. FrameNum: u16,
  6492. reserved: u16,
  6493. PicOrderCnt: [VIDEO_DECODE_H264_FIELD_ORDER_COUNT_LIST_SIZE]i32,
  6494. }
  6495. VideoDecodeH265PictureInfoFlags :: struct {
  6496. bit_field: u32,
  6497. }
  6498. VideoDecodeH265PictureInfo :: struct {
  6499. flags: VideoDecodeH265PictureInfoFlags,
  6500. sps_video_parameter_set_id: u8,
  6501. pps_seq_parameter_set_id: u8,
  6502. pps_pic_parameter_set_id: u8,
  6503. NumDeltaPocsOfRefRpsIdx: u8,
  6504. PicOrderCntVal: i32,
  6505. NumBitsForSTRefPicSetInSlice: u16,
  6506. reserved: u16,
  6507. RefPicSetStCurrBefore: [VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE]u8,
  6508. RefPicSetStCurrAfter: [VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE]u8,
  6509. RefPicSetLtCurr: [VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE]u8,
  6510. }
  6511. VideoDecodeH265ReferenceInfoFlags :: struct {
  6512. bit_field: u32,
  6513. }
  6514. VideoDecodeH265ReferenceInfo :: struct {
  6515. flags: VideoDecodeH265ReferenceInfoFlags,
  6516. PicOrderCntVal: i32,
  6517. }
  6518. // Opaque structs
  6519. wl_surface :: struct {} // Opaque struct defined by Wayland
  6520. wl_display :: struct {} // Opaque struct defined by Wayland
  6521. IOSurfaceRef :: struct {} // Opaque struct defined by Apple’s CoreGraphics framework
  6522. // Aliases
  6523. PhysicalDeviceVariablePointerFeatures :: PhysicalDeviceVariablePointersFeatures
  6524. PhysicalDeviceShaderDrawParameterFeatures :: PhysicalDeviceShaderDrawParametersFeatures
  6525. RenderingFlagsKHR :: RenderingFlags
  6526. RenderingFlagKHR :: RenderingFlag
  6527. RenderingInfoKHR :: RenderingInfo
  6528. RenderingAttachmentInfoKHR :: RenderingAttachmentInfo
  6529. PipelineRenderingCreateInfoKHR :: PipelineRenderingCreateInfo
  6530. PhysicalDeviceDynamicRenderingFeaturesKHR :: PhysicalDeviceDynamicRenderingFeatures
  6531. CommandBufferInheritanceRenderingInfoKHR :: CommandBufferInheritanceRenderingInfo
  6532. AttachmentSampleCountInfoNV :: AttachmentSampleCountInfoAMD
  6533. RenderPassMultiviewCreateInfoKHR :: RenderPassMultiviewCreateInfo
  6534. PhysicalDeviceMultiviewFeaturesKHR :: PhysicalDeviceMultiviewFeatures
  6535. PhysicalDeviceMultiviewPropertiesKHR :: PhysicalDeviceMultiviewProperties
  6536. PhysicalDeviceFeatures2KHR :: PhysicalDeviceFeatures2
  6537. PhysicalDeviceProperties2KHR :: PhysicalDeviceProperties2
  6538. FormatProperties2KHR :: FormatProperties2
  6539. ImageFormatProperties2KHR :: ImageFormatProperties2
  6540. PhysicalDeviceImageFormatInfo2KHR :: PhysicalDeviceImageFormatInfo2
  6541. QueueFamilyProperties2KHR :: QueueFamilyProperties2
  6542. PhysicalDeviceMemoryProperties2KHR :: PhysicalDeviceMemoryProperties2
  6543. SparseImageFormatProperties2KHR :: SparseImageFormatProperties2
  6544. PhysicalDeviceSparseImageFormatInfo2KHR :: PhysicalDeviceSparseImageFormatInfo2
  6545. PeerMemoryFeatureFlagsKHR :: PeerMemoryFeatureFlags
  6546. PeerMemoryFeatureFlagKHR :: PeerMemoryFeatureFlag
  6547. MemoryAllocateFlagsKHR :: MemoryAllocateFlags
  6548. MemoryAllocateFlagKHR :: MemoryAllocateFlag
  6549. MemoryAllocateFlagsInfoKHR :: MemoryAllocateFlagsInfo
  6550. DeviceGroupRenderPassBeginInfoKHR :: DeviceGroupRenderPassBeginInfo
  6551. DeviceGroupCommandBufferBeginInfoKHR :: DeviceGroupCommandBufferBeginInfo
  6552. DeviceGroupSubmitInfoKHR :: DeviceGroupSubmitInfo
  6553. DeviceGroupBindSparseInfoKHR :: DeviceGroupBindSparseInfo
  6554. BindBufferMemoryDeviceGroupInfoKHR :: BindBufferMemoryDeviceGroupInfo
  6555. BindImageMemoryDeviceGroupInfoKHR :: BindImageMemoryDeviceGroupInfo
  6556. CommandPoolTrimFlagsKHR :: CommandPoolTrimFlags
  6557. PhysicalDeviceGroupPropertiesKHR :: PhysicalDeviceGroupProperties
  6558. DeviceGroupDeviceCreateInfoKHR :: DeviceGroupDeviceCreateInfo
  6559. ExternalMemoryHandleTypeFlagsKHR :: ExternalMemoryHandleTypeFlags
  6560. ExternalMemoryHandleTypeFlagKHR :: ExternalMemoryHandleTypeFlag
  6561. ExternalMemoryFeatureFlagsKHR :: ExternalMemoryFeatureFlags
  6562. ExternalMemoryFeatureFlagKHR :: ExternalMemoryFeatureFlag
  6563. ExternalMemoryPropertiesKHR :: ExternalMemoryProperties
  6564. PhysicalDeviceExternalImageFormatInfoKHR :: PhysicalDeviceExternalImageFormatInfo
  6565. ExternalImageFormatPropertiesKHR :: ExternalImageFormatProperties
  6566. PhysicalDeviceExternalBufferInfoKHR :: PhysicalDeviceExternalBufferInfo
  6567. ExternalBufferPropertiesKHR :: ExternalBufferProperties
  6568. PhysicalDeviceIDPropertiesKHR :: PhysicalDeviceIDProperties
  6569. ExternalMemoryImageCreateInfoKHR :: ExternalMemoryImageCreateInfo
  6570. ExternalMemoryBufferCreateInfoKHR :: ExternalMemoryBufferCreateInfo
  6571. ExportMemoryAllocateInfoKHR :: ExportMemoryAllocateInfo
  6572. ExternalSemaphoreHandleTypeFlagsKHR :: ExternalSemaphoreHandleTypeFlags
  6573. ExternalSemaphoreHandleTypeFlagKHR :: ExternalSemaphoreHandleTypeFlag
  6574. ExternalSemaphoreFeatureFlagsKHR :: ExternalSemaphoreFeatureFlags
  6575. ExternalSemaphoreFeatureFlagKHR :: ExternalSemaphoreFeatureFlag
  6576. PhysicalDeviceExternalSemaphoreInfoKHR :: PhysicalDeviceExternalSemaphoreInfo
  6577. ExternalSemaphorePropertiesKHR :: ExternalSemaphoreProperties
  6578. SemaphoreImportFlagsKHR :: SemaphoreImportFlags
  6579. SemaphoreImportFlagKHR :: SemaphoreImportFlag
  6580. ExportSemaphoreCreateInfoKHR :: ExportSemaphoreCreateInfo
  6581. PhysicalDeviceShaderFloat16Int8FeaturesKHR :: PhysicalDeviceShaderFloat16Int8Features
  6582. PhysicalDeviceFloat16Int8FeaturesKHR :: PhysicalDeviceShaderFloat16Int8Features
  6583. PhysicalDevice16BitStorageFeaturesKHR :: PhysicalDevice16BitStorageFeatures
  6584. DescriptorUpdateTemplateKHR :: DescriptorUpdateTemplate
  6585. DescriptorUpdateTemplateTypeKHR :: DescriptorUpdateTemplateType
  6586. DescriptorUpdateTemplateCreateFlagsKHR :: DescriptorUpdateTemplateCreateFlags
  6587. DescriptorUpdateTemplateEntryKHR :: DescriptorUpdateTemplateEntry
  6588. DescriptorUpdateTemplateCreateInfoKHR :: DescriptorUpdateTemplateCreateInfo
  6589. PhysicalDeviceImagelessFramebufferFeaturesKHR :: PhysicalDeviceImagelessFramebufferFeatures
  6590. FramebufferAttachmentsCreateInfoKHR :: FramebufferAttachmentsCreateInfo
  6591. FramebufferAttachmentImageInfoKHR :: FramebufferAttachmentImageInfo
  6592. RenderPassAttachmentBeginInfoKHR :: RenderPassAttachmentBeginInfo
  6593. RenderPassCreateInfo2KHR :: RenderPassCreateInfo2
  6594. AttachmentDescription2KHR :: AttachmentDescription2
  6595. AttachmentReference2KHR :: AttachmentReference2
  6596. SubpassDescription2KHR :: SubpassDescription2
  6597. SubpassDependency2KHR :: SubpassDependency2
  6598. SubpassBeginInfoKHR :: SubpassBeginInfo
  6599. SubpassEndInfoKHR :: SubpassEndInfo
  6600. ExternalFenceHandleTypeFlagsKHR :: ExternalFenceHandleTypeFlags
  6601. ExternalFenceHandleTypeFlagKHR :: ExternalFenceHandleTypeFlag
  6602. ExternalFenceFeatureFlagsKHR :: ExternalFenceFeatureFlags
  6603. ExternalFenceFeatureFlagKHR :: ExternalFenceFeatureFlag
  6604. PhysicalDeviceExternalFenceInfoKHR :: PhysicalDeviceExternalFenceInfo
  6605. ExternalFencePropertiesKHR :: ExternalFenceProperties
  6606. FenceImportFlagsKHR :: FenceImportFlags
  6607. FenceImportFlagKHR :: FenceImportFlag
  6608. ExportFenceCreateInfoKHR :: ExportFenceCreateInfo
  6609. PointClippingBehaviorKHR :: PointClippingBehavior
  6610. TessellationDomainOriginKHR :: TessellationDomainOrigin
  6611. PhysicalDevicePointClippingPropertiesKHR :: PhysicalDevicePointClippingProperties
  6612. RenderPassInputAttachmentAspectCreateInfoKHR :: RenderPassInputAttachmentAspectCreateInfo
  6613. InputAttachmentAspectReferenceKHR :: InputAttachmentAspectReference
  6614. ImageViewUsageCreateInfoKHR :: ImageViewUsageCreateInfo
  6615. PipelineTessellationDomainOriginStateCreateInfoKHR :: PipelineTessellationDomainOriginStateCreateInfo
  6616. PhysicalDeviceVariablePointerFeaturesKHR :: PhysicalDeviceVariablePointersFeatures
  6617. PhysicalDeviceVariablePointersFeaturesKHR :: PhysicalDeviceVariablePointersFeatures
  6618. MemoryDedicatedRequirementsKHR :: MemoryDedicatedRequirements
  6619. MemoryDedicatedAllocateInfoKHR :: MemoryDedicatedAllocateInfo
  6620. BufferMemoryRequirementsInfo2KHR :: BufferMemoryRequirementsInfo2
  6621. ImageMemoryRequirementsInfo2KHR :: ImageMemoryRequirementsInfo2
  6622. ImageSparseMemoryRequirementsInfo2KHR :: ImageSparseMemoryRequirementsInfo2
  6623. MemoryRequirements2KHR :: MemoryRequirements2
  6624. SparseImageMemoryRequirements2KHR :: SparseImageMemoryRequirements2
  6625. ImageFormatListCreateInfoKHR :: ImageFormatListCreateInfo
  6626. SamplerYcbcrConversionKHR :: SamplerYcbcrConversion
  6627. SamplerYcbcrModelConversionKHR :: SamplerYcbcrModelConversion
  6628. SamplerYcbcrRangeKHR :: SamplerYcbcrRange
  6629. ChromaLocationKHR :: ChromaLocation
  6630. SamplerYcbcrConversionCreateInfoKHR :: SamplerYcbcrConversionCreateInfo
  6631. SamplerYcbcrConversionInfoKHR :: SamplerYcbcrConversionInfo
  6632. BindImagePlaneMemoryInfoKHR :: BindImagePlaneMemoryInfo
  6633. ImagePlaneMemoryRequirementsInfoKHR :: ImagePlaneMemoryRequirementsInfo
  6634. PhysicalDeviceSamplerYcbcrConversionFeaturesKHR :: PhysicalDeviceSamplerYcbcrConversionFeatures
  6635. SamplerYcbcrConversionImageFormatPropertiesKHR :: SamplerYcbcrConversionImageFormatProperties
  6636. BindBufferMemoryInfoKHR :: BindBufferMemoryInfo
  6637. BindImageMemoryInfoKHR :: BindImageMemoryInfo
  6638. PhysicalDeviceMaintenance3PropertiesKHR :: PhysicalDeviceMaintenance3Properties
  6639. DescriptorSetLayoutSupportKHR :: DescriptorSetLayoutSupport
  6640. PhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR :: PhysicalDeviceShaderSubgroupExtendedTypesFeatures
  6641. PhysicalDevice8BitStorageFeaturesKHR :: PhysicalDevice8BitStorageFeatures
  6642. PhysicalDeviceShaderAtomicInt64FeaturesKHR :: PhysicalDeviceShaderAtomicInt64Features
  6643. DriverIdKHR :: DriverId
  6644. ConformanceVersionKHR :: ConformanceVersion
  6645. PhysicalDeviceDriverPropertiesKHR :: PhysicalDeviceDriverProperties
  6646. ShaderFloatControlsIndependenceKHR :: ShaderFloatControlsIndependence
  6647. PhysicalDeviceFloatControlsPropertiesKHR :: PhysicalDeviceFloatControlsProperties
  6648. ResolveModeFlagKHR :: ResolveModeFlag
  6649. ResolveModeFlagsKHR :: ResolveModeFlags
  6650. SubpassDescriptionDepthStencilResolveKHR :: SubpassDescriptionDepthStencilResolve
  6651. PhysicalDeviceDepthStencilResolvePropertiesKHR :: PhysicalDeviceDepthStencilResolveProperties
  6652. SemaphoreTypeKHR :: SemaphoreType
  6653. SemaphoreWaitFlagKHR :: SemaphoreWaitFlag
  6654. SemaphoreWaitFlagsKHR :: SemaphoreWaitFlags
  6655. PhysicalDeviceTimelineSemaphoreFeaturesKHR :: PhysicalDeviceTimelineSemaphoreFeatures
  6656. PhysicalDeviceTimelineSemaphorePropertiesKHR :: PhysicalDeviceTimelineSemaphoreProperties
  6657. SemaphoreTypeCreateInfoKHR :: SemaphoreTypeCreateInfo
  6658. TimelineSemaphoreSubmitInfoKHR :: TimelineSemaphoreSubmitInfo
  6659. SemaphoreWaitInfoKHR :: SemaphoreWaitInfo
  6660. SemaphoreSignalInfoKHR :: SemaphoreSignalInfo
  6661. PhysicalDeviceVulkanMemoryModelFeaturesKHR :: PhysicalDeviceVulkanMemoryModelFeatures
  6662. PhysicalDeviceShaderTerminateInvocationFeaturesKHR :: PhysicalDeviceShaderTerminateInvocationFeatures
  6663. PhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR :: PhysicalDeviceSeparateDepthStencilLayoutsFeatures
  6664. AttachmentReferenceStencilLayoutKHR :: AttachmentReferenceStencilLayout
  6665. AttachmentDescriptionStencilLayoutKHR :: AttachmentDescriptionStencilLayout
  6666. PhysicalDeviceUniformBufferStandardLayoutFeaturesKHR :: PhysicalDeviceUniformBufferStandardLayoutFeatures
  6667. PhysicalDeviceBufferDeviceAddressFeaturesKHR :: PhysicalDeviceBufferDeviceAddressFeatures
  6668. BufferDeviceAddressInfoKHR :: BufferDeviceAddressInfo
  6669. BufferOpaqueCaptureAddressCreateInfoKHR :: BufferOpaqueCaptureAddressCreateInfo
  6670. MemoryOpaqueCaptureAddressAllocateInfoKHR :: MemoryOpaqueCaptureAddressAllocateInfo
  6671. DeviceMemoryOpaqueCaptureAddressInfoKHR :: DeviceMemoryOpaqueCaptureAddressInfo
  6672. PhysicalDeviceShaderIntegerDotProductFeaturesKHR :: PhysicalDeviceShaderIntegerDotProductFeatures
  6673. PhysicalDeviceShaderIntegerDotProductPropertiesKHR :: PhysicalDeviceShaderIntegerDotProductProperties
  6674. PipelineStageFlags2KHR :: PipelineStageFlags2
  6675. PipelineStageFlag2KHR :: PipelineStageFlag2
  6676. AccessFlags2KHR :: AccessFlags2
  6677. AccessFlag2KHR :: AccessFlag2
  6678. SubmitFlagKHR :: SubmitFlag
  6679. SubmitFlagsKHR :: SubmitFlags
  6680. MemoryBarrier2KHR :: MemoryBarrier2
  6681. BufferMemoryBarrier2KHR :: BufferMemoryBarrier2
  6682. ImageMemoryBarrier2KHR :: ImageMemoryBarrier2
  6683. DependencyInfoKHR :: DependencyInfo
  6684. SubmitInfo2KHR :: SubmitInfo2
  6685. SemaphoreSubmitInfoKHR :: SemaphoreSubmitInfo
  6686. CommandBufferSubmitInfoKHR :: CommandBufferSubmitInfo
  6687. PhysicalDeviceSynchronization2FeaturesKHR :: PhysicalDeviceSynchronization2Features
  6688. PhysicalDeviceZeroInitializeWorkgroupMemoryFeaturesKHR :: PhysicalDeviceZeroInitializeWorkgroupMemoryFeatures
  6689. CopyBufferInfo2KHR :: CopyBufferInfo2
  6690. CopyImageInfo2KHR :: CopyImageInfo2
  6691. CopyBufferToImageInfo2KHR :: CopyBufferToImageInfo2
  6692. CopyImageToBufferInfo2KHR :: CopyImageToBufferInfo2
  6693. BlitImageInfo2KHR :: BlitImageInfo2
  6694. ResolveImageInfo2KHR :: ResolveImageInfo2
  6695. BufferCopy2KHR :: BufferCopy2
  6696. ImageCopy2KHR :: ImageCopy2
  6697. ImageBlit2KHR :: ImageBlit2
  6698. BufferImageCopy2KHR :: BufferImageCopy2
  6699. ImageResolve2KHR :: ImageResolve2
  6700. FormatFeatureFlags2KHR :: FormatFeatureFlags2
  6701. FormatFeatureFlag2KHR :: FormatFeatureFlag2
  6702. FormatProperties3KHR :: FormatProperties3
  6703. PhysicalDeviceMaintenance4FeaturesKHR :: PhysicalDeviceMaintenance4Features
  6704. PhysicalDeviceMaintenance4PropertiesKHR :: PhysicalDeviceMaintenance4Properties
  6705. DeviceBufferMemoryRequirementsKHR :: DeviceBufferMemoryRequirements
  6706. DeviceImageMemoryRequirementsKHR :: DeviceImageMemoryRequirements
  6707. PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT :: PhysicalDeviceTextureCompressionASTCHDRFeatures
  6708. SamplerReductionModeEXT :: SamplerReductionMode
  6709. SamplerReductionModeCreateInfoEXT :: SamplerReductionModeCreateInfo
  6710. PhysicalDeviceSamplerFilterMinmaxPropertiesEXT :: PhysicalDeviceSamplerFilterMinmaxProperties
  6711. PhysicalDeviceInlineUniformBlockFeaturesEXT :: PhysicalDeviceInlineUniformBlockFeatures
  6712. PhysicalDeviceInlineUniformBlockPropertiesEXT :: PhysicalDeviceInlineUniformBlockProperties
  6713. WriteDescriptorSetInlineUniformBlockEXT :: WriteDescriptorSetInlineUniformBlock
  6714. DescriptorPoolInlineUniformBlockCreateInfoEXT :: DescriptorPoolInlineUniformBlockCreateInfo
  6715. DescriptorBindingFlagEXT :: DescriptorBindingFlag
  6716. DescriptorBindingFlagsEXT :: DescriptorBindingFlags
  6717. DescriptorSetLayoutBindingFlagsCreateInfoEXT :: DescriptorSetLayoutBindingFlagsCreateInfo
  6718. PhysicalDeviceDescriptorIndexingFeaturesEXT :: PhysicalDeviceDescriptorIndexingFeatures
  6719. PhysicalDeviceDescriptorIndexingPropertiesEXT :: PhysicalDeviceDescriptorIndexingProperties
  6720. DescriptorSetVariableDescriptorCountAllocateInfoEXT :: DescriptorSetVariableDescriptorCountAllocateInfo
  6721. DescriptorSetVariableDescriptorCountLayoutSupportEXT :: DescriptorSetVariableDescriptorCountLayoutSupport
  6722. RayTracingShaderGroupTypeNV :: RayTracingShaderGroupTypeKHR
  6723. GeometryTypeNV :: GeometryTypeKHR
  6724. AccelerationStructureTypeNV :: AccelerationStructureTypeKHR
  6725. CopyAccelerationStructureModeNV :: CopyAccelerationStructureModeKHR
  6726. GeometryFlagsNV :: GeometryFlagsKHR
  6727. GeometryFlagNV :: GeometryFlagKHR
  6728. GeometryInstanceFlagsNV :: GeometryInstanceFlagsKHR
  6729. GeometryInstanceFlagNV :: GeometryInstanceFlagKHR
  6730. BuildAccelerationStructureFlagsNV :: BuildAccelerationStructureFlagsKHR
  6731. BuildAccelerationStructureFlagNV :: BuildAccelerationStructureFlagKHR
  6732. TransformMatrixNV :: TransformMatrixKHR
  6733. AabbPositionsNV :: AabbPositionsKHR
  6734. AccelerationStructureInstanceNV :: AccelerationStructureInstanceKHR
  6735. QueueGlobalPriorityEXT :: QueueGlobalPriorityKHR
  6736. DeviceQueueGlobalPriorityCreateInfoEXT :: DeviceQueueGlobalPriorityCreateInfoKHR
  6737. PipelineCreationFeedbackFlagEXT :: PipelineCreationFeedbackFlag
  6738. PipelineCreationFeedbackFlagsEXT :: PipelineCreationFeedbackFlags
  6739. PipelineCreationFeedbackCreateInfoEXT :: PipelineCreationFeedbackCreateInfo
  6740. PipelineCreationFeedbackEXT :: PipelineCreationFeedback
  6741. PhysicalDeviceFragmentShaderBarycentricFeaturesNV :: PhysicalDeviceFragmentShaderBarycentricFeaturesKHR
  6742. QueryPoolCreateInfoINTEL :: QueryPoolPerformanceQueryCreateInfoINTEL
  6743. PhysicalDeviceScalarBlockLayoutFeaturesEXT :: PhysicalDeviceScalarBlockLayoutFeatures
  6744. PhysicalDeviceSubgroupSizeControlFeaturesEXT :: PhysicalDeviceSubgroupSizeControlFeatures
  6745. PhysicalDeviceSubgroupSizeControlPropertiesEXT :: PhysicalDeviceSubgroupSizeControlProperties
  6746. PipelineShaderStageRequiredSubgroupSizeCreateInfoEXT :: PipelineShaderStageRequiredSubgroupSizeCreateInfo
  6747. PhysicalDeviceBufferAddressFeaturesEXT :: PhysicalDeviceBufferDeviceAddressFeaturesEXT
  6748. BufferDeviceAddressInfoEXT :: BufferDeviceAddressInfo
  6749. ToolPurposeFlagEXT :: ToolPurposeFlag
  6750. ToolPurposeFlagsEXT :: ToolPurposeFlags
  6751. PhysicalDeviceToolPropertiesEXT :: PhysicalDeviceToolProperties
  6752. ImageStencilUsageCreateInfoEXT :: ImageStencilUsageCreateInfo
  6753. PhysicalDeviceHostQueryResetFeaturesEXT :: PhysicalDeviceHostQueryResetFeatures
  6754. PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT :: PhysicalDeviceShaderDemoteToHelperInvocationFeatures
  6755. PhysicalDeviceTexelBufferAlignmentPropertiesEXT :: PhysicalDeviceTexelBufferAlignmentProperties
  6756. PrivateDataSlotEXT :: PrivateDataSlot
  6757. PrivateDataSlotCreateFlagsEXT :: PrivateDataSlotCreateFlags
  6758. PhysicalDevicePrivateDataFeaturesEXT :: PhysicalDevicePrivateDataFeatures
  6759. DevicePrivateDataCreateInfoEXT :: DevicePrivateDataCreateInfo
  6760. PrivateDataSlotCreateInfoEXT :: PrivateDataSlotCreateInfo
  6761. PhysicalDevicePipelineCreationCacheControlFeaturesEXT :: PhysicalDevicePipelineCreationCacheControlFeatures
  6762. PhysicalDeviceImageRobustnessFeaturesEXT :: PhysicalDeviceImageRobustnessFeatures
  6763. PhysicalDeviceRasterizationOrderAttachmentAccessFeaturesARM :: PhysicalDeviceRasterizationOrderAttachmentAccessFeaturesEXT
  6764. PhysicalDeviceMutableDescriptorTypeFeaturesVALVE :: PhysicalDeviceMutableDescriptorTypeFeaturesEXT
  6765. MutableDescriptorTypeListVALVE :: MutableDescriptorTypeListEXT
  6766. MutableDescriptorTypeCreateInfoVALVE :: MutableDescriptorTypeCreateInfoEXT
  6767. PipelineInfoEXT :: PipelineInfoKHR
  6768. PhysicalDeviceGlobalPriorityQueryFeaturesEXT :: PhysicalDeviceGlobalPriorityQueryFeaturesKHR
  6769. QueueFamilyGlobalPriorityPropertiesEXT :: QueueFamilyGlobalPriorityPropertiesKHR
  6770. MemoryDecompressionMethodFlagNV :: Flags64
  6771. MemoryDecompressionMethodFlagsNV :: Flags64
  6772. ShaderRequiredSubgroupSizeCreateInfoEXT :: PipelineShaderStageRequiredSubgroupSizeCreateInfo