nir/lower_mediump: Add an option to only fold if all tex sources can be folded.
authorGeorg Lehmann <dadschoorse@gmail.com>
Wed, 6 Jul 2022 15:00:34 +0000 (17:00 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 21 Jul 2022 19:15:03 +0000 (19:15 +0000)
commita93786fc262357bb3d5b0095e3e24380b244bf52
tree28d1d80c9e56b267c50ee38151bfb4f00b137a75
parent87e3277b826175be1cd9e68f86cd817f398e5969
nir/lower_mediump: Add an option to only fold if all tex sources can be folded.

Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16978>
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_mediump.c