Adding cached depth renderpass
This commit is contained in:
@@ -75,7 +75,7 @@ void Fence::reset()
|
||||
}
|
||||
}
|
||||
|
||||
void Fence::wait(uint32 timeout)
|
||||
void Fence::wait(uint64 timeout)
|
||||
{
|
||||
VkFence fences[] = {fence};
|
||||
VkResult r = vkWaitForFences(graphics->getDevice(), 1, fences, true, timeout);
|
||||
|
||||
@@ -38,7 +38,7 @@ public:
|
||||
{
|
||||
return fence;
|
||||
}
|
||||
void wait(uint32 timeout);
|
||||
void wait(uint64 timeout);
|
||||
bool operator<(const Fence &other) const
|
||||
{
|
||||
return fence < other.fence;
|
||||
|
||||
Reference in New Issue
Block a user