Skip to content

Commit

Permalink
Removed unused registers
Browse files Browse the repository at this point in the history
  • Loading branch information
TheYellowThorn committed Jul 9, 2015
1 parent 64bb3d3 commit dc4dbc9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions com/terrainbuilder/materials/passes/FogPass.as
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,10 @@ package com.terrainbuilder.materials.passes

code += "mov vt0, va0\n";

code += "m44 vt1, vt0, vc0 \n"; //global position
code += "m44 op, vt0, vc0 \n";
code += "m44 v2, vt0, vc4\n";
code += "mov v0, va1\n"; //uvs

code += "mov vt0, va2\n"; // normals
code += "nrm vt0.xyz, vt0.xyz\n";
code += "mov v1, vt0\n"; // normals

code += "mov v1, va0\n";

return code;
}

Expand Down

0 comments on commit dc4dbc9

Please sign in to comment.