mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-15 05:10:18 +01:00
pan/midgard: Simplify contradictory check.
Coverity. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
parent
91a5b2657d
commit
d0b9f094fd
1 changed files with 1 additions and 4 deletions
|
|
@ -868,10 +868,7 @@ install_registers_instr(
|
|||
new_swizzle, src.mask,
|
||||
default_phys_reg(0), src);
|
||||
} else {
|
||||
unsigned r = encodes_src ?
|
||||
args.src[0] : args.dest;
|
||||
|
||||
struct phys_reg src = index_to_reg(ctx, g, r);
|
||||
struct phys_reg src = index_to_reg(ctx, g, args.dest);
|
||||
|
||||
ins->load_store.reg = src.reg;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue