radeonsi: apply the LLVM discard bug workaround to LLVM 13 only
authorMarek Olšák <marek.olsak@amd.com>
Sun, 20 Feb 2022 07:10:27 +0000 (02:10 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 22 Feb 2022 11:41:04 +0000 (11:41 +0000)
commit12e00be09b9922d169f079f5b14452c6de6afcc9
treed73118e1556d09bd668318ab8829a0df936b1ecf
parent21f169b2fb399c3a62d1b4f933596c371bda1b55
radeonsi: apply the LLVM discard bug workaround to LLVM 13 only

It was fixed in LLVM 14.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15098>
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_shader_info.c
src/gallium/drivers/radeonsi/si_state_shaders.cpp