diff options
author | Jason Ekstrand <[email protected]> | 2016-03-17 11:31:48 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-03-23 16:28:02 -0700 |
commit | 0dbda153aae548a4087f7364c9013583a076e0e9 (patch) | |
tree | 9b3522cbbeccf0fb456a72e15748362c96bd793b /src/compiler/nir/nir_lower_atomics.c | |
parent | ed3a029e8088cb17af073c3b5f7444cb7e2f1cfb (diff) |
nir/algebraic: Flag inexact optimizations
Many of our optimizations, while great for cutting shaders down to size,
aren't really precision-safe. This commit tries to flag all of the
inexact floating-point optimizations so they don't get run on values that
are flagged "exact". It's a bit conservative and maybe flags some safe
optimizations as unsafe but that's better than missing one.
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_lower_atomics.c')
0 files changed, 0 insertions, 0 deletions