summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/nvprogram.h
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2007-05-22 03:29:59 +0200
committerRoland Scheidegger <[email protected]>2007-05-22 03:32:25 +0200
commit3e21a014c308a87e1dd7bdabba255aad02d3ad1b (patch)
tree801c2a242bf7755674dd4aa9dda025f41a18384a /src/mesa/shader/nvprogram.h
parent7f1879d4e137f9b98d7430976adf9c28c4bf9fcf (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/shader/nvprogram.h')
0 files changed, 0 insertions, 0 deletions