[{"data":1,"prerenderedAt":479},["ShallowReactive",2],{"xSHQRpFOtG":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":478,"_id":4},"vkGetExecutionGraphPipelineScratchSizeAMDX","Query scratch space required to dispatch an execution graph","VK_AMDX_shader_enqueue","protos",[],{"type":10,"children":11,"toc":476},"root",[12,20,300,352,364,470],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query the scratch space required to dispatch an execution graph, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,122],{"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","VkResult vkGetExecutionGraphPipelineScratchSizeAMDX(\n VkDevice device,\n VkPipeline executionGraph,\n VkExecutionGraphPipelineScratchSizeAMDX* pSizeInfo);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79,97],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,54],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[47],{"type":18,"value":48},"VkResult ",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":4},{"type":13,"tag":38,"props":55,"children":56},{"style":45},[57],{"type":18,"value":58},"(\n",{"type":13,"tag":38,"props":60,"children":62},{"class":40,"line":61},2,[63,68,74],{"type":13,"tag":38,"props":64,"children":65},{"style":45},[66],{"type":18,"value":67}," VkDevice ",{"type":13,"tag":38,"props":69,"children":71},{"style":70},"--shiki-default:#953800;--shiki-dark:#FFA657",[72],{"type":18,"value":73},"device",{"type":13,"tag":38,"props":75,"children":76},{"style":45},[77],{"type":18,"value":78},",\n",{"type":13,"tag":38,"props":80,"children":82},{"class":40,"line":81},3,[83,88,93],{"type":13,"tag":38,"props":84,"children":85},{"style":45},[86],{"type":18,"value":87}," VkPipeline ",{"type":13,"tag":38,"props":89,"children":90},{"style":70},[91],{"type":18,"value":92},"executionGraph",{"type":13,"tag":38,"props":94,"children":95},{"style":45},[96],{"type":18,"value":78},{"type":13,"tag":38,"props":98,"children":100},{"class":40,"line":99},4,[101,106,112,117],{"type":13,"tag":38,"props":102,"children":103},{"style":45},[104],{"type":18,"value":105}," VkExecutionGraphPipelineScratchSizeAMDX",{"type":13,"tag":38,"props":107,"children":109},{"style":108},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[110],{"type":18,"value":111},"*",{"type":13,"tag":38,"props":113,"children":114},{"style":70},[115],{"type":18,"value":116}," pSizeInfo",{"type":13,"tag":38,"props":118,"children":119},{"style":45},[120],{"type":18,"value":121},");\n",{"type":13,"tag":25,"props":123,"children":128},{"className":124,"code":125,"filename":126,"language":127,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_execution_graph_pipeline_scratch_size_amdx(\n device: crate :: vk :: vk::Device,\n execution_graph: vk::Pipeline,\n p_size_info: *mut vk::ExecutionGraphPipelineScratchSizeAMDX,\n) -> vk::Result;\n","Rust","rs",[129],{"type":13,"tag":34,"props":130,"children":131},{"__ignoreMap":31},[132,154,205,234,268],{"type":13,"tag":38,"props":133,"children":134},{"class":40,"line":41},[135,140,145,150],{"type":13,"tag":38,"props":136,"children":137},{"style":108},[138],{"type":18,"value":139},"pub",{"type":13,"tag":38,"props":141,"children":142},{"style":108},[143],{"type":18,"value":144}," fn",{"type":13,"tag":38,"props":146,"children":147},{"style":51},[148],{"type":18,"value":149}," get_execution_graph_pipeline_scratch_size_amdx",{"type":13,"tag":38,"props":151,"children":152},{"style":45},[153],{"type":18,"value":58},{"type":13,"tag":38,"props":155,"children":156},{"class":40,"line":61},[157,162,167,172,177,182,187,192,196,201],{"type":13,"tag":38,"props":158,"children":159},{"style":45},[160],{"type":18,"value":161}," device",{"type":13,"tag":38,"props":163,"children":164},{"style":108},[165],{"type":18,"value":166},":",{"type":13,"tag":38,"props":168,"children":169},{"style":108},[170],{"type":18,"value":171}," crate",{"type":13,"tag":38,"props":173,"children":174},{"style":108},[175],{"type":18,"value":176}," ::",{"type":13,"tag":38,"props":178,"children":179},{"style":45},[180],{"type":18,"value":181}," vk ",{"type":13,"tag":38,"props":183,"children":184},{"style":108},[185],{"type":18,"value":186},"::",{"type":13,"tag":38,"props":188,"children":189},{"style":70},[190],{"type":18,"value":191}," vk",{"type":13,"tag":38,"props":193,"children":194},{"style":108},[195],{"type":18,"value":186},{"type":13,"tag":38,"props":197,"children":198},{"style":70},[199],{"type":18,"value":200},"Device",{"type":13,"tag":38,"props":202,"children":203},{"style":45},[204],{"type":18,"value":78},{"type":13,"tag":38,"props":206,"children":207},{"class":40,"line":81},[208,213,217,221,225,230],{"type":13,"tag":38,"props":209,"children":210},{"style":45},[211],{"type":18,"value":212}," execution_graph",{"type":13,"tag":38,"props":214,"children":215},{"style":108},[216],{"type":18,"value":166},{"type":13,"tag":38,"props":218,"children":219},{"style":70},[220],{"type":18,"value":191},{"type":13,"tag":38,"props":222,"children":223},{"style":108},[224],{"type":18,"value":186},{"type":13,"tag":38,"props":226,"children":227},{"style":70},[228],{"type":18,"value":229},"Pipeline",{"type":13,"tag":38,"props":231,"children":232},{"style":45},[233],{"type":18,"value":78},{"type":13,"tag":38,"props":235,"children":236},{"class":40,"line":99},[237,242,246,251,255,259,264],{"type":13,"tag":38,"props":238,"children":239},{"style":45},[240],{"type":18,"value":241}," p_size_info",{"type":13,"tag":38,"props":243,"children":244},{"style":108},[245],{"type":18,"value":166},{"type":13,"tag":38,"props":247,"children":248},{"style":108},[249],{"type":18,"value":250}," *mut",{"type":13,"tag":38,"props":252,"children":253},{"style":70},[254],{"type":18,"value":191},{"type":13,"tag":38,"props":256,"children":257},{"style":108},[258],{"type":18,"value":186},{"type":13,"tag":38,"props":260,"children":261},{"style":70},[262],{"type":18,"value":263},"ExecutionGraphPipelineScratchSizeAMDX",{"type":13,"tag":38,"props":265,"children":266},{"style":45},[267],{"type":18,"value":78},{"type":13,"tag":38,"props":269,"children":271},{"class":40,"line":270},5,[272,277,282,286,290,295],{"type":13,"tag":38,"props":273,"children":274},{"style":45},[275],{"type":18,"value":276},") ",{"type":13,"tag":38,"props":278,"children":279},{"style":108},[280],{"type":18,"value":281},"->",{"type":13,"tag":38,"props":283,"children":284},{"style":70},[285],{"type":18,"value":191},{"type":13,"tag":38,"props":287,"children":288},{"style":108},[289],{"type":18,"value":186},{"type":13,"tag":38,"props":291,"children":292},{"style":70},[293],{"type":18,"value":294},"Result",{"type":13,"tag":38,"props":296,"children":297},{"style":45},[298],{"type":18,"value":299},";\n",{"type":13,"tag":301,"props":302,"children":303},"ul",{},[304,322,332],{"type":13,"tag":305,"props":306,"children":307},"li",{},[308,313,315,320],{"type":13,"tag":34,"props":309,"children":311},{"className":310},[],[312],{"type":18,"value":73},{"type":18,"value":314}," is the logical device that ",{"type":13,"tag":34,"props":316,"children":318},{"className":317},[],[319],{"type":18,"value":92},{"type":18,"value":321}," was created\non.",{"type":13,"tag":305,"props":323,"children":324},{},[325,330],{"type":13,"tag":34,"props":326,"children":328},{"className":327},[],[329],{"type":18,"value":92},{"type":18,"value":331}," is the execution graph pipeline to query the\nscratch space for.",{"type":13,"tag":305,"props":333,"children":334},{},[335,341,343,350],{"type":13,"tag":34,"props":336,"children":338},{"className":337},[],[339],{"type":18,"value":340},"pSizeInfo",{"type":18,"value":342}," is a pointer to a\n",{"type":13,"tag":344,"props":345,"children":347},"a",{"href":346},"/man/VkExecutionGraphPipelineScratchSizeAMDX",[348],{"type":18,"value":349},"VkExecutionGraphPipelineScratchSizeAMDX",{"type":18,"value":351}," structure that will\ncontain the required scratch size.",{"type":13,"tag":14,"props":353,"children":354},{},[355,357,362],{"type":18,"value":356},"After this function returns, information about the scratch space required\nwill be returned in ",{"type":13,"tag":34,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":340},{"type":18,"value":363},".",{"type":13,"tag":365,"props":366,"children":368},"validity-group",{"name":367},"Valid Usage (Implicit)",[369,399,423,447],{"type":13,"tag":370,"props":371,"children":373},"validity-field",{"name":372},"VUID-vkGetExecutionGraphPipelineScratchSizeAMDX-device-parameter",[374],{"type":13,"tag":14,"props":375,"children":376},{},[377,382,384,389,391,397],{"type":13,"tag":34,"props":378,"children":380},{"className":379},[],[381],{"type":18,"value":73},{"type":18,"value":383}," ",{"type":13,"tag":385,"props":386,"children":388},"normative",{"type":387},"must",[],{"type":18,"value":390}," be a valid ",{"type":13,"tag":344,"props":392,"children":394},{"href":393},"/man/VkDevice",[395],{"type":18,"value":396},"VkDevice",{"type":18,"value":398}," handle",{"type":13,"tag":370,"props":400,"children":402},{"name":401},"VUID-vkGetExecutionGraphPipelineScratchSizeAMDX-executionGraph-parameter",[403],{"type":13,"tag":14,"props":404,"children":405},{},[406,411,412,415,416,422],{"type":13,"tag":34,"props":407,"children":409},{"className":408},[],[410],{"type":18,"value":92},{"type":18,"value":383},{"type":13,"tag":385,"props":413,"children":414},{"type":387},[],{"type":18,"value":390},{"type":13,"tag":344,"props":417,"children":419},{"href":418},"/man/VkPipeline",[420],{"type":18,"value":421},"VkPipeline",{"type":18,"value":398},{"type":13,"tag":370,"props":424,"children":426},{"name":425},"VUID-vkGetExecutionGraphPipelineScratchSizeAMDX-pSizeInfo-parameter",[427],{"type":13,"tag":14,"props":428,"children":429},{},[430,435,436,439,441,445],{"type":13,"tag":34,"props":431,"children":433},{"className":432},[],[434],{"type":18,"value":340},{"type":18,"value":383},{"type":13,"tag":385,"props":437,"children":438},{"type":387},[],{"type":18,"value":440}," be a valid pointer to a ",{"type":13,"tag":344,"props":442,"children":443},{"href":346},[444],{"type":18,"value":349},{"type":18,"value":446}," structure",{"type":13,"tag":370,"props":448,"children":450},{"name":449},"VUID-vkGetExecutionGraphPipelineScratchSizeAMDX-executionGraph-parent",[451],{"type":13,"tag":14,"props":452,"children":453},{},[454,459,460,463,465],{"type":13,"tag":34,"props":455,"children":457},{"className":456},[],[458],{"type":18,"value":92},{"type":18,"value":383},{"type":13,"tag":385,"props":461,"children":462},{"type":387},[],{"type":18,"value":464}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":466,"children":468},{"className":467},[],[469],{"type":18,"value":73},{"type":13,"tag":471,"props":472,"children":473},"style",{},[474],{"type":18,"value":475},"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":61,"depth":61,"links":477},[],"markdown",1729612515166]