diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-12-08 10:55:11 -0500 | 
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-12-08 10:55:11 -0500 | 
| commit | 47a724780fe1e24bbbd157b1cc821e2232e832d3 (patch) | |
| tree | 4362fffcbba8be1f937f4191ecab19d54eb7e6da | |
| parent | 5f7e73c74a4a15b7de907900e658b73ce37e743d (diff) | |
renderer_vulkan: Add R16G16_UINT
- Used by Immortals Fenyx Rising
| -rw-r--r-- | src/video_core/renderer_vulkan/maxwell_to_vk.cpp | 2 | ||||
| -rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 1 | 
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, | 
