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>
This commit is contained in:
Icecream95 2020-12-29 01:05:52 +13:00 committed by Marge Bot
parent b5d6e5049f
commit 2ec0897b11
1 changed files with 1 additions and 1 deletions

View File

@ -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) \