mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-12 01:48:14 +01:00
Add DLSS Frame Generation (gfx.framegeneration x2/x3/x4) and Reflex (gfx.reflex) to the Vulkan renderer
This commit is contained in:
@@ -83,6 +83,11 @@ class device
|
||||
{
|
||||
return m_raytracing;
|
||||
}
|
||||
// VK_NV_low_latency2 with VK_KHR_present_id is on (reflex, gfx.reflex)
|
||||
bool low_latency_enabled() const
|
||||
{
|
||||
return m_low_latency;
|
||||
}
|
||||
|
||||
private:
|
||||
static queue_families find_queue_families(VkInstance Instance, VkPhysicalDevice Physical, VkSurfaceKHR Surface, std::uint32_t &TimestampBits);
|
||||
@@ -96,6 +101,7 @@ class device
|
||||
bool m_portability_subset{false};
|
||||
bool m_memory_budget{false};
|
||||
bool m_raytracing{false};
|
||||
bool m_low_latency{false};
|
||||
|
||||
VkQueue m_graphics_queue{VK_NULL_HANDLE};
|
||||
VkQueue m_compute_queue{VK_NULL_HANDLE};
|
||||
|
||||
Reference in New Issue
Block a user