[Mesa-dev] [PATCH] mesa: forbid UseProgram to be called inside Begin/End

2011-05-30 Thread Marek Olšák
The spec doesn't state it should be an error, but. We have this piglit test useprogram-inside-begin that passes with this commit. No idea what's correct. NOTE: This is a candidate for the 7.10 branch. --- src/mesa/main/shaderapi.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

[Mesa-dev] [PATCH] gallium: include limits.h in p_config.h

2011-05-30 Thread Dave Airlie
From: Dave Airlie We are getting inconsistent methods for endian detection (same answer when it works, just doesn't work on some platforms) depending on whether __GLIBC__ is defined, which of course depends on include ordering before p_config.h Just make p_config.h include limits.h to solve this

Re: [Mesa-dev] gallium st incorrect drawable <-> context bindings.

2011-05-30 Thread Dave Airlie
> > I don't think that's the correct solution either. If the state-trackers > notion of the drawable is just marked invalid, the first state tracker > context using the drawable will go ahead and update it. Subsequent contexts > will see the updated drawable, but might want to adjust their viewport

[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults when compiled with shared glapi

2011-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #33 from Marc 2011-05-30 05:00:16 PDT --- Created an attachment (id=47309) --> (https://bugs.freedesktop.org/attachment.cgi?id=47309) screenshot of glxgears with MESA_DEBUG=all -- Configure bugmail: https://bugs.freedesktop.org/use

[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults when compiled with shared glapi

2011-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #34 from Marc 2011-05-30 05:01:37 PDT --- tried with todays git HEAD and found that the segfault does not occur with MESA_DEBUG=all, but there seem to be some lightning problem (see screenshot in the previous comment). -- Configure

Re: [Mesa-dev] [PATCH] mesa: forbid UseProgram to be called inside Begin/End

2011-05-30 Thread Brian Paul
On Mon, May 30, 2011 at 3:17 AM, Marek Olšák wrote: > The spec doesn't state it should be an error, but. We have this piglit test > useprogram-inside-begin that passes with this commit. No idea what's correct. > > NOTE: This is a candidate for the 7.10 branch. Agreed. It seems to me that quite a

Re: [Mesa-dev] [PATCH] gallium: include limits.h in p_config.h

2011-05-30 Thread Brian Paul
On Mon, May 30, 2011 at 4:33 AM, Dave Airlie wrote: > From: Dave Airlie > > We are getting inconsistent methods for endian detection (same answer when > it works, just doesn't work on some platforms) depending on whether __GLIBC__ > is defined, which of course depends on include ordering before p