https://bugs.freedesktop.org/show_bug.cgi?id=111241
--- Comment #1 from Pierre-Eric Pelloux-Prayer pierre-eric.pelloux-prayer@amd.com --- I could reproduce the issue on a Raven Ridge and a Navi10.
But when using NIR (radeonsi_enable_nir=true env variable) the shader is perfectly usable.