diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-01 02:28:53 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-13 01:44:23 -0300 |
| commit | a068ce4c321d7ced2dca9f9f7edafca47a443f81 (patch) | |
| tree | f3e99246a2b398151b409a1d331f27780a9a28ef /src/video_core/texture_cache/surface_base.cpp | |
| parent | 44fb3cf920382cd73985bdd12c92fd70897892de (diff) | |
video_core: Rearrange pixel format names
Normalizes pixel format names to match Vulkan names. Previous to this
commit pixel formats had no convention, leading to confusion and
potential bugs.
Diffstat (limited to 'src/video_core/texture_cache/surface_base.cpp')
| -rw-r--r-- | src/video_core/texture_cache/surface_base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/surface_base.cpp b/src/video_core/texture_cache/surface_base.cpp index 0caf3b4f05..dfcf36e0bd 100644 --- a/src/video_core/texture_cache/surface_base.cpp +++ b/src/video_core/texture_cache/surface_base.cpp @@ -228,7 +228,7 @@ void SurfaceBaseImpl::LoadBuffer(Tegra::MemoryManager& memory_manager, } } - if (!is_converted && params.pixel_format != PixelFormat::S8Z24) { + if (!is_converted && params.pixel_format != PixelFormat::S8_UINT_D24_UNORM) { return; } |
