mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-09 18:10:29 +01:00
anv/device: Flush the fence batch rather than the start of the BO
This commit is contained in:
parent
7f6a0cb29c
commit
abaa3bed22
1 changed files with 1 additions and 1 deletions
|
|
@ -1409,7 +1409,7 @@ VkResult anv_CreateFence(
|
|||
assert(((uintptr_t) batch.start & CACHELINE_MASK) == 0);
|
||||
assert(batch.next - batch.start <= CACHELINE_SIZE);
|
||||
__builtin_ia32_mfence();
|
||||
__builtin_ia32_clflush(fence->bo.map);
|
||||
__builtin_ia32_clflush(batch.start);
|
||||
}
|
||||
|
||||
fence->exec2_objects[0].handle = fence->bo.gem_handle;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue