mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-05 08:00:30 +01:00
v3dv: Use alignas(8) over 64 bit atomic value
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24571>
This commit is contained in:
parent
d130c96bda
commit
0ca43db2d0
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ struct v3dv_physical_device {
|
|||
const struct v3d_compiler *compiler;
|
||||
uint32_t next_program_id;
|
||||
|
||||
uint64_t heap_used;
|
||||
alignas(8) uint64_t heap_used;
|
||||
|
||||
/* This array holds all our 'struct v3dv_bo' allocations. We use this
|
||||
* so we can add a refcount to our BOs and check if a particular BO
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue