From feb463da6370a4de3f1c856db8da3bca7fd2b388 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Sun, 13 Sep 2020 21:28:34 +0200 Subject: [PATCH] llvmpipe: set lower_uniform_to_ubo compiler flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gert Wollny Reviewed-by: Marek Olšák Part-of: --- src/gallium/drivers/llvmpipe/lp_screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 2367af870c4..5f05a468e3f 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -576,6 +576,7 @@ static const struct nir_shader_compiler_options gallivm_nir_options = { .use_interpolated_input_intrinsics = true, .lower_to_scalar = true, .lower_cs_local_index_from_id = true, + .lower_uniforms_to_ubo = true, }; static void