diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-23 08:32:41 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:39 +0200 |
commit | 4f052a1f393d45843eabc237e21757be15f20062 (patch) | |
tree | 7624b3e6f6f77f2301a575918a680b887d905ff4 /src/video_core/vulkan_common/vulkan_device.h | |
parent | shader: Only verify shader when graphics debugging is enabled (diff) | |
download | yuzu-4f052a1f393d45843eabc237e21757be15f20062.tar yuzu-4f052a1f393d45843eabc237e21757be15f20062.tar.gz yuzu-4f052a1f393d45843eabc237e21757be15f20062.tar.bz2 yuzu-4f052a1f393d45843eabc237e21757be15f20062.tar.lz yuzu-4f052a1f393d45843eabc237e21757be15f20062.tar.xz yuzu-4f052a1f393d45843eabc237e21757be15f20062.tar.zst yuzu-4f052a1f393d45843eabc237e21757be15f20062.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.h')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 6 |
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 40d00a52f..a9c0a0e4d 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -264,6 +264,11 @@ public: return ext_shader_stencil_export; } + /// Returns true if the device supports VK_EXT_conservative_rasterization. + bool IsExtConservativeRasterizationSupported() const { + return ext_conservative_rasterization; + } + /// Returns true if the device supports VK_EXT_provoking_vertex. bool IsExtProvokingVertexSupported() const { return ext_provoking_vertex; @@ -374,6 +379,7 @@ private: bool ext_vertex_input_dynamic_state{}; ///< Support for VK_EXT_vertex_input_dynamic_state. bool ext_shader_stencil_export{}; ///< Support for VK_EXT_shader_stencil_export. bool ext_shader_atomic_int64{}; ///< Support for VK_KHR_shader_atomic_int64. + 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_renderdoc{}; ///< Has RenderDoc attached |