nir: add nir_texop_sampler_descriptor_amd
authorMarek Olšák <marek.olsak@amd.com>
Fri, 28 Oct 2022 12:32:02 +0000 (08:32 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 13 Dec 2022 20:33:05 +0000 (20:33 +0000)
commitc0d69b40bcf73e972c87bcaca30bf4a1b4af48f2
treea43c1a5e96e591d9dff5ea85f5375f4ea8d12e6d
parente2dc32d755b15697765719acec1d23f12f9c938c
nir: add nir_texop_sampler_descriptor_amd

We'll use it to query the min/mag filter in the shader.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19422>
src/amd/llvm/ac_nir_to_llvm.c
src/compiler/nir/nir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_print.c
src/compiler/nir/nir_validate.c
src/compiler/spirv/spirv_to_nir.c