Re: [Mesa-dev] GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB on r300g

2011-04-22 Thread Tom Stellard
On Fri, Apr 22, 2011 at 07:19:36PM +0200, Sven Arvidsson wrote: > On Fri, 2011-04-22 at 16:46 +0200, Marek Olšák wrote: > > That page seems to lie. > > > > The R500 limits are: > > - 1024 vertex shader instructions > > - 512 fragment shader instructions > > I remembered that I still have an XP pa

Re: [Mesa-dev] KWin and Mesa

2011-04-22 Thread Mario Kleiner
On Apr 23, 2011, at 1:32 AM, Ian Pilcher wrote: On 04/20/2011 01:00 PM, Kenneth Graunke wrote: Please do let us know about any issues you come across. (If you can work around them, you can report them...) Even just a ping saying "Someone told me KWin was broken on " is helpful. We have t

Re: [Mesa-dev] KWin and Mesa

2011-04-22 Thread Ian Pilcher
On 04/20/2011 01:00 PM, Kenneth Graunke wrote: > Please do let us know about any issues you come across. (If you can work > around them, you can report them...) Even just a ping saying "Someone > told me KWin was broken on " is helpful. We have the > hardware and can always try to reproduce the p

[Mesa-dev] [Bug 36282] 34a5d3b9f4740601708c82093e2114356d749e65: glxgears segfaults (swrast, r600g, nouveau_vieux)

2011-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36282 --- Comment #25 from Alexandre Demers 2011-04-22 15:21:23 PDT --- Since the problem introduced by commit 34a5d3b9f4740601708c82093e2114356d749e65 happens only when enabling shared glapi, could it be caused by something not properly exported in (

[Mesa-dev] [PATCH 3/3] ir_to_mesa: Emit TXD instruction.

2011-04-22 Thread Kenneth Graunke
Mesa already supports this because of NV_fragment_program. Signed-off-by: Kenneth Graunke --- src/mesa/program/ir_to_mesa.cpp | 13 +++-- 1 files changed, 11 insertions(+), 2 deletions(-) I tried testing this by using texture2DGradARB in a fragment shader on swrast, which didn't work.

[Mesa-dev] [PATCH 2/3] glsl: Add compiler support for ARB_shader_texture_lod.

2011-04-22 Thread Kenneth Graunke
Signed-off-by: Kenneth Graunke --- .../builtins/profiles/ARB_shader_texture_lod.frag | 64 .../builtins/profiles/ARB_shader_texture_lod.vert | 46 ++ src/glsl/builtins/tools/texture_builtins.py| 64 src/glsl/glcpp/glcpp-parse.y

[Mesa-dev] [PATCH 1/3] mesa: Add ARB_shader_texture_lod to the extension list; off by default.

2011-04-22 Thread Kenneth Graunke
Signed-off-by: Kenneth Graunke --- src/mesa/main/extensions.c |2 +- src/mesa/main/mtypes.h |1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 8a0ab96..fc55184 100644 --- a/src/mesa/main/extensions.c +++ b

Re: [Mesa-dev] FBO read / draw completeness.

2011-04-22 Thread Henri Verbeet
On 22 April 2011 20:08, Eric Anholt wrote: > ARB_ES2_compatibility is already landed, so the point should be moot > now, right? > I don't have it on r600g yet at least, but maybe it's easy to enable. It would indeed make the issue mostly moot, though if the spec is broken it would still be nice to

Re: [Mesa-dev] FBO read / draw completeness.

2011-04-22 Thread Eric Anholt
On Fri, 22 Apr 2011 14:19:04 +0200, Henri Verbeet wrote: > Hi, > > A while ago we talked on IRC about the FBO completeness rules for read > / draw FBOs. > > The specific bug that triggered that was that Mesa only applies > ReadBuffer() calls to the read FBO and DrawBuffers() to the draw FBO. > T

Re: [Mesa-dev] GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB on r300g

2011-04-22 Thread Marek Olšák
On Fri, Apr 22, 2011 at 7:19 PM, Sven Arvidsson wrote: > On Fri, 2011-04-22 at 16:46 +0200, Marek Olšák wrote: > > That page seems to lie. > > > > The R500 limits are: > > - 1024 vertex shader instructions > > - 512 fragment shader instructions > > I remembered that I still have an XP partition a

Re: [Mesa-dev] [PATCH 3/5] i965: Add support for ARB_texture_compression_rgtc.

2011-04-22 Thread Eric Anholt
On Fri, 22 Apr 2011 14:51:57 +0200, Marek Olšák wrote: > On Fri, Apr 22, 2011 at 1:49 AM, Eric Anholt wrote: > > > On Wed, 20 Apr 2011 16:21:05 -0700, Ian Romanick > > wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA1 > > > > > > On 04/20/2011 11:08 AM, Eric Anholt wrote: > > > >

