From 7a4f2329d60eec599c30af0fe9fee9a0862509b7 Mon Sep 17 00:00:00 2001 From: bo3b Date: Sun, 30 Mar 2014 21:50:27 -0700 Subject: [PATCH] Fix icb array error introduced by last checkin. icb[xx] is being damaged by Decompiler. This fixes this shader only, bug still there. --- AC3/11328b83df8d0e8e-vs_replace.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/AC3/11328b83df8d0e8e-vs_replace.txt b/AC3/11328b83df8d0e8e-vs_replace.txt index 68d842051..e0252df2a 100644 --- a/AC3/11328b83df8d0e8e-vs_replace.txt +++ b/AC3/11328b83df8d0e8e-vs_replace.txt @@ -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;