yuzu-emu
/
yuzu
Archived
1
0
Fork 0

vk_device: Let formats array type be deduced

This commit is contained in:
ReinUsesLisp 2019-05-26 03:09:06 -03:00
parent a4c5e3e339
commit f424b46036
1 changed files with 33 additions and 33 deletions

View File

@ -275,7 +275,7 @@ std::vector<vk::DeviceQueueCreateInfo> VKDevice::GetDeviceQueueCreateInfos() con
std::map<vk::Format, vk::FormatProperties> VKDevice::GetFormatProperties(
const vk::DispatchLoaderDynamic& dldi, vk::PhysicalDevice physical) {
static constexpr std::array<vk::Format, 33> formats = {vk::Format::eA8B8G8R8UnormPack32,
static constexpr std::array formats{vk::Format::eA8B8G8R8UnormPack32,
vk::Format::eB5G6R5UnormPack16,
vk::Format::eA2B10G10R10UnormPack32,
vk::Format::eR32G32B32A32Sfloat,