mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
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:
parent
91761006f6
commit
9c78a3f5ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue