diff --git a/.pick_status.json b/.pick_status.json index bb3833a32b0..1d523c50576 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -12028,7 +12028,7 @@ "description": "anv: fix GetPipelineExecutableStatistics for ray tracing pipelines", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "e10455585115d502702a3f642dfd386d0c7a0c69" }, diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index 37505bb8a09..6710020798d 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -3056,6 +3056,14 @@ VkResult anv_GetPipelineExecutableStatisticsKHR( prog_data = anv_pipeline_to_compute(pipeline)->cs->prog_data; break; } + case ANV_PIPELINE_RAY_TRACING: { + struct anv_shader_bin **shader = + util_dynarray_element(&anv_pipeline_to_ray_tracing(pipeline)->shaders, + struct anv_shader_bin *, + pExecutableInfo->executableIndex); + prog_data = (*shader)->prog_data; + break; + } default: unreachable("invalid pipeline type"); }