swrast: fix EXT_depth_bounds_test
authorMarek Olšák <marek.olsak@amd.com>
Wed, 12 Aug 2015 23:51:37 +0000 (01:51 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 14 Aug 2015 13:02:28 +0000 (15:02 +0200)
commit973988ab8dd4d04b925a5859d1da0801e858a6fe
treecb0207180a2aec8cb9576e93382e744b85acd1b2
parent97f58fb59a45f04c9d03709063a081f572509f51
swrast: fix EXT_depth_bounds_test

zMin and zMax can't use _DepthMaxF, because the test is done in Z32_UNORM.

Probably a useless patch given how popular swrast is nowadays, but it helped
create and validate the piglit test.

v2: add an explicit cast to GLuint

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_depth.c