gallivm/lp_bld_nir_aos: Use TGSI instead of PIPE enum

Use the value from the correct enumeration.

Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26067>
This commit is contained in:
Corentin Noël 2023-11-06 14:20:04 +01:00 committed by Marge Bot
parent 91761006f6
commit 9c78a3f5ae

View file

@ -313,7 +313,7 @@ emit_tex(struct lp_build_nir_context *bld_base,
params->type = bld_base->base.type;
params->texel[0] = bld->sampler->emit_fetch_texel(bld->sampler,
&bld->bld_base.base,
PIPE_TEXTURE_2D,
TGSI_TEXTURE_2D,
params->texture_index,
params->coords[0],
params->derivs ? params->derivs[0] : derivs,