[{"data":1,"prerenderedAt":1482},["ShallowReactive",2],{"Tvin8LUKvm":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":1481,"_id":4},"vkQueueSubmit2","Submits command buffers to a queue","VK_VERSION_1_3","protos",[],{"type":10,"children":11,"toc":1479},"root",[12,20,326,419,443,470,516,589,1290,1434,1473],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To submit command buffers to a queue, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,146],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkQueueSubmit2KHR(\n VkQueue queue,\n uint32_t submitCount,\n const VkSubmitInfo2* pSubmits,\n VkFence fence);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,60,80,99,127],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,55],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[47],{"type":18,"value":48},"VkResult ",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54},"vkQueueSubmit2KHR",{"type":13,"tag":38,"props":56,"children":57},{"style":45},[58],{"type":18,"value":59},"(\n",{"type":13,"tag":38,"props":61,"children":63},{"class":40,"line":62},2,[64,69,75],{"type":13,"tag":38,"props":65,"children":66},{"style":45},[67],{"type":18,"value":68}," VkQueue ",{"type":13,"tag":38,"props":70,"children":72},{"style":71},"--shiki-default:#953800;--shiki-dark:#FFA657",[73],{"type":18,"value":74},"queue",{"type":13,"tag":38,"props":76,"children":77},{"style":45},[78],{"type":18,"value":79},",\n",{"type":13,"tag":38,"props":81,"children":83},{"class":40,"line":82},3,[84,90,95],{"type":13,"tag":38,"props":85,"children":87},{"style":86},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[88],{"type":18,"value":89}," uint32_t",{"type":13,"tag":38,"props":91,"children":92},{"style":71},[93],{"type":18,"value":94}," submitCount",{"type":13,"tag":38,"props":96,"children":97},{"style":45},[98],{"type":18,"value":79},{"type":13,"tag":38,"props":100,"children":102},{"class":40,"line":101},4,[103,108,113,118,123],{"type":13,"tag":38,"props":104,"children":105},{"style":86},[106],{"type":18,"value":107}," const",{"type":13,"tag":38,"props":109,"children":110},{"style":45},[111],{"type":18,"value":112}," VkSubmitInfo2",{"type":13,"tag":38,"props":114,"children":115},{"style":86},[116],{"type":18,"value":117},"*",{"type":13,"tag":38,"props":119,"children":120},{"style":71},[121],{"type":18,"value":122}," pSubmits",{"type":13,"tag":38,"props":124,"children":125},{"style":45},[126],{"type":18,"value":79},{"type":13,"tag":38,"props":128,"children":130},{"class":40,"line":129},5,[131,136,141],{"type":13,"tag":38,"props":132,"children":133},{"style":45},[134],{"type":18,"value":135}," VkFence ",{"type":13,"tag":38,"props":137,"children":138},{"style":71},[139],{"type":18,"value":140},"fence",{"type":13,"tag":38,"props":142,"children":143},{"style":45},[144],{"type":18,"value":145},");\n",{"type":13,"tag":25,"props":147,"children":152},{"className":148,"code":149,"filename":150,"language":151,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn queue_submit2_khr(\n queue: vk::Queue,\n submit_count: u32,\n p_submits: *const vk::SubmitInfo2,\n fence: vk::Fence,\n) -> vk::Result;\n","Rust","rs",[153],{"type":13,"tag":34,"props":154,"children":155},{"__ignoreMap":31},[156,178,210,231,265,294],{"type":13,"tag":38,"props":157,"children":158},{"class":40,"line":41},[159,164,169,174],{"type":13,"tag":38,"props":160,"children":161},{"style":86},[162],{"type":18,"value":163},"pub",{"type":13,"tag":38,"props":165,"children":166},{"style":86},[167],{"type":18,"value":168}," fn",{"type":13,"tag":38,"props":170,"children":171},{"style":51},[172],{"type":18,"value":173}," queue_submit2_khr",{"type":13,"tag":38,"props":175,"children":176},{"style":45},[177],{"type":18,"value":59},{"type":13,"tag":38,"props":179,"children":180},{"class":40,"line":62},[181,186,191,196,201,206],{"type":13,"tag":38,"props":182,"children":183},{"style":45},[184],{"type":18,"value":185}," queue",{"type":13,"tag":38,"props":187,"children":188},{"style":86},[189],{"type":18,"value":190},":",{"type":13,"tag":38,"props":192,"children":193},{"style":71},[194],{"type":18,"value":195}," vk",{"type":13,"tag":38,"props":197,"children":198},{"style":86},[199],{"type":18,"value":200},"::",{"type":13,"tag":38,"props":202,"children":203},{"style":71},[204],{"type":18,"value":205},"Queue",{"type":13,"tag":38,"props":207,"children":208},{"style":45},[209],{"type":18,"value":79},{"type":13,"tag":38,"props":211,"children":212},{"class":40,"line":82},[213,218,222,227],{"type":13,"tag":38,"props":214,"children":215},{"style":45},[216],{"type":18,"value":217}," submit_count",{"type":13,"tag":38,"props":219,"children":220},{"style":86},[221],{"type":18,"value":190},{"type":13,"tag":38,"props":223,"children":224},{"style":71},[225],{"type":18,"value":226}," u32",{"type":13,"tag":38,"props":228,"children":229},{"style":45},[230],{"type":18,"value":79},{"type":13,"tag":38,"props":232,"children":233},{"class":40,"line":101},[234,239,243,248,252,256,261],{"type":13,"tag":38,"props":235,"children":236},{"style":45},[237],{"type":18,"value":238}," p_submits",{"type":13,"tag":38,"props":240,"children":241},{"style":86},[242],{"type":18,"value":190},{"type":13,"tag":38,"props":244,"children":245},{"style":86},[246],{"type":18,"value":247}," *const",{"type":13,"tag":38,"props":249,"children":250},{"style":71},[251],{"type":18,"value":195},{"type":13,"tag":38,"props":253,"children":254},{"style":86},[255],{"type":18,"value":200},{"type":13,"tag":38,"props":257,"children":258},{"style":71},[259],{"type":18,"value":260},"SubmitInfo2",{"type":13,"tag":38,"props":262,"children":263},{"style":45},[264],{"type":18,"value":79},{"type":13,"tag":38,"props":266,"children":267},{"class":40,"line":129},[268,273,277,281,285,290],{"type":13,"tag":38,"props":269,"children":270},{"style":45},[271],{"type":18,"value":272}," fence",{"type":13,"tag":38,"props":274,"children":275},{"style":86},[276],{"type":18,"value":190},{"type":13,"tag":38,"props":278,"children":279},{"style":71},[280],{"type":18,"value":195},{"type":13,"tag":38,"props":282,"children":283},{"style":86},[284],{"type":18,"value":200},{"type":13,"tag":38,"props":286,"children":287},{"style":71},[288],{"type":18,"value":289},"Fence",{"type":13,"tag":38,"props":291,"children":292},{"style":45},[293],{"type":18,"value":79},{"type":13,"tag":38,"props":295,"children":297},{"class":40,"line":296},6,[298,303,308,312,316,321],{"type":13,"tag":38,"props":299,"children":300},{"style":45},[301],{"type":18,"value":302},") ",{"type":13,"tag":38,"props":304,"children":305},{"style":86},[306],{"type":18,"value":307},"->",{"type":13,"tag":38,"props":309,"children":310},{"style":71},[311],{"type":18,"value":195},{"type":13,"tag":38,"props":313,"children":314},{"style":86},[315],{"type":18,"value":200},{"type":13,"tag":38,"props":317,"children":318},{"style":71},[319],{"type":18,"value":320},"Result",{"type":13,"tag":38,"props":322,"children":323},{"style":45},[324],{"type":18,"value":325},";\n",{"type":13,"tag":327,"props":328,"children":329},"ul",{},[330,341,360,379],{"type":13,"tag":331,"props":332,"children":333},"li",{},[334,339],{"type":13,"tag":34,"props":335,"children":337},{"className":336},[],[338],{"type":18,"value":74},{"type":18,"value":340}," is the queue that the command buffers will be submitted to.",{"type":13,"tag":331,"props":342,"children":343},{},[344,350,352,358],{"type":13,"tag":34,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":349},"submitCount",{"type":18,"value":351}," is the number of elements in the ",{"type":13,"tag":34,"props":353,"children":355},{"className":354},[],[356],{"type":18,"value":357},"pSubmits",{"type":18,"value":359}," array.",{"type":13,"tag":331,"props":361,"children":362},{},[363,368,370,377],{"type":13,"tag":34,"props":364,"children":366},{"className":365},[],[367],{"type":18,"value":357},{"type":18,"value":369}," is a pointer to an array of ",{"type":13,"tag":371,"props":372,"children":374},"a",{"href":373},"/man/VkSubmitInfo2",[375],{"type":18,"value":376},"VkSubmitInfo2",{"type":18,"value":378},"\nstructures, each specifying a command buffer submission batch.",{"type":13,"tag":331,"props":380,"children":381},{},[382,387,389,394,396,401,403,409,411,417],{"type":13,"tag":34,"props":383,"children":385},{"className":384},[],[386],{"type":18,"value":140},{"type":18,"value":388}," is an ",{"type":13,"tag":390,"props":391,"children":393},"normative",{"type":392},"optional",[],{"type":18,"value":395}," handle to a fence to be signaled once all\nsubmitted command buffers have completed execution.\nIf ",{"type":13,"tag":34,"props":397,"children":399},{"className":398},[],[400],{"type":18,"value":140},{"type":18,"value":402}," is not ",{"type":13,"tag":371,"props":404,"children":406},{"href":405},"/man/VK_NULL_HANDLE",[407],{"type":18,"value":408},"VK_NULL_HANDLE",{"type":18,"value":410},", it defines a\n",{"type":13,"tag":371,"props":412,"children":414},{"href":413},"/chapters/synchronization#synchronization-fences-signaling",[415],{"type":18,"value":416},"fence signal operation",{"type":18,"value":418},".",{"type":13,"tag":14,"props":420,"children":421},{},[422,427,429,435,437,442],{"type":13,"tag":34,"props":423,"children":425},{"className":424},[],[426],{"type":18,"value":4},{"type":18,"value":428}," is a ",{"type":13,"tag":371,"props":430,"children":432},{"href":431},"/chapters/devsandqueues#devsandqueues-submission",[433],{"type":18,"value":434},"queue submission\ncommand",{"type":18,"value":436},", with each batch defined by an element of ",{"type":13,"tag":34,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":357},{"type":18,"value":418},{"type":13,"tag":14,"props":444,"children":445},{},[446,448,453,455,461,463,469],{"type":18,"value":447},"Semaphore operations submitted with ",{"type":13,"tag":371,"props":449,"children":451},{"href":450},"/man/vkQueueSubmit2",[452],{"type":18,"value":4},{"type":18,"value":454}," have additional\nordering constraints compared to other submission commands, with\ndependencies involving previous and subsequent queue operations.\nInformation about these additional constraints can be found in the\n",{"type":13,"tag":371,"props":456,"children":458},{"href":457},"/chapters/synchronization#synchronization-semaphores",[459],{"type":18,"value":460},"semaphore",{"type":18,"value":462}," section of ",{"type":13,"tag":371,"props":464,"children":466},{"href":465},"/chapters/synchronization#synchronization",[467],{"type":18,"value":468},"the\nsynchronization chapter",{"type":18,"value":418},{"type":13,"tag":14,"props":471,"children":472},{},[473,475,481,483,488,490,494,496,500,502,508,510,515],{"type":18,"value":474},"If any command buffer submitted to this queue is in the\n",{"type":13,"tag":371,"props":476,"children":478},{"href":477},"/chapters/commandbuffers#commandbuffers-lifecycle",[479],{"type":18,"value":480},"executable state",{"type":18,"value":482},", it is moved to the\n",{"type":13,"tag":371,"props":484,"children":485},{"href":477},[486],{"type":18,"value":487},"pending state",{"type":18,"value":489},".\nOnce execution of all submissions of a command buffer complete, it moves\nfrom the ",{"type":13,"tag":371,"props":491,"children":492},{"href":477},[493],{"type":18,"value":487},{"type":18,"value":495},", back to the\n",{"type":13,"tag":371,"props":497,"children":498},{"href":477},[499],{"type":18,"value":480},{"type":18,"value":501},".\nIf a command buffer was recorded with the\n",{"type":13,"tag":34,"props":503,"children":505},{"className":504},[],[506],{"type":18,"value":507},"VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT",{"type":18,"value":509}," flag, it instead moves\nback to the ",{"type":13,"tag":371,"props":511,"children":512},{"href":477},[513],{"type":18,"value":514},"invalid state",{"type":18,"value":418},{"type":13,"tag":14,"props":517,"children":518},{},[519,521,526,528,532,534,540,542,548,550,554,556,561,563,568,570,573,574,580,582,588],{"type":18,"value":520},"If ",{"type":13,"tag":34,"props":522,"children":524},{"className":523},[],[525],{"type":18,"value":4},{"type":18,"value":527}," fails, it ",{"type":13,"tag":390,"props":529,"children":531},{"type":530},"may",[],{"type":18,"value":533}," return\n",{"type":13,"tag":34,"props":535,"children":537},{"className":536},[],[538],{"type":18,"value":539},"VK_ERROR_OUT_OF_HOST_MEMORY",{"type":18,"value":541}," or ",{"type":13,"tag":34,"props":543,"children":545},{"className":544},[],[546],{"type":18,"value":547},"VK_ERROR_OUT_OF_DEVICE_MEMORY",{"type":18,"value":549},".\nIf it does, the implementation ",{"type":13,"tag":390,"props":551,"children":553},{"type":552},"must",[],{"type":18,"value":555}," ensure that the state and contents of\nany resources or synchronization primitives referenced by the submitted\ncommand buffers and any semaphores referenced by ",{"type":13,"tag":34,"props":557,"children":559},{"className":558},[],[560],{"type":18,"value":357},{"type":18,"value":562}," is\nunaffected by the call or its failure.\nIf ",{"type":13,"tag":34,"props":564,"children":566},{"className":565},[],[567],{"type":18,"value":4},{"type":18,"value":569}," fails in such a way that the implementation is\nunable to make that guarantee, the implementation ",{"type":13,"tag":390,"props":571,"children":572},{"type":552},[],{"type":18,"value":533},{"type":13,"tag":34,"props":575,"children":577},{"className":576},[],[578],{"type":18,"value":579},"VK_ERROR_DEVICE_LOST",{"type":18,"value":581},".\nSee ",{"type":13,"tag":371,"props":583,"children":585},{"href":584},"/chapters/devsandqueues#devsandqueues-lost-device",[586],{"type":18,"value":587},"Lost Device",{"type":18,"value":418},{"type":13,"tag":590,"props":591,"children":593},"validity-group",{"name":592},"Valid Usage",[594,627,657,683,733,765,804,842,875,934,970,1014,1057,1104,1149,1204],{"type":13,"tag":595,"props":596,"children":598},"validity-field",{"name":597},"VUID-vkQueueSubmit2-fence-04894",[599],{"type":13,"tag":14,"props":600,"children":601},{},[602,603,608,609,613,615,620,622,625],{"type":18,"value":520},{"type":13,"tag":34,"props":604,"children":606},{"className":605},[],[607],{"type":18,"value":140},{"type":18,"value":402},{"type":13,"tag":371,"props":610,"children":611},{"href":405},[612],{"type":18,"value":408},{"type":18,"value":614},", ",{"type":13,"tag":34,"props":616,"children":618},{"className":617},[],[619],{"type":18,"value":140},{"type":18,"value":621}," ",{"type":13,"tag":390,"props":623,"children":624},{"type":552},[],{"type":18,"value":626}," be\nunsignaled",{"type":13,"tag":595,"props":628,"children":630},{"name":629},"VUID-vkQueueSubmit2-fence-04895",[631],{"type":13,"tag":14,"props":632,"children":633},{},[634,635,640,641,645,646,651,652,655],{"type":18,"value":520},{"type":13,"tag":34,"props":636,"children":638},{"className":637},[],[639],{"type":18,"value":140},{"type":18,"value":402},{"type":13,"tag":371,"props":642,"children":643},{"href":405},[644],{"type":18,"value":408},{"type":18,"value":614},{"type":13,"tag":34,"props":647,"children":649},{"className":648},[],[650],{"type":18,"value":140},{"type":18,"value":621},{"type":13,"tag":390,"props":653,"children":654},{"type":552},[],{"type":18,"value":656}," not be\nassociated with any other queue command that has not yet completed\nexecution on that queue",{"type":13,"tag":595,"props":658,"children":660},{"name":659},"VUID-vkQueueSubmit2-synchronization2-03866",[661],{"type":13,"tag":14,"props":662,"children":663},{},[664,666,676,678,681],{"type":18,"value":665},"The ",{"type":13,"tag":371,"props":667,"children":669},{"href":668},"/man/VkPhysicalDeviceSynchronization2Features#features-synchronization2",[670],{"type":13,"tag":34,"props":671,"children":673},{"className":672},[],[674],{"type":18,"value":675},"synchronization2",{"type":18,"value":677}," feature ",{"type":13,"tag":390,"props":679,"children":680},{"type":552},[],{"type":18,"value":682},"\nbe enabled",{"type":13,"tag":595,"props":684,"children":686},{"name":685},"VUID-vkQueueSubmit2-commandBuffer-03867",[687],{"type":13,"tag":14,"props":688,"children":689},{},[690,692,698,700,706,708,713,715,721,723,726,728],{"type":18,"value":691},"If a command recorded into the ",{"type":13,"tag":34,"props":693,"children":695},{"className":694},[],[696],{"type":18,"value":697},"commandBuffer",{"type":18,"value":699}," member of any element\nof the ",{"type":13,"tag":34,"props":701,"children":703},{"className":702},[],[704],{"type":18,"value":705},"pCommandBufferInfos",{"type":18,"value":707}," member of any element of ",{"type":13,"tag":34,"props":709,"children":711},{"className":710},[],[712],{"type":18,"value":357},{"type":18,"value":714},"\nreferenced a ",{"type":13,"tag":371,"props":716,"children":718},{"href":717},"/man/VkEvent",[719],{"type":18,"value":720},"VkEvent",{"type":18,"value":722},", that event ",{"type":13,"tag":390,"props":724,"children":725},{"type":552},[],{"type":18,"value":727}," not be referenced by a\ncommand that has been submitted to another queue and is still in the\n",{"type":13,"tag":729,"props":730,"children":731},"em",{},[732],{"type":18,"value":487},{"type":13,"tag":595,"props":734,"children":736},{"name":735},"VUID-vkQueueSubmit2-semaphore-03868",[737],{"type":13,"tag":14,"props":738,"children":739},{},[740,741,746,748,754,755,760,763],{"type":18,"value":665},{"type":13,"tag":34,"props":742,"children":744},{"className":743},[],[745],{"type":18,"value":460},{"type":18,"value":747}," member of any binary semaphore element of the\n",{"type":13,"tag":34,"props":749,"children":751},{"className":750},[],[752],{"type":18,"value":753},"pSignalSemaphoreInfos",{"type":18,"value":707},{"type":13,"tag":34,"props":756,"children":758},{"className":757},[],[759],{"type":18,"value":357},{"type":13,"tag":390,"props":761,"children":762},{"type":552},[],{"type":18,"value":764}," be unsignaled when the semaphore signal operation it defines is\nexecuted on the device",{"type":13,"tag":595,"props":766,"children":768},{"name":767},"VUID-vkQueueSubmit2-stageMask-03869",[769],{"type":13,"tag":14,"props":770,"children":771},{},[772,773,779,781,786,787,792,795,797,802],{"type":18,"value":665},{"type":13,"tag":34,"props":774,"children":776},{"className":775},[],[777],{"type":18,"value":778},"stageMask",{"type":18,"value":780}," member of any element of the\n",{"type":13,"tag":34,"props":782,"children":784},{"className":783},[],[785],{"type":18,"value":753},{"type":18,"value":707},{"type":13,"tag":34,"props":788,"children":790},{"className":789},[],[791],{"type":18,"value":357},{"type":13,"tag":390,"props":793,"children":794},{"type":552},[],{"type":18,"value":796}," only include pipeline stages that are supported by the queue\nfamily which ",{"type":13,"tag":34,"props":798,"children":800},{"className":799},[],[801],{"type":18,"value":74},{"type":18,"value":803}," belongs to",{"type":13,"tag":595,"props":805,"children":807},{"name":806},"VUID-vkQueueSubmit2-stageMask-03870",[808],{"type":13,"tag":14,"props":809,"children":810},{},[811,812,817,818,824,825,830,831,834,836,841],{"type":18,"value":665},{"type":13,"tag":34,"props":813,"children":815},{"className":814},[],[816],{"type":18,"value":778},{"type":18,"value":780},{"type":13,"tag":34,"props":819,"children":821},{"className":820},[],[822],{"type":18,"value":823},"pWaitSemaphoreInfos",{"type":18,"value":707},{"type":13,"tag":34,"props":826,"children":828},{"className":827},[],[829],{"type":18,"value":357},{"type":18,"value":621},{"type":13,"tag":390,"props":832,"children":833},{"type":552},[],{"type":18,"value":835},"\nonly include pipeline stages that are supported by the queue family\nwhich ",{"type":13,"tag":34,"props":837,"children":839},{"className":838},[],[840],{"type":18,"value":74},{"type":18,"value":803},{"type":13,"tag":595,"props":843,"children":845},{"name":844},"VUID-vkQueueSubmit2-semaphore-03871",[846],{"type":13,"tag":14,"props":847,"children":848},{},[849,851,856,857,862,863,868,870,873],{"type":18,"value":850},"When a semaphore wait operation for a binary semaphore is executed, as\ndefined by the ",{"type":13,"tag":34,"props":852,"children":854},{"className":853},[],[855],{"type":18,"value":460},{"type":18,"value":780},{"type":13,"tag":34,"props":858,"children":860},{"className":859},[],[861],{"type":18,"value":823},{"type":18,"value":707},{"type":13,"tag":34,"props":864,"children":866},{"className":865},[],[867],{"type":18,"value":357},{"type":18,"value":869},", there\n",{"type":13,"tag":390,"props":871,"children":872},{"type":552},[],{"type":18,"value":874}," be no other queues waiting on the same semaphore",{"type":13,"tag":595,"props":876,"children":878},{"name":877},"VUID-vkQueueSubmit2-semaphore-03873",[879],{"type":13,"tag":14,"props":880,"children":881},{},[882,883,888,889,894,895,900,902,908,910,916,919,921,927,929,932],{"type":18,"value":665},{"type":13,"tag":34,"props":884,"children":886},{"className":885},[],[887],{"type":18,"value":460},{"type":18,"value":780},{"type":13,"tag":34,"props":890,"children":892},{"className":891},[],[893],{"type":18,"value":823},{"type":18,"value":707},{"type":13,"tag":34,"props":896,"children":898},{"className":897},[],[899],{"type":18,"value":357},{"type":18,"value":901},"\nthat was created with a ",{"type":13,"tag":371,"props":903,"children":905},{"href":904},"/man/VkSemaphoreTypeKHR",[906],{"type":18,"value":907},"VkSemaphoreTypeKHR",{"type":18,"value":909}," of\n",{"type":13,"tag":34,"props":911,"children":913},{"className":912},[],[914],{"type":18,"value":915},"VK_SEMAPHORE_TYPE_BINARY_KHR",{"type":13,"tag":390,"props":917,"children":918},{"type":552},[],{"type":18,"value":920}," reference a semaphore signal operation that has been submitted for\nexecution and any ",{"type":13,"tag":371,"props":922,"children":924},{"href":923},"/chapters/synchronization#synchronization-semaphores-signaling",[925],{"type":18,"value":926},"semaphore\nsignal operations",{"type":18,"value":928}," on which it depends ",{"type":13,"tag":390,"props":930,"children":931},{"type":552},[],{"type":18,"value":933}," have also been submitted\nfor execution",{"type":13,"tag":595,"props":935,"children":937},{"name":936},"VUID-vkQueueSubmit2-commandBuffer-03874",[938],{"type":13,"tag":14,"props":939,"children":940},{},[941,942,947,948,953,954,959,960,963,965],{"type":18,"value":665},{"type":13,"tag":34,"props":943,"children":945},{"className":944},[],[946],{"type":18,"value":697},{"type":18,"value":780},{"type":13,"tag":34,"props":949,"children":951},{"className":950},[],[952],{"type":18,"value":705},{"type":18,"value":707},{"type":13,"tag":34,"props":955,"children":957},{"className":956},[],[958],{"type":18,"value":357},{"type":18,"value":621},{"type":13,"tag":390,"props":961,"children":962},{"type":552},[],{"type":18,"value":964},"\nbe in the ",{"type":13,"tag":371,"props":966,"children":967},{"href":477},[968],{"type":18,"value":969},"pending or executable state",{"type":13,"tag":595,"props":971,"children":973},{"name":972},"VUID-vkQueueSubmit2-commandBuffer-03875",[974],{"type":13,"tag":14,"props":975,"children":976},{},[977,978,983,984,989,990,995,997,1003,1005,1008,1010],{"type":18,"value":691},{"type":13,"tag":34,"props":979,"children":981},{"className":980},[],[982],{"type":18,"value":697},{"type":18,"value":699},{"type":13,"tag":34,"props":985,"children":987},{"className":986},[],[988],{"type":18,"value":705},{"type":18,"value":707},{"type":13,"tag":34,"props":991,"children":993},{"className":992},[],[994],{"type":18,"value":357},{"type":18,"value":996},"\nwas not recorded with the\n",{"type":13,"tag":34,"props":998,"children":1000},{"className":999},[],[1001],{"type":18,"value":1002},"VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT",{"type":18,"value":1004},", it ",{"type":13,"tag":390,"props":1006,"children":1007},{"type":552},[],{"type":18,"value":1009}," not be in\nthe ",{"type":13,"tag":371,"props":1011,"children":1012},{"href":477},[1013],{"type":18,"value":487},{"type":13,"tag":595,"props":1015,"children":1017},{"name":1016},"VUID-vkQueueSubmit2-commandBuffer-03876",[1018],{"type":13,"tag":14,"props":1019,"children":1020},{},[1021,1023,1029,1031,1036,1037,1042,1043,1048,1049,1052,1053],{"type":18,"value":1022},"Any ",{"type":13,"tag":371,"props":1024,"children":1026},{"href":1025},"/chapters/commandbuffers#commandbuffers-secondary",[1027],{"type":18,"value":1028},"secondary command buffers recorded",{"type":18,"value":1030},"\ninto the ",{"type":13,"tag":34,"props":1032,"children":1034},{"className":1033},[],[1035],{"type":18,"value":697},{"type":18,"value":780},{"type":13,"tag":34,"props":1038,"children":1040},{"className":1039},[],[1041],{"type":18,"value":705},{"type":18,"value":707},{"type":13,"tag":34,"props":1044,"children":1046},{"className":1045},[],[1047],{"type":18,"value":357},{"type":18,"value":621},{"type":13,"tag":390,"props":1050,"children":1051},{"type":552},[],{"type":18,"value":964},{"type":13,"tag":371,"props":1054,"children":1055},{"href":477},[1056],{"type":18,"value":969},{"type":13,"tag":595,"props":1058,"children":1060},{"name":1059},"VUID-vkQueueSubmit2-commandBuffer-03877",[1061],{"type":13,"tag":14,"props":1062,"children":1063},{},[1064,1066,1070,1071,1076,1077,1082,1083,1088,1090,1095,1096,1099,1100],{"type":18,"value":1065},"If any ",{"type":13,"tag":371,"props":1067,"children":1068},{"href":1025},[1069],{"type":18,"value":1028},{"type":18,"value":1030},{"type":13,"tag":34,"props":1072,"children":1074},{"className":1073},[],[1075],{"type":18,"value":697},{"type":18,"value":780},{"type":13,"tag":34,"props":1078,"children":1080},{"className":1079},[],[1081],{"type":18,"value":705},{"type":18,"value":707},{"type":13,"tag":34,"props":1084,"children":1086},{"className":1085},[],[1087],{"type":18,"value":357},{"type":18,"value":1089}," was\nnot recorded with the\n",{"type":13,"tag":34,"props":1091,"children":1093},{"className":1092},[],[1094],{"type":18,"value":1002},{"type":18,"value":1004},{"type":13,"tag":390,"props":1097,"children":1098},{"type":552},[],{"type":18,"value":1009},{"type":13,"tag":371,"props":1101,"children":1102},{"href":477},[1103],{"type":18,"value":487},{"type":13,"tag":595,"props":1105,"children":1107},{"name":1106},"VUID-vkQueueSubmit2-commandBuffer-03878",[1108],{"type":13,"tag":14,"props":1109,"children":1110},{},[1111,1112,1117,1118,1123,1124,1129,1130,1133,1135,1141,1143,1148],{"type":18,"value":665},{"type":13,"tag":34,"props":1113,"children":1115},{"className":1114},[],[1116],{"type":18,"value":697},{"type":18,"value":780},{"type":13,"tag":34,"props":1119,"children":1121},{"className":1120},[],[1122],{"type":18,"value":705},{"type":18,"value":707},{"type":13,"tag":34,"props":1125,"children":1127},{"className":1126},[],[1128],{"type":18,"value":357},{"type":18,"value":621},{"type":13,"tag":390,"props":1131,"children":1132},{"type":552},[],{"type":18,"value":1134},"\nhave been allocated from a ",{"type":13,"tag":34,"props":1136,"children":1138},{"className":1137},[],[1139],{"type":18,"value":1140},"VkCommandPool",{"type":18,"value":1142}," that was created for the\nsame queue family ",{"type":13,"tag":34,"props":1144,"children":1146},{"className":1145},[],[1147],{"type":18,"value":74},{"type":18,"value":803},{"type":13,"tag":595,"props":1150,"children":1152},{"name":1151},"VUID-vkQueueSubmit2-commandBuffer-03879",[1153],{"type":13,"tag":14,"props":1154,"children":1155},{},[1156,1157,1162,1163,1168,1169,1174,1176,1182,1184,1187,1189,1195,1197,1202],{"type":18,"value":691},{"type":13,"tag":34,"props":1158,"children":1160},{"className":1159},[],[1161],{"type":18,"value":697},{"type":18,"value":699},{"type":13,"tag":34,"props":1164,"children":1166},{"className":1165},[],[1167],{"type":18,"value":705},{"type":18,"value":707},{"type":13,"tag":34,"props":1170,"children":1172},{"className":1171},[],[1173],{"type":18,"value":357},{"type":18,"value":1175},"\nincludes a ",{"type":13,"tag":371,"props":1177,"children":1179},{"href":1178},"/chapters/synchronization#synchronization-queue-transfers-acquire",[1180],{"type":18,"value":1181},"Queue Family\nOwnership Transfer Acquire Operation",{"type":18,"value":1183},", there ",{"type":13,"tag":390,"props":1185,"children":1186},{"type":552},[],{"type":18,"value":1188}," exist a previously\nsubmitted ",{"type":13,"tag":371,"props":1190,"children":1192},{"href":1191},"/chapters/synchronization#synchronization-queue-transfers-release",[1193],{"type":18,"value":1194},"Queue Family\nOwnership Transfer Release Operation",{"type":18,"value":1196}," on a queue in the queue family\nidentified by the acquire operation, with parameters matching the\nacquire operation as defined in the definition of such\n",{"type":13,"tag":371,"props":1198,"children":1199},{"href":1178},[1200],{"type":18,"value":1201},"acquire operations",{"type":18,"value":1203},", and\nwhich happens before the acquire operation",{"type":13,"tag":595,"props":1205,"children":1207},{"name":1206},"VUID-vkQueueSubmit2-commandBuffer-03880",[1208],{"type":13,"tag":14,"props":1209,"children":1210},{},[1211,1212,1217,1218,1223,1224,1229,1231,1237,1239,1245,1247,1253,1255,1261,1263,1269,1270,1273,1275,1281,1283,1288],{"type":18,"value":691},{"type":13,"tag":34,"props":1213,"children":1215},{"className":1214},[],[1216],{"type":18,"value":697},{"type":18,"value":699},{"type":13,"tag":34,"props":1219,"children":1221},{"className":1220},[],[1222],{"type":18,"value":705},{"type":18,"value":707},{"type":13,"tag":34,"props":1225,"children":1227},{"className":1226},[],[1228],{"type":18,"value":357},{"type":18,"value":1230},"\nwas a ",{"type":13,"tag":371,"props":1232,"children":1234},{"href":1233},"/man/vkCmdBeginQuery",[1235],{"type":18,"value":1236},"vkCmdBeginQuery",{"type":18,"value":1238}," whose ",{"type":13,"tag":34,"props":1240,"children":1242},{"className":1241},[],[1243],{"type":18,"value":1244},"queryPool",{"type":18,"value":1246}," was created with a\n",{"type":13,"tag":34,"props":1248,"children":1250},{"className":1249},[],[1251],{"type":18,"value":1252},"queryType",{"type":18,"value":1254}," of ",{"type":13,"tag":34,"props":1256,"children":1258},{"className":1257},[],[1259],{"type":18,"value":1260},"VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR",{"type":18,"value":1262},", the\n",{"type":13,"tag":371,"props":1264,"children":1266},{"href":1265},"/chapters/queries#profiling-lock",[1267],{"type":18,"value":1268},"profiling lock",{"type":18,"value":621},{"type":13,"tag":390,"props":1271,"children":1272},{"type":552},[],{"type":18,"value":1274}," have been held continuously on\nthe ",{"type":13,"tag":34,"props":1276,"children":1278},{"className":1277},[],[1279],{"type":18,"value":1280},"VkDevice",{"type":18,"value":1282}," that ",{"type":13,"tag":34,"props":1284,"children":1286},{"className":1285},[],[1287],{"type":18,"value":74},{"type":18,"value":1289}," was retrieved from, throughout\nrecording of those command buffers",{"type":13,"tag":590,"props":1291,"children":1293},{"name":1292},"Valid Usage (Implicit)",[1294,1320,1365,1401],{"type":13,"tag":595,"props":1295,"children":1297},{"name":1296},"VUID-vkQueueSubmit2-queue-parameter",[1298],{"type":13,"tag":14,"props":1299,"children":1300},{},[1301,1306,1307,1310,1312,1318],{"type":13,"tag":34,"props":1302,"children":1304},{"className":1303},[],[1305],{"type":18,"value":74},{"type":18,"value":621},{"type":13,"tag":390,"props":1308,"children":1309},{"type":552},[],{"type":18,"value":1311}," be a valid ",{"type":13,"tag":371,"props":1313,"children":1315},{"href":1314},"/man/VkQueue",[1316],{"type":18,"value":1317},"VkQueue",{"type":18,"value":1319}," handle",{"type":13,"tag":595,"props":1321,"children":1323},{"name":1322},"VUID-vkQueueSubmit2-pSubmits-parameter",[1324],{"type":13,"tag":14,"props":1325,"children":1326},{},[1327,1328,1333,1334,1340,1341,1346,1347,1350,1352,1357,1359,1363],{"type":18,"value":520},{"type":13,"tag":34,"props":1329,"children":1331},{"className":1330},[],[1332],{"type":18,"value":349},{"type":18,"value":402},{"type":13,"tag":34,"props":1335,"children":1337},{"className":1336},[],[1338],{"type":18,"value":1339},"0",{"type":18,"value":614},{"type":13,"tag":34,"props":1342,"children":1344},{"className":1343},[],[1345],{"type":18,"value":357},{"type":18,"value":621},{"type":13,"tag":390,"props":1348,"children":1349},{"type":552},[],{"type":18,"value":1351}," be a valid pointer to an array of ",{"type":13,"tag":34,"props":1353,"children":1355},{"className":1354},[],[1356],{"type":18,"value":349},{"type":18,"value":1358}," valid ",{"type":13,"tag":371,"props":1360,"children":1361},{"href":373},[1362],{"type":18,"value":376},{"type":18,"value":1364}," structures",{"type":13,"tag":595,"props":1366,"children":1368},{"name":1367},"VUID-vkQueueSubmit2-fence-parameter",[1369],{"type":13,"tag":14,"props":1370,"children":1371},{},[1372,1373,1378,1379,1383,1384,1389,1390,1393,1394,1400],{"type":18,"value":520},{"type":13,"tag":34,"props":1374,"children":1376},{"className":1375},[],[1377],{"type":18,"value":140},{"type":18,"value":402},{"type":13,"tag":371,"props":1380,"children":1381},{"href":405},[1382],{"type":18,"value":408},{"type":18,"value":614},{"type":13,"tag":34,"props":1385,"children":1387},{"className":1386},[],[1388],{"type":18,"value":140},{"type":18,"value":621},{"type":13,"tag":390,"props":1391,"children":1392},{"type":552},[],{"type":18,"value":1311},{"type":13,"tag":371,"props":1395,"children":1397},{"href":1396},"/man/VkFence",[1398],{"type":18,"value":1399},"VkFence",{"type":18,"value":1319},{"type":13,"tag":595,"props":1402,"children":1404},{"name":1403},"VUID-vkQueueSubmit2-commonparent",[1405],{"type":13,"tag":14,"props":1406,"children":1407},{},[1408,1410,1415,1417,1422,1424,1427,1429],{"type":18,"value":1409},"Both of ",{"type":13,"tag":34,"props":1411,"children":1413},{"className":1412},[],[1414],{"type":18,"value":140},{"type":18,"value":1416},", and ",{"type":13,"tag":34,"props":1418,"children":1420},{"className":1419},[],[1421],{"type":18,"value":74},{"type":18,"value":1423}," that are valid handles of non-ignored parameters ",{"type":13,"tag":390,"props":1425,"children":1426},{"type":552},[],{"type":18,"value":1428}," have been created, allocated, or retrieved from the same ",{"type":13,"tag":371,"props":1430,"children":1432},{"href":1431},"/man/VkDevice",[1433],{"type":18,"value":1280},{"type":13,"tag":1435,"props":1436,"children":1438},"validity-box",{"name":1437},"Host Synchronization",[1439],{"type":13,"tag":327,"props":1440,"children":1441},{},[1442,1458],{"type":13,"tag":331,"props":1443,"children":1444},{},[1445,1447,1452,1453,1456],{"type":18,"value":1446},"Host access to ",{"type":13,"tag":34,"props":1448,"children":1450},{"className":1449},[],[1451],{"type":18,"value":74},{"type":18,"value":621},{"type":13,"tag":390,"props":1454,"children":1455},{"type":552},[],{"type":18,"value":1457}," be externally synchronized",{"type":13,"tag":331,"props":1459,"children":1460},{},[1461,1462,1467,1468,1471],{"type":18,"value":1446},{"type":13,"tag":34,"props":1463,"children":1465},{"className":1464},[],[1466],{"type":18,"value":140},{"type":18,"value":621},{"type":13,"tag":390,"props":1469,"children":1470},{"type":552},[],{"type":18,"value":1472}," be externally synchronized\n::",{"type":13,"tag":1474,"props":1475,"children":1476},"style",{},[1477],{"type":18,"value":1478},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":31,"searchDepth":62,"depth":62,"links":1480},[],"markdown",1725732622833]