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:
7090b34
)
agx: Remove bogus assert
author
Alyssa Rosenzweig
<alyssa@rosenzweig.io>
Sun, 9 Apr 2023 03:05:49 +0000
(23:05 -0400)
committer
Alyssa Rosenzweig
<alyssa@rosenzweig.io>
Sun, 7 May 2023 13:00:59 +0000
(09:00 -0400)
I->mask isn't even valid for iter instructions.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22891>
src/asahi/compiler/agx_pack.c
patch
|
blob
|
history
diff --git
a/src/asahi/compiler/agx_pack.c
b/src/asahi/compiler/agx_pack.c
index
883a344
..
f7da2b0
100644
(file)
--- a/
src/asahi/compiler/agx_pack.c
+++ b/
src/asahi/compiler/agx_pack.c
@@
-525,7
+525,6
@@
agx_pack_instr(struct util_dynarray *emission, struct util_dynarray *fixups,
bool flat = (I->op == AGX_OPCODE_LDCF);
unsigned D = agx_pack_alu_dst(I->dest[0]);
unsigned channels = (I->channels & 0x3);
- assert(I->mask < 0xF); /* 0 indicates full mask */
agx_index src_I = I->src[0];
assert(src_I.type == AGX_INDEX_IMMEDIATE);