mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
Correct indirect stage ref typos
YAGCD uses BI0/BC0/BI1/BC1/BI2/BC2/BI3/BC3, so I'm pretty sure the BI2/BC3/BI4/BC4 names are a typo that just was propagated.
This commit is contained in:
@ -66,9 +66,9 @@ struct pixel_shader_uid_data
|
||||
u32 tevindref_bi1 : 3;
|
||||
u32 tevindref_bc1 : 3;
|
||||
u32 tevindref_bi2 : 3;
|
||||
u32 tevindref_bc2 : 3;
|
||||
u32 tevindref_bi3 : 3;
|
||||
u32 tevindref_bc3 : 3;
|
||||
u32 tevindref_bi4 : 3;
|
||||
u32 tevindref_bc4 : 3;
|
||||
|
||||
void SetTevindrefValues(int index, u32 texcoord, u32 texmap)
|
||||
{
|
||||
@ -84,55 +84,39 @@ struct pixel_shader_uid_data
|
||||
}
|
||||
else if (index == 2)
|
||||
{
|
||||
tevindref_bc3 = texcoord;
|
||||
tevindref_bc2 = texcoord;
|
||||
tevindref_bi2 = texmap;
|
||||
}
|
||||
else if (index == 3)
|
||||
{
|
||||
tevindref_bc4 = texcoord;
|
||||
tevindref_bi4 = texmap;
|
||||
tevindref_bc3 = texcoord;
|
||||
tevindref_bi3 = texmap;
|
||||
}
|
||||
}
|
||||
|
||||
u32 GetTevindirefCoord(int index) const
|
||||
{
|
||||
if (index == 0)
|
||||
{
|
||||
return tevindref_bc0;
|
||||
}
|
||||
else if (index == 1)
|
||||
{
|
||||
return tevindref_bc1;
|
||||
}
|
||||
else if (index == 2)
|
||||
{
|
||||
return tevindref_bc3;
|
||||
}
|
||||
return tevindref_bc2;
|
||||
else if (index == 3)
|
||||
{
|
||||
return tevindref_bc4;
|
||||
}
|
||||
return tevindref_bc3;
|
||||
return 0;
|
||||
}
|
||||
|
||||
u32 GetTevindirefMap(int index) const
|
||||
{
|
||||
if (index == 0)
|
||||
{
|
||||
return tevindref_bi0;
|
||||
}
|
||||
else if (index == 1)
|
||||
{
|
||||
return tevindref_bi1;
|
||||
}
|
||||
else if (index == 2)
|
||||
{
|
||||
return tevindref_bi2;
|
||||
}
|
||||
else if (index == 3)
|
||||
{
|
||||
return tevindref_bi4;
|
||||
}
|
||||
return tevindref_bi3;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user