Skip to content

Commit

Permalink
Fix icb array error introduced by last checkin.
Browse files Browse the repository at this point in the history
icb[xx] is being damaged by Decompiler.

This fixes this shader only, bug still there.
  • Loading branch information
bo3b committed Mar 31, 2014
1 parent c5c0870 commit 7a4f232
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions AC3/11328b83df8d0e8e-vs_replace.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ void main(
// r4.y = dot(g_WrinkleArray[r1.y].xyzw, r2.y.xyzw);
// r4.z = dot(g_WrinkleArray[r1.z].xyzw, r2.z.xyzw);
// r4.w = dot(g_WrinkleArray[r1.w].xyzw, r2.w.xyzw);
r4.x = dot(g_WrinkleArray[r1.x].xyzw, r2.xyzw);
r4.y = dot(g_WrinkleArray[r1.y].xyzw, r2.xyzw);
r4.z = dot(g_WrinkleArray[r1.z].xyzw, r2.xyzw);
r4.w = dot(g_WrinkleArray[r1.w].xyzw, r2.xyzw);
r4.x = dot(g_WrinkleArray[r1.x].xyzw, icb[r2.x].xyzw);
r4.y = dot(g_WrinkleArray[r1.y].xyzw, icb[r2.y].xyzw);
r4.z = dot(g_WrinkleArray[r1.z].xyzw, icb[r2.z].xyzw);
r4.w = dot(g_WrinkleArray[r1.w].xyzw, icb[r2.w].xyzw);
o3.w = dot(r4.xyzw, v6.xyzw);
r1.xyz = v1.xyz;
r1.xyz = float3(-1.270000e+002,-1.270000e+002,-1.270000e+002) + r1.xyz;
Expand Down

0 comments on commit 7a4f232

Please sign in to comment.