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:
978d465
)
panfrost: Fix pan_pool_ref construction
author
Antonio Caggiano
<antonio.caggiano@collabora.com>
Fri, 28 May 2021 12:45:03 +0000
(14:45 +0200)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 1 Jun 2021 17:34:59 +0000
(17:34 +0000)
Fix designator order for `pan_pool_ref` fields by matching declaration
order and avoid an error by the C++ compiler.
Signed-off-by: Antonio Caggiano <antonio.caggiano@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11064>
src/panfrost/lib/pan_pool.h
patch
|
blob
|
history
diff --git
a/src/panfrost/lib/pan_pool.h
b/src/panfrost/lib/pan_pool.h
index
c98a2b3
..
e30a092
100644
(file)
--- a/
src/panfrost/lib/pan_pool.h
+++ b/
src/panfrost/lib/pan_pool.h
@@
-81,8
+81,8
@@
pan_take_ref(struct pan_pool *pool, mali_ptr ptr)
panfrost_bo_reference(pool->transient_bo);
return (struct pan_pool_ref) {
- .
gpu = ptr
,
- .
bo = pool->transient_bo
+ .
bo = pool->transient_bo
,
+ .
gpu = ptr
};
}