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

Author: Jason Ekstrand <[email protected]>
Date:   Mon Mar 30 11:59:25 2020 -0500

nir: Handle vec8/16 in bool_to_bitsize

Reviewed-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4365>

---

 src/compiler/nir/nir_lower_bool_to_bitsize.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/compiler/nir/nir_lower_bool_to_bitsize.c 
b/src/compiler/nir/nir_lower_bool_to_bitsize.c
index f45013ba1b1..ef9aa81f170 100644
--- a/src/compiler/nir/nir_lower_bool_to_bitsize.c
+++ b/src/compiler/nir/nir_lower_bool_to_bitsize.c
@@ -103,6 +103,8 @@ lower_alu_instr(nir_builder *b, nir_alu_instr *alu)
    case nir_op_vec2:
    case nir_op_vec3:
    case nir_op_vec4:
+   case nir_op_vec8:
+   case nir_op_vec16:
    case nir_op_inot:
    case nir_op_iand:
    case nir_op_ior:
@@ -150,6 +152,8 @@ lower_alu_instr(nir_builder *b, nir_alu_instr *alu)
    case nir_op_vec2:
    case nir_op_vec3:
    case nir_op_vec4:
+   case nir_op_vec8:
+   case nir_op_vec16:
    case nir_op_inot:
    case nir_op_iand:
    case nir_op_ior:

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

Reply via email to