[Mesa-dev] small fix to r300g

Mathias Fröhlich Mathias.Froehlich at gmx.net
Fri Aug 27 22:55:08 PDT 2010


Hi,

The attached patch against r300g moves the cast to an unsigned past the 
compare and clamp against 0.
Without the patch negative values are wrapped to huge numbers instead of 
clamped to zero.

Please apply.

Mathias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lod-clamp.diff
Type: text/x-patch
Size: 735 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100828/4241aefa/attachment.bin>


More information about the mesa-dev mailing list