diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-07-07 05:18:30 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:40 +0200 |
commit | be54aad1c40bb50c71e7bcd6465c2fd372c11cb7 (patch) | |
tree | 3eeb45cfa1b73b949881fc31c00904142bf51c6c /src/video_core | |
parent | configure_graphics: Mark SPIR-V as Experimental, Mesa only (diff) | |
download | yuzu-be54aad1c40bb50c71e7bcd6465c2fd372c11cb7.tar yuzu-be54aad1c40bb50c71e7bcd6465c2fd372c11cb7.tar.gz yuzu-be54aad1c40bb50c71e7bcd6465c2fd372c11cb7.tar.bz2 yuzu-be54aad1c40bb50c71e7bcd6465c2fd372c11cb7.tar.lz yuzu-be54aad1c40bb50c71e7bcd6465c2fd372c11cb7.tar.xz yuzu-be54aad1c40bb50c71e7bcd6465c2fd372c11cb7.tar.zst yuzu-be54aad1c40bb50c71e7bcd6465c2fd372c11cb7.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_vulkan/maxwell_to_vk.cpp | 2 | ||||
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp index 8f9b9a11a..68a23b602 100644 --- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp +++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp @@ -157,7 +157,7 @@ struct FormatTuple { {VK_FORMAT_R32_SFLOAT, Attachable | Storage}, // R32_FLOAT {VK_FORMAT_R16_SFLOAT, Attachable | Storage}, // R16_FLOAT {VK_FORMAT_R16_UNORM, Attachable | Storage}, // R16_UNORM - {VK_FORMAT_UNDEFINED}, // R16_SNORM + {VK_FORMAT_R16_SNORM, Attachable | Storage}, // R16_SNORM {VK_FORMAT_R16_UINT, Attachable | Storage}, // R16_UINT {VK_FORMAT_UNDEFINED}, // R16_SINT {VK_FORMAT_R16G16_UNORM, Attachable | Storage}, // R16G16_UNORM diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index ceaee8a7e..13d938434 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -116,6 +116,7 @@ std::unordered_map<VkFormat, VkFormatProperties> GetFormatProperties(vk::Physica VK_FORMAT_R16G16_SFLOAT, VK_FORMAT_R16G16_SINT, VK_FORMAT_R16_UNORM, + VK_FORMAT_R16_SNORM, VK_FORMAT_R16_UINT, VK_FORMAT_R8G8B8A8_SRGB, VK_FORMAT_R8G8_UNORM, |