[Mesa-dev] [PATCH 2/3] i965/fs/nir: Optimize (gl_FrontFacing ? x : y) where x and y are ±1.0.

Eric Anholt eric at anholt.net
Sat Feb 21 14:51:27 PST 2015


Matt Turner <mattst88 at gmail.com> writes:

> On Fri, Feb 20, 2015 at 1:41 PM, Eric Anholt <eric at anholt.net> wrote:
>>> Or maybe I'm just wrong and some bit is guaranteed to be set?
>>
>> A "This negation looks like it's safe in practice, because bits 0:4 will
>> surely be TRIANGLES" comment seems fine with me.
>
> Thanks, will do. R-b?
>
> I realized I was looking at Vol4/Part1 which described the render
> target write message header, which much the same description but not
> the actual incoming thread dispatch payload. Vol2/Part1 has the info I
> want.

Yep.  And,

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150221/2f18bcec/attachment.sig>


More information about the mesa-dev mailing list