Skip to content

Commit

Permalink
Fix case problem in shader.
Browse files Browse the repository at this point in the history
Caused compile error because HLSL is case-sensitive.
  • Loading branch information
bo3b committed Mar 31, 2014
1 parent 35de3fa commit c5c0870
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, 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);
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 c5c0870

Please sign in to comment.