mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Added NV4097_SET_TEXTURE_CONTROL2
Still need to use the parameters that are passed.
This commit is contained in:
parent
a27a51124f
commit
30c25cb722
1 changed files with 12 additions and 0 deletions
|
@ -346,6 +346,18 @@ void RSXThread::DoCmd(const u32 fcmd, const u32 cmd, const u32 args_addr, const
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case_range(16, NV4097_SET_TEXTURE_CONTROL2, 4);
|
||||||
|
{
|
||||||
|
LOG_WARNING(RSX, "TODO: NV4097_SET_TEXTURE_CONTROL2");
|
||||||
|
const u32 a0 = ARGS(0);
|
||||||
|
// TODO: Use these
|
||||||
|
u8 unknown = (a0 >> 8) & 0xFF;
|
||||||
|
u8 iso = (a0 >> 6) & 1;
|
||||||
|
u8 aniso = (a0 >> 7) & 1;
|
||||||
|
u8 slope = a0 & 0x1F;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case_range(16, NV4097_SET_TEXTURE_CONTROL3, 4);
|
case_range(16, NV4097_SET_TEXTURE_CONTROL3, 4);
|
||||||
{
|
{
|
||||||
RSXTexture& tex = m_textures[index];
|
RSXTexture& tex = m_textures[index];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue