[Mesa-dev] [PATCH] swrast: Use integer value 1 for true

Eric Anholt eric at anholt.net
Mon Aug 25 09:19:25 PDT 2014


Tapani Pälli <tapani.palli at intel.com> writes:

> commit 4e64cfbb4 changed how gl_constant_value bool gets interpreted
> with drivers, for swrast driver true should be 1.
>
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82978

Everywhere else in swrast, true is 1.0f.  Pretty sure you want fui(1.0)
here.
-------------- 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/20140825/bd28ae83/attachment.sig>


More information about the mesa-dev mailing list