Re: [Mesa-dev] KWin and Mesa

2011-04-25 Thread Solerman Kaplon
Em 23-04-2011 01:11, Mario Kleiner escreveu: At least the visual corruption with compositing that is described in these reports matches this bug very well: This affects other driver's too, right? Shouldn't the component gets changed in the

Re: [Mesa-dev] KWin and Mesa

2011-04-25 Thread Ian Pilcher
On 04/25/2011 08:38 AM, Solerman Kaplon wrote: > Em 23-04-2011 01:11, Mario Kleiner escreveu: >> At least the visual corruption with compositing that is described in >> these reports matches this bug very well: >> >> > > This affects other drive

Re: [Mesa-dev] [PATCH] ra: Add ra_set_node_reg()

2011-04-25 Thread Eric Anholt
On Sun, 24 Apr 2011 22:58:59 -0700, Tom Stellard wrote: > On Sun, Apr 24, 2011 at 02:00:40PM -0700, Eric Anholt wrote: > > On Tue, 19 Apr 2011 23:09:46 -0700, Tom Stellard wrote: > > > This function makes it possible to include input / payload registers in > > > the interference graph. > > > > [

[Mesa-dev] [PATCH] main: remove duplicated includes

2011-04-25 Thread Nicolas Kaiser
Remove duplicated includes of guarded headers. Signed-off-by: Nicolas Kaiser --- src/mesa/main/pack.c |1 - src/mesa/main/texstore.c |1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c index 4bb0a90..ad8ab9d 100644 --- a/sr

Re: [Mesa-dev] [PATCH] main: remove duplicated includes

2011-04-25 Thread Kenneth Graunke
On 04/25/2011 09:37 AM, Nicolas Kaiser wrote: Remove duplicated includes of guarded headers. Signed-off-by: Nicolas Kaiser --- src/mesa/main/pack.c |1 - src/mesa/main/texstore.c |1 - 2 files changed, 0 insertions(+), 2 deletions(-) What's the point? The only justification I'

Re: [Mesa-dev] GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB on r300g

2011-04-25 Thread Sven Arvidsson
On Fri, 2011-04-22 at 22:02 -0700, Tom Stellard wrote: > R500 cards do support 1024 fragment shader instructions (512 ALU + 512 TEX), > so I > think the value of GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB should be 1024. I noticed that some OEMs marketed the card as having "1024 shader instructions",

Re: [Mesa-dev] [PATCH] main: remove duplicated includes

2011-04-25 Thread Brian Paul
On 04/25/2011 10:47 AM, Kenneth Graunke wrote: On 04/25/2011 09:37 AM, Nicolas Kaiser wrote: Remove duplicated includes of guarded headers. Signed-off-by: Nicolas Kaiser --- src/mesa/main/pack.c | 1 - src/mesa/main/texstore.c | 1 - 2 files changed, 0 insertions(+), 2 deletions(-) What's the p

Re: [Mesa-dev] GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB on r300g

2011-04-25 Thread Alex Deucher
On Mon, Apr 25, 2011 at 1:01 PM, Sven Arvidsson wrote: > On Fri, 2011-04-22 at 22:02 -0700, Tom Stellard wrote: >> R500 cards do support 1024 fragment shader instructions (512 ALU + 512 TEX), >> so I >> think the value of GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB should be 1024. > > I noticed that s

Re: [Mesa-dev] GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB on r300g

2011-04-25 Thread Tom Stellard
On Mon, Apr 25, 2011 at 07:01:49PM +0200, Sven Arvidsson wrote: > On Fri, 2011-04-22 at 22:02 -0700, Tom Stellard wrote: > > R500 cards do support 1024 fragment shader instructions (512 ALU + 512 > > TEX), so I > > think the value of GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB should be 1024. I was wr

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

2011-04-25 Thread Andy Furniss
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/configure.ac b/configure.ac index 8989c2b..

[Mesa-dev] [Bug 36593] New: Mesa git does not compile in ubuntu natty after multiarch changes

2011-04-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36593 Summary: Mesa git does not compile in ubuntu natty after multiarch changes Product: Mesa Version: git Platform: All OS/Version: Linux (All) Status: NEW Se

[Mesa-dev] [Bug 36593] Mesa git does not compile in ubuntu natty after multiarch changes

2011-04-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36593 shankao changed: What|Removed |Added CC||shan...@gmail.com See Also|

Re: [Mesa-dev] [PATCH] main: remove duplicated includes

2011-04-25 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/25/2011 09:47 AM, Kenneth Graunke wrote: > On 04/25/2011 09:37 AM, Nicolas Kaiser wrote: >> Remove duplicated includes of guarded headers. >> >> Signed-off-by: Nicolas Kaiser >> --- >> src/mesa/main/pack.c |1 - >> src/mesa/main/texsto

[Mesa-dev] [PATCH] targets/xorg-nouveau: add libnvc0.a to nouveau libs

2011-04-25 Thread Marcin Slusarz
--- src/gallium/targets/xorg-nouveau/Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/gallium/targets/xorg-nouveau/Makefile b/src/gallium/targets/xorg-nouveau/Makefile index 2fcd9ff..5a2cdb1 100644 --- a/src/gallium/targets/xorg-nouveau/Makefile +++ b/src/gal

[Mesa-dev] [PATCH] targets/xorg-nouveau: load nouveau_dri.so instead of i915_dri.so

2011-04-25 Thread Marcin Slusarz
--- src/gallium/targets/xorg-nouveau/nouveau_xorg.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/targets/xorg-nouveau/nouveau_xorg.c b/src/gallium/targets/xorg-nouveau/nouveau_xorg.c index 699af09..f0d6492 100644 --- a/src/gallium/targets/xorg-nouveau/nou

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

2011-04-25 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/22/2011 12:02 PM, Kenneth Graunke wrote: > 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/ex

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

2011-04-25 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/22/2011 12:02 PM, Kenneth Graunke wrote: > Signed-off-by: Kenneth Graunke > --- > .../builtins/profiles/ARB_shader_texture_lod.frag | 64 > > .../builtins/profiles/ARB_shader_texture_lod.vert | 46 ++ > s

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

2011-04-25 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/22/2011 12:02 PM, Kenneth Graunke wrote: > 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 delet

Re: [Mesa-dev] GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB on r300g

2011-04-25 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/22/2011 07:46 AM, Marek Olšák wrote: > 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.

Re: [Mesa-dev] GSoC : Video decoding state tracker for Gallium3d

2011-04-25 Thread Matt Turner
On Mon, Apr 4, 2011 at 4:33 PM, ★ Emeric wrote: > Hello again ! > Last call for comments, this is the GSoC proposal that I will submit, > probably tommorow. > > Thank you, > Emeric So quite disappointingly, this project wasn't accepted because it had no mentor. It's still possible to do this pro

[Mesa-dev] _mesa_texstore_argb8888 with GL_RGBA -> GL_RGB

2011-04-25 Thread Tristan Schmelcher
Hello, I have an OpenGL app where I'm writing video frames to textures. The video frames are semantically opaque but the alpha in the source pixels is set to 0xff, so I have been using glTexImage2D with format=GL_RGBA and internalFormat=GL_RGB to indicate that the input has a valid alpha channel b

[Mesa-dev] [PATCH] mesa: Remove SWcontext::_FogMode, use gl_context::gl_fog_attrib::Mode everywhere

2011-04-25 Thread Ian Romanick
From: Ian Romanick --- src/mesa/swrast/s_context.c |1 - src/mesa/swrast/s_context.h |1 - src/mesa/swrast/s_fog.c |2 +- 3 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index b3e3968..def1531 100644 --- a/s

Re: [Mesa-dev] _mesa_texstore_argb8888 with GL_RGBA -> GL_RGB

2011-04-25 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/25/2011 04:15 PM, Tristan Schmelcher wrote: > I have an OpenGL app where I'm writing video frames to textures. The > video frames are semantically opaque but the alpha in the source > pixels is set to 0xff, so I have been using glTexImage2D with

Re: [Mesa-dev] _mesa_texstore_argb8888 with GL_RGBA -> GL_RGB

2011-04-25 Thread Tristan Schmelcher
On 25 April 2011 16:22, Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/25/2011 04:15 PM, Tristan Schmelcher wrote: > >> I have an OpenGL app where I'm writing video frames to textures. The >> video frames are semantically opaque but the alpha in the source >> pixel

Re: [Mesa-dev] GSoC : Video decoding state tracker for Gallium3d

2011-04-25 Thread Alex Deucher
On Mon, Apr 25, 2011 at 7:09 PM, Matt Turner wrote: > On Mon, Apr 4, 2011 at 4:33 PM, ★ Emeric wrote: >> Hello again ! >> Last call for comments, this is the GSoC proposal that I will submit, >> probably tommorow. >> >> Thank you, >> Emeric > > So quite disappointingly, this project wasn't accept

Re: [Mesa-dev] GSoC : Video decoding state tracker for Gallium3d

2011-04-25 Thread Matt Turner
On Mon, Apr 25, 2011 at 8:17 PM, Alex Deucher wrote: > On Mon, Apr 25, 2011 at 7:09 PM, Matt Turner wrote: >> On Mon, Apr 4, 2011 at 4:33 PM, ★ Emeric wrote: >>> Hello again ! >>> Last call for comments, this is the GSoC proposal that I will submit, >>> probably tommorow. >>> >>> Thank you, >>>

[Mesa-dev] [patch]es2gears should provide the default precision statement for float

2011-04-25 Thread Zhao, Juan J
Hi There, es2gears should provide the default precision statement for float. In our trunk for mesa-demos, this statement is masked. Even if this is one simple patch, it is needed because the default precision statement for float is really one "must" point in the spec. In the ES shad

Re: [Mesa-dev] [PATCH] mesa: Remove SWcontext::_FogMode, use gl_context::gl_fog_attrib::Mode everywhere

2011-04-25 Thread Brian Paul
On 04/25/2011 05:18 PM, Ian Romanick wrote: From: Ian Romanick --- src/mesa/swrast/s_context.c |1 - src/mesa/swrast/s_context.h |1 - src/mesa/swrast/s_fog.c |2 +- 3 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/

[Mesa-dev] [Bug 35268] initial-exec TLS model breaks dlopen'ed libGL

2011-04-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35268 anth...@flowol.com changed: What|Removed |Added CC||anth...@flowol.com -- Configure bug

Re: [Mesa-dev] [PATCH] ra: Add ra_set_node_reg()

2011-04-25 Thread Tom Stellard
On Mon, Apr 25, 2011 at 09:18:40AM -0700, Eric Anholt wrote: > On Sun, 24 Apr 2011 22:58:59 -0700, Tom Stellard wrote: > > On Sun, Apr 24, 2011 at 02:00:40PM -0700, Eric Anholt wrote: > > > On Tue, 19 Apr 2011 23:09:46 -0700, Tom Stellard > > > wrote: > > > > This function makes it possible to i

[Mesa-dev] [PATCH] ra: Add ra_set_node_reg() v2

2011-04-25 Thread Tom Stellard
This function can be used to avoid creating single register classes for input/payload registers. This makes optimistic coloring less likely to fail. v2: Added Eric Anholt's comment to the function. --- src/mesa/program/register_allocate.c | 26 +++--- src/mesa/program/regis

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

2011-04-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36282 Alexandre Demers changed: What|Removed |Added Summary|34a5d3b9f4740601708c82093e2 |34a5d3b9f4740601708c82093e2

[Mesa-dev] [Bug 36333] can't build demos if mesa build with --enable-selinux

2011-04-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36333 Alexandre Demers changed: What|Removed |Added Summary|building demos complains|can't build demos if mesa

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

2011-04-25 Thread Kenneth Graunke
On 04/25/2011 03:03 PM, Ian Romanick wrote: @@ -142,7 +143,6 @@ static const struct extension extension_table[] = { { "GL_ARB_vertex_shader", o(ARB_vertex_shader), GL, 2002 }, { "GL_ARB_vertex_type_2_10_10_10_rev", o(ARB

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

2011-04-25 Thread Kenneth Graunke
On 04/25/2011 03:05 PM, Ian Romanick wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/22/2011 12:02 PM, Kenneth Graunke wrote: Signed-off-by: Kenneth Graunke --- .../builtins/profiles/ARB_shader_texture_lod.frag | 64 .../builtins/profiles/ARB_shader_texture

Re: [Mesa-dev] _mesa_texstore_argb8888 with GL_RGBA -> GL_RGB

2011-04-25 Thread Kenneth Graunke
On 04/25/2011 04:36 PM, Tristan Schmelcher wrote: On 25 April 2011 16:22, Ian Romanick wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/25/2011 04:15 PM, Tristan Schmelcher wrote: I have an OpenGL app where I'm writing video frames to textures. The video frames are semantically opa

Re: [Mesa-dev] GSoC : Video decoding state tracker for Gallium3d

2011-04-25 Thread ★ Emeric
2011/4/26 Alex Deucher > > On Mon, Apr 25, 2011 at 7:09 PM, Matt Turner wrote: > > On Mon, Apr 4, 2011 at 4:33 PM, ★ Emeric wrote: > >> Hello again ! > >> Last call for comments, this is the GSoC proposal that I will submit, > >> probably tommorow. > >> > >> Thank you, > >> Emeric > > > > So qui

[Mesa-dev] GLSL IR to TGSI translator

2011-04-25 Thread Bryan Cain
Hi, In the last week or so, I've been working on a direct translator from GLSL IR to TGSI that does not go through Mesa IR. Although it is still a work in progress, it is now working and very usable. So before I go on, here is a link to the branch I've pushed to GitHub: https://github.com/Plomb