[{"data":1,"prerenderedAt":577},["ShallowReactive",2],{"YCgjHvgBXI":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":576,"_id":4},"vkGetRayTracingShaderGroupStackSizeKHR","Query ray tracing pipeline shader group shader stack size","VK_KHR_ray_tracing_pipeline","protos",[],{"type":10,"children":11,"toc":574},"root",[12,20,329,375,380,465,568],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query the pipeline stack size of shaders in a shader group in the ray\ntracing pipeline, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,135],{"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","VkDeviceSize vkGetRayTracingShaderGroupStackSizeKHR(\n VkDevice device,\n VkPipeline pipeline,\n uint32_t group,\n VkShaderGroupShaderKHR groupShader);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,59,79,97,116],{"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},"VkDeviceSize ",{"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},"pipeline",{"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,107,112],{"type":13,"tag":38,"props":102,"children":104},{"style":103},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[105],{"type":18,"value":106}," uint32_t",{"type":13,"tag":38,"props":108,"children":109},{"style":70},[110],{"type":18,"value":111}," group",{"type":13,"tag":38,"props":113,"children":114},{"style":45},[115],{"type":18,"value":78},{"type":13,"tag":38,"props":117,"children":119},{"class":40,"line":118},5,[120,125,130],{"type":13,"tag":38,"props":121,"children":122},{"style":45},[123],{"type":18,"value":124}," VkShaderGroupShaderKHR ",{"type":13,"tag":38,"props":126,"children":127},{"style":70},[128],{"type":18,"value":129},"groupShader",{"type":13,"tag":38,"props":131,"children":132},{"style":45},[133],{"type":18,"value":134},");\n",{"type":13,"tag":25,"props":136,"children":141},{"className":137,"code":138,"filename":139,"language":140,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_ray_tracing_shader_group_stack_size_khr(\n device: crate :: vk :: vk::Device,\n pipeline: vk::Pipeline,\n group: u32,\n group_shader: vk::ShaderGroupShaderKHR,\n) -> vk::DeviceSize;\n","Rust","rs",[142],{"type":13,"tag":34,"props":143,"children":144},{"__ignoreMap":31},[145,167,218,247,268,297],{"type":13,"tag":38,"props":146,"children":147},{"class":40,"line":41},[148,153,158,163],{"type":13,"tag":38,"props":149,"children":150},{"style":103},[151],{"type":18,"value":152},"pub",{"type":13,"tag":38,"props":154,"children":155},{"style":103},[156],{"type":18,"value":157}," fn",{"type":13,"tag":38,"props":159,"children":160},{"style":51},[161],{"type":18,"value":162}," get_ray_tracing_shader_group_stack_size_khr",{"type":13,"tag":38,"props":164,"children":165},{"style":45},[166],{"type":18,"value":58},{"type":13,"tag":38,"props":168,"children":169},{"class":40,"line":61},[170,175,180,185,190,195,200,205,209,214],{"type":13,"tag":38,"props":171,"children":172},{"style":45},[173],{"type":18,"value":174}," device",{"type":13,"tag":38,"props":176,"children":177},{"style":103},[178],{"type":18,"value":179},":",{"type":13,"tag":38,"props":181,"children":182},{"style":103},[183],{"type":18,"value":184}," crate",{"type":13,"tag":38,"props":186,"children":187},{"style":103},[188],{"type":18,"value":189}," ::",{"type":13,"tag":38,"props":191,"children":192},{"style":45},[193],{"type":18,"value":194}," vk ",{"type":13,"tag":38,"props":196,"children":197},{"style":103},[198],{"type":18,"value":199},"::",{"type":13,"tag":38,"props":201,"children":202},{"style":70},[203],{"type":18,"value":204}," vk",{"type":13,"tag":38,"props":206,"children":207},{"style":103},[208],{"type":18,"value":199},{"type":13,"tag":38,"props":210,"children":211},{"style":70},[212],{"type":18,"value":213},"Device",{"type":13,"tag":38,"props":215,"children":216},{"style":45},[217],{"type":18,"value":78},{"type":13,"tag":38,"props":219,"children":220},{"class":40,"line":81},[221,226,230,234,238,243],{"type":13,"tag":38,"props":222,"children":223},{"style":45},[224],{"type":18,"value":225}," pipeline",{"type":13,"tag":38,"props":227,"children":228},{"style":103},[229],{"type":18,"value":179},{"type":13,"tag":38,"props":231,"children":232},{"style":70},[233],{"type":18,"value":204},{"type":13,"tag":38,"props":235,"children":236},{"style":103},[237],{"type":18,"value":199},{"type":13,"tag":38,"props":239,"children":240},{"style":70},[241],{"type":18,"value":242},"Pipeline",{"type":13,"tag":38,"props":244,"children":245},{"style":45},[246],{"type":18,"value":78},{"type":13,"tag":38,"props":248,"children":249},{"class":40,"line":99},[250,255,259,264],{"type":13,"tag":38,"props":251,"children":252},{"style":45},[253],{"type":18,"value":254}," group",{"type":13,"tag":38,"props":256,"children":257},{"style":103},[258],{"type":18,"value":179},{"type":13,"tag":38,"props":260,"children":261},{"style":70},[262],{"type":18,"value":263}," u32",{"type":13,"tag":38,"props":265,"children":266},{"style":45},[267],{"type":18,"value":78},{"type":13,"tag":38,"props":269,"children":270},{"class":40,"line":118},[271,276,280,284,288,293],{"type":13,"tag":38,"props":272,"children":273},{"style":45},[274],{"type":18,"value":275}," group_shader",{"type":13,"tag":38,"props":277,"children":278},{"style":103},[279],{"type":18,"value":179},{"type":13,"tag":38,"props":281,"children":282},{"style":70},[283],{"type":18,"value":204},{"type":13,"tag":38,"props":285,"children":286},{"style":103},[287],{"type":18,"value":199},{"type":13,"tag":38,"props":289,"children":290},{"style":70},[291],{"type":18,"value":292},"ShaderGroupShaderKHR",{"type":13,"tag":38,"props":294,"children":295},{"style":45},[296],{"type":18,"value":78},{"type":13,"tag":38,"props":298,"children":300},{"class":40,"line":299},6,[301,306,311,315,319,324],{"type":13,"tag":38,"props":302,"children":303},{"style":45},[304],{"type":18,"value":305},") ",{"type":13,"tag":38,"props":307,"children":308},{"style":103},[309],{"type":18,"value":310},"->",{"type":13,"tag":38,"props":312,"children":313},{"style":70},[314],{"type":18,"value":204},{"type":13,"tag":38,"props":316,"children":317},{"style":103},[318],{"type":18,"value":199},{"type":13,"tag":38,"props":320,"children":321},{"style":70},[322],{"type":18,"value":323},"DeviceSize",{"type":13,"tag":38,"props":325,"children":326},{"style":45},[327],{"type":18,"value":328},";\n",{"type":13,"tag":330,"props":331,"children":332},"ul",{},[333,344,354,365],{"type":13,"tag":334,"props":335,"children":336},"li",{},[337,342],{"type":13,"tag":34,"props":338,"children":340},{"className":339},[],[341],{"type":18,"value":73},{"type":18,"value":343}," is the logical device containing the ray tracing pipeline.",{"type":13,"tag":334,"props":345,"children":346},{},[347,352],{"type":13,"tag":34,"props":348,"children":350},{"className":349},[],[351],{"type":18,"value":92},{"type":18,"value":353}," is the ray tracing pipeline object containing the shaders\ngroups.",{"type":13,"tag":334,"props":355,"children":356},{},[357,363],{"type":13,"tag":34,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":362},"group",{"type":18,"value":364}," is the index of the shader group to query.",{"type":13,"tag":334,"props":366,"children":367},{},[368,373],{"type":13,"tag":34,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":129},{"type":18,"value":374}," is the type of shader from the group to query.",{"type":13,"tag":14,"props":376,"children":377},{},[378],{"type":18,"value":379},"The return value is the ray tracing pipeline stack size in bytes for the\nspecified shader as called from the specified shader group.",{"type":13,"tag":381,"props":382,"children":384},"validity-group",{"name":383},"Valid Usage",[385,407,432],{"type":13,"tag":386,"props":387,"children":389},"validity-field",{"name":388},"VUID-vkGetRayTracingShaderGroupStackSizeKHR-pipeline-04622",[390],{"type":13,"tag":14,"props":391,"children":392},{},[393,398,400,405],{"type":13,"tag":34,"props":394,"children":396},{"className":395},[],[397],{"type":18,"value":92},{"type":18,"value":399}," ",{"type":13,"tag":401,"props":402,"children":404},"normative",{"type":403},"must",[],{"type":18,"value":406}," be a ray tracing pipeline",{"type":13,"tag":386,"props":408,"children":410},{"name":409},"VUID-vkGetRayTracingShaderGroupStackSizeKHR-group-03608",[411],{"type":13,"tag":14,"props":412,"children":413},{},[414,416,421,422,425,427],{"type":18,"value":415},"The value of ",{"type":13,"tag":34,"props":417,"children":419},{"className":418},[],[420],{"type":18,"value":362},{"type":18,"value":399},{"type":13,"tag":401,"props":423,"children":424},{"type":403},[],{"type":18,"value":426}," be less than the number of shader groups\nin ",{"type":13,"tag":34,"props":428,"children":430},{"className":429},[],[431],{"type":18,"value":92},{"type":13,"tag":386,"props":433,"children":435},{"name":434},"VUID-vkGetRayTracingShaderGroupStackSizeKHR-groupShader-03609",[436],{"type":13,"tag":14,"props":437,"children":438},{},[439,441,446,448,453,454,457,459],{"type":18,"value":440},"The shader identified by ",{"type":13,"tag":34,"props":442,"children":444},{"className":443},[],[445],{"type":18,"value":129},{"type":18,"value":447}," in ",{"type":13,"tag":34,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":362},{"type":18,"value":399},{"type":13,"tag":401,"props":455,"children":456},{"type":403},[],{"type":18,"value":458}," not be\n",{"type":13,"tag":34,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":464},"VK_SHADER_UNUSED_KHR",{"type":13,"tag":381,"props":466,"children":468},{"name":467},"Valid Usage (Implicit)",[469,496,520,545],{"type":13,"tag":386,"props":470,"children":472},{"name":471},"VUID-vkGetRayTracingShaderGroupStackSizeKHR-device-parameter",[473],{"type":13,"tag":14,"props":474,"children":475},{},[476,481,482,485,487,494],{"type":13,"tag":34,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":73},{"type":18,"value":399},{"type":13,"tag":401,"props":483,"children":484},{"type":403},[],{"type":18,"value":486}," be a valid ",{"type":13,"tag":488,"props":489,"children":491},"a",{"href":490},"/man/VkDevice",[492],{"type":18,"value":493},"VkDevice",{"type":18,"value":495}," handle",{"type":13,"tag":386,"props":497,"children":499},{"name":498},"VUID-vkGetRayTracingShaderGroupStackSizeKHR-pipeline-parameter",[500],{"type":13,"tag":14,"props":501,"children":502},{},[503,508,509,512,513,519],{"type":13,"tag":34,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":92},{"type":18,"value":399},{"type":13,"tag":401,"props":510,"children":511},{"type":403},[],{"type":18,"value":486},{"type":13,"tag":488,"props":514,"children":516},{"href":515},"/man/VkPipeline",[517],{"type":18,"value":518},"VkPipeline",{"type":18,"value":495},{"type":13,"tag":386,"props":521,"children":523},{"name":522},"VUID-vkGetRayTracingShaderGroupStackSizeKHR-groupShader-parameter",[524],{"type":13,"tag":14,"props":525,"children":526},{},[527,532,533,536,537,543],{"type":13,"tag":34,"props":528,"children":530},{"className":529},[],[531],{"type":18,"value":129},{"type":18,"value":399},{"type":13,"tag":401,"props":534,"children":535},{"type":403},[],{"type":18,"value":486},{"type":13,"tag":488,"props":538,"children":540},{"href":539},"/man/VkShaderGroupShaderKHR",[541],{"type":18,"value":542},"VkShaderGroupShaderKHR",{"type":18,"value":544}," value",{"type":13,"tag":386,"props":546,"children":548},{"name":547},"VUID-vkGetRayTracingShaderGroupStackSizeKHR-pipeline-parent",[549],{"type":13,"tag":14,"props":550,"children":551},{},[552,557,558,561,563],{"type":13,"tag":34,"props":553,"children":555},{"className":554},[],[556],{"type":18,"value":92},{"type":18,"value":399},{"type":13,"tag":401,"props":559,"children":560},{"type":403},[],{"type":18,"value":562}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":564,"children":566},{"className":565},[],[567],{"type":18,"value":73},{"type":13,"tag":569,"props":570,"children":571},"style",{},[572],{"type":18,"value":573},"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":575},[],"markdown",1725732621501]