diff options
| author | 2020-05-09 05:28:55 -0300 | |
|---|---|---|
| committer | 2020-05-09 05:28:55 -0300 | |
| commit | 7e376af8fcd60baaa127b459e83bf716067be233 (patch) | |
| tree | 074ebb06bf109a9277cc7e6f4b1a0a491adc8fd7 /src/video_core/renderer_vulkan | |
| parent | Merge pull request #3842 from makigumo/maxwell_to_vk_vertexattribute_signed_int (diff) | |
| parent | texture: Implement R8G8UI (diff) | |
| download | yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.gz yuzu-7e376af8fcd60baaa127b459e83bf716067be233.tar.xz yuzu-7e376af8fcd60baaa127b459e83bf716067be233.zip | |
Merge pull request #3839 from Morph1984/r8g8ui
texture: Implement R8G8UI
Diffstat (limited to 'src/video_core/renderer_vulkan')
| -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 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 { | |||
| 160 | {VK_FORMAT_R8G8B8A8_SRGB, Attachable}, // RGBA8_SRGB | 160 | {VK_FORMAT_R8G8B8A8_SRGB, Attachable}, // RGBA8_SRGB |
| 161 | {VK_FORMAT_R8G8_UNORM, Attachable | Storage}, // RG8U | 161 | {VK_FORMAT_R8G8_UNORM, Attachable | Storage}, // RG8U |
| 162 | {VK_FORMAT_R8G8_SNORM, Attachable | Storage}, // RG8S | 162 | {VK_FORMAT_R8G8_SNORM, Attachable | Storage}, // RG8S |
| 163 | {VK_FORMAT_R8G8_UINT, Attachable | Storage}, // RG8UI | ||
| 163 | {VK_FORMAT_R32G32_UINT, Attachable | Storage}, // RG32UI | 164 | {VK_FORMAT_R32G32_UINT, Attachable | Storage}, // RG32UI |
| 164 | {VK_FORMAT_UNDEFINED}, // RGBX16F | 165 | {VK_FORMAT_UNDEFINED}, // RGBX16F |
| 165 | {VK_FORMAT_R32_UINT, Attachable | Storage}, // R32UI | 166 | {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( | |||
| 94 | VK_FORMAT_R8G8B8A8_SRGB, | 94 | VK_FORMAT_R8G8B8A8_SRGB, |
| 95 | VK_FORMAT_R8G8_UNORM, | 95 | VK_FORMAT_R8G8_UNORM, |
| 96 | VK_FORMAT_R8G8_SNORM, | 96 | VK_FORMAT_R8G8_SNORM, |
| 97 | VK_FORMAT_R8G8_UINT, | ||
| 97 | VK_FORMAT_R8_UNORM, | 98 | VK_FORMAT_R8_UNORM, |
| 98 | VK_FORMAT_R8_UINT, | 99 | VK_FORMAT_R8_UINT, |
| 99 | VK_FORMAT_B10G11R11_UFLOAT_PACK32, | 100 | VK_FORMAT_B10G11R11_UFLOAT_PACK32, |