llvmpipe: lower cs local index from id
authorDave Airlie <airlied@redhat.com>
Tue, 7 Apr 2020 01:13:38 +0000 (11:13 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 19 Aug 2020 00:16:43 +0000 (10:16 +1000)
Fixes:
dEQP-VK.glsl.atomic_operations.*_shared

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6339>

src/gallium/drivers/llvmpipe/lp_screen.c

index 33c6b67c3a3e5e478ec57e60e27bbf9fef3fc901..4fa3436d0ab154c4276f490cd9a1cd28487eb20b 100644 (file)
@@ -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