diff options
author | Iago Toral Quiroga <[email protected]> | 2016-01-05 10:32:49 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2016-04-28 12:01:40 +0200 |
commit | 072613b3f366d884f398166673d4fd24c166225d (patch) | |
tree | 6ace5f70a52359cf168ae4f1c31abbd45af794b1 /src/compiler/nir/nir.h | |
parent | bf91df7f7ff0c07e12d49a47df3b67ee149540f9 (diff) |
nir/lower_double_ops: lower round_even()
At least i965 hardware does not have native support for round_even() on doubles.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index ac96727cad6..317d71636f4 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -2420,7 +2420,8 @@ typedef enum { nir_lower_dtrunc = (1 << 3), nir_lower_dfloor = (1 << 4), nir_lower_dceil = (1 << 5), - nir_lower_dfract = (1 << 6) + nir_lower_dfract = (1 << 6), + nir_lower_dround_even = (1 << 7) } nir_lower_doubles_options; void nir_lower_doubles(nir_shader *shader, nir_lower_doubles_options options); |