diff options
author | Subv <subv2112@gmail.com> | 2015-07-21 16:26:09 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-07-21 16:26:09 -0500 |
commit | 009e34f08af52478148984bbf740784f3b068151 (patch) | |
tree | c5db9644a4a0cc70a4300c8d1370b9d2c9f0add1 /src/video_core/rasterizer.cpp | |
parent | cd2bb2dc698d5ce142394a22c5abff0cb89d431a (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.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp index a6b7997ce..e2b90ad1c 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); } |