diff options
| author | 2020-03-12 21:42:33 -0300 | |
|---|---|---|
| committer | 2020-03-12 21:42:33 -0300 | |
| commit | 4dcca90ef436b2177efa1108ee2504700bf014b4 (patch) | |
| tree | 5e8edc95cc7828b3b604449cebf56d6f5d6c58c9 /src/video_core/renderer_vulkan | |
| parent | Merge pull request #3497 from FernandoS27/microprogfile-extend (diff) | |
| download | yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.gz yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.tar.xz yuzu-4dcca90ef436b2177efa1108ee2504700bf014b4.zip | |
video_core: Implement RGBA16_SNORM
Implement RGBA16_SNORM with the current API. Nothing special here.
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 df3ac707c..781fccbcc 100644 --- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp +++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp | |||
| @@ -125,6 +125,7 @@ struct FormatTuple { | |||
| 125 | {vk::Format::eR8Uint, Attachable | Storage}, // R8UI | 125 | {vk::Format::eR8Uint, Attachable | Storage}, // R8UI |
| 126 | {vk::Format::eR16G16B16A16Sfloat, Attachable | Storage}, // RGBA16F | 126 | {vk::Format::eR16G16B16A16Sfloat, Attachable | Storage}, // RGBA16F |
| 127 | {vk::Format::eR16G16B16A16Unorm, Attachable | Storage}, // RGBA16U | 127 | {vk::Format::eR16G16B16A16Unorm, Attachable | Storage}, // RGBA16U |
| 128 | {vk::Format::eR16G16B16A16Snorm, Attachable | Storage}, // RGBA16S | ||
| 128 | {vk::Format::eR16G16B16A16Uint, Attachable | Storage}, // RGBA16UI | 129 | {vk::Format::eR16G16B16A16Uint, Attachable | Storage}, // RGBA16UI |
| 129 | {vk::Format::eB10G11R11UfloatPack32, Attachable | Storage}, // R11FG11FB10F | 130 | {vk::Format::eB10G11R11UfloatPack32, Attachable | Storage}, // R11FG11FB10F |
| 130 | {vk::Format::eR32G32B32A32Uint, Attachable | Storage}, // RGBA32UI | 131 | {vk::Format::eR32G32B32A32Uint, Attachable | Storage}, // RGBA32UI |
diff --git a/src/video_core/renderer_vulkan/vk_device.cpp b/src/video_core/renderer_vulkan/vk_device.cpp index 886bde3b9..0245fc349 100644 --- a/src/video_core/renderer_vulkan/vk_device.cpp +++ b/src/video_core/renderer_vulkan/vk_device.cpp | |||
| @@ -510,6 +510,7 @@ std::unordered_map<vk::Format, vk::FormatProperties> VKDevice::GetFormatProperti | |||
| 510 | vk::Format::eR32G32Sfloat, | 510 | vk::Format::eR32G32Sfloat, |
| 511 | vk::Format::eR32G32Uint, | 511 | vk::Format::eR32G32Uint, |
| 512 | vk::Format::eR16G16B16A16Uint, | 512 | vk::Format::eR16G16B16A16Uint, |
| 513 | vk::Format::eR16G16B16A16Snorm, | ||
| 513 | vk::Format::eR16G16B16A16Unorm, | 514 | vk::Format::eR16G16B16A16Unorm, |
| 514 | vk::Format::eR16G16Unorm, | 515 | vk::Format::eR16G16Unorm, |
| 515 | vk::Format::eR16G16Snorm, | 516 | vk::Format::eR16G16Snorm, |