Re: [Mesa-dev] [PATCH] mesa: add a UniformBooleanTrue option

2011-09-06 Thread Eric Anholt
On Mon, 5 Sep 2011 14:59:03 -0500, Bryan Cain wrote: > Drivers supporting native integers set UniformBooleanTrue to the integer value > that should be used for true when uploading uniform booleans. This is ~0 for > Gallium and 1 for i965. Looks good. Reviewed-by: Eric Anholt pgpm1u1Bwud8c.p

Re: [Mesa-dev] [PATCH] mesa: add a UniformBooleanTrue option

2011-09-05 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/05/2011 12:59 PM, Bryan Cain wrote: > Drivers supporting native integers set UniformBooleanTrue to the integer value > that should be used for true when uploading uniform booleans. This is ~0 for > Gallium and 1 for i965. I was going to suggest

[Mesa-dev] [PATCH] mesa: add a UniformBooleanTrue option

2011-09-05 Thread Bryan Cain
Drivers supporting native integers set UniformBooleanTrue to the integer value that should be used for true when uploading uniform booleans. This is ~0 for Gallium and 1 for i965. --- src/mesa/drivers/dri/i965/brw_context.c |4 +++- src/mesa/main/mtypes.h |6 ++ src/m