mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 15:10:12 +01:00
pan/bi: Remove redundant check in clamp fusing
Already checked above. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>
This commit is contained in:
parent
07b259defc
commit
0149dee377
1 changed files with 0 additions and 1 deletions
|
|
@ -186,7 +186,6 @@ bi_optimizer_clamp(bi_instr *I, bi_instr *use)
|
|||
if (bi_opcode_props[use->op].size != bi_opcode_props[I->op].size) return false;
|
||||
if (!bi_is_fclamp(use)) return false;
|
||||
if (!bi_takes_clamp(I)) return false;
|
||||
if (use->src[0].neg || use->src[0].abs) return false;
|
||||
|
||||
I->clamp = bi_compose_clamp(I->clamp, use->clamp);
|
||||
I->dest[0] = use->dest[0];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue