Re: [Mesa-dev] [PATCH 1/4] gallium: add new pipe_screen::legal_resource_size() function

2012-09-16 Thread Michel Dänzer
On Son, 2012-09-16 at 19:53 -0600, Brian Paul wrote: > From: Brian Paul > > To implement proxy textures. If a gallium driver doesn't implement > this function we'll just continue to use the core Mesa fallback code. > > Without this hook we really have no good way to implement OpenGL proxy > te

[Mesa-dev] [PATCH] llvmpipe: set max cube texture size to 4K x 4K

2012-09-16 Thread Brian Paul
From: Brian Paul Before, the limit was 8K. For 32-bit RGBA that would be require 1.5 GB of memory (w/out mipmaps). That's well beyond the LP_MAX_TEXTURE_SIZE of 1GB. --- src/gallium/drivers/llvmpipe/lp_limits.h |1 + src/gallium/drivers/llvmpipe/lp_screen.c |2 +- 2 files changed, 2 in

[Mesa-dev] [PATCH 4/4] softpipe: implement the new legal_resource_size() function

2012-09-16 Thread Brian Paul
From: Brian Paul And define a SP_MAX_TEXTURE_SIZE value as we do in llvmpipe. --- src/gallium/drivers/softpipe/sp_limits.h |2 +- src/gallium/drivers/softpipe/sp_texture.c | 32 +--- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/src/gallium/driver

[Mesa-dev] [PATCH 2/2] mesa: take cube faces into account in _mesa_test_proxy_teximage()

2012-09-16 Thread Brian Paul
From: Brian Paul There will always be six cube faces so take that into consideration when computing the texture size and comparing against the limit. --- src/mesa/main/teximage.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/tex

[Mesa-dev] [PATCH 1/2] mesa: handle GL_PROXY_TEXTURE_CUBE_MAP in _mesa_num_tex_faces()

2012-09-16 Thread Brian Paul
From: Brian Paul --- src/mesa/main/texobj.h |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/texobj.h b/src/mesa/main/texobj.h index a6f1d3a..f22c58c 100644 --- a/src/mesa/main/texobj.h +++ b/src/mesa/main/texobj.h @@ -85,7 +85,13 @@ _mesa_reference_t

[Mesa-dev] [PATCH 3/4] llvmpipe: implement the new legal_resource_size() function

2012-09-16 Thread Brian Paul
From: Brian Paul --- src/gallium/drivers/llvmpipe/lp_texture.c | 28 +++- 1 files changed, 23 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c b/src/gallium/drivers/llvmpipe/lp_texture.c index 924881c..1b2a8df 100644 --- a/src/galli

[Mesa-dev] [PATCH 1/4] gallium: add new pipe_screen::legal_resource_size() function

2012-09-16 Thread Brian Paul
From: Brian Paul To implement proxy textures. If a gallium driver doesn't implement this function we'll just continue to use the core Mesa fallback code. Without this hook we really have no good way to implement OpenGL proxy textures with gallium drivers. --- src/gallium/include/pipe/p_screen.

[Mesa-dev] [PATCH 2/4] st/mesa: implement new proxy texture code

2012-09-16 Thread Brian Paul
From: Brian Paul If the gallium driver implements the legal_resource_size() function, call it to do proxy texture size checks. --- src/mesa/state_tracker/st_cb_texture.c | 59 +++- src/mesa/state_tracker/st_texture.c| 13 +++ 2 files changed, 71 insertions

[Mesa-dev] release schedule

2012-09-16 Thread Barto
Hello, It's now been more than two months that mesa3d 8.0.4 has been released, do we have a schedule date for mesa3d 8.0.5 ? I ask this because some interesting bugs have been fixed in the git version, like the bug 47375 ( a serious problem with Blender and swrast with the r200 driver ) ___

[Mesa-dev] release schedule

2012-09-16 Thread Barto
Hello, It's now been more than two months  that mesa3d 8.0.4 has been released, do we have a schedule date for mesa3d 8.0.5 ? I ask this because some interesting bugs have been fixed in the git version, like the bug 47375

Re: [Mesa-dev] automake-gallium testing

2012-09-16 Thread Matt Turner
On Sun, Sep 16, 2012 at 12:03 PM, Andreas Boll wrote: > 2012/9/15 Matt Turner : >> On Fri, Sep 14, 2012 at 8:21 AM, Matt Turner wrote: >>> On Fri, Sep 14, 2012 at 6:51 AM, Andreas Boll >>> wrote: Hi Matt, thank you very much for working on mesa's build system. I've tested you

Re: [Mesa-dev] [PATCH] mesa/es: Define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT enum for all GLs

