diff options
author | Jason Ekstrand <[email protected]> | 2019-07-11 17:06:31 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-07-16 16:05:16 +0000 |
commit | 548da20b22d43285fd919a4eaab8ef549b36b91e (patch) | |
tree | 432213bc4377e64c0f0e1a0e6ffc174c91397eb2 /src/compiler/nir/nir.h | |
parent | d7d35a9522ea5b524732a8b730008d725b84abdf (diff) |
nir/lower_doubles: Handle fdiv and fsub directly
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 6805d067a80..99fa4baa16a 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -2476,7 +2476,9 @@ typedef enum { nir_lower_dfract = (1 << 6), nir_lower_dround_even = (1 << 7), nir_lower_dmod = (1 << 8), - nir_lower_fp64_full_software = (1 << 9), + nir_lower_dsub = (1 << 9), + nir_lower_ddiv = (1 << 10), + nir_lower_fp64_full_software = (1 << 11), } nir_lower_doubles_options; typedef struct nir_shader_compiler_options { |