summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-09-23 03:14:10 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-09-23 03:49:10 +0200
commit60a39805615fb0480eb57416f5e9ec17e7c91ce4 (patch)
tree8f49ff1df003f24de667163d70132def81b665cb /src/video_core/vulkan_common/vulkan_device.h
parentMerge pull request #7003 from ameerj/unlocked-present-mode (diff)
downloadyuzu-60a39805615fb0480eb57416f5e9ec17e7c91ce4.tar
yuzu-60a39805615fb0480eb57416f5e9ec17e7c91ce4.tar.gz
yuzu-60a39805615fb0480eb57416f5e9ec17e7c91ce4.tar.bz2
yuzu-60a39805615fb0480eb57416f5e9ec17e7c91ce4.tar.lz
yuzu-60a39805615fb0480eb57416f5e9ec17e7c91ce4.tar.xz
yuzu-60a39805615fb0480eb57416f5e9ec17e7c91ce4.tar.zst
yuzu-60a39805615fb0480eb57416f5e9ec17e7c91ce4.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h
index bc180a32a..f14e4001e 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -327,6 +327,10 @@ public:
return sets_per_pool;
}
+ bool SupportsD24DepthBuffer() const {
+ return supports_d24_depth;
+ }
+
private:
/// Checks if the physical device is suitable.
void CheckSuitability(bool requires_swapchain) const;
@@ -419,6 +423,7 @@ private:
bool nv_device_diagnostics_config{}; ///< Support for VK_NV_device_diagnostics_config.
bool has_renderdoc{}; ///< Has RenderDoc attached
bool has_nsight_graphics{}; ///< Has Nsight Graphics attached
+ bool supports_d24_depth{}; ///< Supports D24 depth buffers.
// Telemetry parameters
std::string vendor_name; ///< Device's driver name.