commit | 12ab7fc6ac1ca785afb1126607bb95ea26473e06 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Wed May 18 12:14:02 2016 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Fri May 20 14:29:04 2016 -0700 |
tree | 26c52e1641052fda7e8b23a94596afa068da62b6 | |
parent | b8b1b1c34cfa7f3c68872b5726eaf554474ea464 [diff] |
nir: Don't use ffma in nir_lower_wpos_ytransform(). ffma is an explicitly fused multiply add with higher precision. The optimizer will take care of promoting mul/add to fma when it's beneficial to do so. This fixes failures on Gen4-5 when using this pass, as those platforms don't actually implement fma(). Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>