Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-27 Thread Keith Whitwell
On Fri, 2009-07-24 at 17:00 -0700, Anders Juel Jensen wrote: > Ok, I'll bite. Partly because I think gallium looks like the most fascinating > thing in 3D graphics to date, but also because what I can find on wikipedia, > the various blogs and the tungsten site doesn't really explain things in >

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-27 Thread Keith Whitwell
On Sun, 2009-07-26 at 17:35 -0700, Jose Fonseca wrote: > Keith wrote: > > On Fri, 2009-07-24 at 11:35 -0700, Zack Rusin wrote: > > > On Friday 24 July 2009 14:21:35 José Fonseca wrote: > > > > But in this step 1 you don't plan to embed the vector width and AoS vs > > > > Soa in TGSI, right? > > > >

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-27 Thread Jose Fonseca
Zack wrote: > On Sunday 26 July 2009 20:35:53 Jose Fonseca wrote: > > I've forked softpipe and commited the LLVM based pixel packing/unpacking > > code I was working on, into a new branch, gallium-llvmpipe. > > Neat. Any reason for using the C bindings? That seems like a bad idea to me. The same

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-26 Thread Zack Rusin
On Sunday 26 July 2009 20:35:53 Jose Fonseca wrote: > I've forked softpipe and commited the LLVM based pixel packing/unpacking > code I was working on, into a new branch, gallium-llvmpipe. Neat. Any reason for using the C bindings? That seems like a bad idea to me. ---

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-26 Thread Jose Fonseca
Keith wrote: > On Fri, 2009-07-24 at 11:35 -0700, Zack Rusin wrote: > > On Friday 24 July 2009 14:21:35 José Fonseca wrote: > > > But in this step 1 you don't plan to embed the vector width and AoS vs > > > Soa in TGSI, right? > > > > No, nothing changes at that layer. > > Essentially LLVM is compl

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-24 Thread Zack Rusin
On Friday 24 July 2009 20:00:16 Anders Juel Jensen wrote: > On Friday 24 July 2009 21:40:25 Keith Whitwell wrote: > > Thinking of LLVM as "the hardware" has a couple of positive > > psychological implications -- most importanly that we are in the > > business of programming LLVM to do rasterization

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-24 Thread Zack Rusin
On Friday 24 July 2009 15:40:25 Keith Whitwell wrote: > I think a fast software rasterizer project would be better described as > "create a gallium driver targetting LLVM" (as opposed to optimizing > softpipe), as softpipe fills a pretty useful niche in its current form. > > Thinking of LLVM as "th

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-24 Thread Anders Juel Jensen
Ok, I'll bite. Partly because I think gallium looks like the most fascinating thing in 3D graphics to date, but also because what I can find on wikipedia, the various blogs and the tungsten site doesn't really explain things in terms clear to "spectator fan boys" like me :P On Friday 24 July 20

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-24 Thread Keith Whitwell
On Fri, 2009-07-24 at 11:35 -0700, Zack Rusin wrote: > On Friday 24 July 2009 14:21:35 José Fonseca wrote: > > But in this step 1 you don't plan to embed the vector width and AoS vs > > Soa in TGSI, right? > > No, nothing changes at that layer. > Essentially LLVM is completely invisible to driver

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-24 Thread Zack Rusin
On Friday 24 July 2009 14:21:35 José Fonseca wrote: > But in this step 1 you don't plan to embed the vector width and AoS vs > Soa in TGSI, right? No, nothing changes at that layer. Essentially LLVM is completely invisible to drivers and TGSI representation stays exactly the same. Everything is

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-24 Thread José Fonseca
On Fri, 2009-07-24 at 10:54 -0700, Zack Rusin wrote: > On Friday 24 July 2009 13:33:22 José Fonseca wrote: > > > To be honest I don't think that using LLVM from C for our purposes is a > > > good idea. Mainly because it will be impossible to do because backends > > > (the actual code-generators for

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-24 Thread Zack Rusin
On Friday 24 July 2009 13:33:22 José Fonseca wrote: > > To be honest I don't think that using LLVM from C for our purposes is a > > good idea. Mainly because it will be impossible to do because backends > > (the actual code-generators for given hardware) will need to be C++ > > anyway so we'll agai

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-24 Thread José Fonseca
On Fri, 2009-07-24 at 09:45 -0700, Zack Rusin wrote: > On Friday 24 July 2009 10:01:49 José Fonseca wrote: > > On Thu, 2009-07-23 at 16:38 -0700, Zack Rusin wrote: > > > I thought about that and discarded that for the following reasons: > > > 1) it doesn't solve the main/core problem of the represe

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-24 Thread Zack Rusin
On Friday 24 July 2009 10:01:49 José Fonseca wrote: > On Thu, 2009-07-23 at 16:38 -0700, Zack Rusin wrote: > > I thought about that and discarded that for the following reasons: > > 1) it doesn't solve the main/core problem of the representation: how to > > represent vectors. > > Aren't LLVM vector

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-24 Thread José Fonseca
On Thu, 2009-07-23 at 16:38 -0700, Zack Rusin wrote: > On Thursday 23 July 2009 14:50:48 José Fonseca wrote: > > On Thu, 2009-07-23 at 11:14 -0700, Zack Rusin wrote: > > > Before anything else the problem of representation needs to solved. The > > > two step approach that the code in there started

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-24 Thread Keith Whitwell
On Thu, 2009-07-23 at 16:38 -0700, Zack Rusin wrote: > On Thursday 23 July 2009 14:50:48 José Fonseca wrote: > > On Thu, 2009-07-23 at 11:14 -0700, Zack Rusin wrote: > > > Before anything else the problem of representation needs to solved. The > > > two step approach that the code in there started

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-23 Thread Zack Rusin
On Thursday 23 July 2009 14:50:48 José Fonseca wrote: > On Thu, 2009-07-23 at 11:14 -0700, Zack Rusin wrote: > > Before anything else the problem of representation needs to solved. The > > two step approach that the code in there started on using is again, imho, > > by far the best but it likely ne

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-23 Thread José Fonseca
On Thu, 2009-07-23 at 11:14 -0700, Zack Rusin wrote: > On Thursday 23 July 2009 13:58:54 Keith Whitwell wrote: > > > OK. I wanted to fix any breakages from my recent changes, so > > > trivial/tri is at least running now. > > > > BTW - I don't think this should be removed from master - there are a

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-23 Thread Zack Rusin
On Thursday 23 July 2009 13:58:54 Keith Whitwell wrote: > > OK. I wanted to fix any breakages from my recent changes, so > > trivial/tri is at least running now. > > BTW - I don't think this should be removed from master - there are a lot > of people just waiting to get a bit of time to work on th

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-23 Thread Keith Whitwell
On Thu, 2009-07-23 at 10:49 -0700, Keith Whitwell wrote: > On Thu, 2009-07-23 at 10:36 -0700, Zack Rusin wrote: > > On Thursday 23 July 2009 12:59:49 Keith Whitwell wrote: > > > Module: Mesa > > > Branch: master > > > Commit: adc6f8cdfc8ca25d7480a50cfe0f85fdeddbfcfc > > > URL: > > > http://cgit.

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-23 Thread Keith Whitwell
On Thu, 2009-07-23 at 10:36 -0700, Zack Rusin wrote: > On Thursday 23 July 2009 12:59:49 Keith Whitwell wrote: > > Module: Mesa > > Branch: master > > Commit: adc6f8cdfc8ca25d7480a50cfe0f85fdeddbfcfc > > URL: > > http://cgit.freedesktop.org/mesa/mesa/commit/?id=adc6f8cdfc8ca25d7480a50cfe > >0f85

Re: [Mesa3d-dev] Mesa (master): gallivm: updates for TGSI changes

2009-07-23 Thread Zack Rusin
On Thursday 23 July 2009 12:59:49 Keith Whitwell wrote: > Module: Mesa > Branch: master > Commit: adc6f8cdfc8ca25d7480a50cfe0f85fdeddbfcfc > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=adc6f8cdfc8ca25d7480a50cfe >0f85fdeddbfcfc > > Author: Keith Whitwell > Date: Thu Jul 23 17:56:4