On Thu, Dec 4, 2014 at 5:48 PM, Kenneth Graunke <kenn...@whitecape.org> wrote:
> Some comments would be nice:
>
> /**
>  * Resolve the result of a Gen4-5 CMP instruction to a proper boolean.
>  *
>  * CMP on Gen4-5 only sets the LSB of the result; the rest are undefined.
>  * If we need a proper boolean value, we have to fix it up to be 0 or ~0.
>  */

Sure. I'll add it to the fs_visitor's function as well.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to