diff options
author | Wollnashorn <Wollnashorn@users.noreply.github.com> | 2023-06-15 20:59:33 +0200 |
---|---|---|
committer | Wollnashorn <Wollnashorn@users.noreply.github.com> | 2023-06-15 20:59:33 +0200 |
commit | 745d16132b9662de5b8317bfba37fe89c11cea45 (patch) | |
tree | b426ca0f0ae9850278090c806b5ef6c44dfaa0c4 /src/video_core | |
parent | video_core: Fixed compilation errors because of name shadowing (diff) | |
download | yuzu-745d16132b9662de5b8317bfba37fe89c11cea45.tar yuzu-745d16132b9662de5b8317bfba37fe89c11cea45.tar.gz yuzu-745d16132b9662de5b8317bfba37fe89c11cea45.tar.bz2 yuzu-745d16132b9662de5b8317bfba37fe89c11cea45.tar.lz yuzu-745d16132b9662de5b8317bfba37fe89c11cea45.tar.xz yuzu-745d16132b9662de5b8317bfba37fe89c11cea45.tar.zst yuzu-745d16132b9662de5b8317bfba37fe89c11cea45.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/image_view_base.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/image_view_base.cpp b/src/video_core/texture_cache/image_view_base.cpp index 26fa6d63e..5ebe9b9bb 100644 --- a/src/video_core/texture_cache/image_view_base.cpp +++ b/src/video_core/texture_cache/image_view_base.cpp @@ -77,6 +77,15 @@ bool ImageViewBase::SupportsAnisotropy() const noexcept { case PixelFormat::R32_UINT: case PixelFormat::R32_SINT: case PixelFormat::G4R4_UNORM: + // Depth formats + case PixelFormat::D32_FLOAT: + case PixelFormat::D16_UNORM: + // Stencil formats + case PixelFormat::S8_UINT: + // DepthStencil formats + case PixelFormat::D24_UNORM_S8_UINT: + case PixelFormat::S8_UINT_D24_UNORM: + case PixelFormat::D32_FLOAT_S8_UINT: return false; default: break; |