aco: add support for texturing with clamped LOD
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 11 May 2020 14:33:14 +0000 (16:33 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 14 May 2020 10:05:44 +0000 (10:05 +0000)
commitaaf5706aa32208b456df6b7f53b281baf24c6f3c
tree7b09a6697f564edd91c842f5867e7a0d768bad0a
parent47a769143be8f81e01a70467d51142d36597847f
aco: add support for texturing with clamped LOD

This is a requirement for the shaderResourceMinLod feature which
allows to clamp LOD. This uses all image_sample_*_cl variants.

All dEQP-VK.glsl.texture_functions.texture*clamp.* pass.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4989>
src/amd/compiler/aco_instruction_selection.cpp