From 25ba200985dc20270631737d11e4b985c6874f10 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 7 Apr 2020 11:13:38 +1000 Subject: [PATCH] llvmpipe: lower cs local index from id Fixes: dEQP-VK.glsl.atomic_operations.*_shared Reviewed-by: Roland Scheidegger 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 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 -- 2.30.2