summaryrefslogtreecommitdiff
path: root/src/mesa/main/points.h
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@tungstengraphics.com>2007-02-09 19:21:29 +0100
committerRoland Scheidegger <sroland@tungstengraphics.com>2007-02-09 19:21:29 +0100
commitb2d30ca0cb01a80ff440a4a07b293daa16486e12 (patch)
treeca1cc1841bc3bda1a4830994a27a5a3a59b71519 /src/mesa/main/points.h
parentfcccf8943213a20957f305161e8aae7fef55baab (diff)
optimize per-pixel fog program
use the same internal state as for vertex fog. From the old implemenentation, this changes a SUB+MUL into a MAD for linear fog, and saves a MUL for EXP/EXP2, plus saves a (constant) parameter. While here, fix the broken (forgotten) swizzling. (untested)
Diffstat (limited to 'src/mesa/main/points.h')
0 files changed, 0 insertions, 0 deletions