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

Author: Dave Airlie <[email protected]>
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 <[email protected]>
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

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to