summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-04-07 11:13:38 +1000
committerDave Airlie <airlied@redhat.com>2020-08-19 10:16:43 +1000
commit25ba200985dc20270631737d11e4b985c6874f10 (patch)
tree31be44623d03274f578c17232de99adb6b088423 /src/gallium/drivers/llvmpipe
parent3cc5b75577d3e9817887c35496ceff36ee47146a (diff)
llvmpipe: lower cs local index from id
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>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c1
1 files changed, 1 insertions, 0 deletions
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