diff options
author | Andres Gomez <[email protected]> | 2019-04-23 15:54:24 +0200 |
---|---|---|
committer | Andres Gomez <[email protected]> | 2019-09-17 23:39:18 +0300 |
commit | 3f782cdd2591259e120b76aa4891c305cc1e8cb6 (patch) | |
tree | d8f3ef39222c86048f1e4c675798d1b3c4025603 /src/compiler/SConscript.nir | |
parent | 5e22f3e29a21eb4623759b517619543f3553caea (diff) |
nir/algebraic: mark float optimizations returning one parameter as inexact
With the arrival of VK_KHR_shader_float_controls algebraic
optimizations for float types of the form (('fop', a, b), a) become
inexact depending on the execution mode.
For example, if we have activated SHADER_DENORM_FLUSH_TO_ZERO, in case
of a denorm value for the "a" parameter, we cannot return it still as
a denorm, it needs to be flushed to zero. Therefore, we mark now all
those operations as inexact.
Suggested-by: Samuel Iglesias Gonsálvez <[email protected]>
Signed-off-by: Andres Gomez <[email protected]>
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/compiler/SConscript.nir')
0 files changed, 0 insertions, 0 deletions