diff options
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. |
