pan/midgard, bifrost: Set lower_fdph = true

fdph instructions show up in some desktop GL shaders.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig 2019-08-26 07:46:43 -07:00
parent 218ce34962
commit 85cc78a624
2 changed files with 2 additions and 0 deletions

View file

@ -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,

View file

@ -130,6 +130,7 @@ static const nir_shader_compiler_options midgard_nir_options = {
.lower_isign = true,
.lower_fpow = true,
.lower_find_lsb = true,
.lower_fdph = true,
.lower_wpos_pntc = true,