[Mesa-dev] [PATCH v2] mesa: Initializes the stencil value masks to 0xFF instead of ~0u

Eduardo Lima Mitev elima at igalia.com
Tue Dec 16 04:38:33 PST 2014


On 12/16/2014 01:18 PM, Olivier Galibert wrote:
> Note that ~0U is perfectly correct w.r.t the GLES3 spec.  It just
> means that s=32, which happens to be greater or equal to 8.
> 

True, it doesn't violate the spec. But since that causes the overflow
(which is the original problem we are trying to fix,) then it makes
sense to strictly stick to the spec.

cheers,
Eduardo


More information about the mesa-dev mailing list