add compute wait function
This commit is contained in:
parent
2e4cfb3c26
commit
f596f78479
@ -2207,6 +2207,12 @@ Dispatch()
|
|||||||
Dispatch(g_vk.comp_cmd);
|
Dispatch(g_vk.comp_cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
WaitForCompute()
|
||||||
|
{
|
||||||
|
vkWaitForFences(g_vk.device, 1, &g_vk.comp_fence, VK_TRUE, u64.max);
|
||||||
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
VkCheck(string message, VkResult result)
|
VkCheck(string message, VkResult result)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user