diff options
author | Liam <byteslice@airmail.cc> | 2022-12-02 23:22:30 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-12-04 16:55:13 +0100 |
commit | a9633ba8b2c3072e08e7271454e703a5e84a88d4 (patch) | |
tree | 67f876e2c441cb5ced5b5b34781ebac5fe7f254c /src/video_core | |
parent | vulkan_common: promote host query reset usage to core (diff) | |
download | yuzu-a9633ba8b2c3072e08e7271454e703a5e84a88d4.tar yuzu-a9633ba8b2c3072e08e7271454e703a5e84a88d4.tar.gz yuzu-a9633ba8b2c3072e08e7271454e703a5e84a88d4.tar.bz2 yuzu-a9633ba8b2c3072e08e7271454e703a5e84a88d4.tar.lz yuzu-a9633ba8b2c3072e08e7271454e703a5e84a88d4.tar.xz yuzu-a9633ba8b2c3072e08e7271454e703a5e84a88d4.tar.zst yuzu-a9633ba8b2c3072e08e7271454e703a5e84a88d4.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index c2bea3e9e..4ed6ecc61 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -980,7 +980,7 @@ void Device::CheckSuitability(bool requires_swapchain) const { physical.GetFeatures2KHR(features2); const VkPhysicalDeviceFeatures& features{features2.features}; - std::vector feature_report{ + std::array feature_report{ std::make_pair(features.robustBufferAccess, "robustBufferAccess"), std::make_pair(features.vertexPipelineStoresAndAtomics, "vertexPipelineStoresAndAtomics"), std::make_pair(features.imageCubeArray, "imageCubeArray"), @@ -996,6 +996,7 @@ void Device::CheckSuitability(bool requires_swapchain) const { std::make_pair(features.tessellationShader, "tessellationShader"), std::make_pair(features.sampleRateShading, "sampleRateShading"), std::make_pair(features.dualSrcBlend, "dualSrcBlend"), + std::make_pair(features.logicOp, "logicOp"), std::make_pair(features.occlusionQueryPrecise, "occlusionQueryPrecise"), std::make_pair(features.fragmentStoresAndAtomics, "fragmentStoresAndAtomics"), std::make_pair(features.shaderImageGatherExtended, "shaderImageGatherExtended"), |