[Mesa-dev] [PATCH 2/2] intel: Skip texture validation logic when nothing has changed.

2012-12-23 Thread Eric Anholt
Improves GLBenchmark 2.1 offscreen performance by 3.2% +/- 1.5% (n=52). --- src/mesa/drivers/dri/intel/intel_mipmap_tree.c |3 +++ src/mesa/drivers/dri/intel/intel_tex.c |4 src/mesa/drivers/dri/intel/intel_tex_image.c|1 + src/mesa/drivers/dri/intel/intel_tex_obj.h

[Mesa-dev] [PATCH 1/2] intel: Turn a test in miptree_match_image into an assert.

2012-12-23 Thread Eric Anholt
--- src/mesa/drivers/dri/intel/intel_mipmap_tree.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c b/src/mesa/drivers/dri/intel/intel_mipmap_tree.c index 3a9e0a5..6c883e7 100644 --- a/src/mesa/drivers/dri/intel/intel_mip

[Mesa-dev] [PATCH v2] scons: Include X11 path if X11 is available.

2012-12-23 Thread Vinson Lee
This patch fixes these build errors. glxinit.c:18:25: error: GL/glxproto.h: No such file or directory glxinit.c:19:26: error: GL/glxtokens.h: No such file or directory Signed-off-by: Vinson Lee --- src/gallium/state_trackers/egl/SConscript | 1 + 1 file changed, 1 insertion(+) diff --git a/src/

Re: [Mesa-dev] [PATCH] i965: Fix border color handling for deprecated SNORM formats.

2012-12-23 Thread Kenneth Graunke
On 12/20/2012 04:07 PM, Eric Anholt wrote: We don't have native hardware support for these, so they get promoted to RGBA, in which case we don't have hardware dealing with the channel swizzling for us. Fixes piglit EXT_texture_snorm/texwrap formats bordercolor (-swizzled). --- src/mesa/drivers

Re: [Mesa-dev] [PATCH 2/2] i965: Start using HIZ for Z16 textures.

2012-12-23 Thread Kenneth Graunke
On 12/23/2012 12:16 PM, Eric Anholt wrote: I had left this out for a long time because it regressed some depthstencil-render-miplevels cases when it was enabled. Now that the bugs causing those are fixed, there's nothing stopping us. Improves glbenchmark 2.1 offscreen performance by 7.3% +/- 2.

[Mesa-dev] [PATCH] r600g: rework handling of the constants

2012-12-23 Thread Vincent Lejeune
>From Vadim Girlin patch --- src/gallium/drivers/r600/r600_llvm.c | 19 ++ src/gallium/drivers/r600/r600_shader.c | 35 +- 2 files changed, 37 insertions(+), 17 deletions(-) diff --git a/src/gallium/drivers/r600/r600_llvm.c b/src/gallium/drivers/

[Mesa-dev] [PATCH 1/2] intel: Use the parent miptree's format for setting up HiZ miptrees.

2012-12-23 Thread Eric Anholt
This worked out before because the parent was always 4 bytes so it didn't affect the layout, but now we want to support Z16 too. --- src/mesa/drivers/dri/intel/intel_mipmap_tree.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/intel/intel_mipmap_tree.c

[Mesa-dev] [PATCH 2/2] i965: Start using HIZ for Z16 textures.

2012-12-23 Thread Eric Anholt
I had left this out for a long time because it regressed some depthstencil-render-miplevels cases when it was enabled. Now that the bugs causing those are fixed, there's nothing stopping us. Improves glbenchmark 2.1 offscreen performance by 7.3% +/- 2.8% (n=10). --- src/mesa/drivers/dri/i965/brw

Re: [Mesa-dev] [PATCH] configure.ac: Save user {C, CXX}FLAGS and append them at end.

2012-12-23 Thread Johannes Obermayr
Am Samstag, 22. Dezember 2012, 16:34:48 schrieben Sie: > On Sat, Dec 22, 2012 at 10:47 AM, Johannes Obermayr > wrote: > > Am Samstag, 22. Dezember 2012, 09:21:33 schrieb Matt Turner: > >> On Sat, Dec 22, 2012 at 9:16 AM, Johannes Obermayr > >> wrote: > >> > This way the user has the privilege of