Mesa (master): llvmpipe: lower cs local index from id

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Aug 19 01:23:16 UTC 2020


Module: Mesa
Branch: master
Commit: 25ba200985dc20270631737d11e4b985c6874f10
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=25ba200985dc20270631737d11e4b985c6874f10

Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Apr  7 11:13:38 2020 +1000

llvmpipe: lower cs local index from id

Fixes:
dEQP-VK.glsl.atomic_operations.*_shared

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

---

 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



More information about the mesa-commit mailing list