Re: [Mesa-dev] GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB on r300g

2011-04-22 Thread Sven Arvidsson
On Fri, 2011-04-22 at 16:46 +0200, Marek Olšák wrote: > That page seems to lie. > > The R500 limits are: > - 1024 vertex shader instructions > - 512 fragment shader instructions I remembered that I still have an XP partition around, so I ran GLinfo myself, and it seems to report the same: http://

Re: [Mesa-dev] [PATCH 1/2] configure.ac: enable LLVM by default

2011-04-22 Thread Dan Nicholson
On Fri, Apr 22, 2011 at 8:52 AM, Dan Nicholson wrote: > On Thu, Apr 21, 2011 at 4:39 AM, Marek Olšák wrote: >> OpenSUSE is (was?) shipping r300g with LLVM disabled. Can you believe it? >> Poor users with SWTCL chipsets... and bad reputation for us too. >> --- >>  configure.ac |    4 ++-- >>  1 fi

Re: [Mesa-dev] [PATCH 1/2] configure.ac: enable LLVM by default

2011-04-22 Thread Dan Nicholson
On Thu, Apr 21, 2011 at 4:39 AM, Marek Olšák wrote: > OpenSUSE is (was?) shipping r300g with LLVM disabled. Can you believe it? > Poor users with SWTCL chipsets... and bad reputation for us too. > --- >  configure.ac |    4 ++-- >  1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/

Re: [Mesa-dev] GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB on r300g

2011-04-22 Thread Marek Olšák
That page seems to lie. The R500 limits are: - 1024 vertex shader instructions - 512 fragment shader instructions You should get these values from 'glxinfo -l'. Some of the shader model 3.0 requirements are: - minimum of 512 instructions must be supported in both vertex and fragment shaders (met

Re: [Mesa-dev] GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB on r300g

2011-04-22 Thread Henri Verbeet
On 22 April 2011 16:05, Sven Arvidsson wrote: > (I guess it's also possible that I have completely misunderstood either > Wine or something else of course!) The Wine part sounds correct at least. It's of course a bit of a terrible heuristic to look at the fragment program caps to guess what the GL

[Mesa-dev] GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB on r300g

2011-04-22 Thread Sven Arvidsson
Hi, I have been trying to figure out why Wine didn't enable PS/VS 3.0 on my card, an X1950 Pro. It seems this depends on how many native instructions are available for ARB_FRAGMENT_PROGRAM. r300g reports 512, but according to http://opengl.demoscene.fr/reports/ATI Radeon X1950 Pro.htm this card s

[Mesa-dev] [Bug 36488] please update Mesa Home Page : http://mesa3d.sourceforge.net with better gallium info

2011-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36488 --- Comment #1 from Jason Vas Dias 2011-04-22 06:46:20 PDT --- Also many --enable-gallium-* options are not listed: $ ./configure --help 2>&1 | grep gallium --disable-gallium build gallium [default=enabled] --enable-gallium-eglena

[Mesa-dev] [Bug 36488] New: please update Mesa Home Page : http://mesa3d.sourceforge.net with better gallium info

2011-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36488 Summary: please update Mesa Home Page : http://mesa3d.sourceforge.net with better gallium info Product: Mesa Version: git Platform: Other OS/Version: All Status: NE

Re: [Mesa-dev] [PATCH 3/5] i965: Add support for ARB_texture_compression_rgtc.

2011-04-22 Thread Marek Olšák
On Fri, Apr 22, 2011 at 1:49 AM, Eric Anholt wrote: > On Wed, 20 Apr 2011 16:21:05 -0700, Ian Romanick > wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 04/20/2011 11:08 AM, Eric Anholt wrote: > > > Tested with rgtc-teximage-0[12]. > > > EXT_texture_compression_rgtc/fbo-g

[Mesa-dev] FBO read / draw completeness.

2011-04-22 Thread Henri Verbeet
Hi, A while ago we talked on IRC about the FBO completeness rules for read / draw FBOs. The specific bug that triggered that was that Mesa only applies ReadBuffer() calls to the read FBO and DrawBuffers() to the draw FBO. This means that if you're trying to do a depth blit using BlitFramebuffer()

Re: [Mesa-dev] [PATCH 2/2] configure.ac: refuse to build r300g without LLVM

2011-04-22 Thread Jose Fonseca
- Original Message - > On Thu, Apr 21, 2011 at 11:39 AM, Marek Olšák > wrote: > > --- > >  configure.ac |    5 + > >  1 files changed, 5 insertions(+), 0 deletions(-) > > > > diff --git a/configure.ac b/configure.ac > > index 8e9f73f..84a75c4 100644 > > --- a/configure.ac > > +++ b/c