diff options
author | Jason Ekstrand <[email protected]> | 2020-03-30 11:59:25 -0500 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-31 00:18:05 +0000 |
commit | a18c4ee7b07cb0c78b7d93005cc76eded4e8001c (patch) | |
tree | dc1280c43af652dcdcc221de990457d865d19f18 /src/compiler/nir | |
parent | f5bbdf7621f882f3e769ea6941f0b6ad46e032d7 (diff) |
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>
Diffstat (limited to 'src/compiler/nir')
-rw-r--r-- | src/compiler/nir/nir_lower_bool_to_bitsize.c | 4 |
1 files changed, 4 insertions, 0 deletions
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: |