summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-03-16 01:24:53 +0100
committerGitHub <noreply@github.com>2020-03-16 01:24:53 +0100
commit7cc46a6faae50080e96a5ba5e8e0101e12573de8 (patch)
tree1811a5ff13e92377db955f1483d897a4e37d15ad /src/video_core/renderer_vulkan
parentMerge pull request #3502 from namkazt/patch-3 (diff)
parentvideo_core: Implement RGBA16_SNORM (diff)
downloadyuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar
yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.gz
yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.bz2
yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.lz
yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.xz
yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.zst
yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.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 0bab5d1c0..59e963263 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 3847bd722..28d2fbc4f 100644
--- a/src/video_core/renderer_vulkan/vk_device.cpp
+++ b/src/video_core/renderer_vulkan/vk_device.cpp
@@ -535,6 +535,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,