summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-12-24 04:30:10 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-12-24 04:35:19 +0100
commitf9e0681d59adaed2f077eb94642f6dbc3acf246e (patch)
tree1a36ad994e4e103ca7095df81cbc62c2c2ecf343 /src/video_core/vulkan_common/vulkan_device.h
parentMerge pull request #7614 from liushuyu/fix-linux-inhibit (diff)
downloadyuzu-f9e0681d59adaed2f077eb94642f6dbc3acf246e.tar
yuzu-f9e0681d59adaed2f077eb94642f6dbc3acf246e.tar.gz
yuzu-f9e0681d59adaed2f077eb94642f6dbc3acf246e.tar.bz2
yuzu-f9e0681d59adaed2f077eb94642f6dbc3acf246e.tar.lz
yuzu-f9e0681d59adaed2f077eb94642f6dbc3acf246e.tar.xz
yuzu-f9e0681d59adaed2f077eb94642f6dbc3acf246e.tar.zst
yuzu-f9e0681d59adaed2f077eb94642f6dbc3acf246e.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 4c9d86aad..37d140ebd 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -350,6 +350,10 @@ public:
return supports_d24_depth;
}
+ bool CantBlitMSAA() const {
+ return cant_blit_msaa;
+ }
+
private:
/// Checks if the physical device is suitable.
void CheckSuitability(bool requires_swapchain) const;
@@ -443,6 +447,7 @@ private:
bool has_renderdoc{}; ///< Has RenderDoc attached
bool has_nsight_graphics{}; ///< Has Nsight Graphics attached
bool supports_d24_depth{}; ///< Supports D24 depth buffers.
+ bool cant_blit_msaa{}; ///< Does not support MSAA<->MSAA blitting.
// Telemetry parameters
std::string vendor_name; ///< Device's driver name.