Re: [Mesa-dev] Status of the GLSL->TGSI translator, part 2

2011-08-04 Thread Brian Paul
On 08/04/2011 10:53 AM, Bryan Cain wrote: On 08/04/2011 08:24 AM, Brian Paul wrote: On Tue, Aug 2, 2011 at 3:50 PM, Bryan Cain wrote: On 08/02/2011 11:27 AM, Brian Paul wrote: On 08/01/2011 12:38 PM, Bryan Cain wrote: Since Mesa 7.11 is released now, I figure it's time to discuss merging the

Re: [Mesa-dev] Status of the GLSL->TGSI translator, part 2

2011-08-04 Thread Bryan Cain
On 08/04/2011 08:24 AM, Brian Paul wrote: > On Tue, Aug 2, 2011 at 3:50 PM, Bryan Cain wrote: >> On 08/02/2011 11:27 AM, Brian Paul wrote: >>> On 08/01/2011 12:38 PM, Bryan Cain wrote: Since Mesa 7.11 is released now, I figure it's time to discuss merging the glsl-to-tgsi branch to maste

Re: [Mesa-dev] Status of the GLSL->TGSI translator, part 2

2011-08-04 Thread Brian Paul
On Tue, Aug 2, 2011 at 3:50 PM, Bryan Cain wrote: > On 08/02/2011 11:27 AM, Brian Paul wrote: >> On 08/01/2011 12:38 PM, Bryan Cain wrote: >>> Since Mesa 7.11 is released now, I figure it's time to discuss merging >>> the glsl-to-tgsi branch to master again.  The translator is more mature >>> than

Re: [Mesa-dev] Status of the GLSL->TGSI translator, part 2

2011-08-02 Thread Bryan Cain
On 08/02/2011 11:27 AM, Brian Paul wrote: > On 08/01/2011 12:38 PM, Bryan Cain wrote: >> Since Mesa 7.11 is released now, I figure it's time to discuss merging >> the glsl-to-tgsi branch to master again. The translator is more mature >> than last time. There are no regressions that I know of on a

Re: [Mesa-dev] Status of the GLSL->TGSI translator, part 2

2011-08-02 Thread Brian Paul
On 08/01/2011 12:38 PM, Bryan Cain wrote: Since Mesa 7.11 is released now, I figure it's time to discuss merging the glsl-to-tgsi branch to master again. The translator is more mature than last time. There are no regressions that I know of on any driver. The code generation has improved so that

[Mesa-dev] Status of the GLSL->TGSI translator, part 2

