Browse Source
vk_resource_manager: Implement VKFence
vk_resource_manager: Implement VKFence
Fences take ownership of objects, protecting them from GPU-side or driver-side concurrent access. They must be commited from the resource manager. Their usage flow is: commit the fence from the resource manager, protect resources with it and use them, send the fence to an execution queue and Wait for it if needed and then call Release. Used resources will automatically be signaled when they are free to be reused.nce_cpp
2 changed files with 131 additions and 0 deletions
-
68src/video_core/renderer_vulkan/vk_resource_manager.cpp
-
63src/video_core/renderer_vulkan/vk_resource_manager.h
Write
Preview
Loading…
Cancel
Save
Reference in new issue