diff options
author | Timothy Arceri <[email protected]> | 2017-01-03 12:03:54 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-01-04 14:48:36 +1100 |
commit | 4b7dfd881296a542a0c08a12c27f643dabd7280c (patch) | |
tree | deb00fa9d5298ca87310fd7ae789ed4903b66490 /src/mesa/drivers/dri/i965/intel_batchbuffer.c | |
parent | abcaba497d8c90a1e9dcede71261bdee16e2ed4e (diff) |
nir: fix loop iteration count calculation for floats
Fixes performance regression in SynMark PSPom caused by loops with float
counters not always unrolling.
For example:
for (float i = 0.02; i < 0.9; i += 0.11)
...
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions