summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_vs_tnl.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@tungstengraphics.com>2007-05-22 03:29:59 +0200
committerRoland Scheidegger <sroland@tungstengraphics.com>2007-05-22 03:32:25 +0200
commit3e21a014c308a87e1dd7bdabba255aad02d3ad1b (patch)
tree801c2a242bf7755674dd4aa9dda025f41a18384a /src/mesa/drivers/dri/i965/brw_vs_tnl.c
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/drivers/dri/i965/brw_vs_tnl.c')
0 files changed, 0 insertions, 0 deletions