Mesa (main): zink: don't run nir_lower_uniforms_to_ubo repeatedly
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jul 5 21:18:29 UTC 2022
Module: Mesa
Branch: main
Commit: 9dd41991d0dc415616e0cf990a5f5eec7e2d2fcd
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9dd41991d0dc415616e0cf990a5f5eec7e2d2fcd
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Sun Jun 26 09:06:51 2022 -0400
zink: don't run nir_lower_uniforms_to_ubo repeatedly
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17239>
---
src/gallium/drivers/zink/zink_compiler.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/gallium/drivers/zink/zink_compiler.c b/src/gallium/drivers/zink/zink_compiler.c
index 8427ba44b09..4f6254c6d4d 100644
--- a/src/gallium/drivers/zink/zink_compiler.c
+++ b/src/gallium/drivers/zink/zink_compiler.c
@@ -2889,7 +2889,6 @@ zink_shader_finalize(struct pipe_screen *pscreen, void *nirptr)
if (!screen->info.feats.features.shaderImageGatherExtended)
tex_opts.lower_tg4_offsets = true;
NIR_PASS_V(nir, nir_lower_tex, &tex_opts);
- NIR_PASS_V(nir, nir_lower_uniforms_to_ubo, true, false);
if (nir->info.stage == MESA_SHADER_GEOMETRY)
NIR_PASS_V(nir, nir_lower_gs_intrinsics, nir_lower_gs_intrinsics_per_stream);
optimize_nir(nir);
More information about the mesa-commit
mailing list