mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
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:
parent
3551c138de
commit
5c6952108c
1 changed files with 4 additions and 0 deletions
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue