From 009e34f08af52478148984bbf740784f3b068151 Mon Sep 17 00:00:00 2001 From: Subv Date: Tue, 21 Jul 2015 16:26:09 -0500 Subject: GPU: Added registers for min and mag texture filters and implemented them in the hw renderer. --- src/video_core/rasterizer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/video_core/rasterizer.cpp') diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp index a6b7997c..e2b90ad1 100644 --- a/src/video_core/rasterizer.cpp +++ b/src/video_core/rasterizer.cpp @@ -460,6 +460,7 @@ static void ProcessTriangleInternal(const VertexShader::OutputVertex& v0, u8* texture_data = Memory::GetPhysicalPointer(texture.config.GetPhysicalAddress()); auto info = DebugUtils::TextureInfo::FromPicaRegister(texture.config, texture.format); + // TODO: Apply the min and mag filters to the texture texture_color[i] = DebugUtils::LookupTexture(texture_data, s, t, info); DebugUtils::DumpTexture(texture.config, texture_data); } -- cgit v1.2.3