diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-26 07:46:43 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-26 07:47:01 -0700 |
commit | 85cc78a6242723b5e2fc24e5784d9d9b47f7dc15 (patch) | |
tree | 00e40cd3b9c4520bbd042671a84241ad8fbc940d /src/panfrost/bifrost | |
parent | 218ce34962c2b563398a0ffbb3889b23e98a845f (diff) |
pan/midgard, bifrost: Set lower_fdph = true
fdph instructions show up in some desktop GL shaders.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/bifrost')
-rw-r--r-- | src/panfrost/bifrost/bifrost_compile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/bifrost_compile.h b/src/panfrost/bifrost/bifrost_compile.h index e687f64f7eb..d941b4ae8ab 100644 --- a/src/panfrost/bifrost/bifrost_compile.h +++ b/src/panfrost/bifrost/bifrost_compile.h @@ -49,6 +49,7 @@ static const nir_shader_compiler_options bifrost_nir_options = { .lower_isign = true, .lower_fsign = true, .lower_ffract = true, + .lower_fdph = true, .lower_pack_half_2x16 = true, .lower_pack_unorm_2x16 = true, .lower_pack_snorm_2x16 = true, |