diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-25 10:21:51 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:39 +0200 |
commit | 57a8921e01a90ff5993079dd638a6c48e5781756 (patch) | |
tree | 90c7c3b044c85f08dd5c2341c87414062be7db17 /src/video_core/vulkan_common/vulkan_device.cpp | |
parent | spirv: Fix code emission when descriptor aliasing is unsupported (diff) | |
download | yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.gz yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.bz2 yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.lz yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.xz yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.tar.zst yuzu-57a8921e01a90ff5993079dd638a6c48e5781756.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.cpp')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index da4721e6b..912e03c5c 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -227,7 +227,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR .depthBiasClamp = true, .fillModeNonSolid = true, .depthBounds = is_depth_bounds_supported, - .wideLines = false, + .wideLines = true, .largePoints = true, .alphaToOne = false, .multiViewport = true, @@ -703,7 +703,6 @@ void Device::CheckSuitability(bool requires_swapchain) const { const std::array feature_report{ std::make_pair(features.robustBufferAccess, "robustBufferAccess"), std::make_pair(features.vertexPipelineStoresAndAtomics, "vertexPipelineStoresAndAtomics"), - std::make_pair(features.robustBufferAccess, "robustBufferAccess"), std::make_pair(features.imageCubeArray, "imageCubeArray"), std::make_pair(features.independentBlend, "independentBlend"), std::make_pair(features.depthClamp, "depthClamp"), @@ -712,6 +711,7 @@ void Device::CheckSuitability(bool requires_swapchain) const { std::make_pair(features.multiViewport, "multiViewport"), std::make_pair(features.depthBiasClamp, "depthBiasClamp"), std::make_pair(features.fillModeNonSolid, "fillModeNonSolid"), + std::make_pair(features.wideLines, "wideLines"), std::make_pair(features.geometryShader, "geometryShader"), std::make_pair(features.tessellationShader, "tessellationShader"), std::make_pair(features.sampleRateShading, "sampleRateShading"), |