etnaviv: nir: Use nir offset lowering for txb

Passes dEQP-GLES3.functional.shaders.texture_functions.textureoffset.* with explicit bias on GC7000.

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35753>
This commit is contained in:
Christian Gmeiner 2025-07-08 23:47:20 +02:00 committed by Marge Bot
parent 34580a32ff
commit c25f612b56

View file

@ -155,6 +155,9 @@ lower_offset_filter(const nir_instr *instr, const void *data)
if (tex->op == nir_texop_tex && info->stage == MESA_SHADER_VERTEX)
return true;
if (tex->op == nir_texop_txb)
return true;
if (tex->op == nir_texop_txf)
return true;