aboutsummaryrefslogtreecommitdiff
path: root/include/util/shm.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-12-02 19:15:16 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-12-06 14:54:09 +0000
commit8456ac6fa9dadadca0b69ee0a0b02e60fbd45427 (patch)
tree26cb058ffbf6c92136fc721bec0bcd5feed0ee5e /include/util/shm.h
parent30219cf76b0c497783a3d04e1613504468e49dc7 (diff)
render/vulkan: wait for DMA-BUF fences
The Vulkan spec doesn't guarantee that the driver will wait for implicitly synchronized client buffers before texturing from them. radv happens to perform the wait, but anv doesn't. Fix this by extracting implicit fences from DMA-BUFs, importing them into Vulkan as a VkSemaphore objects, and make the render pass wait on these VkSemaphores.
Diffstat (limited to 'include/util/shm.h')
0 files changed, 0 insertions, 0 deletions