Skip to content

Commit

Permalink
Different Simpsons hack.
Browse files Browse the repository at this point in the history
I'm pretty sure this one strongly indicates the issue; the game uses a
very odd texture which between black and random (?) colors for even and
odd columns.  I'm not really an expert on how this stuff is supposed to
work, though.  And floating point on GPUs sucks.
  • Loading branch information
magumagu committed Jan 5, 2015
1 parent 192c69f commit f96aab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/PixelShaderGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ static inline void WriteStage(T& out, pixel_shader_uid_data* uid_data, int n, AP
{
// calc tevcord
if (bHasTexCoord)
out.Write("\ttevcoord.xy = fixpoint_uv%d;\n", texcoord);
out.Write("\ttevcoord.xy = fixpoint_uv%d;tevcoord.xy -= int2(1,1);\n", texcoord);
else
out.Write("\ttevcoord.xy = int2(0, 0);\n");
}
Expand Down

0 comments on commit f96aab6

Please sign in to comment.