diff options
author | Roland Scheidegger <sroland@tungstengraphics.com> | 2007-05-22 03:29:59 +0200 |
---|---|---|
committer | Roland Scheidegger <sroland@tungstengraphics.com> | 2007-05-22 03:32:25 +0200 |
commit | 3e21a014c308a87e1dd7bdabba255aad02d3ad1b (patch) | |
tree | 801c2a242bf7755674dd4aa9dda025f41a18384a /src/mesa/drivers/glslcompiler | |
parent | 7f1879d4e137f9b98d7430976adf9c28c4bf9fcf (diff) |
fog: fix issues with negative fog coords (may fix #10529)
Rework tnl fog a bit. Make sure we always use ABS(eyez) when fog coord source
is depth, OTOH it does not seem to be necessary to use it (as was done before
in some cases) if fog coord source is fogcoord (just to save some work).
This fixes tests/fog (the first 2 cases) with i915/i915tex.
Diffstat (limited to 'src/mesa/drivers/glslcompiler')
0 files changed, 0 insertions, 0 deletions