[{"data":1,"prerenderedAt":386},["ShallowReactive",2],{"m5SJAOBLqV":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":385,"_id":4},"VkPerformanceQuerySubmitInfoKHR","Structure indicating which counter pass index is active for performance queries","VK_KHR_performance_query","structs",[],{"type":10,"children":11,"toc":383},"root",[12,28,242,297,316,349,377],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,118],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPerformanceQuerySubmitInfoKHR {\n VkStructureType sType;\n const void* pNext;\n uint32_t counterPassIndex;\n} VkPerformanceQuerySubmitInfoKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,109],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkPerformanceQuerySubmitInfoKHR {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99,104],{"type":13,"tag":45,"props":100,"children":101},{"style":52},[102],{"type":18,"value":103}," uint32_t",{"type":13,"tag":45,"props":105,"children":106},{"style":63},[107],{"type":18,"value":108}," counterPassIndex;\n",{"type":13,"tag":45,"props":110,"children":112},{"class":47,"line":111},5,[113],{"type":13,"tag":45,"props":114,"children":115},{"style":63},[116],{"type":18,"value":117},"} VkPerformanceQuerySubmitInfoKHR;\n",{"type":13,"tag":33,"props":119,"children":124},{"className":120,"code":121,"filename":122,"language":123,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PerformanceQuerySubmitInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n counter_pass_index: u32, // Index for which counter pass to submit\n}\n","Rust","rs",[125],{"type":13,"tag":21,"props":126,"children":127},{"__ignoreMap":39},[128,151,184,206,234],{"type":13,"tag":45,"props":129,"children":130},{"class":47,"line":48},[131,136,140,146],{"type":13,"tag":45,"props":132,"children":133},{"style":52},[134],{"type":18,"value":135},"pub",{"type":13,"tag":45,"props":137,"children":138},{"style":52},[139],{"type":18,"value":60},{"type":13,"tag":45,"props":141,"children":143},{"style":142},"--shiki-default:#953800;--shiki-dark:#FFA657",[144],{"type":18,"value":145}," PerformanceQuerySubmitInfoKHR",{"type":13,"tag":45,"props":147,"children":148},{"style":63},[149],{"type":18,"value":150}," {\n",{"type":13,"tag":45,"props":152,"children":153},{"class":47,"line":69},[154,159,164,169,174,179],{"type":13,"tag":45,"props":155,"children":156},{"style":63},[157],{"type":18,"value":158}," s_type",{"type":13,"tag":45,"props":160,"children":161},{"style":52},[162],{"type":18,"value":163},":",{"type":13,"tag":45,"props":165,"children":166},{"style":142},[167],{"type":18,"value":168}," vk",{"type":13,"tag":45,"props":170,"children":171},{"style":52},[172],{"type":18,"value":173},"::",{"type":13,"tag":45,"props":175,"children":176},{"style":142},[177],{"type":18,"value":178},"StructureType",{"type":13,"tag":45,"props":180,"children":181},{"style":63},[182],{"type":18,"value":183},",\n",{"type":13,"tag":45,"props":185,"children":186},{"class":47,"line":78},[187,192,196,201],{"type":13,"tag":45,"props":188,"children":189},{"style":63},[190],{"type":18,"value":191}," p_next",{"type":13,"tag":45,"props":193,"children":194},{"style":52},[195],{"type":18,"value":163},{"type":13,"tag":45,"props":197,"children":198},{"style":52},[199],{"type":18,"value":200}," *const",{"type":13,"tag":45,"props":202,"children":203},{"style":63},[204],{"type":18,"value":205}," c_void,\n",{"type":13,"tag":45,"props":207,"children":208},{"class":47,"line":97},[209,214,218,223,228],{"type":13,"tag":45,"props":210,"children":211},{"style":63},[212],{"type":18,"value":213}," counter_pass_index",{"type":13,"tag":45,"props":215,"children":216},{"style":52},[217],{"type":18,"value":163},{"type":13,"tag":45,"props":219,"children":220},{"style":142},[221],{"type":18,"value":222}," u32",{"type":13,"tag":45,"props":224,"children":225},{"style":63},[226],{"type":18,"value":227},", ",{"type":13,"tag":45,"props":229,"children":231},{"style":230},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[232],{"type":18,"value":233},"// Index for which counter pass to submit\n",{"type":13,"tag":45,"props":235,"children":236},{"class":47,"line":111},[237],{"type":13,"tag":45,"props":238,"children":239},{"style":63},[240],{"type":18,"value":241},"}\n",{"type":13,"tag":243,"props":244,"children":245},"ul",{},[246,267,286],{"type":13,"tag":247,"props":248,"children":249},"li",{},[250,256,258,265],{"type":13,"tag":21,"props":251,"children":253},{"className":252},[],[254],{"type":18,"value":255},"sType",{"type":18,"value":257}," is a ",{"type":13,"tag":259,"props":260,"children":262},"a",{"href":261},"/man/VkStructureType",[263],{"type":18,"value":264},"VkStructureType",{"type":18,"value":266}," value identifying this structure.",{"type":13,"tag":247,"props":268,"children":269},{},[270,276,278,284],{"type":13,"tag":21,"props":271,"children":273},{"className":272},[],[274],{"type":18,"value":275},"pNext",{"type":18,"value":277}," is ",{"type":13,"tag":21,"props":279,"children":281},{"className":280},[],[282],{"type":18,"value":283},"NULL",{"type":18,"value":285}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":247,"props":287,"children":288},{},[289,295],{"type":13,"tag":21,"props":290,"children":292},{"className":291},[],[293],{"type":18,"value":294},"counterPassIndex",{"type":18,"value":296}," specifies which counter pass index is active.",{"type":13,"tag":14,"props":298,"children":299},{},[300,302,308,309,314],{"type":18,"value":301},"If the ",{"type":13,"tag":21,"props":303,"children":305},{"className":304},[],[306],{"type":18,"value":307},"VkSubmitInfo",{"type":18,"value":173},{"type":13,"tag":21,"props":310,"children":312},{"className":311},[],[313],{"type":18,"value":275},{"type":18,"value":315}," chain does not include this\nstructure, the batch defaults to use counter pass index 0.",{"type":13,"tag":317,"props":318,"children":320},"validity-group",{"name":319},"Valid Usage",[321],{"type":13,"tag":322,"props":323,"children":325},"validity-field",{"name":324},"VUID-VkPerformanceQuerySubmitInfoKHR-counterPassIndex-03221",[326],{"type":13,"tag":14,"props":327,"children":328},{},[329,334,336,341,343],{"type":13,"tag":21,"props":330,"children":332},{"className":331},[],[333],{"type":18,"value":294},{"type":18,"value":335}," ",{"type":13,"tag":337,"props":338,"children":340},"normative",{"type":339},"must",[],{"type":18,"value":342}," be less than the number of counter passes\nrequired by any queries within the batch.\nThe required number of counter passes for a performance query is\nobtained by calling\n",{"type":13,"tag":259,"props":344,"children":346},{"href":345},"/man/vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR",[347],{"type":18,"value":348},"vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR",{"type":13,"tag":317,"props":350,"children":352},{"name":351},"Valid Usage (Implicit)",[353],{"type":13,"tag":322,"props":354,"children":356},{"name":355},"VUID-VkPerformanceQuerySubmitInfoKHR-sType-sType",[357],{"type":13,"tag":14,"props":358,"children":359},{},[360,365,366,369,371],{"type":13,"tag":21,"props":361,"children":363},{"className":362},[],[364],{"type":18,"value":255},{"type":18,"value":335},{"type":13,"tag":337,"props":367,"children":368},{"type":339},[],{"type":18,"value":370}," be ",{"type":13,"tag":21,"props":372,"children":374},{"className":373},[],[375],{"type":18,"value":376},"VK_STRUCTURE_TYPE_PERFORMANCE_QUERY_SUBMIT_INFO_KHR",{"type":13,"tag":378,"props":379,"children":380},"style",{},[381],{"type":18,"value":382},"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":39,"searchDepth":69,"depth":69,"links":384},[],"markdown",1725732565196]