From 9c7d30fb4a0ca1625d16dffb3ff2359331783fe6 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 30 Apr 2020 09:27:36 +0200 Subject: [PATCH] pan/bi: Enable lower_mediump_outputs NIR pass Signed-off-by: Alyssa Rosenzweig Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bifrost_compile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c index cd659809a62..d3d89df1d63 100644 --- a/src/panfrost/bifrost/bifrost_compile.c +++ b/src/panfrost/bifrost/bifrost_compile.c @@ -1074,6 +1074,7 @@ bifrost_compile_shader_nir(nir_shader *nir, panfrost_program *program, unsigned NIR_PASS_V(nir, nir_lower_vars_to_ssa); NIR_PASS_V(nir, nir_lower_io, nir_var_all, glsl_type_size, 0); NIR_PASS_V(nir, nir_lower_ssbo); + NIR_PASS_V(nir, nir_lower_mediump_outputs); bi_optimize_nir(nir); nir_print_shader(nir, stdout); -- 2.30.2