Module: Mesa
Branch: master
Commit: 9c7d30fb4a0ca1625d16dffb3ff2359331783fe6
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c7d30fb4a0ca1625d16dffb3ff2359331783fe6

Author: Alyssa Rosenzweig <[email protected]>
Date:   Thu Apr 30 09:27:36 2020 +0200

pan/bi: Enable lower_mediump_outputs NIR pass

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4832>

---

 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);

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to