mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 12:50:10 +01:00
radv: fix incorrect ResetFences path for WSI fence
Looks like this path is meant for RADV_FENCE_WINSYS type fences. Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6846>
This commit is contained in:
parent
90b98c0649
commit
1aa1b9f86c
1 changed files with 1 additions and 1 deletions
|
|
@ -5913,7 +5913,7 @@ VkResult radv_ResetFences(VkDevice _device,
|
|||
struct radv_fence_part *part = &fence->permanent;
|
||||
|
||||
switch (part->kind) {
|
||||
case RADV_FENCE_WSI:
|
||||
case RADV_FENCE_WINSYS:
|
||||
device->ws->reset_fence(part->fence);
|
||||
break;
|
||||
case RADV_FENCE_SYNCOBJ:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue