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 bryanca...@gmail.com 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

[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 ++