aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/rasterizer.cpp
diff options
context:
space:
mode:
authorGravatar Subv <subv2112@gmail.com>2015-07-21 16:26:09 -0500
committerGravatar Subv <subv2112@gmail.com>2015-07-21 16:26:09 -0500
commit009e34f08af52478148984bbf740784f3b068151 (patch)
treec5db9644a4a0cc70a4300c8d1370b9d2c9f0add1 /src/video_core/rasterizer.cpp
parentcd2bb2dc698d5ce142394a22c5abff0cb89d431a (diff)
GPU: Added registers for min and mag texture filters and implemented them in the hw renderer.
Diffstat (limited to 'src/video_core/rasterizer.cpp')
-rw-r--r--src/video_core/rasterizer.cpp1
1 files changed, 1 insertions, 0 deletions
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);
}