2012-09-16 Thread Kenneth Graunke
On 09/16/2012 09:02 AM, Tomeu Vizoso wrote: > On Tue, Sep 11, 2012 at 5:34 PM, Tomeu Vizoso wrote: >> On Tue, Sep 11, 2012 at 5:00 PM, Kenneth Graunke > >>> >>> Reviewed-by: Kenneth Graunke >> >> Could you please push it for me? I'm not a committer yet. >> >> Forgot to add my s-o-b to the commit:

Re: [Mesa-dev] automake-gallium testing

2012-09-16 Thread Andreas Boll
2012/9/15 Matt Turner : > On Fri, Sep 14, 2012 at 8:21 AM, Matt Turner wrote: >> On Fri, Sep 14, 2012 at 6:51 AM, Andreas Boll >> wrote: >>> Hi Matt, >>> >>> thank you very much for working on mesa's build system. >>> I've tested your branch at >>> http://cgit.freedesktop.org/~mattst88/mesa/log

Re: [Mesa-dev] [PATCH 11/19] r600g: atomize stencil ref state

2012-09-16 Thread Vadim Girlin
On Sun, 2012-09-16 at 15:21 +0200, Marek Olšák wrote: > You may try to move the call to r600_init_atom in > evergreen_init_state_functions before the other atoms or experiment > what positions works you. I've tried to reorder the atoms but it doesn't help. Also I've noticed that lockup only happen

Re: [Mesa-dev] [PATCH] mesa/es: Define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT enum for all GLs

2012-09-16 Thread Tomeu Vizoso
On Tue, Sep 11, 2012 at 5:34 PM, Tomeu Vizoso wrote: > On Tue, Sep 11, 2012 at 5:00 PM, Kenneth Graunke > >> >> Reviewed-by: Kenneth Graunke > > Could you please push it for me? I'm not a committer yet. > > Forgot to add my s-o-b to the commit: > > Signed-off-by: Tomeu Vizoso Hello, could some

Re: [Mesa-dev] [PATCH 11/19] r600g: atomize stencil ref state

2012-09-16 Thread Marek Olšák
You may try to move the call to r600_init_atom in evergreen_init_state_functions before the other atoms or experiment what positions works you. Marek On Sun, Sep 16, 2012 at 3:12 AM, Vadim Girlin wrote: > Hi Marek, > > It seems after this patch something goes wrong for me on juniper - I've > got

Re: [Mesa-dev] [PATCH 46/47] mesa: remove remaining FEATURE_* defines where protected by API check.

2012-09-16 Thread Ian Romanick
On 09/15/2012 06:04 PM, Török Edwin wrote: On 09/13/2012 11:19 AM, Oliver McFadden wrote: Signed-off-by: Oliver McFadden diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index abce52e..63bb3da 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -952,18 +952,14 @

Re: [Mesa-dev] [PATCH 47/47] mesa: remove never-defined FEATURE_histogram conditional.

2012-09-16 Thread Ian Romanick
On 09/13/2012 11:19 AM, Oliver McFadden wrote: Signed-off-by: Oliver McFadden --- src/mesa/main/histogram.c |4 src/mesa/main/histogram.h | 11 --- 2 files changed, 0 insertions(+), 15 deletions(-) diff --git a/src/mesa/main/histogram.c b/src/mesa/main/histogram.c index 4

Re: [Mesa-dev] automake-gallium testing

2012-09-16 Thread Michel Dänzer
On Sam, 2012-09-15 at 10:08 -0700, Matt Turner wrote: > On Sat, Sep 15, 2012 at 1:22 AM, Michel Dänzer wrote: > > On Fre, 2012-09-14 at 08:21 -0700, Matt Turner wrote: > >> On Fri, Sep 14, 2012 at 6:51 AM, Andreas Boll > >> > > >> > $ LD_LIBRARY_PATH="/home/andreas/mesa-testing/lib" LIBGL_DEBUG=v

mesa-dev@lists.freedesktop.org

2012-09-16 Thread Kenneth Graunke
On 09/16/2012 12:54 AM, Chris Forbes wrote: > This fixes glGetStringi(GL_EXTENSIONS,.. for core contexts. Previously, > all extension names returned would be NULL. > > Signed-off-by: Chris Forbes > --- > src/mesa/main/extensions.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

[Mesa-dev] [PATCH] mesa: Flag _NEW_VARYING_VP_INPUTS when there's no vertex program.

2012-09-16 Thread Kenneth Graunke
The idea here is to not flag _NEW_VARYING_VP_INPUTS when shaders (either GLSL or ARB vp/fp) are in use. Fixed function happens when either a) there is no vertex program, or b) it's the current TNL program. On Pineview, fixes 20 Piglit, 60 oglconforms, and 7 ES 1.1 conformance tests, as well as mi

mesa-dev@lists.freedesktop.org

2012-09-16 Thread Chris Forbes
This fixes glGetStringi(GL_EXTENSIONS,.. for core contexts. Previously, all extension names returned would be NULL. Signed-off-by: Chris Forbes --- src/mesa/main/extensions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions