diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-12-16 00:52:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-16 00:52:16 +0100 |
commit | 9ff891ce71bfe89f46a1b6f018e421db5dec5762 (patch) | |
tree | aaadb1bdf071aacb03544283a6166fb56248c499 /src/video_core/vulkan_common/vulkan_device.cpp | |
parent | Merge pull request #9430 from liamwhite/capable (diff) | |
parent | vulkan_common: declare storageBuffer8BitAccess (diff) | |
download | yuzu-9ff891ce71bfe89f46a1b6f018e421db5dec5762.tar yuzu-9ff891ce71bfe89f46a1b6f018e421db5dec5762.tar.gz yuzu-9ff891ce71bfe89f46a1b6f018e421db5dec5762.tar.bz2 yuzu-9ff891ce71bfe89f46a1b6f018e421db5dec5762.tar.lz yuzu-9ff891ce71bfe89f46a1b6f018e421db5dec5762.tar.xz yuzu-9ff891ce71bfe89f46a1b6f018e421db5dec5762.tar.zst yuzu-9ff891ce71bfe89f46a1b6f018e421db5dec5762.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.cpp')
-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 67540cb80..f45030311 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -421,7 +421,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR VkPhysicalDevice8BitStorageFeatures bit8_storage{ .sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES, .pNext = nullptr, - .storageBuffer8BitAccess = false, + .storageBuffer8BitAccess = true, .uniformAndStorageBuffer8BitAccess = true, .storagePushConstant8 = false, }; @@ -1044,6 +1044,7 @@ void Device::CheckSuitability(bool requires_swapchain) const { std::make_pair(bit16_storage.storageBuffer16BitAccess, "storageBuffer16BitAccess"), std::make_pair(bit16_storage.uniformAndStorageBuffer16BitAccess, "uniformAndStorageBuffer16BitAccess"), + std::make_pair(bit8_storage.storageBuffer8BitAccess, "storageBuffer8BitAccess"), std::make_pair(bit8_storage.uniformAndStorageBuffer8BitAccess, "uniformAndStorageBuffer8BitAccess"), std::make_pair(host_query_reset.hostQueryReset, "hostQueryReset"), |