[{"data":1,"prerenderedAt":2150},["ShallowReactive",2],{"rIIwu8ewYQ":3},{"title":4,"description":5,"parent":6,"cmd_buf_level":7,"render_pass_scope":10,"video_coding_scope":10,"supported_queue_types":11,"tasks":16,"type":19,"xrefs":20,"body":24,"_type":2149,"_id":4},"vkCmdBeginQuery","Begin a query","VK_VERSION_1_0",[8,9],"primary","secondary","both",[12,13,14,15],"graphics","compute","decode","encode",[17,18],"action","state","protos",[21,22,23],"vkCmdEndQuery","vkCmdBeginQueryIndexedEXT","vkCmdEndQueryIndexedEXT",{"type":25,"children":26,"toc":2147},"root",[27,35,302,364,414,441,446,459,464,510,523,537,542,576,604,609,1935,2095,2141],{"type":28,"tag":29,"props":30,"children":31},"element","p",{},[32],{"type":33,"value":34},"text","To begin a query, call:",{"type":28,"tag":36,"props":37,"children":38},"code-group",{},[39,151],{"type":28,"tag":40,"props":41,"children":47},"pre",{"className":42,"code":43,"filename":44,"language":45,"meta":46,"style":46},"language-c shiki shiki-themes github-light-default github-dark-default","void vkCmdBeginQuery(\n VkCommandBuffer commandBuffer,\n VkQueryPool queryPool,\n uint32_t query,\n VkQueryControlFlags flags);\n","C","c","",[48],{"type":28,"tag":49,"props":50,"children":51},"code",{"__ignoreMap":46},[52,76,96,114,132],{"type":28,"tag":53,"props":54,"children":57},"span",{"class":55,"line":56},"line",1,[58,64,70],{"type":28,"tag":53,"props":59,"children":61},{"style":60},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[62],{"type":33,"value":63},"void",{"type":28,"tag":53,"props":65,"children":67},{"style":66},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[68],{"type":33,"value":69}," vkCmdBeginQuery",{"type":28,"tag":53,"props":71,"children":73},{"style":72},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[74],{"type":33,"value":75},"(\n",{"type":28,"tag":53,"props":77,"children":79},{"class":55,"line":78},2,[80,85,91],{"type":28,"tag":53,"props":81,"children":82},{"style":72},[83],{"type":33,"value":84}," VkCommandBuffer ",{"type":28,"tag":53,"props":86,"children":88},{"style":87},"--shiki-default:#953800;--shiki-dark:#FFA657",[89],{"type":33,"value":90},"commandBuffer",{"type":28,"tag":53,"props":92,"children":93},{"style":72},[94],{"type":33,"value":95},",\n",{"type":28,"tag":53,"props":97,"children":99},{"class":55,"line":98},3,[100,105,110],{"type":28,"tag":53,"props":101,"children":102},{"style":72},[103],{"type":33,"value":104}," VkQueryPool ",{"type":28,"tag":53,"props":106,"children":107},{"style":87},[108],{"type":33,"value":109},"queryPool",{"type":28,"tag":53,"props":111,"children":112},{"style":72},[113],{"type":33,"value":95},{"type":28,"tag":53,"props":115,"children":117},{"class":55,"line":116},4,[118,123,128],{"type":28,"tag":53,"props":119,"children":120},{"style":60},[121],{"type":33,"value":122}," uint32_t",{"type":28,"tag":53,"props":124,"children":125},{"style":87},[126],{"type":33,"value":127}," query",{"type":28,"tag":53,"props":129,"children":130},{"style":72},[131],{"type":33,"value":95},{"type":28,"tag":53,"props":133,"children":135},{"class":55,"line":134},5,[136,141,146],{"type":28,"tag":53,"props":137,"children":138},{"style":72},[139],{"type":33,"value":140}," VkQueryControlFlags ",{"type":28,"tag":53,"props":142,"children":143},{"style":87},[144],{"type":33,"value":145},"flags",{"type":28,"tag":53,"props":147,"children":148},{"style":72},[149],{"type":33,"value":150},");\n",{"type":28,"tag":40,"props":152,"children":157},{"className":153,"code":154,"filename":155,"language":156,"meta":46,"style":46},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_begin_query(\n command_buffer: vk::CommandBuffer,\n query_pool: vk::QueryPool,\n query: u32,\n flags: vk::QueryControlFlags,\n);\n","Rust","rs",[158],{"type":28,"tag":49,"props":159,"children":160},{"__ignoreMap":46},[161,183,215,244,265,294],{"type":28,"tag":53,"props":162,"children":163},{"class":55,"line":56},[164,169,174,179],{"type":28,"tag":53,"props":165,"children":166},{"style":60},[167],{"type":33,"value":168},"pub",{"type":28,"tag":53,"props":170,"children":171},{"style":60},[172],{"type":33,"value":173}," fn",{"type":28,"tag":53,"props":175,"children":176},{"style":66},[177],{"type":33,"value":178}," cmd_begin_query",{"type":28,"tag":53,"props":180,"children":181},{"style":72},[182],{"type":33,"value":75},{"type":28,"tag":53,"props":184,"children":185},{"class":55,"line":78},[186,191,196,201,206,211],{"type":28,"tag":53,"props":187,"children":188},{"style":72},[189],{"type":33,"value":190}," command_buffer",{"type":28,"tag":53,"props":192,"children":193},{"style":60},[194],{"type":33,"value":195},":",{"type":28,"tag":53,"props":197,"children":198},{"style":87},[199],{"type":33,"value":200}," vk",{"type":28,"tag":53,"props":202,"children":203},{"style":60},[204],{"type":33,"value":205},"::",{"type":28,"tag":53,"props":207,"children":208},{"style":87},[209],{"type":33,"value":210},"CommandBuffer",{"type":28,"tag":53,"props":212,"children":213},{"style":72},[214],{"type":33,"value":95},{"type":28,"tag":53,"props":216,"children":217},{"class":55,"line":98},[218,223,227,231,235,240],{"type":28,"tag":53,"props":219,"children":220},{"style":72},[221],{"type":33,"value":222}," query_pool",{"type":28,"tag":53,"props":224,"children":225},{"style":60},[226],{"type":33,"value":195},{"type":28,"tag":53,"props":228,"children":229},{"style":87},[230],{"type":33,"value":200},{"type":28,"tag":53,"props":232,"children":233},{"style":60},[234],{"type":33,"value":205},{"type":28,"tag":53,"props":236,"children":237},{"style":87},[238],{"type":33,"value":239},"QueryPool",{"type":28,"tag":53,"props":241,"children":242},{"style":72},[243],{"type":33,"value":95},{"type":28,"tag":53,"props":245,"children":246},{"class":55,"line":116},[247,252,256,261],{"type":28,"tag":53,"props":248,"children":249},{"style":72},[250],{"type":33,"value":251}," query",{"type":28,"tag":53,"props":253,"children":254},{"style":60},[255],{"type":33,"value":195},{"type":28,"tag":53,"props":257,"children":258},{"style":87},[259],{"type":33,"value":260}," u32",{"type":28,"tag":53,"props":262,"children":263},{"style":72},[264],{"type":33,"value":95},{"type":28,"tag":53,"props":266,"children":267},{"class":55,"line":134},[268,273,277,281,285,290],{"type":28,"tag":53,"props":269,"children":270},{"style":72},[271],{"type":33,"value":272}," flags",{"type":28,"tag":53,"props":274,"children":275},{"style":60},[276],{"type":33,"value":195},{"type":28,"tag":53,"props":278,"children":279},{"style":87},[280],{"type":33,"value":200},{"type":28,"tag":53,"props":282,"children":283},{"style":60},[284],{"type":33,"value":205},{"type":28,"tag":53,"props":286,"children":287},{"style":87},[288],{"type":33,"value":289},"QueryControlFlags",{"type":28,"tag":53,"props":291,"children":292},{"style":72},[293],{"type":33,"value":95},{"type":28,"tag":53,"props":295,"children":297},{"class":55,"line":296},6,[298],{"type":28,"tag":53,"props":299,"children":300},{"style":72},[301],{"type":33,"value":150},{"type":28,"tag":303,"props":304,"children":305},"ul",{},[306,317,327,338],{"type":28,"tag":307,"props":308,"children":309},"li",{},[310,315],{"type":28,"tag":49,"props":311,"children":313},{"className":312},[],[314],{"type":33,"value":90},{"type":33,"value":316}," is the command buffer into which this command will\nbe recorded.",{"type":28,"tag":307,"props":318,"children":319},{},[320,325],{"type":28,"tag":49,"props":321,"children":323},{"className":322},[],[324],{"type":33,"value":109},{"type":33,"value":326}," is the query pool that will manage the results of the\nquery.",{"type":28,"tag":307,"props":328,"children":329},{},[330,336],{"type":28,"tag":49,"props":331,"children":333},{"className":332},[],[334],{"type":33,"value":335},"query",{"type":33,"value":337}," is the query index within the query pool that will contain\nthe results.",{"type":28,"tag":307,"props":339,"children":340},{},[341,346,348,355,357,362],{"type":28,"tag":49,"props":342,"children":344},{"className":343},[],[345],{"type":33,"value":145},{"type":33,"value":347}," is a bitmask of ",{"type":28,"tag":349,"props":350,"children":352},"a",{"href":351},"/man/VkQueryControlFlagBits",[353],{"type":33,"value":354},"VkQueryControlFlagBits",{"type":33,"value":356}," specifying\nconstraints on the types of queries that ",{"type":28,"tag":358,"props":359,"children":361},"normative",{"type":360},"can",[],{"type":33,"value":363}," be performed.",{"type":28,"tag":29,"props":365,"children":366},{},[367,369,375,377,383,385,390,392,398,400,404,406,412],{"type":33,"value":368},"If the ",{"type":28,"tag":49,"props":370,"children":372},{"className":371},[],[373],{"type":33,"value":374},"queryType",{"type":33,"value":376}," of the pool is ",{"type":28,"tag":49,"props":378,"children":380},{"className":379},[],[381],{"type":33,"value":382},"VK_QUERY_TYPE_OCCLUSION",{"type":33,"value":384}," and\n",{"type":28,"tag":49,"props":386,"children":388},{"className":387},[],[389],{"type":33,"value":145},{"type":33,"value":391}," contains ",{"type":28,"tag":49,"props":393,"children":395},{"className":394},[],[396],{"type":33,"value":397},"VK_QUERY_CONTROL_PRECISE_BIT",{"type":33,"value":399},", an implementation\n",{"type":28,"tag":358,"props":401,"children":403},{"type":402},"must",[],{"type":33,"value":405}," return a result that matches the actual number of samples passed.\nThis is described in more detail in ",{"type":28,"tag":349,"props":407,"children":409},{"href":408},"/chapters/queries#queries-occlusion",[410],{"type":33,"value":411},"Occlusion Queries",{"type":33,"value":413},".",{"type":28,"tag":29,"props":415,"children":416},{},[417,419,424,426,431,433,439],{"type":33,"value":418},"Calling ",{"type":28,"tag":49,"props":420,"children":422},{"className":421},[],[423],{"type":33,"value":4},{"type":33,"value":425}," is equivalent to calling\n",{"type":28,"tag":349,"props":427,"children":429},{"href":428},"/man/vkCmdBeginQueryIndexedEXT",[430],{"type":33,"value":22},{"type":33,"value":432}," with the ",{"type":28,"tag":49,"props":434,"children":436},{"className":435},[],[437],{"type":33,"value":438},"index",{"type":33,"value":440}," parameter set to zero.",{"type":28,"tag":442,"props":443,"children":445},"anchor",{"id":444},"queries-operation-active",[],{"type":28,"tag":29,"props":447,"children":448},{},[449,451,457],{"type":33,"value":450},"After beginning a query, that query is considered ",{"type":28,"tag":452,"props":453,"children":454},"em",{},[455],{"type":33,"value":456},"active",{"type":33,"value":458}," within the\ncommand buffer it was called in until that same query is ended.\nQueries active in a primary command buffer when secondary command buffers\nare executed are considered active for those secondary command buffers.",{"type":28,"tag":29,"props":460,"children":461},{},[462],{"type":33,"value":463},"Furthermore, if the query is started within a video coding scope, the\nfollowing command buffer states are initialized for the query type:",{"type":28,"tag":303,"props":465,"children":466},{},[467,489],{"type":28,"tag":307,"props":468,"children":469},{},[470,474,476,481,483,488],{"type":28,"tag":442,"props":471,"children":473},{"id":472},"queries-operation-active-query-index",[],{"type":33,"value":475}," The ",{"type":28,"tag":452,"props":477,"children":478},{},[479],{"type":33,"value":480},"active_query_index",{"type":33,"value":482}," is set\nto the value specified by ",{"type":28,"tag":49,"props":484,"children":486},{"className":485},[],[487],{"type":33,"value":335},{"type":33,"value":413},{"type":28,"tag":307,"props":490,"children":491},{},[492,496,497,502,504,509],{"type":28,"tag":442,"props":493,"children":495},{"id":494},"queries-operation-last-activatable-query-index",[],{"type":33,"value":475},{"type":28,"tag":452,"props":498,"children":499},{},[500],{"type":33,"value":501},"last activatable\nquery index",{"type":33,"value":503}," is also set to the value specified by ",{"type":28,"tag":49,"props":505,"children":507},{"className":506},[],[508],{"type":33,"value":335},{"type":33,"value":413},{"type":28,"tag":29,"props":511,"children":512},{},[513,515,521],{"type":33,"value":514},"Each ",{"type":28,"tag":349,"props":516,"children":518},{"href":517},"/chapters/video-coding#video-coding",[519],{"type":33,"value":520},"video coding operation",{"type":33,"value":522}," stores a result to the query\ncorresponding to the current active query index, followed by incrementing\nthe active query index.\nIf the active query index gets incremented past the last activatable query\nindex, issuing any further video coding operations results in undefined:\nbehavior.",{"type":28,"tag":524,"props":525,"children":526},"note",{},[527],{"type":28,"tag":29,"props":528,"children":529},{},[530,532,535],{"type":33,"value":531},"In practice, this means that currently no more than a single video coding\noperation ",{"type":28,"tag":358,"props":533,"children":534},{"type":402},[],{"type":33,"value":536}," be issued between a begin and end query pair.",{"type":28,"tag":29,"props":538,"children":539},{},[540],{"type":33,"value":541},"This command defines an execution dependency between other query commands\nthat reference the same query.",{"type":28,"tag":29,"props":543,"children":544},{},[545,547,553,555,560,562,567,569,575],{"type":33,"value":546},"The first ",{"type":28,"tag":349,"props":548,"children":550},{"href":549},"/chapters/synchronization#synchronization-dependencies-scopes",[551],{"type":33,"value":552},"synchronization scope",{"type":33,"value":554},"\nincludes all commands which reference the queries in ",{"type":28,"tag":49,"props":556,"children":558},{"className":557},[],[559],{"type":33,"value":109},{"type":33,"value":561},"\nindicated by ",{"type":28,"tag":49,"props":563,"children":565},{"className":564},[],[566],{"type":33,"value":335},{"type":33,"value":568}," that occur earlier in\n",{"type":28,"tag":349,"props":570,"children":572},{"href":571},"/chapters/synchronization#synchronization-submission-order",[573],{"type":33,"value":574},"submission order",{"type":33,"value":413},{"type":28,"tag":29,"props":577,"children":578},{},[579,581,585,586,591,592,597,599,603],{"type":33,"value":580},"The second ",{"type":28,"tag":349,"props":582,"children":583},{"href":549},[584],{"type":33,"value":552},{"type":33,"value":554},{"type":28,"tag":49,"props":587,"children":589},{"className":588},[],[590],{"type":33,"value":109},{"type":33,"value":561},{"type":28,"tag":49,"props":593,"children":595},{"className":594},[],[596],{"type":33,"value":335},{"type":33,"value":598}," that occur later in\n",{"type":28,"tag":349,"props":600,"children":601},{"href":571},[602],{"type":33,"value":574},{"type":33,"value":413},{"type":28,"tag":29,"props":605,"children":606},{},[607],{"type":33,"value":608},"The operation of this command happens after the first scope and happens\nbefore the second scope.",{"type":28,"tag":610,"props":611,"children":613},"validity-group",{"name":612},"Valid Usage",[614,634,668,706,743,773,830,853,901,955,1005,1031,1098,1119,1139,1216,1249,1312,1352,1388,1432,1475,1520,1565,1606,1678,1729,1780,1825,1895],{"type":28,"tag":615,"props":616,"children":618},"validity-field",{"name":617},"VUID-vkCmdBeginQuery-None-00807",[619],{"type":28,"tag":29,"props":620,"children":621},{},[622,624,627,629],{"type":33,"value":623},"All queries used by the command ",{"type":28,"tag":358,"props":625,"children":626},{"type":402},[],{"type":33,"value":628}," be ",{"type":28,"tag":452,"props":630,"children":631},{},[632],{"type":33,"value":633},"unavailable",{"type":28,"tag":615,"props":635,"children":637},{"name":636},"VUID-vkCmdBeginQuery-queryType-02804",[638],{"type":28,"tag":29,"props":639,"children":640},{},[641,643,648,650,655,657,660,662],{"type":33,"value":642},"The ",{"type":28,"tag":49,"props":644,"children":646},{"className":645},[],[647],{"type":33,"value":374},{"type":33,"value":649}," used to create ",{"type":28,"tag":49,"props":651,"children":653},{"className":652},[],[654],{"type":33,"value":109},{"type":33,"value":656}," ",{"type":28,"tag":358,"props":658,"children":659},{"type":402},[],{"type":33,"value":661}," not be\n",{"type":28,"tag":49,"props":663,"children":665},{"className":664},[],[666],{"type":33,"value":667},"VK_QUERY_TYPE_TIMESTAMP",{"type":28,"tag":615,"props":669,"children":671},{"name":670},"VUID-vkCmdBeginQuery-queryType-04728",[672],{"type":28,"tag":29,"props":673,"children":674},{},[675,676,681,682,687,688,691,692,698,700],{"type":33,"value":642},{"type":28,"tag":49,"props":677,"children":679},{"className":678},[],[680],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":683,"children":685},{"className":684},[],[686],{"type":33,"value":109},{"type":33,"value":656},{"type":28,"tag":358,"props":689,"children":690},{"type":402},[],{"type":33,"value":661},{"type":28,"tag":49,"props":693,"children":695},{"className":694},[],[696],{"type":33,"value":697},"VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_KHR",{"type":33,"value":699}," or\n",{"type":28,"tag":49,"props":701,"children":703},{"className":702},[],[704],{"type":33,"value":705},"VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_SIZE_KHR",{"type":28,"tag":615,"props":707,"children":709},{"name":708},"VUID-vkCmdBeginQuery-queryType-06741",[710],{"type":28,"tag":29,"props":711,"children":712},{},[713,714,719,720,725,726,729,730,736,737],{"type":33,"value":642},{"type":28,"tag":49,"props":715,"children":717},{"className":716},[],[718],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":721,"children":723},{"className":722},[],[724],{"type":33,"value":109},{"type":33,"value":656},{"type":28,"tag":358,"props":727,"children":728},{"type":402},[],{"type":33,"value":661},{"type":28,"tag":49,"props":731,"children":733},{"className":732},[],[734],{"type":33,"value":735},"VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SIZE_KHR",{"type":33,"value":699},{"type":28,"tag":49,"props":738,"children":740},{"className":739},[],[741],{"type":33,"value":742},"VK_QUERY_TYPE_ACCELERATION_STRUCTURE_SERIALIZATION_BOTTOM_LEVEL_POINTERS_KHR",{"type":28,"tag":615,"props":744,"children":746},{"name":745},"VUID-vkCmdBeginQuery-queryType-04729",[747],{"type":28,"tag":29,"props":748,"children":749},{},[750,751,756,757,762,763,766,767],{"type":33,"value":642},{"type":28,"tag":49,"props":752,"children":754},{"className":753},[],[755],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":758,"children":760},{"className":759},[],[761],{"type":33,"value":109},{"type":33,"value":656},{"type":28,"tag":358,"props":764,"children":765},{"type":402},[],{"type":33,"value":661},{"type":28,"tag":49,"props":768,"children":770},{"className":769},[],[771],{"type":33,"value":772},"VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV",{"type":28,"tag":615,"props":774,"children":776},{"name":775},"VUID-vkCmdBeginQuery-queryType-00800",[777],{"type":28,"tag":29,"props":778,"children":779},{},[780,781,791,793,798,800,805,807,812,814,819,820,823,825],{"type":33,"value":368},{"type":28,"tag":349,"props":782,"children":784},{"href":783},"/man/VkPhysicalDeviceFeatures#features-occlusionQueryPrecise",[785],{"type":28,"tag":49,"props":786,"children":788},{"className":787},[],[789],{"type":33,"value":790},"occlusionQueryPrecise",{"type":33,"value":792},"\nfeature is not enabled, or the ",{"type":28,"tag":49,"props":794,"children":796},{"className":795},[],[797],{"type":33,"value":374},{"type":33,"value":799}," used to create\n",{"type":28,"tag":49,"props":801,"children":803},{"className":802},[],[804],{"type":33,"value":109},{"type":33,"value":806}," was not ",{"type":28,"tag":49,"props":808,"children":810},{"className":809},[],[811],{"type":33,"value":382},{"type":33,"value":813},", ",{"type":28,"tag":49,"props":815,"children":817},{"className":816},[],[818],{"type":33,"value":145},{"type":33,"value":656},{"type":28,"tag":358,"props":821,"children":822},{"type":402},[],{"type":33,"value":824},"\nnot contain ",{"type":28,"tag":49,"props":826,"children":828},{"className":827},[],[829],{"type":33,"value":397},{"type":28,"tag":615,"props":831,"children":833},{"name":832},"VUID-vkCmdBeginQuery-query-00802",[834],{"type":28,"tag":29,"props":835,"children":836},{},[837,842,843,846,848],{"type":28,"tag":49,"props":838,"children":840},{"className":839},[],[841],{"type":33,"value":335},{"type":33,"value":656},{"type":28,"tag":358,"props":844,"children":845},{"type":402},[],{"type":33,"value":847}," be less than the number of queries in ",{"type":28,"tag":49,"props":849,"children":851},{"className":850},[],[852],{"type":33,"value":109},{"type":28,"tag":615,"props":854,"children":856},{"name":855},"VUID-vkCmdBeginQuery-queryType-00803",[857],{"type":28,"tag":29,"props":858,"children":859},{},[860,861,866,867,872,874,879,881,887,889,894,896,899],{"type":33,"value":368},{"type":28,"tag":49,"props":862,"children":864},{"className":863},[],[865],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":868,"children":870},{"className":869},[],[871],{"type":33,"value":109},{"type":33,"value":873}," was\n",{"type":28,"tag":49,"props":875,"children":877},{"className":876},[],[878],{"type":33,"value":382},{"type":33,"value":880},", the ",{"type":28,"tag":49,"props":882,"children":884},{"className":883},[],[885],{"type":33,"value":886},"VkCommandPool",{"type":33,"value":888}," that\n",{"type":28,"tag":49,"props":890,"children":892},{"className":891},[],[893],{"type":33,"value":90},{"type":33,"value":895}," was allocated from ",{"type":28,"tag":358,"props":897,"children":898},{"type":402},[],{"type":33,"value":900}," support graphics operations",{"type":28,"tag":615,"props":902,"children":904},{"name":903},"VUID-vkCmdBeginQuery-queryType-00804",[905],{"type":28,"tag":29,"props":906,"children":907},{},[908,909,914,915,920,921,927,929,935,937,942,944,949,950,953],{"type":33,"value":368},{"type":28,"tag":49,"props":910,"children":912},{"className":911},[],[913],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":916,"children":918},{"className":917},[],[919],{"type":33,"value":109},{"type":33,"value":873},{"type":28,"tag":49,"props":922,"children":924},{"className":923},[],[925],{"type":33,"value":926},"VK_QUERY_TYPE_PIPELINE_STATISTICS",{"type":33,"value":928}," and any of the\n",{"type":28,"tag":49,"props":930,"children":932},{"className":931},[],[933],{"type":33,"value":934},"pipelineStatistics",{"type":33,"value":936}," indicate graphics operations, the\n",{"type":28,"tag":49,"props":938,"children":940},{"className":939},[],[941],{"type":33,"value":886},{"type":33,"value":943}," that ",{"type":28,"tag":49,"props":945,"children":947},{"className":946},[],[948],{"type":33,"value":90},{"type":33,"value":895},{"type":28,"tag":358,"props":951,"children":952},{"type":402},[],{"type":33,"value":954},"\nsupport graphics operations",{"type":28,"tag":615,"props":956,"children":958},{"name":957},"VUID-vkCmdBeginQuery-queryType-00805",[959],{"type":28,"tag":29,"props":960,"children":961},{},[962,963,968,969,974,975,980,981,986,988,993,994,999,1000,1003],{"type":33,"value":368},{"type":28,"tag":49,"props":964,"children":966},{"className":965},[],[967],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":970,"children":972},{"className":971},[],[973],{"type":33,"value":109},{"type":33,"value":873},{"type":28,"tag":49,"props":976,"children":978},{"className":977},[],[979],{"type":33,"value":926},{"type":33,"value":928},{"type":28,"tag":49,"props":982,"children":984},{"className":983},[],[985],{"type":33,"value":934},{"type":33,"value":987}," indicate compute operations, the\n",{"type":28,"tag":49,"props":989,"children":991},{"className":990},[],[992],{"type":33,"value":886},{"type":33,"value":943},{"type":28,"tag":49,"props":995,"children":997},{"className":996},[],[998],{"type":33,"value":90},{"type":33,"value":895},{"type":28,"tag":358,"props":1001,"children":1002},{"type":402},[],{"type":33,"value":1004},"\nsupport compute operations",{"type":28,"tag":615,"props":1006,"children":1008},{"name":1007},"VUID-vkCmdBeginQuery-query-00808",[1009],{"type":28,"tag":29,"props":1010,"children":1011},{},[1012,1014,1019,1021,1024,1026],{"type":33,"value":1013},"If called within a render pass instance, the sum of ",{"type":28,"tag":49,"props":1015,"children":1017},{"className":1016},[],[1018],{"type":33,"value":335},{"type":33,"value":1020}," and the\nnumber of bits set in the current subpass’s view mask ",{"type":28,"tag":358,"props":1022,"children":1023},{"type":402},[],{"type":33,"value":1025}," be less than\nor equal to the number of queries in ",{"type":28,"tag":49,"props":1027,"children":1029},{"className":1028},[],[1030],{"type":33,"value":109},{"type":28,"tag":615,"props":1032,"children":1034},{"name":1033},"VUID-vkCmdBeginQuery-queryType-07126",[1035],{"type":28,"tag":29,"props":1036,"children":1037},{},[1038,1039,1044,1045,1050,1051,1057,1059,1064,1066,1071,1072,1075,1077,1083,1085,1091,1092],{"type":33,"value":368},{"type":28,"tag":49,"props":1040,"children":1042},{"className":1041},[],[1043],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":1046,"children":1048},{"className":1047},[],[1049],{"type":33,"value":109},{"type":33,"value":873},{"type":28,"tag":49,"props":1052,"children":1054},{"className":1053},[],[1055],{"type":33,"value":1056},"VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR",{"type":33,"value":1058},", then the ",{"type":28,"tag":49,"props":1060,"children":1062},{"className":1061},[],[1063],{"type":33,"value":886},{"type":33,"value":1065},"\nthat ",{"type":28,"tag":49,"props":1067,"children":1069},{"className":1068},[],[1070],{"type":33,"value":90},{"type":33,"value":895},{"type":28,"tag":358,"props":1073,"children":1074},{"type":402},[],{"type":33,"value":1076}," have been created with\na queue family index that supports ",{"type":28,"tag":349,"props":1078,"children":1080},{"href":1079},"/chapters/queries#queries-result-status-only",[1081],{"type":33,"value":1082},"result\nstatus queries",{"type":33,"value":1084},", as indicated by\n",{"type":28,"tag":349,"props":1086,"children":1088},{"href":1087},"/man/VkQueueFamilyQueryResultStatusPropertiesKHR",[1089],{"type":33,"value":1090},"VkQueueFamilyQueryResultStatusPropertiesKHR",{"type":33,"value":205},{"type":28,"tag":49,"props":1093,"children":1095},{"className":1094},[],[1096],{"type":33,"value":1097},"queryResultStatusSupport",{"type":28,"tag":615,"props":1099,"children":1101},{"name":1100},"VUID-vkCmdBeginQuery-None-07127",[1102],{"type":28,"tag":29,"props":1103,"children":1104},{},[1105,1107,1110,1112,1117],{"type":33,"value":1106},"If there is a bound video session, then there ",{"type":28,"tag":358,"props":1108,"children":1109},{"type":402},[],{"type":33,"value":1111}," be no\n",{"type":28,"tag":349,"props":1113,"children":1115},{"href":1114},"/man/vkCmdBeginQuery#queries-operation-active",[1116],{"type":33,"value":456},{"type":33,"value":1118}," queries",{"type":28,"tag":615,"props":1120,"children":1122},{"name":1121},"VUID-vkCmdBeginQuery-None-08370",[1123],{"type":28,"tag":29,"props":1124,"children":1125},{},[1126,1128,1131,1133],{"type":33,"value":1127},"If there is a bound video session, then it ",{"type":28,"tag":358,"props":1129,"children":1130},{"type":402},[],{"type":33,"value":1132}," not have been created\nwith ",{"type":28,"tag":49,"props":1134,"children":1136},{"className":1135},[],[1137],{"type":33,"value":1138},"VK_VIDEO_SESSION_CREATE_INLINE_QUERIES_BIT_KHR",{"type":28,"tag":615,"props":1140,"children":1142},{"name":1141},"VUID-vkCmdBeginQuery-queryType-07128",[1143],{"type":28,"tag":29,"props":1144,"children":1145},{},[1146,1147,1152,1153,1158,1159,1164,1166,1171,1172,1175,1177,1183,1185,1191,1193,1199,1201,1207,1208,1214],{"type":33,"value":368},{"type":28,"tag":49,"props":1148,"children":1150},{"className":1149},[],[1151],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":1154,"children":1156},{"className":1155},[],[1157],{"type":33,"value":109},{"type":33,"value":873},{"type":28,"tag":49,"props":1160,"children":1162},{"className":1161},[],[1163],{"type":33,"value":1056},{"type":33,"value":1165}," and there is a bound video\nsession, then ",{"type":28,"tag":49,"props":1167,"children":1169},{"className":1168},[],[1170],{"type":33,"value":109},{"type":33,"value":656},{"type":28,"tag":358,"props":1173,"children":1174},{"type":402},[],{"type":33,"value":1176}," have been created with a\n",{"type":28,"tag":349,"props":1178,"children":1180},{"href":1179},"/man/VkVideoProfileInfoKHR",[1181],{"type":33,"value":1182},"VkVideoProfileInfoKHR",{"type":33,"value":1184}," structure included in the ",{"type":28,"tag":49,"props":1186,"children":1188},{"className":1187},[],[1189],{"type":33,"value":1190},"pNext",{"type":33,"value":1192}," chain\nof ",{"type":28,"tag":349,"props":1194,"children":1196},{"href":1195},"/man/VkQueryPoolCreateInfo",[1197],{"type":33,"value":1198},"VkQueryPoolCreateInfo",{"type":33,"value":1200}," identical to the one specified in\n",{"type":28,"tag":349,"props":1202,"children":1204},{"href":1203},"/man/VkVideoSessionCreateInfoKHR",[1205],{"type":33,"value":1206},"VkVideoSessionCreateInfoKHR",{"type":33,"value":205},{"type":28,"tag":49,"props":1209,"children":1211},{"className":1210},[],[1212],{"type":33,"value":1213},"pVideoProfile",{"type":33,"value":1215}," the bound video\nsession was created with",{"type":28,"tag":615,"props":1217,"children":1219},{"name":1218},"VUID-vkCmdBeginQuery-queryType-07129",[1220],{"type":28,"tag":29,"props":1221,"children":1222},{},[1223,1224,1229,1230,1235,1236,1242,1244,1247],{"type":33,"value":368},{"type":28,"tag":49,"props":1225,"children":1227},{"className":1226},[],[1228],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":1231,"children":1233},{"className":1232},[],[1234],{"type":33,"value":109},{"type":33,"value":873},{"type":28,"tag":49,"props":1237,"children":1239},{"className":1238},[],[1240],{"type":33,"value":1241},"VK_QUERY_TYPE_VIDEO_ENCODE_FEEDBACK_KHR",{"type":33,"value":1243},", then there ",{"type":28,"tag":358,"props":1245,"children":1246},{"type":402},[],{"type":33,"value":1248}," be a\nbound video session",{"type":28,"tag":615,"props":1250,"children":1252},{"name":1251},"VUID-vkCmdBeginQuery-queryType-07130",[1253],{"type":28,"tag":29,"props":1254,"children":1255},{},[1256,1257,1262,1263,1268,1269,1274,1275,1280,1281,1284,1285,1289,1290,1295,1296,1300,1301,1305,1306,1311],{"type":33,"value":368},{"type":28,"tag":49,"props":1258,"children":1260},{"className":1259},[],[1261],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":1264,"children":1266},{"className":1265},[],[1267],{"type":33,"value":109},{"type":33,"value":873},{"type":28,"tag":49,"props":1270,"children":1272},{"className":1271},[],[1273],{"type":33,"value":1241},{"type":33,"value":1165},{"type":28,"tag":49,"props":1276,"children":1278},{"className":1277},[],[1279],{"type":33,"value":109},{"type":33,"value":656},{"type":28,"tag":358,"props":1282,"children":1283},{"type":402},[],{"type":33,"value":1176},{"type":28,"tag":349,"props":1286,"children":1287},{"href":1179},[1288],{"type":33,"value":1182},{"type":33,"value":1184},{"type":28,"tag":49,"props":1291,"children":1293},{"className":1292},[],[1294],{"type":33,"value":1190},{"type":33,"value":1192},{"type":28,"tag":349,"props":1297,"children":1298},{"href":1195},[1299],{"type":33,"value":1198},{"type":33,"value":1200},{"type":28,"tag":349,"props":1302,"children":1303},{"href":1203},[1304],{"type":33,"value":1206},{"type":33,"value":205},{"type":28,"tag":49,"props":1307,"children":1309},{"className":1308},[],[1310],{"type":33,"value":1213},{"type":33,"value":1215},{"type":28,"tag":615,"props":1313,"children":1315},{"name":1314},"VUID-vkCmdBeginQuery-queryType-07131",[1316],{"type":28,"tag":29,"props":1317,"children":1318},{},[1319,1320,1325,1326,1331,1333,1338,1340,1345,1347,1350],{"type":33,"value":368},{"type":28,"tag":49,"props":1321,"children":1323},{"className":1322},[],[1324],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":1327,"children":1329},{"className":1328},[],[1330],{"type":33,"value":109},{"type":33,"value":1332}," was not\n",{"type":28,"tag":49,"props":1334,"children":1336},{"className":1335},[],[1337],{"type":33,"value":1056},{"type":33,"value":1339},"\nor ",{"type":28,"tag":49,"props":1341,"children":1343},{"className":1342},[],[1344],{"type":33,"value":1241},{"type":33,"value":1346},",\nthen there ",{"type":28,"tag":358,"props":1348,"children":1349},{"type":402},[],{"type":33,"value":1351}," be no bound video session",{"type":28,"tag":615,"props":1353,"children":1355},{"name":1354},"VUID-vkCmdBeginQuery-queryPool-01922",[1356],{"type":28,"tag":29,"props":1357,"children":1358},{},[1359,1364,1365,1368,1370,1375,1377,1381,1383],{"type":28,"tag":49,"props":1360,"children":1362},{"className":1361},[],[1363],{"type":33,"value":109},{"type":33,"value":656},{"type":28,"tag":358,"props":1366,"children":1367},{"type":402},[],{"type":33,"value":1369}," have been created with a ",{"type":28,"tag":49,"props":1371,"children":1373},{"className":1372},[],[1374],{"type":33,"value":374},{"type":33,"value":1376}," that\ndiffers from that of any queries that are\n",{"type":28,"tag":349,"props":1378,"children":1379},{"href":1114},[1380],{"type":33,"value":456},{"type":33,"value":1382}," within ",{"type":28,"tag":49,"props":1384,"children":1386},{"className":1385},[],[1387],{"type":33,"value":90},{"type":28,"tag":615,"props":1389,"children":1391},{"name":1390},"VUID-vkCmdBeginQuery-queryType-07070",[1392],{"type":28,"tag":29,"props":1393,"children":1394},{},[1395,1396,1401,1402,1407,1408,1414,1416,1421,1422,1427,1428,1431],{"type":33,"value":368},{"type":28,"tag":49,"props":1397,"children":1399},{"className":1398},[],[1400],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":1403,"children":1405},{"className":1404},[],[1406],{"type":33,"value":109},{"type":33,"value":873},{"type":28,"tag":49,"props":1409,"children":1411},{"className":1410},[],[1412],{"type":33,"value":1413},"VK_QUERY_TYPE_MESH_PRIMITIVES_GENERATED_EXT",{"type":33,"value":1415}," the\n",{"type":28,"tag":49,"props":1417,"children":1419},{"className":1418},[],[1420],{"type":33,"value":886},{"type":33,"value":943},{"type":28,"tag":49,"props":1423,"children":1425},{"className":1424},[],[1426],{"type":33,"value":90},{"type":33,"value":895},{"type":28,"tag":358,"props":1429,"children":1430},{"type":402},[],{"type":33,"value":954},{"type":28,"tag":615,"props":1433,"children":1435},{"name":1434},"VUID-vkCmdBeginQuery-queryType-02327",[1436],{"type":28,"tag":29,"props":1437,"children":1438},{},[1439,1440,1445,1446,1451,1452,1458,1459,1464,1465,1470,1471,1474],{"type":33,"value":368},{"type":28,"tag":49,"props":1441,"children":1443},{"className":1442},[],[1444],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":1447,"children":1449},{"className":1448},[],[1450],{"type":33,"value":109},{"type":33,"value":873},{"type":28,"tag":49,"props":1453,"children":1455},{"className":1454},[],[1456],{"type":33,"value":1457},"VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT",{"type":33,"value":1415},{"type":28,"tag":49,"props":1460,"children":1462},{"className":1461},[],[1463],{"type":33,"value":886},{"type":33,"value":943},{"type":28,"tag":49,"props":1466,"children":1468},{"className":1467},[],[1469],{"type":33,"value":90},{"type":33,"value":895},{"type":28,"tag":358,"props":1472,"children":1473},{"type":402},[],{"type":33,"value":954},{"type":28,"tag":615,"props":1476,"children":1478},{"name":1477},"VUID-vkCmdBeginQuery-queryType-02328",[1479],{"type":28,"tag":29,"props":1480,"children":1481},{},[1482,1483,1488,1489,1494,1495,1500,1502,1508,1509,1515,1518],{"type":33,"value":368},{"type":28,"tag":49,"props":1484,"children":1486},{"className":1485},[],[1487],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":1490,"children":1492},{"className":1491},[],[1493],{"type":33,"value":109},{"type":33,"value":873},{"type":28,"tag":49,"props":1496,"children":1498},{"className":1497},[],[1499],{"type":33,"value":1457},{"type":33,"value":1501}," then\n",{"type":28,"tag":49,"props":1503,"children":1505},{"className":1504},[],[1506],{"type":33,"value":1507},"VkPhysicalDeviceTransformFeedbackPropertiesEXT",{"type":33,"value":205},{"type":28,"tag":49,"props":1510,"children":1512},{"className":1511},[],[1513],{"type":33,"value":1514},"transformFeedbackQueries",{"type":28,"tag":358,"props":1516,"children":1517},{"type":402},[],{"type":33,"value":1519}," be supported",{"type":28,"tag":615,"props":1521,"children":1523},{"name":1522},"VUID-vkCmdBeginQuery-queryType-06687",[1524],{"type":28,"tag":29,"props":1525,"children":1526},{},[1527,1528,1533,1534,1539,1540,1546,1548,1553,1554,1559,1560,1563],{"type":33,"value":368},{"type":28,"tag":49,"props":1529,"children":1531},{"className":1530},[],[1532],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":1535,"children":1537},{"className":1536},[],[1538],{"type":33,"value":109},{"type":33,"value":873},{"type":28,"tag":49,"props":1541,"children":1543},{"className":1542},[],[1544],{"type":33,"value":1545},"VK_QUERY_TYPE_PRIMITIVES_GENERATED_EXT",{"type":33,"value":1547}," the ",{"type":28,"tag":49,"props":1549,"children":1551},{"className":1550},[],[1552],{"type":33,"value":886},{"type":33,"value":1065},{"type":28,"tag":49,"props":1555,"children":1557},{"className":1556},[],[1558],{"type":33,"value":90},{"type":33,"value":895},{"type":28,"tag":358,"props":1561,"children":1562},{"type":402},[],{"type":33,"value":1564}," support graphics\noperations",{"type":28,"tag":615,"props":1566,"children":1568},{"name":1567},"VUID-vkCmdBeginQuery-queryType-06688",[1569],{"type":28,"tag":29,"props":1570,"children":1571},{},[1572,1573,1578,1579,1584,1585,1590,1591,1601,1604],{"type":33,"value":368},{"type":28,"tag":49,"props":1574,"children":1576},{"className":1575},[],[1577],{"type":33,"value":374},{"type":33,"value":649},{"type":28,"tag":49,"props":1580,"children":1582},{"className":1581},[],[1583],{"type":33,"value":109},{"type":33,"value":873},{"type":28,"tag":49,"props":1586,"children":1588},{"className":1587},[],[1589],{"type":33,"value":1545},{"type":33,"value":1501},{"type":28,"tag":349,"props":1592,"children":1594},{"href":1593},"/man/VkPhysicalDevicePrimitivesGeneratedQueryFeaturesEXT#features-primitivesGeneratedQuery",[1595],{"type":28,"tag":49,"props":1596,"children":1598},{"className":1597},[],[1599],{"type":33,"value":1600},"primitivesGeneratedQuery",{"type":28,"tag":358,"props":1602,"children":1603},{"type":402},[],{"type":33,"value":1605}," be enabled",{"type":28,"tag":615,"props":1607,"children":1609},{"name":1608},"VUID-vkCmdBeginQuery-queryPool-07289",[1610,1650],{"type":28,"tag":29,"props":1611,"children":1612},{},[1613,1615,1620,1622,1627,1629,1635,1637,1643,1644],{"type":33,"value":1614},"If ",{"type":28,"tag":49,"props":1616,"children":1618},{"className":1617},[],[1619],{"type":33,"value":109},{"type":33,"value":1621}," was created with a ",{"type":28,"tag":49,"props":1623,"children":1625},{"className":1624},[],[1626],{"type":33,"value":374},{"type":33,"value":1628}," of\n",{"type":28,"tag":49,"props":1630,"children":1632},{"className":1631},[],[1633],{"type":33,"value":1634},"VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR",{"type":33,"value":1636},", then the\n",{"type":28,"tag":349,"props":1638,"children":1640},{"href":1639},"/man/VkQueryPoolPerformanceCreateInfoKHR",[1641],{"type":33,"value":1642},"VkQueryPoolPerformanceCreateInfoKHR",{"type":33,"value":205},{"type":28,"tag":49,"props":1645,"children":1647},{"className":1646},[],[1648],{"type":33,"value":1649},"queueFamilyIndex",{"type":28,"tag":29,"props":1651,"children":1652},{},[1653,1658,1660,1663,1665,1670,1671,1676],{"type":28,"tag":49,"props":1654,"children":1656},{"className":1655},[],[1657],{"type":33,"value":109},{"type":33,"value":1659}," was created with ",{"type":28,"tag":358,"props":1661,"children":1662},{"type":402},[],{"type":33,"value":1664}," equal the queue family index of\nthe ",{"type":28,"tag":49,"props":1666,"children":1668},{"className":1667},[],[1669],{"type":33,"value":886},{"type":33,"value":943},{"type":28,"tag":49,"props":1672,"children":1674},{"className":1673},[],[1675],{"type":33,"value":90},{"type":33,"value":1677}," was allocated from",{"type":28,"tag":615,"props":1679,"children":1681},{"name":1680},"VUID-vkCmdBeginQuery-queryPool-03223",[1682],{"type":28,"tag":29,"props":1683,"children":1684},{},[1685,1686,1691,1692,1697,1698,1703,1704,1710,1711,1714,1716,1722,1724],{"type":33,"value":1614},{"type":28,"tag":49,"props":1687,"children":1689},{"className":1688},[],[1690],{"type":33,"value":109},{"type":33,"value":1621},{"type":28,"tag":49,"props":1693,"children":1695},{"className":1694},[],[1696],{"type":33,"value":374},{"type":33,"value":1628},{"type":28,"tag":49,"props":1699,"children":1701},{"className":1700},[],[1702],{"type":33,"value":1634},{"type":33,"value":880},{"type":28,"tag":349,"props":1705,"children":1707},{"href":1706},"/chapters/queries#profiling-lock",[1708],{"type":33,"value":1709},"profiling lock",{"type":33,"value":656},{"type":28,"tag":358,"props":1712,"children":1713},{"type":402},[],{"type":33,"value":1715}," have been held before ",{"type":28,"tag":349,"props":1717,"children":1719},{"href":1718},"/man/vkBeginCommandBuffer",[1720],{"type":33,"value":1721},"vkBeginCommandBuffer",{"type":33,"value":1723},"\nwas called on ",{"type":28,"tag":49,"props":1725,"children":1727},{"className":1726},[],[1728],{"type":33,"value":90},{"type":28,"tag":615,"props":1730,"children":1732},{"name":1731},"VUID-vkCmdBeginQuery-queryPool-03224",[1733],{"type":28,"tag":29,"props":1734,"children":1735},{},[1736,1737,1742,1743,1748,1749,1754,1756,1761,1762,1768,1770,1773,1775],{"type":33,"value":1614},{"type":28,"tag":49,"props":1738,"children":1740},{"className":1739},[],[1741],{"type":33,"value":109},{"type":33,"value":1621},{"type":28,"tag":49,"props":1744,"children":1746},{"className":1745},[],[1747],{"type":33,"value":374},{"type":33,"value":1628},{"type":28,"tag":49,"props":1750,"children":1752},{"className":1751},[],[1753],{"type":33,"value":1634},{"type":33,"value":1755}," and one of the counters used\nto create ",{"type":28,"tag":49,"props":1757,"children":1759},{"className":1758},[],[1760],{"type":33,"value":109},{"type":33,"value":873},{"type":28,"tag":49,"props":1763,"children":1765},{"className":1764},[],[1766],{"type":33,"value":1767},"VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR",{"type":33,"value":1769},", the query begin\n",{"type":28,"tag":358,"props":1771,"children":1772},{"type":402},[],{"type":33,"value":1774}," be the first recorded command in ",{"type":28,"tag":49,"props":1776,"children":1778},{"className":1777},[],[1779],{"type":33,"value":90},{"type":28,"tag":615,"props":1781,"children":1783},{"name":1782},"VUID-vkCmdBeginQuery-queryPool-03225",[1784],{"type":28,"tag":29,"props":1785,"children":1786},{},[1787,1788,1793,1794,1799,1800,1805,1806,1811,1812,1818,1820,1823],{"type":33,"value":1614},{"type":28,"tag":49,"props":1789,"children":1791},{"className":1790},[],[1792],{"type":33,"value":109},{"type":33,"value":1621},{"type":28,"tag":49,"props":1795,"children":1797},{"className":1796},[],[1798],{"type":33,"value":374},{"type":33,"value":1628},{"type":28,"tag":49,"props":1801,"children":1803},{"className":1802},[],[1804],{"type":33,"value":1634},{"type":33,"value":1755},{"type":28,"tag":49,"props":1807,"children":1809},{"className":1808},[],[1810],{"type":33,"value":109},{"type":33,"value":873},{"type":28,"tag":49,"props":1813,"children":1815},{"className":1814},[],[1816],{"type":33,"value":1817},"VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR",{"type":33,"value":1819},", the begin command\n",{"type":28,"tag":358,"props":1821,"children":1822},{"type":402},[],{"type":33,"value":1824}," not be recorded within a render pass instance",{"type":28,"tag":615,"props":1826,"children":1828},{"name":1827},"VUID-vkCmdBeginQuery-queryPool-03226",[1829],{"type":28,"tag":29,"props":1830,"children":1831},{},[1832,1833,1838,1839,1844,1845,1850,1852,1857,1858,1863,1865,1870,1872,1877,1879,1889,1891,1894],{"type":33,"value":1614},{"type":28,"tag":49,"props":1834,"children":1836},{"className":1835},[],[1837],{"type":33,"value":109},{"type":33,"value":1621},{"type":28,"tag":49,"props":1840,"children":1842},{"className":1841},[],[1843],{"type":33,"value":374},{"type":33,"value":1628},{"type":28,"tag":49,"props":1846,"children":1848},{"className":1847},[],[1849],{"type":33,"value":1634},{"type":33,"value":1851}," and another query pool with a\n",{"type":28,"tag":49,"props":1853,"children":1855},{"className":1854},[],[1856],{"type":33,"value":374},{"type":33,"value":656},{"type":28,"tag":49,"props":1859,"children":1861},{"className":1860},[],[1862],{"type":33,"value":1634},{"type":33,"value":1864}," has been used\nwithin ",{"type":28,"tag":49,"props":1866,"children":1868},{"className":1867},[],[1869],{"type":33,"value":90},{"type":33,"value":1871},", its parent primary command buffer or\nsecondary command buffer recorded within the same parent primary command\nbuffer as ",{"type":28,"tag":49,"props":1873,"children":1875},{"className":1874},[],[1876],{"type":33,"value":90},{"type":33,"value":1878},", the\n",{"type":28,"tag":349,"props":1880,"children":1882},{"href":1881},"/man/VkPhysicalDevicePerformanceQueryFeaturesKHR#features-performanceCounterMultipleQueryPools",[1883],{"type":28,"tag":49,"props":1884,"children":1886},{"className":1885},[],[1887],{"type":33,"value":1888},"performanceCounterMultipleQueryPools",{"type":33,"value":1890}," feature ",{"type":28,"tag":358,"props":1892,"children":1893},{"type":402},[],{"type":33,"value":1605},{"type":28,"tag":615,"props":1896,"children":1898},{"name":1897},"VUID-vkCmdBeginQuery-None-02863",[1899],{"type":28,"tag":29,"props":1900,"children":1901},{},[1902,1903,1908,1909,1914,1915,1920,1922,1925,1927,1933],{"type":33,"value":1614},{"type":28,"tag":49,"props":1904,"children":1906},{"className":1905},[],[1907],{"type":33,"value":109},{"type":33,"value":1621},{"type":28,"tag":49,"props":1910,"children":1912},{"className":1911},[],[1913],{"type":33,"value":374},{"type":33,"value":1628},{"type":28,"tag":49,"props":1916,"children":1918},{"className":1917},[],[1919],{"type":33,"value":1634},{"type":33,"value":1921},", this command ",{"type":28,"tag":358,"props":1923,"children":1924},{"type":402},[],{"type":33,"value":1926}," not be\nrecorded in a command buffer that, either directly or through secondary\ncommand buffers, also contains a ",{"type":28,"tag":49,"props":1928,"children":1930},{"className":1929},[],[1931],{"type":33,"value":1932},"vkCmdResetQueryPool",{"type":33,"value":1934}," command\naffecting the same query",{"type":28,"tag":610,"props":1936,"children":1938},{"name":1937},"Valid Usage (Implicit)",[1939,1965,1989,2013,2037,2062],{"type":28,"tag":615,"props":1940,"children":1942},{"name":1941},"VUID-vkCmdBeginQuery-commandBuffer-parameter",[1943],{"type":28,"tag":29,"props":1944,"children":1945},{},[1946,1951,1952,1955,1957,1963],{"type":28,"tag":49,"props":1947,"children":1949},{"className":1948},[],[1950],{"type":33,"value":90},{"type":33,"value":656},{"type":28,"tag":358,"props":1953,"children":1954},{"type":402},[],{"type":33,"value":1956}," be a valid ",{"type":28,"tag":349,"props":1958,"children":1960},{"href":1959},"/man/VkCommandBuffer",[1961],{"type":33,"value":1962},"VkCommandBuffer",{"type":33,"value":1964}," handle",{"type":28,"tag":615,"props":1966,"children":1968},{"name":1967},"VUID-vkCmdBeginQuery-queryPool-parameter",[1969],{"type":28,"tag":29,"props":1970,"children":1971},{},[1972,1977,1978,1981,1982,1988],{"type":28,"tag":49,"props":1973,"children":1975},{"className":1974},[],[1976],{"type":33,"value":109},{"type":33,"value":656},{"type":28,"tag":358,"props":1979,"children":1980},{"type":402},[],{"type":33,"value":1956},{"type":28,"tag":349,"props":1983,"children":1985},{"href":1984},"/man/VkQueryPool",[1986],{"type":33,"value":1987},"VkQueryPool",{"type":33,"value":1964},{"type":28,"tag":615,"props":1990,"children":1992},{"name":1991},"VUID-vkCmdBeginQuery-flags-parameter",[1993],{"type":28,"tag":29,"props":1994,"children":1995},{},[1996,2001,2002,2005,2007,2011],{"type":28,"tag":49,"props":1997,"children":1999},{"className":1998},[],[2000],{"type":33,"value":145},{"type":33,"value":656},{"type":28,"tag":358,"props":2003,"children":2004},{"type":402},[],{"type":33,"value":2006}," be a valid combination of ",{"type":28,"tag":349,"props":2008,"children":2009},{"href":351},[2010],{"type":33,"value":354},{"type":33,"value":2012}," values",{"type":28,"tag":615,"props":2014,"children":2016},{"name":2015},"VUID-vkCmdBeginQuery-commandBuffer-recording",[2017],{"type":28,"tag":29,"props":2018,"children":2019},{},[2020,2025,2026,2029,2031],{"type":28,"tag":49,"props":2021,"children":2023},{"className":2022},[],[2024],{"type":33,"value":90},{"type":33,"value":656},{"type":28,"tag":358,"props":2027,"children":2028},{"type":402},[],{"type":33,"value":2030}," be in the ",{"type":28,"tag":349,"props":2032,"children":2034},{"href":2033},"/chapters/commandbuffers#commandbuffers-lifecycle",[2035],{"type":33,"value":2036},"recording state",{"type":28,"tag":615,"props":2038,"children":2040},{"name":2039},"VUID-vkCmdBeginQuery-commandBuffer-cmdpool",[2041],{"type":28,"tag":29,"props":2042,"children":2043},{},[2044,2045,2050,2051,2056,2057,2060],{"type":33,"value":642},{"type":28,"tag":49,"props":2046,"children":2048},{"className":2047},[],[2049],{"type":33,"value":886},{"type":33,"value":943},{"type":28,"tag":49,"props":2052,"children":2054},{"className":2053},[],[2055],{"type":33,"value":90},{"type":33,"value":895},{"type":28,"tag":358,"props":2058,"children":2059},{"type":402},[],{"type":33,"value":2061}," support graphics, compute, decode, or encode operations",{"type":28,"tag":615,"props":2063,"children":2065},{"name":2064},"VUID-vkCmdBeginQuery-commonparent",[2066],{"type":28,"tag":29,"props":2067,"children":2068},{},[2069,2071,2076,2078,2083,2084,2087,2089],{"type":33,"value":2070},"Both of ",{"type":28,"tag":49,"props":2072,"children":2074},{"className":2073},[],[2075],{"type":33,"value":90},{"type":33,"value":2077},", and ",{"type":28,"tag":49,"props":2079,"children":2081},{"className":2080},[],[2082],{"type":33,"value":109},{"type":33,"value":656},{"type":28,"tag":358,"props":2085,"children":2086},{"type":402},[],{"type":33,"value":2088}," have been created, allocated, or retrieved from the same ",{"type":28,"tag":349,"props":2090,"children":2092},{"href":2091},"/man/VkDevice",[2093],{"type":33,"value":2094},"VkDevice",{"type":28,"tag":2096,"props":2097,"children":2099},"validity-box",{"name":2098},"Host Synchronization",[2100],{"type":28,"tag":303,"props":2101,"children":2102},{},[2103,2119],{"type":28,"tag":307,"props":2104,"children":2105},{},[2106,2108,2113,2114,2117],{"type":33,"value":2107},"Host access to ",{"type":28,"tag":49,"props":2109,"children":2111},{"className":2110},[],[2112],{"type":33,"value":90},{"type":33,"value":656},{"type":28,"tag":358,"props":2115,"children":2116},{"type":402},[],{"type":33,"value":2118}," be externally synchronized",{"type":28,"tag":307,"props":2120,"children":2121},{},[2122,2124,2129,2130,2135,2136,2139],{"type":33,"value":2123},"Host access to the ",{"type":28,"tag":49,"props":2125,"children":2127},{"className":2126},[],[2128],{"type":33,"value":886},{"type":33,"value":943},{"type":28,"tag":49,"props":2131,"children":2133},{"className":2132},[],[2134],{"type":33,"value":90},{"type":33,"value":895},{"type":28,"tag":358,"props":2137,"children":2138},{"type":402},[],{"type":33,"value":2140}," be externally synchronized\n::",{"type":28,"tag":2142,"props":2143,"children":2144},"style",{},[2145],{"type":33,"value":2146},"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":46,"searchDepth":78,"depth":78,"links":2148},[],"markdown",1729612491221]