summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-03-13 01:42:33 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-03-13 01:42:33 +0100
commit4dcca90ef436b2177efa1108ee2504700bf014b4 (patch)
tree5e8edc95cc7828b3b604449cebf56d6f5d6c58c9 /src/video_core/renderer_vulkan
parentMerge pull request #3497 from FernandoS27/microprogfile-extend (diff)
downloadyuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.gz
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.bz2
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.lz
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.xz
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.zst
yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/maxwell_to_vk.cpp1
-rw-r--r--src/video_core/renderer_vulkan/vk_device.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
index df3ac707c..781fccbcc 100644
--- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
+++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
@@ -125,6 +125,7 @@ struct FormatTuple {
{vk::Format::eR8Uint, Attachable | Storage}, // R8UI
{vk::Format::eR16G16B16A16Sfloat, Attachable | Storage}, // RGBA16F
{vk::Format::eR16G16B16A16Unorm, Attachable | Storage}, // RGBA16U
+ {vk::Format::eR16G16B16A16Snorm, Attachable | Storage}, // RGBA16S
{vk::Format::eR16G16B16A16Uint, Attachable | Storage}, // RGBA16UI
{vk::Format::eB10G11R11UfloatPack32, Attachable | Storage}, // R11FG11FB10F
{vk::Format::eR32G32B32A32Uint, Attachable | Storage}, // RGBA32UI
diff --git a/src/video_core/renderer_vulkan/vk_device.cpp b/src/video_core/renderer_vulkan/vk_device.cpp
index 886bde3b9..0245fc349 100644
--- a/src/video_core/renderer_vulkan/vk_device.cpp
+++ b/src/video_core/renderer_vulkan/vk_device.cpp
@@ -510,6 +510,7 @@ std::unordered_map<vk::Format, vk::FormatProperties> VKDevice::GetFormatProperti
vk::Format::eR32G32Sfloat,
vk::Format::eR32G32Uint,
vk::Format::eR16G16B16A16Uint,
+ vk::Format::eR16G16B16A16Snorm,
vk::Format::eR16G16B16A16Unorm,
vk::Format::eR16G16Unorm,
vk::Format::eR16G16Snorm,