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:
parent
d1d3411ba5
commit
825f11e739
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue