dri/nouveau: Enable NV_fog_distance on NV10 and NV20 hardware
authorNicholas Miell <nmiell@gmail.com>
Tue, 20 Sep 2011 13:20:39 +0000 (15:20 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 1 Nov 2011 10:37:11 +0000 (11:37 +0100)
commit66389bb99d86c8d96c2a7dbd83a5227c0e13e767
tree12e97cbfd9ed239245e827c505e1d5fea82c849a
parent64cebb6c8339f515ff8acb7c34fd0615b0e34a19
dri/nouveau: Enable NV_fog_distance on NV10 and NV20 hardware

Add support for NV_fog_distance to the NV10 and NV20 drivers.

[ Francisco Jerez: Fix fog coord. signedness for
  GL_EYE_RADIAL_NV/GL_EYE_PLANE on nv20 ]
src/mesa/drivers/dri/nouveau/nv10_context.c
src/mesa/drivers/dri/nouveau/nv10_state_tnl.c
src/mesa/drivers/dri/nouveau/nv20_context.c
src/mesa/drivers/dri/nouveau/nv20_state_tnl.c