From: Gert Wollny Date: Sun, 13 Sep 2020 19:28:34 +0000 (+0200) Subject: llvmpipe: set lower_uniform_to_ubo compiler flag X-Git-Tag: upstream/21.0.0~5351 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=feb463da6370a4de3f1c856db8da3bca7fd2b388;p=platform%2Fupstream%2Fmesa.git llvmpipe: set lower_uniform_to_ubo compiler flag Signed-off-by: Gert Wollny Reviewed-by: Marek Olšák Part-of: --- diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 2367af8..5f05a46 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