[Mesa-dev] instanced drawing branch

2010-12-17 Thread Brian Paul
I've pushed my draw-instanced branch. It implements GL_ARB_draw_instanced in gallium, mesa tnl/swrast and the GLSL compiler. There's a new register file type for "system values", both in Mesa and gallium/TGSI. I'd like to change the front-face fragment input to be a system value at some poin

Re: [Mesa-dev] [Mesa3d-dev] ARB draw buffers + texenv program

2010-12-17 Thread Dave Airlie
> I think this is subtle enough that it needs some documentation. I was just initially checking the property idea was okay for everyone, http://cgit.freedesktop.org/~airlied/mesa/log/?h=gallium-color0-write-cbufs contains 4 patches, gallium, softpipe, mesa/st, r300g, which adds the property sup

Re: [Mesa-dev] [Mesa3d-dev] [PATCH 0/6] [RFC] Formalization of the Gallium shader semantics linkage model

2010-12-17 Thread Christoph Bumiller
On 17.12.2010 17:54, Marek Olšák wrote: > On Fri, Dec 17, 2010 at 4:32 PM, Brian Paul > wrote: > > Christoph, > > I don't see a patch for the st/mesa program translation code to check > that we don't exceed the limit. Were you going to take care of > that

Re: [Mesa-dev] crash with git version of r600 gallium (ut2004)

2010-12-17 Thread Gwendal Le Guevel
Hello, finaly with git version of libdrm I haven't the problem. I was be able to play a level. I thought use the git version of lidrm to build mesa and gallium drivers. But this was not the case. So I have a question, why in mesa config, the libdrm include are hard coded (/usr/include/libdrm) an

Re: [Mesa-dev] [Mesa3d-dev] [PATCH 0/6] [RFC] Formalization of the Gallium shader semantics linkage model

2010-12-17 Thread Marek Olšák
On Fri, Dec 17, 2010 at 4:32 PM, Brian Paul wrote: > Christoph, > > I don't see a patch for the st/mesa program translation code to check > that we don't exceed the limit. Were you doing to take care of that too? > > I guess we're assuming that the max number of generic inputs == max > number of

Re: [Mesa-dev] [Mesa3d-dev] ARB draw buffers + texenv program

2010-12-17 Thread Keith Whitwell
On Fri, 2010-12-17 at 00:49 -0800, Dave Airlie wrote: > On Tue, Apr 27, 2010 at 7:10 AM, Dave Airlie wrote: > buffers. > >>> But you'll have more shader instructions for writing to all these > >>> outputs right? I think that could still make a difference, though it > >>> might be more theoret

Re: [Mesa-dev] [Mesa3d-dev] ARB draw buffers + texenv program

2010-12-17 Thread Dave Airlie
On Tue, Apr 27, 2010 at 7:10 AM, Dave Airlie wrote: buffers. >>> But you'll have more shader instructions for writing to all these >>> outputs right? I think that could still make a difference, though it >>> might be more theoretical rather than in practice. >>> >> >> Right, I was talking spe