summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-12-08 16:55:11 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-12-08 16:55:11 +0100
commit47a724780fe1e24bbbd157b1cc821e2232e832d3 (patch)
tree4362fffcbba8be1f937f4191ecab19d54eb7e6da /src
parentMerge pull request #7525 from german77/notifa (diff)
downloadyuzu-47a724780fe1e24bbbd157b1cc821e2232e832d3.tar
yuzu-47a724780fe1e24bbbd157b1cc821e2232e832d3.tar.gz
yuzu-47a724780fe1e24bbbd157b1cc821e2232e832d3.tar.bz2
yuzu-47a724780fe1e24bbbd157b1cc821e2232e832d3.tar.lz
yuzu-47a724780fe1e24bbbd157b1cc821e2232e832d3.tar.xz
yuzu-47a724780fe1e24bbbd157b1cc821e2232e832d3.tar.zst
yuzu-47a724780fe1e24bbbd157b1cc821e2232e832d3.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_vulkan/maxwell_to_vk.cpp2
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp1
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 31adada56..e38cfbc6c 100644
--- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
+++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
@@ -162,7 +162,7 @@ struct FormatTuple {
{VK_FORMAT_UNDEFINED}, // R16_SINT
{VK_FORMAT_R16G16_UNORM, Attachable | Storage}, // R16G16_UNORM
{VK_FORMAT_R16G16_SFLOAT, Attachable | Storage}, // R16G16_FLOAT
- {VK_FORMAT_UNDEFINED}, // R16G16_UINT
+ {VK_FORMAT_R16G16_UINT, Attachable | Storage}, // R16G16_UINT
{VK_FORMAT_R16G16_SINT, Attachable | Storage}, // R16G16_SINT
{VK_FORMAT_R16G16_SNORM, Attachable | Storage}, // R16G16_SNORM
{VK_FORMAT_UNDEFINED}, // R32G32B32_FLOAT
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index 70c52aaac..7bf5b6578 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -130,6 +130,7 @@ std::unordered_map<VkFormat, VkFormatProperties> GetFormatProperties(vk::Physica
VK_FORMAT_R16G16_UNORM,
VK_FORMAT_R16G16_SNORM,
VK_FORMAT_R16G16_SFLOAT,
+ VK_FORMAT_R16G16_UINT,
VK_FORMAT_R16G16_SINT,
VK_FORMAT_R16_UNORM,
VK_FORMAT_R16_SNORM,