Mesa (master): gallivm: lower vector compares

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Nov 15 21:13:06 UTC 2020


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Fri Oct 30 05:57:39 2020 +1000

gallivm: lower vector compares

This lowers the any/all stuff.

Fixes unknown opcode in
./relationals/test_relationals

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

---

 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 6a2a421bdd8..1b7152fb6b8 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -580,6 +580,7 @@ static const struct nir_shader_compiler_options gallivm_nir_options = {
    .lower_to_scalar = true,
    .lower_cs_local_index_from_id = true,
    .lower_uniforms_to_ubo = true,
+   .lower_vector_cmp = true,
 };
 
 static void



More information about the mesa-commit mailing list