diff options
| author | Jonas <104419015+jojo-chaechae@users.noreply.github.com> | 2026-11-03 05:26:42 +0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-03 05:26:42 +0600 |
| commit | 4be4e1ded0bbe32526f26552c87f9e897646130c (patch) | |
| tree | cdd74f971a869367ba9736517bde657bd0f38e94 /src | |
| parent | 0322a7a8b8cb86f23643827b0ac50fb938e9986f (diff) | |
| parent | 8af82558bb25bb2ab46f3d750d3da55b82512e41 (diff) | |
Merge pull request #295 from rdenno/fix/texture-x8z24-components
texture_cache: look up X8Z24 with UNORM, UINT, UNORM, UNORM components
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/texture_cache/format_lookup_table.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/format_lookup_table.cpp b/src/video_core/texture_cache/format_lookup_table.cpp index 20bb96aae3..18be2dcbf3 100644 --- a/src/video_core/texture_cache/format_lookup_table.cpp +++ b/src/video_core/texture_cache/format_lookup_table.cpp @@ -150,6 +150,7 @@ PixelFormat PixelFormatFromTextureInfo(TextureFormat format, ComponentType red, case Hash(TextureFormat::X8Z24, UNORM): return PixelFormat::X8_D24_UNORM; case Hash(TextureFormat::X8Z24, UNORM, UINT, UINT, UINT, LINEAR): + case Hash(TextureFormat::X8Z24, UNORM, UINT, UNORM, UNORM, LINEAR): return PixelFormat::X8_D24_UNORM; case Hash(TextureFormat::Z24S8, UINT, UNORM, UNORM, UNORM, LINEAR): return PixelFormat::S8_UINT_D24_UNORM; |
