summaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2022-11-06 11:08:22 +0100
committerGravatar Fernando Sahmkow2022-11-24 20:35:44 +0100
commit5fbd6954efbfe3dd95fcd496cd25664c092947fc (patch)
treeca9c4a7e1855b4406531eada1e84b6cb26802122 /src/video_core/surface.cpp
parentFermi2D: Rework blit engine and add a software blitter. (diff)
downloadyuzu-5fbd6954efbfe3dd95fcd496cd25664c092947fc.tar.gz
yuzu-5fbd6954efbfe3dd95fcd496cd25664c092947fc.tar.xz
yuzu-5fbd6954efbfe3dd95fcd496cd25664c092947fc.zip
Fermi2D: Implement Bilinear software filtering and address feedback.
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r--src/video_core/surface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index 6bd133d10..80a7d908f 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -118,8 +118,10 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
118 case Tegra::RenderTargetFormat::R16G16B16X16_FLOAT: 118 case Tegra::RenderTargetFormat::R16G16B16X16_FLOAT:
119 return PixelFormat::R16G16B16X16_FLOAT; 119 return PixelFormat::R16G16B16X16_FLOAT;
120 case Tegra::RenderTargetFormat::A8R8G8B8_UNORM: 120 case Tegra::RenderTargetFormat::A8R8G8B8_UNORM:
121 case Tegra::RenderTargetFormat::X8R8G8B8_UNORM:
121 return PixelFormat::B8G8R8A8_UNORM; 122 return PixelFormat::B8G8R8A8_UNORM;
122 case Tegra::RenderTargetFormat::A8R8G8B8_SRGB: 123 case Tegra::RenderTargetFormat::A8R8G8B8_SRGB:
124 case Tegra::RenderTargetFormat::X8R8G8B8_SRGB:
123 return PixelFormat::B8G8R8A8_SRGB; 125 return PixelFormat::B8G8R8A8_SRGB;
124 case Tegra::RenderTargetFormat::A2B10G10R10_UNORM: 126 case Tegra::RenderTargetFormat::A2B10G10R10_UNORM:
125 return PixelFormat::A2B10G10R10_UNORM; 127 return PixelFormat::A2B10G10R10_UNORM;