diff options
| author | shuffle2 <godisgovernment@gmail.com> | 2017-06-18 12:57:05 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-18 12:57:05 -0700 |
| commit | e63c33783049753784a24675bfa0792e54684fbd (patch) | |
| tree | 3d984535025f4cb97489c9665220ac4237e7761c /Source/Core/VideoBackends/Vulkan/Util.cpp | |
| parent | 09457d3a4245ec9d4f2fdac3d1d0873a3354b858 (diff) | |
| parent | e4896d39bd927b0b8e109e0334fa15cdb8e004f3 (diff) | |
Merge pull request #5305 from iwubcode/abstract_texture
Abstract Texture
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/Util.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/Util.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/Util.cpp b/Source/Core/VideoBackends/Vulkan/Util.cpp index 7ce433a79e..dd676d0b6c 100644 --- a/Source/Core/VideoBackends/Vulkan/Util.cpp +++ b/Source/Core/VideoBackends/Vulkan/Util.cpp @@ -88,20 +88,20 @@ VkFormat GetLinearFormat(VkFormat format) } } -VkFormat GetVkFormatForHostTextureFormat(HostTextureFormat format) +VkFormat GetVkFormatForHostTextureFormat(AbstractTextureFormat format) { switch (format) { - case HostTextureFormat::DXT1: + case AbstractTextureFormat::DXT1: return VK_FORMAT_BC1_RGBA_UNORM_BLOCK; - case HostTextureFormat::DXT3: + case AbstractTextureFormat::DXT3: return VK_FORMAT_BC2_UNORM_BLOCK; - case HostTextureFormat::DXT5: + case AbstractTextureFormat::DXT5: return VK_FORMAT_BC3_UNORM_BLOCK; - case HostTextureFormat::RGBA8: + case AbstractTextureFormat::RGBA8: default: return VK_FORMAT_R8G8B8A8_UNORM; } |
