Minor simplification of the light calculation

This commit is contained in:
Magnus Norddahl 2016-12-01 09:00:24 +01:00
commit 2203da0c93
2 changed files with 6 additions and 4 deletions

View file

@ -136,6 +136,7 @@ private:
SSAInt C1, C2, C3;
SSAFloat gradWX, gradWY;
SSAFloat gradVaryingX[TriVertex::NumVarying], gradVaryingY[TriVertex::NumVarying];
SSAFloat shade;
SSAInt x, y;
SSAInt x0, x1, y0, y1;