nir: rename has_txs to has_texture_scaling
authorChristian Gmeiner <cgmeiner@igalia.com>
Mon, 10 Jul 2023 20:24:46 +0000 (22:24 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 12 Jul 2023 10:03:06 +0000 (10:03 +0000)
commit938300980946526926bdd2082178133d6081f4df
tree6ac03f4d4b258557c3ecee517f64596c31eed07e
parent9ddedf45540bc73d343db3dd7eadd0e165fe22c0
nir: rename has_txs to has_texture_scaling

Convert it to an opt-in for backends to prefer and use nir_load_texture_scale
instead of txs for nir lowerings.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Suggested-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24054>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_tex.c
src/gallium/drivers/etnaviv/etnaviv_compiler.c
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/zink/zink_compiler.c
src/intel/compiler/brw_compiler.c
src/microsoft/compiler/nir_to_dxil.c