r300/compiler: saturate Z before the shadow comparison
authorMarek Olšák <maraeo@gmail.com>
Tue, 8 Mar 2011 03:00:07 +0000 (04:00 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 8 Mar 2011 04:13:45 +0000 (05:13 +0100)
commiteb1acd16130a2945122d373357ee72585e520755
tree150bb1aff47692462e0750589a05f0fea2b3504e
parent2c1ef65a04de8d61fddee55c7a2f0673d69235d5
r300/compiler: saturate Z before the shadow comparison

This fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=31159

NOTE: This is a candidate for the 7.9 and 7.10 branches.
src/mesa/drivers/dri/r300/compiler/radeon_program_tex.c