Mesa (master): nir: Add option lower_uniforms_to_ubo
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Sep 16 10:22:07 UTC 2020
Module: Mesa
Branch: master
Commit: 2c9fee9b6adcc341948e2cac8de500c6384cfc22
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c9fee9b6adcc341948e2cac8de500c6384cfc22
Author: Gert Wollny <gert.wollny at collabora.com>
Date: Sun Sep 13 21:01:55 2020 +0200
nir: Add option lower_uniforms_to_ubo
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/compiler/nir/nir.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 22d6e6cf200..7bc6f2af83c 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -3319,6 +3319,10 @@ typedef struct nir_shader_compiler_options {
unsigned max_unroll_iterations;
+ /* For the non-zero value of the enum corresponds multiplier when
+ * calling lower_uniforms_to_ubo */
+ bool lower_uniforms_to_ubo;
+
nir_lower_int64_options lower_int64_options;
nir_lower_doubles_options lower_doubles_options;
} nir_shader_compiler_options;
More information about the mesa-commit
mailing list