radeonsi: add a hack to disable TRUNC_COORD for shadow samplers
authorMarek Olšák <marek.olsak@amd.com>
Tue, 26 May 2020 09:39:08 +0000 (05:39 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 2 Jun 2020 20:47:49 +0000 (20:47 +0000)
commitfe3947632ce9946562a39ef95a6796b8604f1f42
treea2f152addfc84cbc89975c1cfa8a4c100b5477b3
parent85a6bcca615f9aae1ffd2a1e790ee5d980e7cc43
radeonsi: add a hack to disable TRUNC_COORD for shadow samplers

This fixes dEQP-GLES3.functional.shaders.texture_functions.textureprojlodoffset.sampler2dshadow_vertex.

This is probably a dEQP bug.

Fixes: d573d1d82524b8a2e5f56938069cabc0f0176a0e
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5209>
src/gallium/drivers/radeonsi/si_state.c