Commit Graph

22 Commits (73446618011de02abefc2adab7b8a16daa5db940)

Author SHA1 Message Date
Stenzek 7344661801
GPUDevice: Split submission and presentation 2 years ago
Stenzek 88270771da
System: Combine VRR and Optimal Frame Pacing
GSync/FreeSync display users should:
 - DISABLE VSync.
 - ENABLE Optimal Frame Pacing.
2 years ago
Stenzek 41cc60e87e
VulkanDevice: Use vkCmdClearAttachments() to avoid render pass restart 2 years ago
Stenzek 72ab669e70
GPUDevice: Add support for feedback loops 2 years ago
Stenzek de1338cbbc
VulkanDevice: Add additional semaphore on swap chain
We don't actually need +1 semaphores, or, more than one really.
But, the validation layer gets cranky if we don't fence wait before the next image acquire.
So, add an additional semaphore to ensure that we're never acquiring before fence waiting.
2 years ago
Stenzek a1d7d214cf
GPUDevice: Add support for VRR and relaxed vsync 2 years ago
Stenzek b060edc61b
VulkanDevice: Actually use all the swap chain semaphores 2 years ago
Stenzek f936a36c85
GPUDevice: Add GPUDownloadTexture
Which can also be based in host/client memory.
Use it for screenshots and VRAM downloads.
2 years ago
Wunkolo 4309d8ebf3
VulkanDevice: Add `TryImportHostMemory`
Utilizing `VK_EXT_external_memory_host`, attempt to import the host-pointer into a `VkBuffer`, `VkDeviceMemory`, and an offset to the start of the data. When the page size matches the import alignment, then it is possible to import an entire range of memory from the host directly into a vulkan-side buffer to read and write into.
2 years ago
Wunkolo 0ce1149e41
VulkanDevice: Optional `VK_EXT_external_memory_host` enablement
Allows usage of this extension only when the import-pointer-alignment
matches that of the hosts' page size.
2 years ago
Stenzek bcf7f55b93
VulkanDevice: Fix potential race between submit and main thread 2 years ago
Stenzek f66866ed73
GPUDevice: Use Error class for initialization errors 2 years ago
Stenzek 62d2f12236
Settings: Expose exclusive fullscreen control 2 years ago
Stenzek 46e0afd2d4
VulkanDevice: Actually allow enumeration of 1.0 device 2 years ago
Stenzek c233eb53ab
VulkanDevice: Potentially re-enable Vulkan 1.0 support 2 years ago
Stenzek c20805f2be
VulkanDevice: Work around some mobile driver issues 2 years ago
Stenzek a907e1f550
GPUDevice: Pool textures 2 years ago
Stenzek 3b2c70cda5
GPUDevice: Get rid of framebuffer abstraction 2 years ago
Stenzek e382f2b64a
Settings: Add option to disable DSB/fbfetch 2 years ago
Stenzek b678fcd874 GPUDevice: Move debug messages over to fmt 2 years ago
Stenzek 605aa3c53a Misc: Swap gsl::span for std::span 2 years ago
Stenzek e3d9ba4c99 Rewrite host GPU abstraction
- Don't have to repeat the same thing for 4 renderers.
 - Add native Metal renderer.
2 years ago