Module: Mesa Branch: main Commit: 9c78a3f5ae01a919af8df8e82c5647d70a537d43 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c78a3f5ae01a919af8df8e82c5647d70a537d43
Author: Corentin Noël <corentin.n...@collabora.com> Date: Mon Nov 6 14:20:04 2023 +0100 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.n...@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-l...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26067> --- src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c b/src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c index 86d8a13ddfc..c3c8f08f7a8 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir_aos.c @@ -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,