radv: ensure to retain NIR shaders for GPL libs found in the cache
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 3 Apr 2023 08:12:25 +0000 (10:12 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 4 Apr 2023 14:47:39 +0000 (14:47 +0000)
commit03d2bd6042d2d93caaab70892e35ffffa16b4bb7
treefe97b501ba7b2136e57223c152c54aa0b3c395cd
parent5e62d8d1bd9c8097bbfa90dffc25fb2d89b6302b
radv: ensure to retain NIR shaders for GPL libs found in the cache

Even if we are able to get the assembly from the shaders cache for
graphics pipeline libraries, we still need to retain NIR shaders in
case the LTO pipelines won't be find in the cache.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22264>
src/amd/vulkan/radv_pipeline.c