gallivm: Ignore nir_tex_src_plane

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24295>
This commit is contained in:
Konstantin Seurer
2023-07-22 19:08:44 +02:00
committed by Marge Bot
parent c7914a84e9
commit dbbd84ce8b
@@ -2602,6 +2602,9 @@ visit_tex(struct lp_build_nir_context *bld_base, nir_tex_instr *instr)
case nir_tex_src_sampler_handle:
sampler_resource = get_src(bld_base, instr->src[i].src);
break;
case nir_tex_src_plane:
assert(nir_src_is_const(instr->src[i].src) && !nir_src_as_uint(instr->src[i].src));
break;
default:
assert(0);
break;