summaryrefslogtreecommitdiff
path: root/src/video_core/rasterizer.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2015-07-21 18:27:50 -0400
committerGravatar bunnei2015-07-21 18:27:50 -0400
commit3a5352baf8a5008a73a7f003265a4e36aaac8b39 (patch)
tree41ee1deefda790995bb471aecffaaca4b2fe574c /src/video_core/rasterizer.cpp
parentMerge pull request #962 from Subv/am_app (diff)
parentGPU: Added registers for min and mag texture filters and implemented them in ... (diff)
downloadyuzu-3a5352baf8a5008a73a7f003265a4e36aaac8b39.tar.gz
yuzu-3a5352baf8a5008a73a7f003265a4e36aaac8b39.tar.xz
yuzu-3a5352baf8a5008a73a7f003265a4e36aaac8b39.zip
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 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,
460 u8* texture_data = Memory::GetPhysicalPointer(texture.config.GetPhysicalAddress()); 460 u8* texture_data = Memory::GetPhysicalPointer(texture.config.GetPhysicalAddress());
461 auto info = DebugUtils::TextureInfo::FromPicaRegister(texture.config, texture.format); 461 auto info = DebugUtils::TextureInfo::FromPicaRegister(texture.config, texture.format);
462 462
463 // TODO: Apply the min and mag filters to the texture
463 texture_color[i] = DebugUtils::LookupTexture(texture_data, s, t, info); 464 texture_color[i] = DebugUtils::LookupTexture(texture_data, s, t, info);
464 DebugUtils::DumpTexture(texture.config, texture_data); 465 DebugUtils::DumpTexture(texture.config, texture_data);
465 } 466 }