Module: Mesa Branch: master Commit: 05799844df50d949591e06cd18c293963427acd4 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=05799844df50d949591e06cd18c293963427acd4
Author: James Park <jpar...@lagfreegames.com> Date: Thu Nov 26 02:05:22 2020 -0800 radv: Const aco_compiler_statistic_info usage Necessary for upcoming const correctness change to aco struct. Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7787> --- src/amd/vulkan/radv_pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index e31c6d872fb..99e8785e84e 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -5787,7 +5787,7 @@ VkResult radv_GetPipelineExecutableStatisticsKHR( if (shader->statistics) { for (unsigned i = 0; i < shader->statistics->count; i++) { - struct aco_compiler_statistic_info *info = &shader->statistics->infos[i]; + const struct aco_compiler_statistic_info *info = &shader->statistics->infos[i]; uint32_t value = shader->statistics->values[i]; if (s < end) { desc_copy(s->name, info->name); _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit