[{"data":1,"prerenderedAt":465},["ShallowReactive",2],{"e2ln98aibG":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":464,"_id":4},"vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR","Reports the number of passes require for a performance query pool type","VK_KHR_performance_query","protos",[],{"type":10,"children":11,"toc":462},"root",[12,20,260,305,372,456],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query the number of passes required to query a performance query pool on\na physical device, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,128],{"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 vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR(\n VkPhysicalDevice physicalDevice,\n const VkQueryPoolPerformanceCreateInfoKHR* pPerformanceQueryCreateInfo,\n uint32_t* pNumPasses);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81,109],{"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}," vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR",{"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}," VkPhysicalDevice ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"physicalDevice",{"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}," VkQueryPoolPerformanceCreateInfoKHR",{"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}," pPerformanceQueryCreateInfo",{"type":13,"tag":38,"props":106,"children":107},{"style":57},[108],{"type":18,"value":80},{"type":13,"tag":38,"props":110,"children":112},{"class":40,"line":111},4,[113,118,123],{"type":13,"tag":38,"props":114,"children":115},{"style":45},[116],{"type":18,"value":117}," uint32_t*",{"type":13,"tag":38,"props":119,"children":120},{"style":72},[121],{"type":18,"value":122}," pNumPasses",{"type":13,"tag":38,"props":124,"children":125},{"style":57},[126],{"type":18,"value":127},");\n",{"type":13,"tag":25,"props":129,"children":134},{"className":130,"code":131,"filename":132,"language":133,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_physical_device_queue_family_performance_query_passes_khr(\n physical_device: vk::PhysicalDevice,\n p_performance_query_create_info: *const vk::QueryPoolPerformanceCreateInfoKHR,\n p_num_passes: *mut u32,\n);\n","Rust","rs",[135],{"type":13,"tag":34,"props":136,"children":137},{"__ignoreMap":31},[138,160,192,226,252],{"type":13,"tag":38,"props":139,"children":140},{"class":40,"line":41},[141,146,151,156],{"type":13,"tag":38,"props":142,"children":143},{"style":45},[144],{"type":18,"value":145},"pub",{"type":13,"tag":38,"props":147,"children":148},{"style":45},[149],{"type":18,"value":150}," fn",{"type":13,"tag":38,"props":152,"children":153},{"style":51},[154],{"type":18,"value":155}," get_physical_device_queue_family_performance_query_passes_khr",{"type":13,"tag":38,"props":157,"children":158},{"style":57},[159],{"type":18,"value":60},{"type":13,"tag":38,"props":161,"children":162},{"class":40,"line":63},[163,168,173,178,183,188],{"type":13,"tag":38,"props":164,"children":165},{"style":57},[166],{"type":18,"value":167}," physical_device",{"type":13,"tag":38,"props":169,"children":170},{"style":45},[171],{"type":18,"value":172},":",{"type":13,"tag":38,"props":174,"children":175},{"style":72},[176],{"type":18,"value":177}," vk",{"type":13,"tag":38,"props":179,"children":180},{"style":45},[181],{"type":18,"value":182},"::",{"type":13,"tag":38,"props":184,"children":185},{"style":72},[186],{"type":18,"value":187},"PhysicalDevice",{"type":13,"tag":38,"props":189,"children":190},{"style":57},[191],{"type":18,"value":80},{"type":13,"tag":38,"props":193,"children":194},{"class":40,"line":83},[195,200,204,209,213,217,222],{"type":13,"tag":38,"props":196,"children":197},{"style":57},[198],{"type":18,"value":199}," p_performance_query_create_info",{"type":13,"tag":38,"props":201,"children":202},{"style":45},[203],{"type":18,"value":172},{"type":13,"tag":38,"props":205,"children":206},{"style":45},[207],{"type":18,"value":208}," *const",{"type":13,"tag":38,"props":210,"children":211},{"style":72},[212],{"type":18,"value":177},{"type":13,"tag":38,"props":214,"children":215},{"style":45},[216],{"type":18,"value":182},{"type":13,"tag":38,"props":218,"children":219},{"style":72},[220],{"type":18,"value":221},"QueryPoolPerformanceCreateInfoKHR",{"type":13,"tag":38,"props":223,"children":224},{"style":57},[225],{"type":18,"value":80},{"type":13,"tag":38,"props":227,"children":228},{"class":40,"line":111},[229,234,238,243,248],{"type":13,"tag":38,"props":230,"children":231},{"style":57},[232],{"type":18,"value":233}," p_num_passes",{"type":13,"tag":38,"props":235,"children":236},{"style":45},[237],{"type":18,"value":172},{"type":13,"tag":38,"props":239,"children":240},{"style":45},[241],{"type":18,"value":242}," *mut",{"type":13,"tag":38,"props":244,"children":245},{"style":72},[246],{"type":18,"value":247}," u32",{"type":13,"tag":38,"props":249,"children":250},{"style":57},[251],{"type":18,"value":80},{"type":13,"tag":38,"props":253,"children":255},{"class":40,"line":254},5,[256],{"type":13,"tag":38,"props":257,"children":258},{"style":57},[259],{"type":18,"value":127},{"type":13,"tag":261,"props":262,"children":263},"ul",{},[264,275,294],{"type":13,"tag":265,"props":266,"children":267},"li",{},[268,273],{"type":13,"tag":34,"props":269,"children":271},{"className":270},[],[272],{"type":18,"value":75},{"type":18,"value":274}," is the handle to the physical device whose queue\nfamily performance query counter properties will be queried.",{"type":13,"tag":265,"props":276,"children":277},{},[278,284,286,292],{"type":13,"tag":34,"props":279,"children":281},{"className":280},[],[282],{"type":18,"value":283},"pPerformanceQueryCreateInfo",{"type":18,"value":285}," is a pointer to a\n",{"type":13,"tag":34,"props":287,"children":289},{"className":288},[],[290],{"type":18,"value":291},"VkQueryPoolPerformanceCreateInfoKHR",{"type":18,"value":293}," of the performance query that\nis to be created.",{"type":13,"tag":265,"props":295,"children":296},{},[297,303],{"type":13,"tag":34,"props":298,"children":300},{"className":299},[],[301],{"type":18,"value":302},"pNumPasses",{"type":18,"value":304}," is a pointer to an integer related to the number of\npasses required to query the performance query pool, as described below.",{"type":13,"tag":14,"props":306,"children":307},{},[308,310,315,317,322,323,329,331,336,338,343,345,350,351,356,357,363,365,370],{"type":18,"value":309},"The ",{"type":13,"tag":34,"props":311,"children":313},{"className":312},[],[314],{"type":18,"value":283},{"type":18,"value":316}," member\n",{"type":13,"tag":34,"props":318,"children":320},{"className":319},[],[321],{"type":18,"value":291},{"type":18,"value":182},{"type":13,"tag":34,"props":324,"children":326},{"className":325},[],[327],{"type":18,"value":328},"queueFamilyIndex",{"type":18,"value":330}," ",{"type":13,"tag":332,"props":333,"children":335},"normative",{"type":334},"must",[],{"type":18,"value":337}," be a\nqueue family of ",{"type":13,"tag":34,"props":339,"children":341},{"className":340},[],[342],{"type":18,"value":75},{"type":18,"value":344},".\nThe number of passes required to capture the counters specified in the\n",{"type":13,"tag":34,"props":346,"children":348},{"className":347},[],[349],{"type":18,"value":283},{"type":18,"value":316},{"type":13,"tag":34,"props":352,"children":354},{"className":353},[],[355],{"type":18,"value":291},{"type":18,"value":182},{"type":13,"tag":34,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":362},"pCounters",{"type":18,"value":364}," is returned in\n",{"type":13,"tag":34,"props":366,"children":368},{"className":367},[],[369],{"type":18,"value":302},{"type":18,"value":371},".",{"type":13,"tag":373,"props":374,"children":376},"validity-group",{"name":375},"Valid Usage (Implicit)",[377,405,430],{"type":13,"tag":378,"props":379,"children":381},"validity-field",{"name":380},"VUID-vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR-physicalDevice-parameter",[382],{"type":13,"tag":14,"props":383,"children":384},{},[385,390,391,394,396,403],{"type":13,"tag":34,"props":386,"children":388},{"className":387},[],[389],{"type":18,"value":75},{"type":18,"value":330},{"type":13,"tag":332,"props":392,"children":393},{"type":334},[],{"type":18,"value":395}," be a valid ",{"type":13,"tag":397,"props":398,"children":400},"a",{"href":399},"/man/VkPhysicalDevice",[401],{"type":18,"value":402},"VkPhysicalDevice",{"type":18,"value":404}," handle",{"type":13,"tag":378,"props":406,"children":408},{"name":407},"VUID-vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR-pPerformanceQueryCreateInfo-parameter",[409],{"type":13,"tag":14,"props":410,"children":411},{},[412,417,418,421,423,428],{"type":13,"tag":34,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":283},{"type":18,"value":330},{"type":13,"tag":332,"props":419,"children":420},{"type":334},[],{"type":18,"value":422}," be a valid pointer to a valid ",{"type":13,"tag":397,"props":424,"children":426},{"href":425},"/man/VkQueryPoolPerformanceCreateInfoKHR",[427],{"type":18,"value":291},{"type":18,"value":429}," structure",{"type":13,"tag":378,"props":431,"children":433},{"name":432},"VUID-vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR-pNumPasses-parameter",[434],{"type":13,"tag":14,"props":435,"children":436},{},[437,442,443,446,448,454],{"type":13,"tag":34,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":302},{"type":18,"value":330},{"type":13,"tag":332,"props":444,"children":445},{"type":334},[],{"type":18,"value":447}," be a valid pointer to a ",{"type":13,"tag":34,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":453},"uint32_t",{"type":18,"value":455}," value",{"type":13,"tag":457,"props":458,"children":459},"style",{},[460],{"type":18,"value":461},"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":463},[],"markdown",1729612517219]