[Mesa-dev] [PATCH 3/4] glsl_to_tgsi: fix the value of gl_FrontFacing with native integers

Eric Anholt eric at anholt.net
Tue Oct 21 08:49:00 PDT 2014


Marek Olšák <maraeo at gmail.com> writes:

> From: Marek Olšák <marek.olsak at amd.com>
>
> We must convert it to boolean from the DX9 float encoding that Gallium
> specifies.
>
> Later, we should probably define that FACE should be 0 or ~0 if native
> integers are supported.

Also fixes the ES2 conformance test.

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


More information about the mesa-dev mailing list