nir/lower_tex: Add a lower_txd_clamp option
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Mon, 10 Apr 2023 22:23:32 +0000 (17:23 -0500)
committerMarge Bot <emma+marge@anholt.net>
Tue, 24 Oct 2023 22:21:17 +0000 (22:21 +0000)
commitabf3175161ac3ea50bf9c36cecfb6d334e326caf
tree5bda89888d952b25948e7817a50b29bb3e2800a5
parentd3d5122f7cff7876d7dfb796868493784d8fd425
nir/lower_tex: Add a lower_txd_clamp option

Some of us want to lower all TXD with min_lod regardless of whether or
not it's shadow or cube or whatever.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25000>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_tex.c