pan/bi: Lower uniforms to UBO
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 6 Nov 2020 08:56:09 +0000 (09:56 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Mon, 9 Nov 2020 19:36:50 +0000 (20:36 +0100)
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7472>

src/panfrost/bifrost/bifrost_compile.h

index 942f202..2ea6528 100644 (file)
@@ -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