2011-08-01 Thread Bryan Cain
Since Mesa 7.11 is released now, I figure it's time to discuss merging the glsl-to-tgsi branch to master again. The translator is more mature than last time. There are no regressions that I know of on any driver. The code generation has improved so that it's the same as or better than ir_to_mesa

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-23 Thread Brian Paul
On 06/22/2011 08:51 PM, Bryan Cain wrote: On 06/16/2011 12:43 PM, Brian Paul wrote: On 06/16/2011 10:34 AM, Bryan Cain wrote: On Thu, Jun 16, 2011 at 9:08 AM, Brian Paulmailto:bri...@vmware.com>> wrote: Looks like nice work, Bryan. Just a few minor questions/comments for now:

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-22 Thread Bryan Cain
On 06/16/2011 12:43 PM, Brian Paul wrote: > On 06/16/2011 10:34 AM, Bryan Cain wrote: >> On Thu, Jun 16, 2011 at 9:08 AM, Brian Paul > > wrote: >> >> >> Looks like nice work, Bryan. >> >> Just a few minor questions/comments for now: >> >> 1. The st_fragment/ver

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-16 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/15/2011 06:45 PM, Tom Stellard wrote: > On Wed, Jun 15, 2011 at 04:38:07PM -0500, Bryan Cain wrote: >> My work on the GLSL IR to TGSI translator I announced on the list this >> April is now at the point where I think it is ready to be merged into

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-16 Thread Brian Paul
On 06/16/2011 10:34 AM, Bryan Cain wrote: On Thu, Jun 16, 2011 at 9:08 AM, Brian Paul mailto:bri...@vmware.com>> wrote: Looks like nice work, Bryan. Just a few minor questions/comments for now: 1. The st_fragment/vertex/geometry_program structs now have a glsl_to_tgsi field.

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-16 Thread Bryan Cain
On Thu, Jun 16, 2011 at 9:08 AM, Brian Paul wrote: > > > Looks like nice work, Bryan. > > Just a few minor questions/comments for now: > > 1. The st_fragment/vertex/geometry_program structs now have a glsl_to_tgsi > field. I did a grep, but I couldn't find where that field is assigned. Can > you

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-16 Thread Brian Paul
On 06/16/2011 08:41 AM, Jerome Glisse wrote: On Thu, Jun 16, 2011 at 10:08 AM, Brian Paul wrote: On 06/15/2011 03:38 PM, Bryan Cain wrote: My work on the GLSL IR to TGSI translator I announced on the list this April is now at the point where I think it is ready to be merged into Mesa. It is

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-16 Thread Jerome Glisse
On Thu, Jun 16, 2011 at 10:08 AM, Brian Paul wrote: > On 06/15/2011 03:38 PM, Bryan Cain wrote: >> >> My work on the GLSL IR to TGSI translator I announced on the list this >> April is now at the point where I think it is ready to be merged into >> Mesa.  It is stable and doesn't regress any pigli

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-16 Thread Brian Paul
On 06/15/2011 03:38 PM, Bryan Cain wrote: My work on the GLSL IR to TGSI translator I announced on the list this April is now at the point where I think it is ready to be merged into Mesa. It is stable and doesn't regress any piglit tests on softpipe or nv50. It adds native integer support as r

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-16 Thread Bryan Cain
On Thu, Jun 16, 2011 at 12:46 AM, Dave Airlie wrote: > On Thu, Jun 16, 2011 at 3:22 PM, Dave Airlie wrote: > > On Thu, Jun 16, 2011 at 7:38 AM, Bryan Cain > wrote: > >> My work on the GLSL IR to TGSI translator I announced on the list this > >> April is now at the point where I think it is rea

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-15 Thread Dave Airlie
On Thu, Jun 16, 2011 at 3:22 PM, Dave Airlie wrote: > On Thu, Jun 16, 2011 at 7:38 AM, Bryan Cain wrote: >> My work on the GLSL IR to TGSI translator I announced on the list this >> April is now at the point where I think it is ready to be merged into >> Mesa.  It is stable and doesn't regress an

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-15 Thread Dave Airlie
On Thu, Jun 16, 2011 at 7:38 AM, Bryan Cain wrote: > My work on the GLSL IR to TGSI translator I announced on the list this > April is now at the point where I think it is ready to be merged into > Mesa.  It is stable and doesn't regress any piglit tests on softpipe or > nv50. I just pulled it in

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-15 Thread Tom Stellard
On Wed, Jun 15, 2011 at 04:38:07PM -0500, Bryan Cain wrote: > My work on the GLSL IR to TGSI translator I announced on the list this > April is now at the point where I think it is ready to be merged into > Mesa. It is stable and doesn't regress any piglit tests on softpipe or > nv50. > Hi, Fir

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-15 Thread Bryan Cain
On 06/15/2011 04:59 PM, Kenneth Graunke wrote: > Bryan, > > Thanks for your work on this! I'm glad to see GLSL IR->TGSI happening. > > A few quick comments on "mesa,st/mesa: add native support for integers > in shaders"... > > glsl_type::get_vec4_type(base) is equivalent to > glsl_type::get_instan

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-15 Thread Dave Airlie
On Thu, Jun 16, 2011 at 7:38 AM, Bryan Cain wrote: > My work on the GLSL IR to TGSI translator I announced on the list this > April is now at the point where I think it is ready to be merged into > Mesa.  It is stable and doesn't regress any piglit tests on softpipe or > nv50. For anyone not gith

Re: [Mesa-dev] Status of the GLSL->TGSI translator

2011-06-15 Thread Kenneth Graunke
Bryan, Thanks for your work on this! I'm glad to see GLSL IR->TGSI happening. A few quick comments on "mesa,st/mesa: add native support for integers in shaders"... glsl_type::get_vec4_type(base) is equivalent to glsl_type::get_instance(base, 4, 1) except that it returns error_type instead

[Mesa-dev] Status of the GLSL->TGSI translator

2011-06-15 Thread Bryan Cain
My work on the GLSL IR to TGSI translator I announced on the list this April is now at the point where I think it is ready to be merged into Mesa. It is stable and doesn't regress any piglit tests on softpipe or nv50. It adds native integer support as required by GLSL 1.30, although it is current