mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 01:38:06 +02:00
i965/peephole_ffma: Don't fuse exact adds
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
5f39e3e165
commit
865e83b9ec
1 changed files with 3 additions and 1 deletions
|
|
@ -168,7 +168,9 @@ brw_nir_opt_peephole_ffma_block(nir_block *block, void *void_state)
|
|||
if (add->op != nir_op_fadd)
|
||||
continue;
|
||||
|
||||
/* TODO: Maybe bail if this expression is considered "precise"? */
|
||||
assert(add->dest.dest.is_ssa);
|
||||
if (add->exact)
|
||||
continue;
|
||||
|
||||
assert(add->src[0].src.is_ssa && add->src[1].src.is_ssa);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue