summaryrefslogtreecommitdiff
path: root/src/panfrost/midgard
diff options
context:
space:
mode:
authorIcecream95 <ixn@disroot.org>2020-12-29 01:05:52 +1300
committerMarge Bot <eric+marge@anholt.net>2021-01-18 20:49:45 +0000
commit2ec0897b112de95b56cdd7d213985af0ee0e3c66 (patch)
treec122356e3215dae361ca4dfb41abab705540f6a1 /src/panfrost/midgard
parentb5d6e5049fbe2247f6e92bf42dec9a024b9bd5ab (diff)
pan/mdg: Allow 64-bit src_bitsize for comparison operations
Fixes Piglit test attributes.cl. Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8358>
Diffstat (limited to 'src/panfrost/midgard')
-rw-r--r--src/panfrost/midgard/midgard_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c
index ec219df7415..19b5ccdec2f 100644
--- a/src/panfrost/midgard/midgard_compile.c
+++ b/src/panfrost/midgard/midgard_compile.c
@@ -463,7 +463,7 @@ nir_is_non_scalar_swizzle(nir_alu_src *src, unsigned nr_components)
break;
#define ALU_CHECK_CMP() \
- assert(src_bitsize == 16 || src_bitsize == 32); \
+ assert(src_bitsize == 16 || src_bitsize == 32 || src_bitsize == 64); \
assert(dst_bitsize == 16 || dst_bitsize == 32); \
#define ALU_CASE_BCAST(nir, _op, count) \