[{"data":1,"prerenderedAt":405},["ShallowReactive",2],{"pREDJCGk50":3},{"title":4,"description":5,"parent":6,"cmd_buf_level":7,"render_pass_scope":10,"supported_queue_types":11,"tasks":14,"type":17,"xrefs":18,"body":19,"_type":404,"_id":4},"vkCmdEndConditionalRenderingEXT","Define the end of a conditional rendering block","VK_EXT_conditional_rendering",[8,9],"primary","secondary","both",[12,13],"graphics","compute",[15,16],"action","state","protos",[],{"type":20,"children":21,"toc":402},"root",[22,30,164,179,184,252,350,396],{"type":23,"tag":24,"props":25,"children":26},"element","p",{},[27],{"type":28,"value":29},"text","To end conditional rendering, call:",{"type":23,"tag":31,"props":32,"children":33},"code-group",{},[34,91],{"type":23,"tag":35,"props":36,"children":42},"pre",{"className":37,"code":38,"filename":39,"language":40,"meta":41,"style":41},"language-c shiki shiki-themes github-light-default github-dark-default","void vkCmdEndConditionalRenderingEXT(\n VkCommandBuffer commandBuffer);\n","C","c","",[43],{"type":23,"tag":44,"props":45,"children":46},"code",{"__ignoreMap":41},[47,71],{"type":23,"tag":48,"props":49,"children":52},"span",{"class":50,"line":51},"line",1,[53,59,65],{"type":23,"tag":48,"props":54,"children":56},{"style":55},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[57],{"type":28,"value":58},"void",{"type":23,"tag":48,"props":60,"children":62},{"style":61},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[63],{"type":28,"value":64}," vkCmdEndConditionalRenderingEXT",{"type":23,"tag":48,"props":66,"children":68},{"style":67},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[69],{"type":28,"value":70},"(\n",{"type":23,"tag":48,"props":72,"children":74},{"class":50,"line":73},2,[75,80,86],{"type":23,"tag":48,"props":76,"children":77},{"style":67},[78],{"type":28,"value":79}," VkCommandBuffer ",{"type":23,"tag":48,"props":81,"children":83},{"style":82},"--shiki-default:#953800;--shiki-dark:#FFA657",[84],{"type":28,"value":85},"commandBuffer",{"type":23,"tag":48,"props":87,"children":88},{"style":67},[89],{"type":28,"value":90},");\n",{"type":23,"tag":35,"props":92,"children":97},{"className":93,"code":94,"filename":95,"language":96,"meta":41,"style":41},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_end_conditional_rendering_ext(\n command_buffer: vk::CommandBuffer,\n);\n","Rust","rs",[98],{"type":23,"tag":44,"props":99,"children":100},{"__ignoreMap":41},[101,123,156],{"type":23,"tag":48,"props":102,"children":103},{"class":50,"line":51},[104,109,114,119],{"type":23,"tag":48,"props":105,"children":106},{"style":55},[107],{"type":28,"value":108},"pub",{"type":23,"tag":48,"props":110,"children":111},{"style":55},[112],{"type":28,"value":113}," fn",{"type":23,"tag":48,"props":115,"children":116},{"style":61},[117],{"type":28,"value":118}," cmd_end_conditional_rendering_ext",{"type":23,"tag":48,"props":120,"children":121},{"style":67},[122],{"type":28,"value":70},{"type":23,"tag":48,"props":124,"children":125},{"class":50,"line":73},[126,131,136,141,146,151],{"type":23,"tag":48,"props":127,"children":128},{"style":67},[129],{"type":28,"value":130}," command_buffer",{"type":23,"tag":48,"props":132,"children":133},{"style":55},[134],{"type":28,"value":135},":",{"type":23,"tag":48,"props":137,"children":138},{"style":82},[139],{"type":28,"value":140}," vk",{"type":23,"tag":48,"props":142,"children":143},{"style":55},[144],{"type":28,"value":145},"::",{"type":23,"tag":48,"props":147,"children":148},{"style":82},[149],{"type":28,"value":150},"CommandBuffer",{"type":23,"tag":48,"props":152,"children":153},{"style":67},[154],{"type":28,"value":155},",\n",{"type":23,"tag":48,"props":157,"children":159},{"class":50,"line":158},3,[160],{"type":23,"tag":48,"props":161,"children":162},{"style":67},[163],{"type":28,"value":90},{"type":23,"tag":165,"props":166,"children":167},"ul",{},[168],{"type":23,"tag":169,"props":170,"children":171},"li",{},[172,177],{"type":23,"tag":44,"props":173,"children":175},{"className":174},[],[176],{"type":28,"value":85},{"type":28,"value":178}," is the command buffer into which this command will\nbe recorded.",{"type":23,"tag":24,"props":180,"children":181},{},[182],{"type":28,"value":183},"Once ended, conditional rendering becomes inactive.",{"type":23,"tag":185,"props":186,"children":188},"validity-group",{"name":187},"Valid Usage",[189,213,233],{"type":23,"tag":190,"props":191,"children":193},"validity-field",{"name":192},"VUID-vkCmdEndConditionalRenderingEXT-None-01985",[194],{"type":23,"tag":24,"props":195,"children":196},{},[197,199,204,206],{"type":28,"value":198},"Conditional rendering ",{"type":23,"tag":200,"props":201,"children":203},"normative",{"type":202},"must",[],{"type":28,"value":205}," be ",{"type":23,"tag":207,"props":208,"children":210},"a",{"href":209},"/chapters/drawing#active-conditional-rendering",[211],{"type":28,"value":212},"active",{"type":23,"tag":190,"props":214,"children":216},{"name":215},"VUID-vkCmdEndConditionalRenderingEXT-None-01986",[217],{"type":23,"tag":24,"props":218,"children":219},{},[220,222,226,228,231],{"type":28,"value":221},"If conditional rendering was made\n",{"type":23,"tag":207,"props":223,"children":224},{"href":209},[225],{"type":28,"value":212},{"type":28,"value":227}," outside of a render pass\ninstance, it ",{"type":23,"tag":200,"props":229,"children":230},{"type":202},[],{"type":28,"value":232}," not be ended inside a render pass instance",{"type":23,"tag":190,"props":234,"children":236},{"name":235},"VUID-vkCmdEndConditionalRenderingEXT-None-01987",[237],{"type":23,"tag":24,"props":238,"children":239},{},[240,241,245,247,250],{"type":28,"value":221},{"type":23,"tag":207,"props":242,"children":243},{"href":209},[244],{"type":28,"value":212},{"type":28,"value":246}," within a subpass it ",{"type":23,"tag":200,"props":248,"children":249},{"type":202},[],{"type":28,"value":251}," be\nended in the same subpass",{"type":23,"tag":185,"props":253,"children":255},{"name":254},"Valid Usage (Implicit)",[256,283,307,336],{"type":23,"tag":190,"props":257,"children":259},{"name":258},"VUID-vkCmdEndConditionalRenderingEXT-commandBuffer-parameter",[260],{"type":23,"tag":24,"props":261,"children":262},{},[263,268,270,273,275,281],{"type":23,"tag":44,"props":264,"children":266},{"className":265},[],[267],{"type":28,"value":85},{"type":28,"value":269}," ",{"type":23,"tag":200,"props":271,"children":272},{"type":202},[],{"type":28,"value":274}," be a valid ",{"type":23,"tag":207,"props":276,"children":278},{"href":277},"/man/VkCommandBuffer",[279],{"type":28,"value":280},"VkCommandBuffer",{"type":28,"value":282}," handle",{"type":23,"tag":190,"props":284,"children":286},{"name":285},"VUID-vkCmdEndConditionalRenderingEXT-commandBuffer-recording",[287],{"type":23,"tag":24,"props":288,"children":289},{},[290,295,296,299,301],{"type":23,"tag":44,"props":291,"children":293},{"className":292},[],[294],{"type":28,"value":85},{"type":28,"value":269},{"type":23,"tag":200,"props":297,"children":298},{"type":202},[],{"type":28,"value":300}," be in the ",{"type":23,"tag":207,"props":302,"children":304},{"href":303},"/chapters/commandbuffers#commandbuffers-lifecycle",[305],{"type":28,"value":306},"recording state",{"type":23,"tag":190,"props":308,"children":310},{"name":309},"VUID-vkCmdEndConditionalRenderingEXT-commandBuffer-cmdpool",[311],{"type":23,"tag":24,"props":312,"children":313},{},[314,316,322,324,329,331,334],{"type":28,"value":315},"The ",{"type":23,"tag":44,"props":317,"children":319},{"className":318},[],[320],{"type":28,"value":321},"VkCommandPool",{"type":28,"value":323}," that ",{"type":23,"tag":44,"props":325,"children":327},{"className":326},[],[328],{"type":28,"value":85},{"type":28,"value":330}," was allocated from ",{"type":23,"tag":200,"props":332,"children":333},{"type":202},[],{"type":28,"value":335}," support graphics, or compute operations",{"type":23,"tag":190,"props":337,"children":339},{"name":338},"VUID-vkCmdEndConditionalRenderingEXT-videocoding",[340],{"type":23,"tag":24,"props":341,"children":342},{},[343,345,348],{"type":28,"value":344},"This command ",{"type":23,"tag":200,"props":346,"children":347},{"type":202},[],{"type":28,"value":349}," only be called outside of a video coding scope",{"type":23,"tag":351,"props":352,"children":354},"validity-box",{"name":353},"Host Synchronization",[355],{"type":23,"tag":165,"props":356,"children":357},{},[358,374],{"type":23,"tag":169,"props":359,"children":360},{},[361,363,368,369,372],{"type":28,"value":362},"Host access to ",{"type":23,"tag":44,"props":364,"children":366},{"className":365},[],[367],{"type":28,"value":85},{"type":28,"value":269},{"type":23,"tag":200,"props":370,"children":371},{"type":202},[],{"type":28,"value":373}," be externally synchronized",{"type":23,"tag":169,"props":375,"children":376},{},[377,379,384,385,390,391,394],{"type":28,"value":378},"Host access to the ",{"type":23,"tag":44,"props":380,"children":382},{"className":381},[],[383],{"type":28,"value":321},{"type":28,"value":323},{"type":23,"tag":44,"props":386,"children":388},{"className":387},[],[389],{"type":28,"value":85},{"type":28,"value":330},{"type":23,"tag":200,"props":392,"children":393},{"type":202},[],{"type":28,"value":395}," be externally synchronized\n::",{"type":23,"tag":397,"props":398,"children":399},"style",{},[400],{"type":28,"value":401},"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":41,"searchDepth":73,"depth":73,"links":403},[],"markdown",1729612499962]