diff options
author | Roland Scheidegger <sroland@tungstengraphics.com> | 2007-02-09 19:21:29 +0100 |
---|---|---|
committer | Roland Scheidegger <sroland@tungstengraphics.com> | 2007-02-09 19:21:29 +0100 |
commit | b2d30ca0cb01a80ff440a4a07b293daa16486e12 (patch) | |
tree | ca1cc1841bc3bda1a4830994a27a5a3a59b71519 /src/glx/x11/glx_pbuffer.c | |
parent | fcccf8943213a20957f305161e8aae7fef55baab (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/glx/x11/glx_pbuffer.c')
0 files changed, 0 insertions, 0 deletions