radv: move compiler statistics to ACO

They are really specific to ACO.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7061>
This commit is contained in:
Samuel Pitoiset
2020-10-08 13:14:21 +02:00
committed by Marge Bot
parent 97afb2a0a9
commit e3e8d13ada
5 changed files with 18 additions and 18 deletions

View File

@@ -5527,7 +5527,7 @@ VkResult radv_GetPipelineExecutableStatisticsKHR(
if (shader->statistics) {
for (unsigned i = 0; i < shader->statistics->count; i++) {
struct radv_compiler_statistic_info *info = &shader->statistics->infos[i];
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);