[{"data":1,"prerenderedAt":303},["ShallowReactive",2],{"jqSpdgOOzz":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":302,"_id":4},"vkQueueWaitIdle","Wait for a queue to become idle","VK_VERSION_1_0","protos",[],{"type":10,"children":11,"toc":300},"root",[12,20,177,192,235,270,294],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To wait on the host for the completion of outstanding queue operations for a\ngiven queue, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,79],{"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 vkQueueWaitIdle(\n VkQueue queue);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,54],{"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":4},{"type":13,"tag":38,"props":55,"children":56},{"style":45},[57],{"type":18,"value":58},"(\n",{"type":13,"tag":38,"props":60,"children":62},{"class":40,"line":61},2,[63,68,74],{"type":13,"tag":38,"props":64,"children":65},{"style":45},[66],{"type":18,"value":67}," VkQueue ",{"type":13,"tag":38,"props":69,"children":71},{"style":70},"--shiki-default:#953800;--shiki-dark:#FFA657",[72],{"type":18,"value":73},"queue",{"type":13,"tag":38,"props":75,"children":76},{"style":45},[77],{"type":18,"value":78},");\n",{"type":13,"tag":25,"props":80,"children":85},{"className":81,"code":82,"filename":83,"language":84,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn queue_wait_idle(\n queue: vk::Queue,\n) -> vk::Result;\n","Rust","rs",[86],{"type":13,"tag":34,"props":87,"children":88},{"__ignoreMap":31},[89,112,145],{"type":13,"tag":38,"props":90,"children":91},{"class":40,"line":41},[92,98,103,108],{"type":13,"tag":38,"props":93,"children":95},{"style":94},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[96],{"type":18,"value":97},"pub",{"type":13,"tag":38,"props":99,"children":100},{"style":94},[101],{"type":18,"value":102}," fn",{"type":13,"tag":38,"props":104,"children":105},{"style":51},[106],{"type":18,"value":107}," queue_wait_idle",{"type":13,"tag":38,"props":109,"children":110},{"style":45},[111],{"type":18,"value":58},{"type":13,"tag":38,"props":113,"children":114},{"class":40,"line":61},[115,120,125,130,135,140],{"type":13,"tag":38,"props":116,"children":117},{"style":45},[118],{"type":18,"value":119}," queue",{"type":13,"tag":38,"props":121,"children":122},{"style":94},[123],{"type":18,"value":124},":",{"type":13,"tag":38,"props":126,"children":127},{"style":70},[128],{"type":18,"value":129}," vk",{"type":13,"tag":38,"props":131,"children":132},{"style":94},[133],{"type":18,"value":134},"::",{"type":13,"tag":38,"props":136,"children":137},{"style":70},[138],{"type":18,"value":139},"Queue",{"type":13,"tag":38,"props":141,"children":142},{"style":45},[143],{"type":18,"value":144},",\n",{"type":13,"tag":38,"props":146,"children":148},{"class":40,"line":147},3,[149,154,159,163,167,172],{"type":13,"tag":38,"props":150,"children":151},{"style":45},[152],{"type":18,"value":153},") ",{"type":13,"tag":38,"props":155,"children":156},{"style":94},[157],{"type":18,"value":158},"->",{"type":13,"tag":38,"props":160,"children":161},{"style":70},[162],{"type":18,"value":129},{"type":13,"tag":38,"props":164,"children":165},{"style":94},[166],{"type":18,"value":134},{"type":13,"tag":38,"props":168,"children":169},{"style":70},[170],{"type":18,"value":171},"Result",{"type":13,"tag":38,"props":173,"children":174},{"style":45},[175],{"type":18,"value":176},";\n",{"type":13,"tag":178,"props":179,"children":180},"ul",{},[181],{"type":13,"tag":182,"props":183,"children":184},"li",{},[185,190],{"type":13,"tag":34,"props":186,"children":188},{"className":187},[],[189],{"type":18,"value":73},{"type":18,"value":191}," is the queue on which to wait.",{"type":13,"tag":14,"props":193,"children":194},{},[195,200,202,209,211,217,219,225,227,233],{"type":13,"tag":34,"props":196,"children":198},{"className":197},[],[199],{"type":18,"value":4},{"type":18,"value":201}," is equivalent to having submitted a valid fence to\nevery previously executed ",{"type":13,"tag":203,"props":204,"children":206},"a",{"href":205},"/chapters/devsandqueues#devsandqueues-submission",[207],{"type":18,"value":208},"queue submission\ncommand",{"type":18,"value":210}," that accepts a fence, then waiting for all of those fences to\nsignal using ",{"type":13,"tag":203,"props":212,"children":214},{"href":213},"/man/vkWaitForFences",[215],{"type":18,"value":216},"vkWaitForFences",{"type":18,"value":218}," with an infinite timeout and\n",{"type":13,"tag":34,"props":220,"children":222},{"className":221},[],[223],{"type":18,"value":224},"waitAll",{"type":18,"value":226}," set to ",{"type":13,"tag":34,"props":228,"children":230},{"className":229},[],[231],{"type":18,"value":232},"VK_TRUE",{"type":18,"value":234},".",{"type":13,"tag":236,"props":237,"children":239},"validity-group",{"name":238},"Valid Usage (Implicit)",[240],{"type":13,"tag":241,"props":242,"children":244},"validity-field",{"name":243},"VUID-vkQueueWaitIdle-queue-parameter",[245],{"type":13,"tag":14,"props":246,"children":247},{},[248,253,255,260,262,268],{"type":13,"tag":34,"props":249,"children":251},{"className":250},[],[252],{"type":18,"value":73},{"type":18,"value":254}," ",{"type":13,"tag":256,"props":257,"children":259},"normative",{"type":258},"must",[],{"type":18,"value":261}," be a valid ",{"type":13,"tag":203,"props":263,"children":265},{"href":264},"/man/VkQueue",[266],{"type":18,"value":267},"VkQueue",{"type":18,"value":269}," handle",{"type":13,"tag":271,"props":272,"children":274},"validity-box",{"name":273},"Host Synchronization",[275],{"type":13,"tag":178,"props":276,"children":277},{},[278],{"type":13,"tag":182,"props":279,"children":280},{},[281,283,288,289,292],{"type":18,"value":282},"Host access to ",{"type":13,"tag":34,"props":284,"children":286},{"className":285},[],[287],{"type":18,"value":73},{"type":18,"value":254},{"type":13,"tag":256,"props":290,"children":291},{"type":258},[],{"type":18,"value":293}," be externally synchronized\n::",{"type":13,"tag":295,"props":296,"children":297},"style",{},[298],{"type":18,"value":299},"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":61,"depth":61,"links":301},[],"markdown",1729612520107]