diff options
| author | Duck <350528965+Duck912@users.noreply.github.com> | 2026-11-03 15:44:36 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-03 15:44:36 -0500 |
| commit | 05e3b9d8b08414d3163cde36de61514cb4aa2400 (patch) | |
| tree | 499efe72b68afd9e1741e5c1331adce7b6ee8ecc /src/video_core/vulkan_common/vulkan_device.h | |
| parent | f347ae083af5595083a5706ff857462ed8c11596 (diff) | |
| parent | 1889602c7a0dc17850692594eae2e77e16ac13fc (diff) | |
Merge pull request #434 from Duck912/streamline-dlss
video_core: NVIDIA DLSS through NVIDIA Streamline in place of a game's DLSS
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.h')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index edc091318c..3115f4547c 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -289,6 +289,11 @@ public: return physical; } + /// Returns the instance the device was created from. + VkInstance GetInstance() const { + return instance; + } + VkPipelineCache StaticPipelineCache() const noexcept { return *static_pipeline_cache; } @@ -1326,6 +1331,8 @@ private: // Telemetry parameters std::set<std::string, std::less<>> supported_extensions; ///< Reported Vulkan extensions. std::set<std::string, std::less<>> loaded_extensions; ///< Loaded Vulkan extensions. + bool streamline_extensions{}; ///< NVIDIA DLSS's extensions are loaded. + bool streamline_attached{}; ///< Streamline has this device. std::vector<size_t> valid_heap_memory; ///< Heaps used. size_t main_heap{}; ///< Largest device-local heap, where images live. u64 heap_size_limit{}; ///< EDEN_NX2_VRAM_LIMIT_MIB for device-local heaps, 0 if unset. |
