diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-08-28 01:37:40 +0200 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2023-09-16 11:59:20 -0400 |
| commit | b99f94a7ffab0698f209bf1b39d337940bc40e50 (patch) | |
| tree | e5d3c3348ea579760276b6d7bb7fd10a98fe0910 /src/video_core/vulkan_common/vulkan_device.h | |
| parent | 6a1ecab2dde1db7d3183d9c98eda393341cca50b (diff) | |
Vulkan: add temporary workaround for AMDVLK
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.h')
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index 2063f58b5..eb314fe33 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -456,8 +456,7 @@ public: /// Returns true if the device supports VK_EXT_depth_bias_control. bool IsExtDepthBiasControlSupported() const { - return extensions.depth_bias_control && features.depth_bias_control.depthBiasControl && - features.depth_bias_control.leastRepresentableValueForceUnormRepresentation; + return extensions.depth_bias_control; } /// Returns true if the device supports VK_EXT_shader_viewport_index_layer. |
