mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 22:41:25 +12:00
vk: whitespace fix only
This commit is contained in:
parent
85d38b5751
commit
e23435a190
1 changed files with 15 additions and 15 deletions
|
@ -585,21 +585,21 @@ namespace vk
|
||||||
{
|
{
|
||||||
CHECK_RESULT(vkResetFences(*g_current_renderer, 1, pFence));
|
CHECK_RESULT(vkResetFences(*g_current_renderer, 1, pFence));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void wait_for_fence(VkFence fence)
|
void wait_for_fence(VkFence fence)
|
||||||
{
|
{
|
||||||
while (auto status = vkGetFenceStatus(*g_current_renderer, fence))
|
while (auto status = vkGetFenceStatus(*g_current_renderer, fence))
|
||||||
{
|
{
|
||||||
switch (status)
|
switch (status)
|
||||||
{
|
{
|
||||||
case VK_NOT_READY:
|
case VK_NOT_READY:
|
||||||
continue;
|
continue;
|
||||||
default:
|
default:
|
||||||
die_with_error(HERE, status);
|
die_with_error(HERE, status);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void die_with_error(const char* faulting_addr, VkResult error_code)
|
void die_with_error(const char* faulting_addr, VkResult error_code)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue