From: Dave Airlie Date: Tue, 7 Apr 2020 01:13:38 +0000 (+1000) Subject: llvmpipe: lower cs local index from id X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=25ba200985dc20270631737d11e4b985c6874f10;p=mesa.git llvmpipe: lower cs local index from id Fixes: dEQP-VK.glsl.atomic_operations.*_shared Reviewed-by: Roland Scheidegger Part-of: --- diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index 33c6b67c3a3..4fa3436d0ab 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -570,6 +570,7 @@ static const struct nir_shader_compiler_options gallivm_nir_options = { .max_unroll_iterations = 32, .use_interpolated_input_intrinsics = true, .lower_to_scalar = true, + .lower_cs_local_index_from_id = true, }; static void