r300g: implement depth clamp
authorMarek Olšák <maraeo@gmail.com>
Tue, 20 Jul 2010 14:37:22 +0000 (16:37 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 21 Jul 2010 20:54:34 +0000 (22:54 +0200)
commitca7ead03da4481cd34933175898f4a924e588ad4
tree32d5104ff971aca40b2b22d7eefc36d515b4fb24
parent5725738ef6a4b5110064d4e2e0ce4f7609e875e4
r300g: implement depth clamp

Depth clamping seems to be implicit if clipping is disabled.

It's not perfect, but it's good enough for wine and passes
the corresponding piglit tests.
src/gallium/drivers/r300/r300_screen.c
src/gallium/drivers/r300/r300_state.c