summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-04-30 18:17:02 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-04-30 19:19:36 +0200
commit7909860d16118f3db5006ccd379c1dae27eb5a1b (patch)
tree5506721386d37c2d3ea4425b155128b4bdc475e5 /src/video_core/renderer_vulkan
parentMerge pull request #3826 from MerryMage/update-dynarmic (diff)
downloadyuzu-7909860d16118f3db5006ccd379c1dae27eb5a1b.tar
yuzu-7909860d16118f3db5006ccd379c1dae27eb5a1b.tar.gz
yuzu-7909860d16118f3db5006ccd379c1dae27eb5a1b.tar.bz2
yuzu-7909860d16118f3db5006ccd379c1dae27eb5a1b.tar.lz
yuzu-7909860d16118f3db5006ccd379c1dae27eb5a1b.tar.xz
yuzu-7909860d16118f3db5006ccd379c1dae27eb5a1b.tar.zst
yuzu-7909860d16118f3db5006ccd379c1dae27eb5a1b.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 8681b821f..cd652dcc9 100644
--- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
+++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
@@ -160,6 +160,7 @@ struct FormatTuple {
{VK_FORMAT_R8G8B8A8_SRGB, Attachable}, // RGBA8_SRGB
{VK_FORMAT_R8G8_UNORM, Attachable | Storage}, // RG8U
{VK_FORMAT_R8G8_SNORM, Attachable | Storage}, // RG8S
+ {VK_FORMAT_R8G8_UINT, Attachable | Storage}, // RG8UI
{VK_FORMAT_R32G32_UINT, Attachable | Storage}, // RG32UI
{VK_FORMAT_UNDEFINED}, // RGBX16F
{VK_FORMAT_R32_UINT, Attachable | Storage}, // R32UI
diff --git a/src/video_core/renderer_vulkan/vk_device.cpp b/src/video_core/renderer_vulkan/vk_device.cpp
index e90c76492..83e25a467 100644
--- a/src/video_core/renderer_vulkan/vk_device.cpp
+++ b/src/video_core/renderer_vulkan/vk_device.cpp
@@ -95,6 +95,7 @@ std::unordered_map<VkFormat, VkFormatProperties> GetFormatProperties(
VK_FORMAT_R8G8B8A8_SRGB,
VK_FORMAT_R8G8_UNORM,
VK_FORMAT_R8G8_SNORM,
+ VK_FORMAT_R8G8_UINT,
VK_FORMAT_R8_UNORM,
VK_FORMAT_R8_UINT,
VK_FORMAT_B10G11R11_UFLOAT_PACK32,