pan/midgard: Handle nontrivial masks in texture RA

The texture instruction has a mask we need to take into account.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig 2019-10-16 13:01:41 -04:00
parent d1d3411ba5
commit 825f11e739
1 changed files with 1 additions and 1 deletions

View File

@ -823,7 +823,7 @@ install_registers_instr(
ins->texture.in_reg_upper = 0;
ins->texture.in_reg_select = coord.reg - 28;
ins->texture.in_reg_swizzle =
compose_swizzle(ins->texture.in_reg_swizzle, 0xF, coord, dest);
pan_compose_swizzle(ins->texture.in_reg_swizzle, coord.swizzle);
/* Next, install the destination */
ins->texture.out_full = 1;