[{"data":1,"prerenderedAt":437},["ShallowReactive",2],{"$fKByv9qtduI5VZUVDwfgj86pXX3zGSkM44hnsMJHc8fA":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":436,"_id":4},"VkGpaSessionCreateInfoAMD","Structure specifying parameters of a newly created GPA session","VK_AMD_gpa_interface","structs",[],{"type":10,"children":11,"toc":434},"root",[12,28,238,307,332,428],{"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,113],{"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 VkGpaSessionCreateInfoAMD {\n VkStructureType sType;\n const void* pNext;\n VkGpaSessionAMD secondaryCopySource;\n} VkGpaSessionCreateInfoAMD;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104],{"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}," VkGpaSessionCreateInfoAMD {\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],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkGpaSessionAMD secondaryCopySource;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112},"} VkGpaSessionCreateInfoAMD;\n",{"type":13,"tag":33,"props":114,"children":119},{"className":115,"code":116,"filename":117,"language":118,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct GpaSessionCreateInfoAMD {\n s_type: vk::StructureType,\n p_next: *const c_void,\n secondary_copy_source: vk::GpaSessionAMD,\n}\n","Rust","rs",[120],{"type":13,"tag":21,"props":121,"children":122},{"__ignoreMap":39},[123,146,179,201,230],{"type":13,"tag":45,"props":124,"children":125},{"class":47,"line":48},[126,131,135,141],{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":130},"pub",{"type":13,"tag":45,"props":132,"children":133},{"style":52},[134],{"type":18,"value":60},{"type":13,"tag":45,"props":136,"children":138},{"style":137},"--shiki-default:#953800;--shiki-dark:#FFA657",[139],{"type":18,"value":140}," GpaSessionCreateInfoAMD",{"type":13,"tag":45,"props":142,"children":143},{"style":63},[144],{"type":18,"value":145}," {\n",{"type":13,"tag":45,"props":147,"children":148},{"class":47,"line":69},[149,154,159,164,169,174],{"type":13,"tag":45,"props":150,"children":151},{"style":63},[152],{"type":18,"value":153}," s_type",{"type":13,"tag":45,"props":155,"children":156},{"style":52},[157],{"type":18,"value":158},":",{"type":13,"tag":45,"props":160,"children":161},{"style":137},[162],{"type":18,"value":163}," vk",{"type":13,"tag":45,"props":165,"children":166},{"style":52},[167],{"type":18,"value":168},"::",{"type":13,"tag":45,"props":170,"children":171},{"style":137},[172],{"type":18,"value":173},"StructureType",{"type":13,"tag":45,"props":175,"children":176},{"style":63},[177],{"type":18,"value":178},",\n",{"type":13,"tag":45,"props":180,"children":181},{"class":47,"line":78},[182,187,191,196],{"type":13,"tag":45,"props":183,"children":184},{"style":63},[185],{"type":18,"value":186}," p_next",{"type":13,"tag":45,"props":188,"children":189},{"style":52},[190],{"type":18,"value":158},{"type":13,"tag":45,"props":192,"children":193},{"style":52},[194],{"type":18,"value":195}," *const",{"type":13,"tag":45,"props":197,"children":198},{"style":63},[199],{"type":18,"value":200}," c_void,\n",{"type":13,"tag":45,"props":202,"children":203},{"class":47,"line":97},[204,209,213,217,221,226],{"type":13,"tag":45,"props":205,"children":206},{"style":63},[207],{"type":18,"value":208}," secondary_copy_source",{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":158},{"type":13,"tag":45,"props":214,"children":215},{"style":137},[216],{"type":18,"value":163},{"type":13,"tag":45,"props":218,"children":219},{"style":52},[220],{"type":18,"value":168},{"type":13,"tag":45,"props":222,"children":223},{"style":137},[224],{"type":18,"value":225},"GpaSessionAMD",{"type":13,"tag":45,"props":227,"children":228},{"style":63},[229],{"type":18,"value":178},{"type":13,"tag":45,"props":231,"children":232},{"class":47,"line":106},[233],{"type":13,"tag":45,"props":234,"children":235},{"style":63},[236],{"type":18,"value":237},"}\n",{"type":13,"tag":239,"props":240,"children":241},"ul",{},[242,263,282],{"type":13,"tag":243,"props":244,"children":245},"li",{},[246,252,254,261],{"type":13,"tag":21,"props":247,"children":249},{"className":248},[],[250],{"type":18,"value":251},"sType",{"type":18,"value":253}," is a ",{"type":13,"tag":255,"props":256,"children":258},"a",{"href":257},"/man/VkStructureType",[259],{"type":18,"value":260},"VkStructureType",{"type":18,"value":262}," value identifying this structure.",{"type":13,"tag":243,"props":264,"children":265},{},[266,272,274,280],{"type":13,"tag":21,"props":267,"children":269},{"className":268},[],[270],{"type":18,"value":271},"pNext",{"type":18,"value":273}," is ",{"type":13,"tag":21,"props":275,"children":277},{"className":276},[],[278],{"type":18,"value":279},"NULL",{"type":18,"value":281}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":243,"props":283,"children":284},{},[285,291,292,298,300,305],{"type":13,"tag":21,"props":286,"children":288},{"className":287},[],[289],{"type":18,"value":290},"secondaryCopySource",{"type":18,"value":253},{"type":13,"tag":21,"props":293,"children":295},{"className":294},[],[296],{"type":18,"value":297},"VkGpaSessionAMD",{"type":18,"value":299}," handle whose\nresults ",{"type":13,"tag":301,"props":302,"children":304},"normative",{"type":303},"can",[],{"type":18,"value":306}," be copied into this session.",{"type":13,"tag":14,"props":308,"children":309},{},[310,312,315,317,322,324,330],{"type":18,"value":311},"When sampling counters inside secondary command buffers, repeated\ninvocations of the same secondary command buffer causes the previous results\nto be overwritten.\nTo avoid this a GPA session object’s memory layout ",{"type":13,"tag":301,"props":313,"children":314},{"type":303},[],{"type":18,"value":316}," be cloned for use\nwith multiple secondary invocations by specifying its handle in\n",{"type":13,"tag":21,"props":318,"children":320},{"className":319},[],[321],{"type":18,"value":290},{"type":18,"value":323},", allowing the new GPA session object to be the\ntarget of a copy using ",{"type":13,"tag":255,"props":325,"children":327},{"href":326},"/man/vkCmdCopyGpaSessionResultsAMD",[328],{"type":18,"value":329},"vkCmdCopyGpaSessionResultsAMD",{"type":18,"value":331},".",{"type":13,"tag":333,"props":334,"children":336},"validity-group",{"name":335},"Valid Usage (Implicit)",[337,364,386],{"type":13,"tag":338,"props":339,"children":341},"validity-field",{"name":340},"VUID-VkGpaSessionCreateInfoAMD-sType-sType",[342],{"type":13,"tag":14,"props":343,"children":344},{},[345,350,352,356,358],{"type":13,"tag":21,"props":346,"children":348},{"className":347},[],[349],{"type":18,"value":251},{"type":18,"value":351}," ",{"type":13,"tag":301,"props":353,"children":355},{"type":354},"must",[],{"type":18,"value":357}," be ",{"type":13,"tag":21,"props":359,"children":361},{"className":360},[],[362],{"type":18,"value":363},"VK_STRUCTURE_TYPE_GPA_SESSION_CREATE_INFO_AMD",{"type":13,"tag":338,"props":365,"children":367},{"name":366},"VUID-VkGpaSessionCreateInfoAMD-pNext-pNext",[368],{"type":13,"tag":14,"props":369,"children":370},{},[371,376,377,380,381],{"type":13,"tag":21,"props":372,"children":374},{"className":373},[],[375],{"type":18,"value":271},{"type":18,"value":351},{"type":13,"tag":301,"props":378,"children":379},{"type":354},[],{"type":18,"value":357},{"type":13,"tag":21,"props":382,"children":384},{"className":383},[],[385],{"type":18,"value":279},{"type":13,"tag":338,"props":387,"children":389},{"name":388},"VUID-VkGpaSessionCreateInfoAMD-secondaryCopySource-parameter",[390],{"type":13,"tag":14,"props":391,"children":392},{},[393,395,400,402,408,410,415,416,419,421,426],{"type":18,"value":394},"If ",{"type":13,"tag":21,"props":396,"children":398},{"className":397},[],[399],{"type":18,"value":290},{"type":18,"value":401}," is not ",{"type":13,"tag":255,"props":403,"children":405},{"href":404},"/man/VK_NULL_HANDLE",[406],{"type":18,"value":407},"VK_NULL_HANDLE",{"type":18,"value":409},", ",{"type":13,"tag":21,"props":411,"children":413},{"className":412},[],[414],{"type":18,"value":290},{"type":18,"value":351},{"type":13,"tag":301,"props":417,"children":418},{"type":354},[],{"type":18,"value":420}," be a valid ",{"type":13,"tag":255,"props":422,"children":424},{"href":423},"/man/VkGpaSessionAMD",[425],{"type":18,"value":297},{"type":18,"value":427}," handle",{"type":13,"tag":429,"props":430,"children":431},"style",{},[432],{"type":18,"value":433},"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":435},[],"markdown",1778234077420]