summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-12-14 00:28:50 +0100
committerLiam <byteslice@airmail.cc>2022-12-14 00:28:50 +0100
commit4fce72c902ffba16894f24d925d6bef136c58694 (patch)
treeba56da6a039f2a9211894386df4d814a55b6c7fd /src/video_core
parentMerge pull request #9425 from german77/german_unlimited (diff)
downloadyuzu-4fce72c902ffba16894f24d925d6bef136c58694.tar
yuzu-4fce72c902ffba16894f24d925d6bef136c58694.tar.gz
yuzu-4fce72c902ffba16894f24d925d6bef136c58694.tar.bz2
yuzu-4fce72c902ffba16894f24d925d6bef136c58694.tar.lz
yuzu-4fce72c902ffba16894f24d925d6bef136c58694.tar.xz
yuzu-4fce72c902ffba16894f24d925d6bef136c58694.tar.zst
yuzu-4fce72c902ffba16894f24d925d6bef136c58694.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp3
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 6a2ad4b1d..27e87de9c 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"),