freedreno/ir3: Enabling lowering 16-bit flrp
authorNeil Roberts <nroberts@igalia.com>
Thu, 6 Jun 2019 14:29:35 +0000 (16:29 +0200)
committerNeil Roberts <nroberts@igalia.com>
Wed, 20 Nov 2019 13:09:43 +0000 (14:09 +0100)
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/freedreno/ir3/ir3_nir.c

index afcd87a16b9353470a5ae0057b422ee786ebbedf..5af50c45b9c555872ecedbc4283a0d49340bdc10 100644 (file)
@@ -37,6 +37,7 @@ static void ir3_setup_const_state(struct ir3_shader *shader, nir_shader *nir);
 static const nir_shader_compiler_options options = {
                .lower_fpow = true,
                .lower_scmp = true,
+               .lower_flrp16 = true,
                .lower_flrp32 = true,
                .lower_flrp64 = true,
                .lower_ffract = true,
@@ -64,6 +65,7 @@ static const nir_shader_compiler_options options = {
 static const nir_shader_compiler_options options_a6xx = {
                .lower_fpow = true,
                .lower_scmp = true,
+               .lower_flrp16 = true,
                .lower_flrp32 = true,
                .lower_flrp64 = true,
                .lower_ffract = true,