projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5d6e50
)
pan/mdg: Allow 64-bit src_bitsize for comparison operations
author
Icecream95
<ixn@disroot.org>
Mon, 28 Dec 2020 12:05:52 +0000
(
01:05
+1300)
committer
Marge Bot
<eric+marge@anholt.net>
Mon, 18 Jan 2021 20:49:45 +0000
(20:49 +0000)
Fixes Piglit test attributes.cl.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8358>
src/panfrost/midgard/midgard_compile.c
patch
|
blob
|
history
diff --git
a/src/panfrost/midgard/midgard_compile.c
b/src/panfrost/midgard/midgard_compile.c
index
ec219df
..
19b5ccd
100644
(file)
--- 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) \