mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 14:08:05 +02:00
nvk: NOUVEAU_WS_BO_LOCAL is a trap.
This flag isn't a flag, don't be & at it. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24625>
This commit is contained in:
parent
9f767db126
commit
e0da62c0e9
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ nvk_allocate_memory(struct nvk_device *dev,
|
|||
nvk_memory_type_flags(type, handle_types);
|
||||
|
||||
uint32_t alignment = (1ULL << 12);
|
||||
if (flags & NOUVEAU_WS_BO_LOCAL)
|
||||
if (!(flags & NOUVEAU_WS_BO_GART))
|
||||
alignment = (1ULL << 16);
|
||||
|
||||
const uint64_t aligned_size =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue