Mesa (master): freedreno/ir3: set lower_uniforms_to_ubo compiler flag
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Sep 16 10:22:07 UTC 2020
Module: Mesa
Branch: master
Commit: 7ab804dbb46ff55ad28c639f04fd050b9959fc6c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ab804dbb46ff55ad28c639f04fd050b9959fc6c
Author: Gert Wollny <gert.wollny at collabora.com>
Date: Sun Sep 13 21:27:35 2020 +0200
freedreno/ir3: set lower_uniforms_to_ubo compiler flag
Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6316>
---
src/freedreno/ir3/ir3_nir.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c
index f10ec8b9e87..f3ca62063dd 100644
--- a/src/freedreno/ir3/ir3_nir.c
+++ b/src/freedreno/ir3/ir3_nir.c
@@ -78,6 +78,7 @@ static const nir_shader_compiler_options options = {
* supported there.
*/
.lower_int64_options = (nir_lower_int64_options)~0,
+ .lower_uniforms_to_ubo = true,
};
/* we don't want to lower vertex_id to _zero_based on newer gpus: */
@@ -129,6 +130,7 @@ static const nir_shader_compiler_options options_a6xx = {
* supported there.
*/
.lower_int64_options = (nir_lower_int64_options)~0,
+ .lower_uniforms_to_ubo = true,
};
const nir_shader_compiler_options *
More information about the mesa-commit
mailing list