radv: fix random depth range unrestricted failures due to a cache issue
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 17 Mar 2020 14:32:45 +0000 (15:32 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 18 Mar 2020 11:36:24 +0000 (11:36 +0000)
commit94e37859a96cc56cf0c5418a5af00a3e9f5a1bf5
treec0017c9a0e7f8d4a7c49aa5507d643bdd92aaefd
parenta6625b15a466e2648a35810c64df882ea869971c
radv: fix random depth range unrestricted failures due to a cache issue

The shader module name is used to compute the pipeline key. The
driver used to load the wrong pipelines because the shader names
were similar.

This should fix random failures of
dEQP-VK.pipeline.depth_range_unrestricted.*

Fixes: f11ea226664 ("radv: fix a performance regression with graphics depth/stencil clears")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4216>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4216>
src/amd/vulkan/radv_meta_clear.c