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:
fd1906a
)
pan/va: Validate FAU before packing
author
Alyssa Rosenzweig
<alyssa@collabora.com>
Fri, 23 Jul 2021 15:21:35 +0000
(11:21 -0400)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 25 Mar 2022 19:00:13 +0000
(19:00 +0000)
These are pre-conditions required for packing.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15223>
src/panfrost/bifrost/valhall/va_pack.c
patch
|
blob
|
history
diff --git
a/src/panfrost/bifrost/valhall/va_pack.c
b/src/panfrost/bifrost/valhall/va_pack.c
index
95f088c
..
fc7fea6
100644
(file)
--- a/
src/panfrost/bifrost/valhall/va_pack.c
+++ b/
src/panfrost/bifrost/valhall/va_pack.c
@@
-836,6
+836,8
@@
bi_pack_valhall(bi_context *ctx, struct util_dynarray *emission)
{
unsigned orig_size = emission->size;
+ va_validate(stderr, ctx);
+
bi_foreach_block(ctx, block) {
bi_foreach_instr_in_block(block, I) {
unsigned flow = va_pack_flow(block, I);