GPU: Added registers for min and mag texture filters and implemented them in the hw renderer.
This commit is contained in:
parent
cd2bb2dc69
commit
009e34f08a
4 changed files with 37 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue