r300g: generalize the way we ask for hyperz
authorMarek Olšák <maraeo@gmail.com>
Sat, 7 Aug 2010 00:05:03 +0000 (02:05 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 8 Aug 2010 20:28:35 +0000 (22:28 +0200)
commit757c78afe7cca6a05c88c0c203fa5f4488ebd0ed
treee5a42cd562aa41f61e99c2fb91d334857690063a
parentd8279728165eec2da6031cf543820acad322d192
r300g: generalize the way we ask for hyperz

This makes it compatible with the modified DRM interface in drm-radeon-testing.

Also, now you need to set RADEON_HYPERZ=1 to be able to use hyperz.
It's not bug-free yet.
src/gallium/winsys/radeon/drm/radeon_drm.c