[Mesa-dev] [PATCH v2] glsl_to_tgsi, mesa: fixes for native integers and integer booleans

2011-08-30 Thread Bryan Cain
With this patch, there are no piglit regressions on softpipe with native integers enabled. Unlike my previous patch, this uses integer values of ~0 and 0 for true and false, respectively, instead of the float values 1.0 and 0.0. --- src/mesa/main/uniforms.c |6 +- src/mesa/s

Re: [Mesa-dev] [PATCH v2] glsl_to_tgsi, mesa: fixes for native integers and integer booleans

2011-09-02 Thread Bryan Cain
Are there any objections to pushing this? Bryan On 08/31/2011 01:33 AM, Bryan Cain wrote: > With this patch, there are no piglit regressions on softpipe with native > integers enabled. Unlike my previous patch, this uses integer values of > ~0 and 0 for true and false, respectively, instead of t

Re: [Mesa-dev] [PATCH v2] glsl_to_tgsi, mesa: fixes for native integers and integer booleans

2011-09-02 Thread Eric Anholt
On Wed, 31 Aug 2011 01:33:59 -0500, Bryan Cain wrote: > With this patch, there are no piglit regressions on softpipe with native > integers enabled. Unlike my previous patch, this uses integer values of > ~0 and 0 for true and false, respectively, instead of the float values 1.0 > and 0.0. This

Re: [Mesa-dev] [PATCH v2] glsl_to_tgsi, mesa: fixes for native integers and integer booleans

2011-09-02 Thread Bryan Cain
On 09/02/2011 06:13 PM, Eric Anholt wrote: > On Wed, 31 Aug 2011 01:33:59 -0500, Bryan Cain wrote: >> With this patch, there are no piglit regressions on softpipe with native >> integers enabled. Unlike my previous patch, this uses integer values of >> ~0 and 0 for true and false, respectively, i

Re: [Mesa-dev] [PATCH v2] glsl_to_tgsi, mesa: fixes for native integers and integer booleans

2011-09-03 Thread Bryan Cain
On 09/02/2011 06:13 PM, Eric Anholt wrote: > On Wed, 31 Aug 2011 01:33:59 -0500, Bryan Cain wrote: >> With this patch, there are no piglit regressions on softpipe with native >> integers enabled. Unlike my previous patch, this uses integer values of >> ~0 and 0 for true and false, respectively, i