radv: remove the LLVM stat about the number of private VGPRs

This doesn't seem really useful.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12999>
This commit is contained in:
Samuel Pitoiset
2021-09-23 15:00:30 +02:00
committed by Marge Bot
parent 7b04c13a34
commit dca04dae52
3 changed files with 0 additions and 13 deletions

View File

@@ -2605,10 +2605,6 @@ ac_translate_nir_to_llvm(struct ac_llvm_compiler *ac_llvm, struct nir_shader *co
if (shader_count == 1)
ac_nir_eliminate_const_vs_outputs(&ctx);
if (args->options->dump_shader) {
args->shader_info->private_mem_vgprs = ac_count_scratch_private_memory(ctx.main_function);
}
return ctx.ac.module;
}

View File

@@ -5979,14 +5979,6 @@ radv_GetPipelineExecutableStatisticsKHR(VkDevice _device,
}
++s;
if (s < end) {
desc_copy(s->name, "PrivMem VGPRs");
desc_copy(s->description, "Number of VGPRs stored in private memory per subgroup");
s->format = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR;
s->value.u64 = shader->info.private_mem_vgprs;
}
++s;
if (s < end) {
desc_copy(s->name, "Code size");
desc_copy(s->description, "Code size in bytes");

View File

@@ -225,7 +225,6 @@ struct radv_shader_info {
unsigned num_user_sgprs;
unsigned num_input_sgprs;
unsigned num_input_vgprs;
unsigned private_mem_vgprs;
bool need_indirect_descriptor_sets;
bool is_ngg;
bool is_ngg_passthrough;