amd: change chip_class naming to "enum amd_gfx_level gfx_level"

This aligns the naming with PAL.

Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Acked-by: Pierre-Eric Pellou-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16469>
This commit is contained in:
Marek Olšák
2022-05-12 02:50:17 -04:00
parent 6dcf7f651f
commit 39800f0fa3
198 changed files with 2775 additions and 2776 deletions
+1 -1
View File
@@ -212,7 +212,7 @@ aco_compile_shader(const struct radv_nir_compiler_options* options,
aco::insert_wait_states(program.get());
aco::insert_NOPs(program.get());
if (program->chip_class >= GFX10)
if (program->gfx_level >= GFX10)
aco::form_hard_clauses(program.get());
if (program->collect_statistics || (aco::debug_flags & aco::DEBUG_PERF_INFO))