[{"data":1,"prerenderedAt":535},["ShallowReactive",2],{"$fKq7CzzpCN3EFsCHTRYLymeXra44ciRLYPj2K0CjxLv4":3},{"title":4,"description":5,"parent":6,"cmd_buf_level":7,"render_pass_scope":10,"supported_queue_types":11,"tasks":14,"successcodes":17,"errorcodes":19,"type":24,"xrefs":25,"body":26,"_type":534,"_id":4},"vkCmdEndGpaSessionAMD","End a GPA session","VK_AMD_gpa_interface",[8,9],"primary","secondary","both",[12,13],"VK_QUEUE_GRAPHICS_BIT","VK_QUEUE_COMPUTE_BIT",[15,16],"action","state",[18],"VK_SUCCESS",[20,21,22,23],"VK_ERROR_OUT_OF_HOST_MEMORY","VK_ERROR_OUT_OF_DEVICE_MEMORY","VK_ERROR_UNKNOWN","VK_ERROR_VALIDATION_FAILED","protos",[],{"type":27,"children":28,"toc":532},"root",[29,37,241,266,300,481,526],{"type":30,"tag":31,"props":32,"children":33},"element","p",{},[34],{"type":35,"value":36},"text","To end a GPA session, call:",{"type":30,"tag":38,"props":39,"children":40},"code-group",{},[41,115],{"type":30,"tag":42,"props":43,"children":49},"pre",{"className":44,"code":45,"filename":46,"language":47,"meta":48,"style":48},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkCmdEndGpaSessionAMD(\n VkCommandBuffer commandBuffer,\n VkGpaSessionAMD gpaSession);\n","C","c","",[50],{"type":30,"tag":51,"props":52,"children":53},"code",{"__ignoreMap":48},[54,76,96],{"type":30,"tag":55,"props":56,"children":59},"span",{"class":57,"line":58},"line",1,[60,66,71],{"type":30,"tag":55,"props":61,"children":63},{"style":62},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[64],{"type":35,"value":65},"VkResult ",{"type":30,"tag":55,"props":67,"children":69},{"style":68},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[70],{"type":35,"value":4},{"type":30,"tag":55,"props":72,"children":73},{"style":62},[74],{"type":35,"value":75},"(\n",{"type":30,"tag":55,"props":77,"children":79},{"class":57,"line":78},2,[80,85,91],{"type":30,"tag":55,"props":81,"children":82},{"style":62},[83],{"type":35,"value":84}," VkCommandBuffer ",{"type":30,"tag":55,"props":86,"children":88},{"style":87},"--shiki-default:#953800;--shiki-dark:#FFA657",[89],{"type":35,"value":90},"commandBuffer",{"type":30,"tag":55,"props":92,"children":93},{"style":62},[94],{"type":35,"value":95},",\n",{"type":30,"tag":55,"props":97,"children":99},{"class":57,"line":98},3,[100,105,110],{"type":30,"tag":55,"props":101,"children":102},{"style":62},[103],{"type":35,"value":104}," VkGpaSessionAMD ",{"type":30,"tag":55,"props":106,"children":107},{"style":87},[108],{"type":35,"value":109},"gpaSession",{"type":30,"tag":55,"props":111,"children":112},{"style":62},[113],{"type":35,"value":114},");\n",{"type":30,"tag":42,"props":116,"children":121},{"className":117,"code":118,"filename":119,"language":120,"meta":48,"style":48},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_end_gpa_session_amd(\n command_buffer: vk::CommandBuffer,\n gpa_session: vk::GpaSessionAMD,\n) -> vk::Result;\n","Rust","rs",[122],{"type":30,"tag":51,"props":123,"children":124},{"__ignoreMap":48},[125,148,180,209],{"type":30,"tag":55,"props":126,"children":127},{"class":57,"line":58},[128,134,139,144],{"type":30,"tag":55,"props":129,"children":131},{"style":130},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[132],{"type":35,"value":133},"pub",{"type":30,"tag":55,"props":135,"children":136},{"style":130},[137],{"type":35,"value":138}," fn",{"type":30,"tag":55,"props":140,"children":141},{"style":68},[142],{"type":35,"value":143}," cmd_end_gpa_session_amd",{"type":30,"tag":55,"props":145,"children":146},{"style":62},[147],{"type":35,"value":75},{"type":30,"tag":55,"props":149,"children":150},{"class":57,"line":78},[151,156,161,166,171,176],{"type":30,"tag":55,"props":152,"children":153},{"style":62},[154],{"type":35,"value":155}," command_buffer",{"type":30,"tag":55,"props":157,"children":158},{"style":130},[159],{"type":35,"value":160},":",{"type":30,"tag":55,"props":162,"children":163},{"style":87},[164],{"type":35,"value":165}," vk",{"type":30,"tag":55,"props":167,"children":168},{"style":130},[169],{"type":35,"value":170},"::",{"type":30,"tag":55,"props":172,"children":173},{"style":87},[174],{"type":35,"value":175},"CommandBuffer",{"type":30,"tag":55,"props":177,"children":178},{"style":62},[179],{"type":35,"value":95},{"type":30,"tag":55,"props":181,"children":182},{"class":57,"line":98},[183,188,192,196,200,205],{"type":30,"tag":55,"props":184,"children":185},{"style":62},[186],{"type":35,"value":187}," gpa_session",{"type":30,"tag":55,"props":189,"children":190},{"style":130},[191],{"type":35,"value":160},{"type":30,"tag":55,"props":193,"children":194},{"style":87},[195],{"type":35,"value":165},{"type":30,"tag":55,"props":197,"children":198},{"style":130},[199],{"type":35,"value":170},{"type":30,"tag":55,"props":201,"children":202},{"style":87},[203],{"type":35,"value":204},"GpaSessionAMD",{"type":30,"tag":55,"props":206,"children":207},{"style":62},[208],{"type":35,"value":95},{"type":30,"tag":55,"props":210,"children":212},{"class":57,"line":211},4,[213,218,223,227,231,236],{"type":30,"tag":55,"props":214,"children":215},{"style":62},[216],{"type":35,"value":217},") ",{"type":30,"tag":55,"props":219,"children":220},{"style":130},[221],{"type":35,"value":222},"->",{"type":30,"tag":55,"props":224,"children":225},{"style":87},[226],{"type":35,"value":165},{"type":30,"tag":55,"props":228,"children":229},{"style":130},[230],{"type":35,"value":170},{"type":30,"tag":55,"props":232,"children":233},{"style":87},[234],{"type":35,"value":235},"Result",{"type":30,"tag":55,"props":237,"children":238},{"style":62},[239],{"type":35,"value":240},";\n",{"type":30,"tag":242,"props":243,"children":244},"ul",{},[245,256],{"type":30,"tag":246,"props":247,"children":248},"li",{},[249,254],{"type":30,"tag":51,"props":250,"children":252},{"className":251},[],[253],{"type":35,"value":90},{"type":35,"value":255}," is the command buffer into which the command will be\nrecorded.",{"type":30,"tag":246,"props":257,"children":258},{},[259,264],{"type":30,"tag":51,"props":260,"children":262},{"className":261},[],[263],{"type":35,"value":109},{"type":35,"value":265}," is the handle of the GPA session to end.",{"type":30,"tag":267,"props":268,"children":270},"validity-group",{"name":269},"Valid Usage",[271],{"type":30,"tag":272,"props":273,"children":275},"validity-field",{"name":274},"VUID-vkCmdEndGpaSessionAMD-gpaSession-12411",[276],{"type":30,"tag":31,"props":277,"children":278},{},[279,284,286,291,293],{"type":30,"tag":51,"props":280,"children":282},{"className":281},[],[283],{"type":35,"value":109},{"type":35,"value":285}," ",{"type":30,"tag":287,"props":288,"children":290},"normative",{"type":289},"must",[],{"type":35,"value":292}," have previously begun using\n",{"type":30,"tag":294,"props":295,"children":297},"a",{"href":296},"/man/vkCmdBeginGpaSessionAMD",[298],{"type":35,"value":299},"vkCmdBeginGpaSessionAMD",{"type":30,"tag":267,"props":301,"children":303},{"name":302},"Valid Usage (Implicit)",[304,330,354,378,421,435,448],{"type":30,"tag":272,"props":305,"children":307},{"name":306},"VUID-vkCmdEndGpaSessionAMD-commandBuffer-parameter",[308],{"type":30,"tag":31,"props":309,"children":310},{},[311,316,317,320,322,328],{"type":30,"tag":51,"props":312,"children":314},{"className":313},[],[315],{"type":35,"value":90},{"type":35,"value":285},{"type":30,"tag":287,"props":318,"children":319},{"type":289},[],{"type":35,"value":321}," be a valid ",{"type":30,"tag":294,"props":323,"children":325},{"href":324},"/man/VkCommandBuffer",[326],{"type":35,"value":327},"VkCommandBuffer",{"type":35,"value":329}," handle",{"type":30,"tag":272,"props":331,"children":333},{"name":332},"VUID-vkCmdEndGpaSessionAMD-gpaSession-parameter",[334],{"type":30,"tag":31,"props":335,"children":336},{},[337,342,343,346,347,353],{"type":30,"tag":51,"props":338,"children":340},{"className":339},[],[341],{"type":35,"value":109},{"type":35,"value":285},{"type":30,"tag":287,"props":344,"children":345},{"type":289},[],{"type":35,"value":321},{"type":30,"tag":294,"props":348,"children":350},{"href":349},"/man/VkGpaSessionAMD",[351],{"type":35,"value":352},"VkGpaSessionAMD",{"type":35,"value":329},{"type":30,"tag":272,"props":355,"children":357},{"name":356},"VUID-vkCmdEndGpaSessionAMD-commandBuffer-recording",[358],{"type":30,"tag":31,"props":359,"children":360},{},[361,366,367,370,372],{"type":30,"tag":51,"props":362,"children":364},{"className":363},[],[365],{"type":35,"value":90},{"type":35,"value":285},{"type":30,"tag":287,"props":368,"children":369},{"type":289},[],{"type":35,"value":371}," be in the ",{"type":30,"tag":294,"props":373,"children":375},{"href":374},"/chapters/commandbuffers#commandbuffers-lifecycle",[376],{"type":35,"value":377},"recording state",{"type":30,"tag":272,"props":379,"children":381},{"name":380},"VUID-vkCmdEndGpaSessionAMD-commandBuffer-cmdpool",[382],{"type":30,"tag":31,"props":383,"children":384},{},[385,387,393,395,400,402,405,407,412,414,419],{"type":35,"value":386},"The ",{"type":30,"tag":51,"props":388,"children":390},{"className":389},[],[391],{"type":35,"value":392},"VkCommandPool",{"type":35,"value":394}," that ",{"type":30,"tag":51,"props":396,"children":398},{"className":397},[],[399],{"type":35,"value":90},{"type":35,"value":401}," was allocated from ",{"type":30,"tag":287,"props":403,"children":404},{"type":289},[],{"type":35,"value":406}," support ",{"type":30,"tag":51,"props":408,"children":410},{"className":409},[],[411],{"type":35,"value":13},{"type":35,"value":413},", or ",{"type":30,"tag":51,"props":415,"children":417},{"className":416},[],[418],{"type":35,"value":12},{"type":35,"value":420}," operations",{"type":30,"tag":272,"props":422,"children":424},{"name":423},"VUID-vkCmdEndGpaSessionAMD-suspended",[425],{"type":30,"tag":31,"props":426,"children":427},{},[428,430,433],{"type":35,"value":429},"This command ",{"type":30,"tag":287,"props":431,"children":432},{"type":289},[],{"type":35,"value":434}," not be called between suspended render pass instances",{"type":30,"tag":272,"props":436,"children":438},{"name":437},"VUID-vkCmdEndGpaSessionAMD-videocoding",[439],{"type":30,"tag":31,"props":440,"children":441},{},[442,443,446],{"type":35,"value":429},{"type":30,"tag":287,"props":444,"children":445},{"type":289},[],{"type":35,"value":447}," only be called outside of a video coding scope",{"type":30,"tag":272,"props":449,"children":451},{"name":450},"VUID-vkCmdEndGpaSessionAMD-commonparent",[452],{"type":30,"tag":31,"props":453,"children":454},{},[455,457,462,464,469,470,473,475],{"type":35,"value":456},"Both of ",{"type":30,"tag":51,"props":458,"children":460},{"className":459},[],[461],{"type":35,"value":90},{"type":35,"value":463},", and ",{"type":30,"tag":51,"props":465,"children":467},{"className":466},[],[468],{"type":35,"value":109},{"type":35,"value":285},{"type":30,"tag":287,"props":471,"children":472},{"type":289},[],{"type":35,"value":474}," have been created, allocated, or retrieved from the same ",{"type":30,"tag":294,"props":476,"children":478},{"href":477},"/man/VkDevice",[479],{"type":35,"value":480},"VkDevice",{"type":30,"tag":482,"props":483,"children":485},"validity-box",{"name":484},"Host Synchronization",[486],{"type":30,"tag":242,"props":487,"children":488},{},[489,505],{"type":30,"tag":246,"props":490,"children":491},{},[492,494,499,500,503],{"type":35,"value":493},"Host access to ",{"type":30,"tag":51,"props":495,"children":497},{"className":496},[],[498],{"type":35,"value":90},{"type":35,"value":285},{"type":30,"tag":287,"props":501,"children":502},{"type":289},[],{"type":35,"value":504}," be externally synchronized",{"type":30,"tag":246,"props":506,"children":507},{},[508,510,515,516,521,522,525],{"type":35,"value":509},"Host access to the ",{"type":30,"tag":51,"props":511,"children":513},{"className":512},[],[514],{"type":35,"value":392},{"type":35,"value":394},{"type":30,"tag":51,"props":517,"children":519},{"className":518},[],[520],{"type":35,"value":90},{"type":35,"value":401},{"type":30,"tag":287,"props":523,"children":524},{"type":289},[],{"type":35,"value":504},{"type":30,"tag":527,"props":528,"children":529},"style",{},[530],{"type":35,"value":531},"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":48,"searchDepth":78,"depth":78,"links":533},[],"markdown",1778234161593]