diff options
author | Jason Ekstrand <[email protected]> | 2016-05-05 17:14:39 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-05-11 11:44:35 -0700 |
commit | 47f01e538ad575d3f2b02e747905e7ab9dd3a9bb (patch) | |
tree | f5015584655d42317bcca2fce6b7c6078f5ccec1 /src/mesa/program/prog_execute.h | |
parent | 1b72c31e1f1947123d8c236b56e230f030f60cf9 (diff) |
ptn: Emit mul+add for MAD
Unlike fma() in GLSL, MAD in ARB programs is 100% splittable. Just emit
the split version and let the optimizer fuse them later.
Shader-db results on Haswell:
total instructions in shared programs: 7560379 -> 7560300 (-0.00%)
instructions in affected programs: 143928 -> 143849 (-0.05%)
helped: 443
HURT: 250
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_execute.h')
0 files changed, 0 insertions, 0 deletions