[Mesa-dev] radeon/r200 clear() inconsistency

Brian Paul brianp at vmware.com
Fri Mar 9 08:10:48 PST 2012


On 03/09/2012 09:07 AM, Roland Scheidegger wrote:
> Brian,
>
> I think you're right, the test in r200_ioctl.c looks bogus
> (the idea is fastz clear can only be used if both depth and stencil are
> cleared, though the test isn't quite right as it certainly would be
> possible to use fastz clear if there's no stencil buffer at all).
> However, all code related to hyperz is unfortunately dead anyway, that
> got lost with the dri2 transition. The flags computed in those functions
> aren't actually used.  [...]

D'oh.  I didn't even realize that.  I'll just remove the code in 
question.  That'll let me do some other minor clean-ups..

-Brian


More information about the mesa-dev mailing list