mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-12 11:17:49 +00:00
video_core: Disable AF for non-color image formats
This commit is contained in:
parent
1f7c69934d
commit
e405fb1c72
1 changed files with 9 additions and 0 deletions
|
@ -77,6 +77,15 @@ bool ImageViewBase::SupportsAnisotropy() const noexcept {
|
||||||
case PixelFormat::R32_UINT:
|
case PixelFormat::R32_UINT:
|
||||||
case PixelFormat::R32_SINT:
|
case PixelFormat::R32_SINT:
|
||||||
case PixelFormat::G4R4_UNORM:
|
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;
|
return false;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue