[{"data":1,"prerenderedAt":472},["ShallowReactive",2],{"PH9ykop6Fd":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":471,"_id":4},"vkCmdPushDescriptorSet2","Pushes descriptor updates into a command buffer","VK_VERSION_1_4","protos",[],{"type":10,"children":11,"toc":469},"root",[12,20,216,250,295,417,463],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","Alternatively, to push descriptor updates into a command buffer, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,110],{"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","void vkCmdPushDescriptorSet2KHR(\n VkCommandBuffer commandBuffer,\n const VkPushDescriptorSetInfo* pPushDescriptorSetInfo);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81],{"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:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"void",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54}," vkCmdPushDescriptorSet2KHR",{"type":13,"tag":38,"props":56,"children":58},{"style":57},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[59],{"type":18,"value":60},"(\n",{"type":13,"tag":38,"props":62,"children":64},{"class":40,"line":63},2,[65,70,76],{"type":13,"tag":38,"props":66,"children":67},{"style":57},[68],{"type":18,"value":69}," VkCommandBuffer ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"commandBuffer",{"type":13,"tag":38,"props":77,"children":78},{"style":57},[79],{"type":18,"value":80},",\n",{"type":13,"tag":38,"props":82,"children":84},{"class":40,"line":83},3,[85,90,95,100,105],{"type":13,"tag":38,"props":86,"children":87},{"style":45},[88],{"type":18,"value":89}," const",{"type":13,"tag":38,"props":91,"children":92},{"style":57},[93],{"type":18,"value":94}," VkPushDescriptorSetInfo",{"type":13,"tag":38,"props":96,"children":97},{"style":45},[98],{"type":18,"value":99},"*",{"type":13,"tag":38,"props":101,"children":102},{"style":72},[103],{"type":18,"value":104}," pPushDescriptorSetInfo",{"type":13,"tag":38,"props":106,"children":107},{"style":57},[108],{"type":18,"value":109},");\n",{"type":13,"tag":25,"props":111,"children":116},{"className":112,"code":113,"filename":114,"language":115,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_push_descriptor_set2_khr(\n command_buffer: vk::CommandBuffer,\n p_push_descriptor_set_info: *const vk::PushDescriptorSetInfo,\n);\n","Rust","rs",[117],{"type":13,"tag":34,"props":118,"children":119},{"__ignoreMap":31},[120,142,174,208],{"type":13,"tag":38,"props":121,"children":122},{"class":40,"line":41},[123,128,133,138],{"type":13,"tag":38,"props":124,"children":125},{"style":45},[126],{"type":18,"value":127},"pub",{"type":13,"tag":38,"props":129,"children":130},{"style":45},[131],{"type":18,"value":132}," fn",{"type":13,"tag":38,"props":134,"children":135},{"style":51},[136],{"type":18,"value":137}," cmd_push_descriptor_set2_khr",{"type":13,"tag":38,"props":139,"children":140},{"style":57},[141],{"type":18,"value":60},{"type":13,"tag":38,"props":143,"children":144},{"class":40,"line":63},[145,150,155,160,165,170],{"type":13,"tag":38,"props":146,"children":147},{"style":57},[148],{"type":18,"value":149}," command_buffer",{"type":13,"tag":38,"props":151,"children":152},{"style":45},[153],{"type":18,"value":154},":",{"type":13,"tag":38,"props":156,"children":157},{"style":72},[158],{"type":18,"value":159}," vk",{"type":13,"tag":38,"props":161,"children":162},{"style":45},[163],{"type":18,"value":164},"::",{"type":13,"tag":38,"props":166,"children":167},{"style":72},[168],{"type":18,"value":169},"CommandBuffer",{"type":13,"tag":38,"props":171,"children":172},{"style":57},[173],{"type":18,"value":80},{"type":13,"tag":38,"props":175,"children":176},{"class":40,"line":83},[177,182,186,191,195,199,204],{"type":13,"tag":38,"props":178,"children":179},{"style":57},[180],{"type":18,"value":181}," p_push_descriptor_set_info",{"type":13,"tag":38,"props":183,"children":184},{"style":45},[185],{"type":18,"value":154},{"type":13,"tag":38,"props":187,"children":188},{"style":45},[189],{"type":18,"value":190}," *const",{"type":13,"tag":38,"props":192,"children":193},{"style":72},[194],{"type":18,"value":159},{"type":13,"tag":38,"props":196,"children":197},{"style":45},[198],{"type":18,"value":164},{"type":13,"tag":38,"props":200,"children":201},{"style":72},[202],{"type":18,"value":203},"PushDescriptorSetInfo",{"type":13,"tag":38,"props":205,"children":206},{"style":57},[207],{"type":18,"value":80},{"type":13,"tag":38,"props":209,"children":211},{"class":40,"line":210},4,[212],{"type":13,"tag":38,"props":213,"children":214},{"style":57},[215],{"type":18,"value":109},{"type":13,"tag":217,"props":218,"children":219},"ul",{},[220,231],{"type":13,"tag":221,"props":222,"children":223},"li",{},[224,229],{"type":13,"tag":34,"props":225,"children":227},{"className":226},[],[228],{"type":18,"value":75},{"type":18,"value":230}," is the command buffer that the descriptors will be\nrecorded in.",{"type":13,"tag":221,"props":232,"children":233},{},[234,240,242,248],{"type":13,"tag":34,"props":235,"children":237},{"className":236},[],[238],{"type":18,"value":239},"pPushDescriptorSetInfo",{"type":18,"value":241}," is a pointer to a\n",{"type":13,"tag":34,"props":243,"children":245},{"className":244},[],[246],{"type":18,"value":247},"VkPushDescriptorSetInfo",{"type":18,"value":249}," structure.",{"type":13,"tag":251,"props":252,"children":254},"validity-group",{"name":253},"Valid Usage",[255],{"type":13,"tag":256,"props":257,"children":259},"validity-field",{"name":258},"VUID-vkCmdPushDescriptorSet2-pPushDescriptorSetInfo-09468",[260],{"type":13,"tag":14,"props":261,"children":262},{},[263,265,271,273,278,280,285,287,293],{"type":18,"value":264},"Each bit in ",{"type":13,"tag":34,"props":266,"children":268},{"className":267},[],[269],{"type":18,"value":270},"pPushDescriptorSetInfo→stageFlags",{"type":18,"value":272}," ",{"type":13,"tag":274,"props":275,"children":277},"normative",{"type":276},"must",[],{"type":18,"value":279}," be a stage\nsupported by the ",{"type":13,"tag":34,"props":281,"children":283},{"className":282},[],[284],{"type":18,"value":75},{"type":18,"value":286},"’s parent ",{"type":13,"tag":34,"props":288,"children":290},{"className":289},[],[291],{"type":18,"value":292},"VkCommandPool",{"type":18,"value":294},"’s\nqueue family",{"type":13,"tag":251,"props":296,"children":298},{"name":297},"Valid Usage (Implicit)",[299,326,351,375,403],{"type":13,"tag":256,"props":300,"children":302},{"name":301},"VUID-vkCmdPushDescriptorSet2-commandBuffer-parameter",[303],{"type":13,"tag":14,"props":304,"children":305},{},[306,311,312,315,317,324],{"type":13,"tag":34,"props":307,"children":309},{"className":308},[],[310],{"type":18,"value":75},{"type":18,"value":272},{"type":13,"tag":274,"props":313,"children":314},{"type":276},[],{"type":18,"value":316}," be a valid ",{"type":13,"tag":318,"props":319,"children":321},"a",{"href":320},"/man/VkCommandBuffer",[322],{"type":18,"value":323},"VkCommandBuffer",{"type":18,"value":325}," handle",{"type":13,"tag":256,"props":327,"children":329},{"name":328},"VUID-vkCmdPushDescriptorSet2-pPushDescriptorSetInfo-parameter",[330],{"type":13,"tag":14,"props":331,"children":332},{},[333,338,339,342,344,349],{"type":13,"tag":34,"props":334,"children":336},{"className":335},[],[337],{"type":18,"value":239},{"type":18,"value":272},{"type":13,"tag":274,"props":340,"children":341},{"type":276},[],{"type":18,"value":343}," be a valid pointer to a valid ",{"type":13,"tag":318,"props":345,"children":347},{"href":346},"/man/VkPushDescriptorSetInfo",[348],{"type":18,"value":247},{"type":18,"value":350}," structure",{"type":13,"tag":256,"props":352,"children":354},{"name":353},"VUID-vkCmdPushDescriptorSet2-commandBuffer-recording",[355],{"type":13,"tag":14,"props":356,"children":357},{},[358,363,364,367,369],{"type":13,"tag":34,"props":359,"children":361},{"className":360},[],[362],{"type":18,"value":75},{"type":18,"value":272},{"type":13,"tag":274,"props":365,"children":366},{"type":276},[],{"type":18,"value":368}," be in the ",{"type":13,"tag":318,"props":370,"children":372},{"href":371},"/chapters/commandbuffers#commandbuffers-lifecycle",[373],{"type":18,"value":374},"recording state",{"type":13,"tag":256,"props":376,"children":378},{"name":377},"VUID-vkCmdPushDescriptorSet2-commandBuffer-cmdpool",[379],{"type":13,"tag":14,"props":380,"children":381},{},[382,384,389,391,396,398,401],{"type":18,"value":383},"The ",{"type":13,"tag":34,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":292},{"type":18,"value":390}," that ",{"type":13,"tag":34,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":75},{"type":18,"value":397}," was allocated from ",{"type":13,"tag":274,"props":399,"children":400},{"type":276},[],{"type":18,"value":402}," support graphics, or compute operations",{"type":13,"tag":256,"props":404,"children":406},{"name":405},"VUID-vkCmdPushDescriptorSet2-videocoding",[407],{"type":13,"tag":14,"props":408,"children":409},{},[410,412,415],{"type":18,"value":411},"This command ",{"type":13,"tag":274,"props":413,"children":414},{"type":276},[],{"type":18,"value":416}," only be called outside of a video coding scope",{"type":13,"tag":418,"props":419,"children":421},"validity-box",{"name":420},"Host Synchronization",[422],{"type":13,"tag":217,"props":423,"children":424},{},[425,441],{"type":13,"tag":221,"props":426,"children":427},{},[428,430,435,436,439],{"type":18,"value":429},"Host access to ",{"type":13,"tag":34,"props":431,"children":433},{"className":432},[],[434],{"type":18,"value":75},{"type":18,"value":272},{"type":13,"tag":274,"props":437,"children":438},{"type":276},[],{"type":18,"value":440}," be externally synchronized",{"type":13,"tag":221,"props":442,"children":443},{},[444,446,451,452,457,458,461],{"type":18,"value":445},"Host access to the ",{"type":13,"tag":34,"props":447,"children":449},{"className":448},[],[450],{"type":18,"value":292},{"type":18,"value":390},{"type":13,"tag":34,"props":453,"children":455},{"className":454},[],[456],{"type":18,"value":75},{"type":18,"value":397},{"type":13,"tag":274,"props":459,"children":460},{"type":276},[],{"type":18,"value":462}," be externally synchronized\n::",{"type":13,"tag":464,"props":465,"children":466},"style",{},[467],{"type":18,"value":468},"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":63,"depth":63,"links":470},[],"markdown",1744876589877]