[Mesa-dev] [PATCH] In emit_math1 check for a zero writemask before emitting the preliminary MOV on gen 6 and up.

Eric Anholt eric at anholt.net
Sat Dec 3 10:21:35 PST 2011


On Fri,  2 Dec 2011 11:29:38 -0800, Stuart Abercrombie <sabercrombie at chromium.org> wrote:
> Previously a zero writemask would result in dst_chan == -1, meaning an
> unnecessary MOV with the destination register dictated by undefined
> memory contents would be emitted before returning.  This caused
> intermittent GPU hangs, e.g. with glean/texCombine.

Nice catch.  I've word-wrapped the commit message and pushed the fix.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111203/cd25529f/attachment.pgp>


More information about the mesa-dev mailing list