summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-09-24 00:11:18 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-09-24 01:40:53 +0200
commit1e1ecca691a49250319a9b8634fe7fca9590a35c (patch)
tree03f8cd16ee69893aa332f40bc379a975fd878bb4 /src/video_core/vulkan_common/vulkan_device.h
parentMerge pull request #7003 from ameerj/unlocked-present-mode (diff)
downloadyuzu-1e1ecca691a49250319a9b8634fe7fca9590a35c.tar
yuzu-1e1ecca691a49250319a9b8634fe7fca9590a35c.tar.gz
yuzu-1e1ecca691a49250319a9b8634fe7fca9590a35c.tar.bz2
yuzu-1e1ecca691a49250319a9b8634fe7fca9590a35c.tar.lz
yuzu-1e1ecca691a49250319a9b8634fe7fca9590a35c.tar.xz
yuzu-1e1ecca691a49250319a9b8634fe7fca9590a35c.tar.zst
yuzu-1e1ecca691a49250319a9b8634fe7fca9590a35c.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h6
1 files changed, 6 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..d9e74f1aa 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -309,6 +309,11 @@ public:
return has_renderdoc || has_nsight_graphics;
}
+ /// Returns true when the device does not properly support cube compatibility.
+ bool HasBrokenCubeImageCompability() const {
+ return has_broken_cube_compatibility;
+ }
+
/// Returns the vendor name reported from Vulkan.
std::string_view GetVendorName() const {
return vendor_name;
@@ -417,6 +422,7 @@ private:
bool ext_conservative_rasterization{}; ///< Support for VK_EXT_conservative_rasterization.
bool ext_provoking_vertex{}; ///< Support for VK_EXT_provoking_vertex.
bool nv_device_diagnostics_config{}; ///< Support for VK_NV_device_diagnostics_config.
+ bool has_broken_cube_compatibility{}; ///< Has broken cube compatiblity bit
bool has_renderdoc{}; ///< Has RenderDoc attached
bool has_nsight_graphics{}; ///< Has Nsight Graphics attached