mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2025-02-05 17:48:21 +00:00
anv: fix GetPipelineExecutableStatistics for ray tracing pipelines
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Fixes: e10455585115d5 ("anv: Compile ray-tracing shaders") Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18013> (cherry picked from commit d0e8f21100a4ab6a384e0c75cbe041299832b02d)
This commit is contained in:
parent
4bbf83a4a8
commit
f342f7602a
@ -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"
|
||||
},
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user