aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/rasterizer.cpp
diff options
context:
space:
mode:
authorGravatar bunnei <bunneidev@gmail.com>2015-07-21 18:27:50 -0400
committerGravatar bunnei <bunneidev@gmail.com>2015-07-21 18:27:50 -0400
commit3a5352baf8a5008a73a7f003265a4e36aaac8b39 (patch)
tree41ee1deefda790995bb471aecffaaca4b2fe574c /src/video_core/rasterizer.cpp
parent4a9e97d67d4be878048dcc80f408912aa6f45056 (diff)
parent009e34f08af52478148984bbf740784f3b068151 (diff)
Merge pull request #968 from Subv/texture_filtering
GPU: Added registers for min and mag texture filters
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);
}