diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-04-30 18:17:02 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-04-30 19:19:36 +0200 |
commit | 7909860d16118f3db5006ccd379c1dae27eb5a1b (patch) | |
tree | 5506721386d37c2d3ea4425b155128b4bdc475e5 /src/video_core/renderer_vulkan | |
parent | Merge pull request #3826 from MerryMage/update-dynarmic (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/video_core/renderer_vulkan/maxwell_to_vk.cpp | 1 | ||||
-rw-r--r-- | src/video_core/renderer_vulkan/vk_device.cpp | 1 |
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, |