summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-05-09 10:28:55 +0200
committerGitHub <noreply@github.com>2020-05-09 10:28:55 +0200
commit7e376af8fcd60baaa127b459e83bf716067be233 (patch)
tree074ebb06bf109a9277cc7e6f4b1a0a491adc8fd7 /src/video_core/renderer_vulkan
parentMerge pull request #3842 from makigumo/maxwell_to_vk_vertexattribute_signed_int (diff)
parenttexture: Implement R8G8UI (diff)
downloadyuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.gz
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.bz2
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.lz
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.xz
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.zst
yuzu-7e376af8fcd60baaa127b459e83bf716067be233.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 1885f8010..12be691a5 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 170cdaed0..f0c491d00 100644
--- a/src/video_core/renderer_vulkan/vk_device.cpp
+++ b/src/video_core/renderer_vulkan/vk_device.cpp
@@ -94,6 +94,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,