mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 13:32:49 +00:00
Merge pull request #9431 from liamwhite/sixty-five-oh-two
vulkan_common: declare storageBuffer8BitAccess
This commit is contained in:
commit
9ff891ce71
|
@ -421,7 +421,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
|
||||||
VkPhysicalDevice8BitStorageFeatures bit8_storage{
|
VkPhysicalDevice8BitStorageFeatures bit8_storage{
|
||||||
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES,
|
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES,
|
||||||
.pNext = nullptr,
|
.pNext = nullptr,
|
||||||
.storageBuffer8BitAccess = false,
|
.storageBuffer8BitAccess = true,
|
||||||
.uniformAndStorageBuffer8BitAccess = true,
|
.uniformAndStorageBuffer8BitAccess = true,
|
||||||
.storagePushConstant8 = false,
|
.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.storageBuffer16BitAccess, "storageBuffer16BitAccess"),
|
||||||
std::make_pair(bit16_storage.uniformAndStorageBuffer16BitAccess,
|
std::make_pair(bit16_storage.uniformAndStorageBuffer16BitAccess,
|
||||||
"uniformAndStorageBuffer16BitAccess"),
|
"uniformAndStorageBuffer16BitAccess"),
|
||||||
|
std::make_pair(bit8_storage.storageBuffer8BitAccess, "storageBuffer8BitAccess"),
|
||||||
std::make_pair(bit8_storage.uniformAndStorageBuffer8BitAccess,
|
std::make_pair(bit8_storage.uniformAndStorageBuffer8BitAccess,
|
||||||
"uniformAndStorageBuffer8BitAccess"),
|
"uniformAndStorageBuffer8BitAccess"),
|
||||||
std::make_pair(host_query_reset.hostQueryReset, "hostQueryReset"),
|
std::make_pair(host_query_reset.hostQueryReset, "hostQueryReset"),
|
||||||
|
|
Loading…
Reference in a new issue