radv: pass the pipeline key to the backend compilers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 24 Sep 2021 13:38:56 +0000 (15:38 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 27 Sep 2021 09:57:25 +0000 (11:57 +0200)
commitdeede6b03d5d764f7bec8d4510526843ffa36165
treef8f45fd13a083e749924f946c34b1ec460a28c23
parent97c7cfe8239ca0957d2327f5064823e7438d3d6b
radv: pass the pipeline key to the backend compilers

It exactly matches the shader keys now. Everything was copied from
the pipeline key to the shader keys.

There is still some work to completely remove radv_shader_variant_key.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13032>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/vulkan/radv_nir_to_llvm.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader.h