Mesa (master): pan/bi: Enable lower_mediump_outputs NIR pass
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri May 1 15:27:08 UTC 2020
Module: Mesa
Branch: master
Commit: 9c7d30fb4a0ca1625d16dffb3ff2359331783fe6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c7d30fb4a0ca1625d16dffb3ff2359331783fe6
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Thu Apr 30 09:27:36 2020 +0200
pan/bi: Enable lower_mediump_outputs NIR pass
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
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);
More information about the mesa-commit
mailing list