Mesa (master): pan/bi: Lower uniforms to UBO

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Nov 9 19:50:31 UTC 2020


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

Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Fri Nov  6 09:56:09 2020 +0100

pan/bi: Lower uniforms to UBO

Signed-off-by: Boris Brezillon <boris.brezillon at collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7472>

---

 src/panfrost/bifrost/bifrost_compile.h | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/panfrost/bifrost/bifrost_compile.h b/src/panfrost/bifrost/bifrost_compile.h
index 942f20228c2..2ea6528c08c 100644
--- a/src/panfrost/bifrost/bifrost_compile.h
+++ b/src/panfrost/bifrost/bifrost_compile.h
@@ -70,10 +70,12 @@ static const nir_shader_compiler_options bifrost_nir_options = {
 
         .lower_bitfield_extract_to_shifts = true,
         .vectorize_io = true,
-	.fuse_ffma16 = true,
-	.fuse_ffma32 = true,
-	.fuse_ffma64 = true,
-        .use_interpolated_input_intrinsics = true
+        .fuse_ffma16 = true,
+        .fuse_ffma32 = true,
+        .fuse_ffma64 = true,
+        .use_interpolated_input_intrinsics = true,
+
+        .lower_uniforms_to_ubo = true,
 };
 
 #endif



More information about the mesa-commit mailing list