mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 17:10:11 +01:00
freedreno/ir3: shadow comes before array
Experimentally, this makes *ArrayShadow tex-miplevel-selection tests pass. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
81b34e4461
commit
5bba74c64b
1 changed files with 2 additions and 2 deletions
|
|
@ -1170,10 +1170,10 @@ fill_tex_info(struct ir3_compile_context *ctx,
|
|||
info->order[arg] = pos++;
|
||||
if (tgt->dims == 1)
|
||||
info->order[pos++] = -1;
|
||||
if (tgt->shadow)
|
||||
info->order[pos++] = MAX2(arg + tgt->array, 2);
|
||||
if (tgt->array)
|
||||
info->order[pos++] = arg++;
|
||||
if (tgt->shadow)
|
||||
info->order[pos++] = MAX2(arg, 2);
|
||||
if (info->flags & IR3_INSTR_P)
|
||||
info->order[pos++] = 3;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue