pan/bi: Assert out multiple textures

Only for a moment.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4671>
This commit is contained in:
Alyssa Rosenzweig 2020-04-21 19:35:01 -04:00 committed by Marge Bot
parent 3551c138de
commit 5c6952108c

View file

@ -684,6 +684,10 @@ emit_alu(bi_context *ctx, nir_alu_instr *instr)
static void
emit_tex_compact(bi_context *ctx, nir_tex_instr *instr)
{
/* TODO: Pipe through indices */
assert(instr->texture_index == 0);
assert(instr->sampler_index == 0);
bi_instruction tex = {
.type = BI_TEX,
.op = { .texture = BI_TEX_COMPACT },