diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-10-16 13:01:41 -0400 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-10-20 12:02:31 +0000 |
commit | 825f11e739808788b800eac332a2adfa1b551372 (patch) | |
tree | cced6d5b71b3dcec3e4515b1f72931d31a73ed92 /src | |
parent | d1d3411ba55aaa177a2a0619284d5b3891b9b7cd (diff) |
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/panfrost/midgard/midgard_ra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_ra.c b/src/panfrost/midgard/midgard_ra.c index 51687defccb..f8355a89720 100644 --- a/src/panfrost/midgard/midgard_ra.c +++ b/src/panfrost/midgard/midgard_ra.c @@ -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; |