[{"data":1,"prerenderedAt":736},["ShallowReactive",2],{"$fuJkct1tgM3ur8Xu2i_qNnzrfzxvd5nPOl5xzF3rZwig":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":9,"xrefs":10,"body":11,"_type":735,"_id":4},"VkCommandBufferInheritanceDescriptorHeapInfoEXT","Structure specifying command buffer inheritance information","VK_EXT_descriptor_heap",[8],"VkCommandBufferInheritanceInfo","structs",[],{"type":12,"children":13,"toc":733},"root",[14,46,58,339,445,471,627,727],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,22,29,31,37,39,44],{"type":20,"value":21},"text","If the ",{"type":15,"tag":23,"props":24,"children":26},"code",{"className":25},[],[27],{"type":20,"value":28},"pNext",{"type":20,"value":30}," chain of ",{"type":15,"tag":32,"props":33,"children":35},"a",{"href":34},"/man/VkCommandBufferInheritanceInfo",[36],{"type":20,"value":8},{"type":20,"value":38}," includes a\n",{"type":15,"tag":23,"props":40,"children":42},{"className":41},[],[43],{"type":20,"value":4},{"type":20,"value":45}," structure, then that\nstructure indicates that the secondary will use the same descriptor heaps as\nthe primary command buffer.",{"type":15,"tag":16,"props":47,"children":48},{},[49,51,56],{"type":20,"value":50},"The ",{"type":15,"tag":23,"props":52,"children":54},{"className":53},[],[55],{"type":20,"value":4},{"type":20,"value":57}," structure is\ndefined as:",{"type":15,"tag":59,"props":60,"children":61},"code-group",{},[62,178],{"type":15,"tag":63,"props":64,"children":70},"pre",{"className":65,"code":66,"filename":67,"language":68,"meta":69,"style":69},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkCommandBufferInheritanceDescriptorHeapInfoEXT {\n VkStructureType sType;\n const void* pNext;\n const VkBindHeapInfoEXT* pSamplerHeapBindInfo;\n const VkBindHeapInfoEXT* pResourceHeapBindInfo;\n} VkCommandBufferInheritanceDescriptorHeapInfoEXT;\n","C","c","",[71],{"type":15,"tag":23,"props":72,"children":73},{"__ignoreMap":69},[74,97,106,125,148,169],{"type":15,"tag":75,"props":76,"children":79},"span",{"class":77,"line":78},"line",1,[80,86,91],{"type":15,"tag":75,"props":81,"children":83},{"style":82},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[84],{"type":20,"value":85},"typedef",{"type":15,"tag":75,"props":87,"children":88},{"style":82},[89],{"type":20,"value":90}," struct",{"type":15,"tag":75,"props":92,"children":94},{"style":93},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[95],{"type":20,"value":96}," VkCommandBufferInheritanceDescriptorHeapInfoEXT {\n",{"type":15,"tag":75,"props":98,"children":100},{"class":77,"line":99},2,[101],{"type":15,"tag":75,"props":102,"children":103},{"style":93},[104],{"type":20,"value":105}," VkStructureType sType;\n",{"type":15,"tag":75,"props":107,"children":109},{"class":77,"line":108},3,[110,115,120],{"type":15,"tag":75,"props":111,"children":112},{"style":82},[113],{"type":20,"value":114}," const",{"type":15,"tag":75,"props":116,"children":117},{"style":82},[118],{"type":20,"value":119}," void*",{"type":15,"tag":75,"props":121,"children":122},{"style":93},[123],{"type":20,"value":124}," pNext;\n",{"type":15,"tag":75,"props":126,"children":128},{"class":77,"line":127},4,[129,133,138,143],{"type":15,"tag":75,"props":130,"children":131},{"style":82},[132],{"type":20,"value":114},{"type":15,"tag":75,"props":134,"children":135},{"style":93},[136],{"type":20,"value":137}," VkBindHeapInfoEXT",{"type":15,"tag":75,"props":139,"children":140},{"style":82},[141],{"type":20,"value":142},"*",{"type":15,"tag":75,"props":144,"children":145},{"style":93},[146],{"type":20,"value":147}," pSamplerHeapBindInfo;\n",{"type":15,"tag":75,"props":149,"children":151},{"class":77,"line":150},5,[152,156,160,164],{"type":15,"tag":75,"props":153,"children":154},{"style":82},[155],{"type":20,"value":114},{"type":15,"tag":75,"props":157,"children":158},{"style":93},[159],{"type":20,"value":137},{"type":15,"tag":75,"props":161,"children":162},{"style":82},[163],{"type":20,"value":142},{"type":15,"tag":75,"props":165,"children":166},{"style":93},[167],{"type":20,"value":168}," pResourceHeapBindInfo;\n",{"type":15,"tag":75,"props":170,"children":172},{"class":77,"line":171},6,[173],{"type":15,"tag":75,"props":174,"children":175},{"style":93},[176],{"type":20,"value":177},"} VkCommandBufferInheritanceDescriptorHeapInfoEXT;\n",{"type":15,"tag":63,"props":179,"children":184},{"className":180,"code":181,"filename":182,"language":183,"meta":69,"style":69},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct CommandBufferInheritanceDescriptorHeapInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n p_sampler_heap_bind_info: *const vk::BindHeapInfoEXT,\n p_resource_heap_bind_info: *const vk::BindHeapInfoEXT,\n}\n","Rust","rs",[185],{"type":15,"tag":23,"props":186,"children":187},{"__ignoreMap":69},[188,211,244,266,299,331],{"type":15,"tag":75,"props":189,"children":190},{"class":77,"line":78},[191,196,200,206],{"type":15,"tag":75,"props":192,"children":193},{"style":82},[194],{"type":20,"value":195},"pub",{"type":15,"tag":75,"props":197,"children":198},{"style":82},[199],{"type":20,"value":90},{"type":15,"tag":75,"props":201,"children":203},{"style":202},"--shiki-default:#953800;--shiki-dark:#FFA657",[204],{"type":20,"value":205}," CommandBufferInheritanceDescriptorHeapInfoEXT",{"type":15,"tag":75,"props":207,"children":208},{"style":93},[209],{"type":20,"value":210}," {\n",{"type":15,"tag":75,"props":212,"children":213},{"class":77,"line":99},[214,219,224,229,234,239],{"type":15,"tag":75,"props":215,"children":216},{"style":93},[217],{"type":20,"value":218}," s_type",{"type":15,"tag":75,"props":220,"children":221},{"style":82},[222],{"type":20,"value":223},":",{"type":15,"tag":75,"props":225,"children":226},{"style":202},[227],{"type":20,"value":228}," vk",{"type":15,"tag":75,"props":230,"children":231},{"style":82},[232],{"type":20,"value":233},"::",{"type":15,"tag":75,"props":235,"children":236},{"style":202},[237],{"type":20,"value":238},"StructureType",{"type":15,"tag":75,"props":240,"children":241},{"style":93},[242],{"type":20,"value":243},",\n",{"type":15,"tag":75,"props":245,"children":246},{"class":77,"line":108},[247,252,256,261],{"type":15,"tag":75,"props":248,"children":249},{"style":93},[250],{"type":20,"value":251}," p_next",{"type":15,"tag":75,"props":253,"children":254},{"style":82},[255],{"type":20,"value":223},{"type":15,"tag":75,"props":257,"children":258},{"style":82},[259],{"type":20,"value":260}," *const",{"type":15,"tag":75,"props":262,"children":263},{"style":93},[264],{"type":20,"value":265}," c_void,\n",{"type":15,"tag":75,"props":267,"children":268},{"class":77,"line":127},[269,274,278,282,286,290,295],{"type":15,"tag":75,"props":270,"children":271},{"style":93},[272],{"type":20,"value":273}," p_sampler_heap_bind_info",{"type":15,"tag":75,"props":275,"children":276},{"style":82},[277],{"type":20,"value":223},{"type":15,"tag":75,"props":279,"children":280},{"style":82},[281],{"type":20,"value":260},{"type":15,"tag":75,"props":283,"children":284},{"style":202},[285],{"type":20,"value":228},{"type":15,"tag":75,"props":287,"children":288},{"style":82},[289],{"type":20,"value":233},{"type":15,"tag":75,"props":291,"children":292},{"style":202},[293],{"type":20,"value":294},"BindHeapInfoEXT",{"type":15,"tag":75,"props":296,"children":297},{"style":93},[298],{"type":20,"value":243},{"type":15,"tag":75,"props":300,"children":301},{"class":77,"line":150},[302,307,311,315,319,323,327],{"type":15,"tag":75,"props":303,"children":304},{"style":93},[305],{"type":20,"value":306}," p_resource_heap_bind_info",{"type":15,"tag":75,"props":308,"children":309},{"style":82},[310],{"type":20,"value":223},{"type":15,"tag":75,"props":312,"children":313},{"style":82},[314],{"type":20,"value":260},{"type":15,"tag":75,"props":316,"children":317},{"style":202},[318],{"type":20,"value":228},{"type":15,"tag":75,"props":320,"children":321},{"style":82},[322],{"type":20,"value":233},{"type":15,"tag":75,"props":324,"children":325},{"style":202},[326],{"type":20,"value":294},{"type":15,"tag":75,"props":328,"children":329},{"style":93},[330],{"type":20,"value":243},{"type":15,"tag":75,"props":332,"children":333},{"class":77,"line":171},[334],{"type":15,"tag":75,"props":335,"children":336},{"style":93},[337],{"type":20,"value":338},"}\n",{"type":15,"tag":340,"props":341,"children":342},"ul",{},[343,363,381,415],{"type":15,"tag":344,"props":345,"children":346},"li",{},[347,353,355,361],{"type":15,"tag":23,"props":348,"children":350},{"className":349},[],[351],{"type":20,"value":352},"sType",{"type":20,"value":354}," is a ",{"type":15,"tag":32,"props":356,"children":358},{"href":357},"/man/VkStructureType",[359],{"type":20,"value":360},"VkStructureType",{"type":20,"value":362}," value identifying this structure.",{"type":15,"tag":344,"props":364,"children":365},{},[366,371,373,379],{"type":15,"tag":23,"props":367,"children":369},{"className":368},[],[370],{"type":20,"value":28},{"type":20,"value":372}," is ",{"type":15,"tag":23,"props":374,"children":376},{"className":375},[],[377],{"type":20,"value":378},"NULL",{"type":20,"value":380}," or a pointer to a structure extending this\nstructure.",{"type":15,"tag":344,"props":382,"children":383},{},[384,390,392,398,400,406,408,413],{"type":15,"tag":23,"props":385,"children":387},{"className":386},[],[388],{"type":20,"value":389},"pSamplerHeapBindInfo",{"type":20,"value":391}," specifies the ",{"type":15,"tag":32,"props":393,"children":395},{"href":394},"/man/VkBindHeapInfoEXT",[396],{"type":20,"value":397},"VkBindHeapInfoEXT",{"type":20,"value":399}," of the\nsampler heap bound using ",{"type":15,"tag":32,"props":401,"children":403},{"href":402},"/man/vkCmdBindSamplerHeapEXT",[404],{"type":20,"value":405},"vkCmdBindSamplerHeapEXT",{"type":20,"value":407}," in the primary.\nIf this is ",{"type":15,"tag":23,"props":409,"children":411},{"className":410},[],[412],{"type":20,"value":378},{"type":20,"value":414},", it indicates that no sampler heap is bound.",{"type":15,"tag":344,"props":416,"children":417},{},[418,424,425,429,431,437,438,443],{"type":15,"tag":23,"props":419,"children":421},{"className":420},[],[422],{"type":20,"value":423},"pResourceHeapBindInfo",{"type":20,"value":391},{"type":15,"tag":32,"props":426,"children":427},{"href":394},[428],{"type":20,"value":397},{"type":20,"value":430}," of the\nresource heap bound using ",{"type":15,"tag":32,"props":432,"children":434},{"href":433},"/man/vkCmdBindResourceHeapEXT",[435],{"type":20,"value":436},"vkCmdBindResourceHeapEXT",{"type":20,"value":407},{"type":15,"tag":23,"props":439,"children":441},{"className":440},[],[442],{"type":20,"value":378},{"type":20,"value":444},", it indicates that no resource heap is bound.",{"type":15,"tag":16,"props":446,"children":447},{},[448,450,455,457,462,464,469],{"type":20,"value":449},"If this structure is not present, the behavior is as if\n",{"type":15,"tag":23,"props":451,"children":453},{"className":452},[],[454],{"type":20,"value":389},{"type":20,"value":456}," and ",{"type":15,"tag":23,"props":458,"children":460},{"className":459},[],[461],{"type":20,"value":423},{"type":20,"value":463}," were both ",{"type":15,"tag":23,"props":465,"children":467},{"className":466},[],[468],{"type":20,"value":378},{"type":20,"value":470},".",{"type":15,"tag":472,"props":473,"children":475},"validity-group",{"name":474},"Valid Usage",[476,516,548,590],{"type":15,"tag":477,"props":478,"children":480},"validity-field",{"name":479},"VUID-VkCommandBufferInheritanceDescriptorHeapInfoEXT-descriptorHeap-11200",[481],{"type":15,"tag":16,"props":482,"children":483},{},[484,485,495,497,502,504,509,511],{"type":20,"value":21},{"type":15,"tag":32,"props":486,"children":488},{"href":487},"/man/VkPhysicalDeviceDescriptorHeapFeaturesEXT#features-descriptorHeap",[489],{"type":15,"tag":23,"props":490,"children":492},{"className":491},[],[493],{"type":20,"value":494},"descriptorHeap",{"type":20,"value":496}," feature is not\nenabled, ",{"type":15,"tag":23,"props":498,"children":500},{"className":499},[],[501],{"type":20,"value":389},{"type":20,"value":503}," ",{"type":15,"tag":505,"props":506,"children":508},"normative",{"type":507},"must",[],{"type":20,"value":510}," be ",{"type":15,"tag":23,"props":512,"children":514},{"className":513},[],[515],{"type":20,"value":378},{"type":15,"tag":477,"props":517,"children":519},{"name":518},"VUID-VkCommandBufferInheritanceDescriptorHeapInfoEXT-descriptorHeap-11201",[520],{"type":15,"tag":16,"props":521,"children":522},{},[523,524,532,533,538,539,542,543],{"type":20,"value":21},{"type":15,"tag":32,"props":525,"children":526},{"href":487},[527],{"type":15,"tag":23,"props":528,"children":530},{"className":529},[],[531],{"type":20,"value":494},{"type":20,"value":496},{"type":15,"tag":23,"props":534,"children":536},{"className":535},[],[537],{"type":20,"value":423},{"type":20,"value":503},{"type":15,"tag":505,"props":540,"children":541},{"type":507},[],{"type":20,"value":510},{"type":15,"tag":23,"props":544,"children":546},{"className":545},[],[547],{"type":20,"value":378},{"type":15,"tag":477,"props":549,"children":551},{"name":550},"VUID-VkCommandBufferInheritanceDescriptorHeapInfoEXT-pSamplerHeapBindInfo-11470",[552],{"type":15,"tag":16,"props":553,"children":554},{},[555,557,562,564,569,570,576,577,580,582,588],{"type":20,"value":556},"If ",{"type":15,"tag":23,"props":558,"children":560},{"className":559},[],[561],{"type":20,"value":389},{"type":20,"value":563}," is not ",{"type":15,"tag":23,"props":565,"children":567},{"className":566},[],[568],{"type":20,"value":378},{"type":20,"value":243},{"type":15,"tag":23,"props":571,"children":573},{"className":572},[],[574],{"type":20,"value":575},"pSamplerHeapBindInfo→heapRange",{"type":20,"value":503},{"type":15,"tag":505,"props":578,"children":579},{"type":507},[],{"type":20,"value":581}," be a device address range\nallocated to the application from a buffer created with the\n",{"type":15,"tag":23,"props":583,"children":585},{"className":584},[],[586],{"type":20,"value":587},"VK_BUFFER_USAGE_DESCRIPTOR_HEAP_BIT_EXT",{"type":20,"value":589}," usage flag set",{"type":15,"tag":477,"props":591,"children":593},{"name":592},"VUID-VkCommandBufferInheritanceDescriptorHeapInfoEXT-pResourceHeapBindInfo-11471",[594],{"type":15,"tag":16,"props":595,"children":596},{},[597,598,603,604,609,610,616,617,620,621,626],{"type":20,"value":556},{"type":15,"tag":23,"props":599,"children":601},{"className":600},[],[602],{"type":20,"value":423},{"type":20,"value":563},{"type":15,"tag":23,"props":605,"children":607},{"className":606},[],[608],{"type":20,"value":378},{"type":20,"value":243},{"type":15,"tag":23,"props":611,"children":613},{"className":612},[],[614],{"type":20,"value":615},"pResourceHeapBindInfo→heapRange",{"type":20,"value":503},{"type":15,"tag":505,"props":618,"children":619},{"type":507},[],{"type":20,"value":581},{"type":15,"tag":23,"props":622,"children":624},{"className":623},[],[625],{"type":20,"value":587},{"type":20,"value":589},{"type":15,"tag":472,"props":628,"children":630},{"name":629},"Valid Usage (Implicit)",[631,654,692],{"type":15,"tag":477,"props":632,"children":634},{"name":633},"VUID-VkCommandBufferInheritanceDescriptorHeapInfoEXT-sType-sType",[635],{"type":15,"tag":16,"props":636,"children":637},{},[638,643,644,647,648],{"type":15,"tag":23,"props":639,"children":641},{"className":640},[],[642],{"type":20,"value":352},{"type":20,"value":503},{"type":15,"tag":505,"props":645,"children":646},{"type":507},[],{"type":20,"value":510},{"type":15,"tag":23,"props":649,"children":651},{"className":650},[],[652],{"type":20,"value":653},"VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_DESCRIPTOR_HEAP_INFO_EXT",{"type":15,"tag":477,"props":655,"children":657},{"name":656},"VUID-VkCommandBufferInheritanceDescriptorHeapInfoEXT-pSamplerHeapBindInfo-parameter",[658],{"type":15,"tag":16,"props":659,"children":660},{},[661,662,667,668,673,675,680,681,684,686,690],{"type":20,"value":556},{"type":15,"tag":23,"props":663,"children":665},{"className":664},[],[666],{"type":20,"value":389},{"type":20,"value":563},{"type":15,"tag":23,"props":669,"children":671},{"className":670},[],[672],{"type":20,"value":378},{"type":20,"value":674},", ",{"type":15,"tag":23,"props":676,"children":678},{"className":677},[],[679],{"type":20,"value":389},{"type":20,"value":503},{"type":15,"tag":505,"props":682,"children":683},{"type":507},[],{"type":20,"value":685}," be a valid pointer to a valid ",{"type":15,"tag":32,"props":687,"children":688},{"href":394},[689],{"type":20,"value":397},{"type":20,"value":691}," structure",{"type":15,"tag":477,"props":693,"children":695},{"name":694},"VUID-VkCommandBufferInheritanceDescriptorHeapInfoEXT-pResourceHeapBindInfo-parameter",[696],{"type":15,"tag":16,"props":697,"children":698},{},[699,700,705,706,711,712,717,718,721,722,726],{"type":20,"value":556},{"type":15,"tag":23,"props":701,"children":703},{"className":702},[],[704],{"type":20,"value":423},{"type":20,"value":563},{"type":15,"tag":23,"props":707,"children":709},{"className":708},[],[710],{"type":20,"value":378},{"type":20,"value":674},{"type":15,"tag":23,"props":713,"children":715},{"className":714},[],[716],{"type":20,"value":423},{"type":20,"value":503},{"type":15,"tag":505,"props":719,"children":720},{"type":507},[],{"type":20,"value":685},{"type":15,"tag":32,"props":723,"children":724},{"href":394},[725],{"type":20,"value":397},{"type":20,"value":691},{"type":15,"tag":728,"props":729,"children":730},"style",{},[731],{"type":20,"value":732},"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":69,"searchDepth":99,"depth":99,"links":734},[],"markdown",1773054742438]