From: Alyssa Rosenzweig Date: Tue, 21 Apr 2020 23:35:01 +0000 (-0400) Subject: pan/bi: Assert out multiple textures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c6952108c337e717df2607632b14275fc76b398;p=mesa.git pan/bi: Assert out multiple textures Only for a moment. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c index 21211820dfe..a28308b53a0 100644 --- a/src/panfrost/bifrost/bifrost_compile.c +++ b/src/panfrost/bifrost/bifrost_compile.c @@ -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 },