Re: [Mesa-dev] [PATCH] r300g: Use automake to generate Makefile

2012-02-20 Thread Dan Nicholson
On Feb 19, 2012 7:39 PM, "Tom Stellard" wrote: > > On Sun, Feb 19, 2012 at 10:13:48PM -0500, Matt Turner wrote: > > Hi Tom, > > > > Very happy to see this. It looks good, and I'm glad that you replaced > > two Makefiles with only a single Makefile.am. A couple of comments > > below. > > > > On Sun

Re: [Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-20 Thread Jose Fonseca
- Original Message - > > > - Original Message - > > On Sat, Feb 18, 2012 at 4:20 AM, Jose Fonseca > > wrote: > > > - Original Message - > > >> On Fri, Feb 17, 2012 at 9:46 PM, Jose Fonseca > > >> > > >> wrote: > > >> > Dave, > > >> > > > >> > Ideally there should be on

Re: [Mesa-dev] [PATCH] gallivm: Fix TGSI_OPCODE_ARR's translation.

2012-02-20 Thread Dave Airlie
On Mon, Feb 20, 2012 at 8:51 PM, wrote: > From: José Fonseca > > Like TGSI_OPCODE_ARL, destination should be an integer. > > This fixes invalid LLVM IR on an internal state tracker (currently Mesa > never emits this opcode). > > In the future consider making ADDR register also a integer-as-float

[Mesa-dev] [PATCH] gallivm: Fix TGSI_OPCODE_ARR's translation.

2012-02-20 Thread jfonseca
From: José Fonseca Like TGSI_OPCODE_ARL, destination should be an integer. This fixes invalid LLVM IR on an internal state tracker (currently Mesa never emits this opcode). In the future consider making ADDR register also a integer-as-float array, like all other register kinds, or simply replac

[Mesa-dev] [PATCH 12/23] swrast: define, use SWRAST_MAX_WIDTH/HEIGHT

2012-02-20 Thread Brian Paul
From: Brian Paul We'll get rid of MAX_WIDTH, MAX_HEIGHT soon. --- src/mesa/swrast/s_aalinetemp.h |2 +- src/mesa/swrast/s_aatritemp.h |2 +- src/mesa/swrast/s_bitmap.c |2 +- src/mesa/swrast/s_blend.c |2 +- src/mesa/swrast/s_context.c| 20 ++-- sr

[Mesa-dev] [PATCH 11/23] mesa: remove some cruft from config.h

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/main/config.h | 17 + 1 files changed, 1 insertions(+), 16 deletions(-) diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 705d14e..6286fe0 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -46,9 +46,6 @@ /** Max

[Mesa-dev] [PATCH 10/23] mesa: minor comment clean-ups in config.h

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/main/config.h |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 612b719..705d14e 100644 --- a/src/mesa/main/config.h +++ b/src/mesa/main/config.h @@ -115,7 +115,9 @@ /** Maximum rec

[Mesa-dev] [PATCH 23/23] mesa: move more swrast-related #defines out of core Mesa

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/main/config.h | 40 src/mesa/swrast/s_chan.h |8 src/mesa/swrast/swrast.h | 20 3 files changed, 28 insertions(+), 40 deletions(-) diff --git a/src/mesa/main/config.h b/src/mesa/main/c

[Mesa-dev] [PATCH 22/23] mesa: remove STENCIL_BITS use

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/main/context.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 754d313..d29f8a9 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -268,7 +268,7 @@ _mesa_initialize_

[Mesa-dev] [PATCH 21/23] st/glx: remove STENCIL_BITS, DEFAULT_SOFTWARE_DEPTH_BITS

2012-02-20 Thread Brian Paul
From: Brian Paul Remove some Mesa/swrast stuff. --- src/gallium/state_trackers/glx/xlib/glx_api.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c index c9cf6c9..9a487dc 10

[Mesa-dev] [PATCH 20/23] mesa: remove last of MAX_WIDTH, MAX_HEIGHT

2012-02-20 Thread Brian Paul
From: Brian Paul Define new MAX_VIEWPORT_WIDTH/HEIGHT and MAX_RENDERBUFFER_SIZE values instead. --- src/mesa/drivers/dri/i915/intel_decode.c |1 - src/mesa/main/config.h | 13 - src/mesa/main/context.c |6 +++--- 3 files changed, 7 inserti

[Mesa-dev] [PATCH 19/23] mesa: remove MAX_WIDTH from prog_execute.h

2012-02-20 Thread Brian Paul
From: Brian Paul define a PROG_MAX_WIDTH var instead. It has to match MAX_WIDTH in swrast. More elaborate refactoring could fix that (someday). --- src/mesa/program/prog_execute.h |6 +- src/mesa/swrast/s_context.c |2 ++ 2 files changed, 7 insertions(+), 1 deletions(-) diff -

[Mesa-dev] [PATCH 18/23] st/glx: remove MAX_WIDTH/HEIGHT usage

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/gallium/state_trackers/glx/xlib/glx_api.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c index 8ad10f1..c9cf6c9 100644 --- a/src/gallium/state

[Mesa-dev] [PATCH 16/23] swrast: check max renderbuffer size against SWRAST_MAX_WIDTH

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/swrast/s_context.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index dba038b..ffa2687 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -729,6 +729,8

[Mesa-dev] [PATCH 17/23] intel: remove MAX_WIDTH usage in intelInitContext()

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/drivers/dri/intel/intel_context.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c index 377bcbc..c876694 100644 --- a/src/mesa/drivers/dri/intel/in

[Mesa-dev] [PATCH 15/23] osmesa: use SWRAST_MAX_WIDTH/HEIGHT

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/drivers/osmesa/osmesa.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index b767240..e594548 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/os

[Mesa-dev] [PATCH 14/23] dri/swrast: use SWRAST_MAX_WIDTH/HEIGHT

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/drivers/dri/swrast/swrast.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c index d18dd09..22d71bf 100644 --- a/src/mesa/drivers/dri/swrast/swrast.c +++ b/src/mesa

[Mesa-dev] [PATCH 13/23] xlib: use SWRAST_MAX_WIDTH/HEIGHT

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/drivers/x11/fakeglx.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index 916296d..2ff9e7e 100644 --- a/src/mesa/drivers/x11/fakeglx.c +++ b/src/mesa/drivers/x11/fakeglx.

[Mesa-dev] [PATCH 09/23] mesa: remove WIN32 MAX_WIDTH work-around in config.h

2012-02-20 Thread Brian Paul
From: Brian Paul There aren't any more stack-allocated arrays dimensioned by MAX_WIDTH so there shouldn't be any more stack overflows. --- src/mesa/main/config.h | 17 - 1 files changed, 0 insertions(+), 17 deletions(-) diff --git a/src/mesa/main/config.h b/src/mesa/main/confi

[Mesa-dev] [PATCH 08/23] swrast: remove MAX_WIDTH array in s_span.c

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/swrast/s_span.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index 025e7b2..5cdb8ed 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -1319,7 +1319,8 @@ _swrast_w

[Mesa-dev] [PATCH 07/23] swrast: simplify mask array code

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/swrast/s_triangle.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index d1f622e..e89a999 100644 --- a/src/mesa/swrast/s_triangle.c +++ b/src/mesa/swrast/s_triangle.c @@ -201

[Mesa-dev] [PATCH 06/23] swrast: stop using MAX_WIDTH arrays in triangle code

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/swrast/s_triangle.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index ddb4792..d1f622e 100644 --- a/src/mesa/swrast/s_triangle.c +++ b/src/mesa/swrast/s_triangle.c @@ -142,7

[Mesa-dev] [PATCH 05/23] swrast: remove MAX_WIDTH arrays in stencil code

2012-02-20 Thread Brian Paul
From: Brian Paul Use some per-context temporary arrays instead. --- src/mesa/swrast/s_context.c | 18 ++ src/mesa/swrast/s_context.h |7 +++ src/mesa/swrast/s_stencil.c | 15 +++ 3 files changed, 36 insertions(+), 4 deletions(-) diff --git a/src/mesa/swra

[Mesa-dev] [PATCH 04/23] swrast: remove MAX_WIDTH arrays in s_drawpix.c

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/swrast/s_drawpix.c | 63 -- 1 files changed, 36 insertions(+), 27 deletions(-) diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index c19808b..cff0bb3 100644 --- a/src/mesa/swrast/s_drawpix.c +++ b/src

[Mesa-dev] [PATCH 03/23] swrast: remove MAX_WIDTH arrays in s_zoom.c

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/swrast/s_zoom.c | 16 ++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/mesa/swrast/s_zoom.c b/src/mesa/swrast/s_zoom.c index 73bff48..ede8f90 100644 --- a/src/mesa/swrast/s_zoom.c +++ b/src/mesa/swrast/s_zoom.c @@ -362,7 +362,7

[Mesa-dev] [PATCH 02/23] swrast: remove MAX_WIDTH arrays in s_depth.c

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/swrast/s_depth.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/mesa/swrast/s_depth.c b/src/mesa/swrast/s_depth.c index c903882..26126a9 100644 --- a/src/mesa/swrast/s_depth.c +++ b/src/mesa/swrast/s_depth.c @@ -419,9 +419,15 @

[Mesa-dev] [PATCH 01/23] swrast: remove MAX_WIDTH arrays in s_copypix.c

2012-02-20 Thread Brian Paul
From: Brian Paul --- src/mesa/swrast/s_copypix.c | 25 - 1 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/mesa/swrast/s_copypix.c b/src/mesa/swrast/s_copypix.c index 592d35a..780f5fa 100644 --- a/src/mesa/swrast/s_copypix.c +++ b/src/mesa/swrast/s_cop

Re: [Mesa-dev] [PATCH 1/3] mesa: add missing return after _mesa_error() in update_array()

2012-02-20 Thread Kenneth Graunke
On 02/19/2012 06:53 PM, Brian Paul wrote: From: Brian Paul NOTE: This is a candidate for the 8.0 branch. --- src/mesa/main/varray.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 77c1d7d..dfe5064 100644 --- a/src/

[Mesa-dev] [Bug 42128] Crash when visiting a site with Firefox

2012-02-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42128 Götz changed: What|Removed |Added CC||goetzchr...@yahoo.es -- Configure bugmail: https

[Mesa-dev] [Bug 42128] Crash when visiting a site with Firefox

2012-02-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42128 --- Comment #10 from Götz 2012-02-20 10:38:19 PST --- I get the crash with this error too (865G): $ firefox Mesa 8.1-devel implementation error: unexpected format GL_DEPTH_COMPONENT24 in _mesa_choose_tex_format() Please report at bugs.freedesk

[Mesa-dev] [Bug 45277] [bisected] Shading not working properly in Heroes of Newerth

2012-02-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45277 --- Comment #4 from maxi...@free.fr 2012-02-20 08:06:54 PST --- I confirm that the bug happens on HD6870 too. And as Damien Grassart says, I also confirm that removing PIPE_CAP_VERTEX_COLOR_UNCLAMPED from r600_pipe.c fixes the problem. -- Confi

Re: [Mesa-dev] [PATCH 3/3] gallivm: add integer and unsigned mod arit functions.

2012-02-20 Thread Jose Fonseca
- Original Message - > On Sat, Feb 18, 2012 at 4:20 AM, Jose Fonseca > wrote: > > - Original Message - > >> On Fri, Feb 17, 2012 at 9:46 PM, Jose Fonseca > >> > >> wrote: > >> > Dave, > >> > > >> > Ideally there should be only one lp_build_mod() which will > >> > invoke > >> > L

Re: [Mesa-dev] [PATCH] mesa: fix an issue with texture border and array textures

2012-02-20 Thread Brian Paul
On 02/16/2012 08:48 PM, Anuj Phogat wrote: As suggested by Brian, for a 1D texture array, the border only applies to the width. For a 2D texture array the border applies to the width and height but not the depth. This was not handled correctly _mesa_init_teximage_fields(). Note: This is a cand

Re: [Mesa-dev] [PATCH v2] st/egl: Move drm_display_authenticate into HAVE_WAYLAND_BACKEND section.

2012-02-20 Thread Jose Fonseca
Looks great. Thanks Vinson. Jose - Original Message - > Fixes this GCC warning. > native_drm.c:153:1: warning: ‘drm_display_authenticate’ defined but > not > used [-Wunused-function] > > Signed-off-by: Vinson Lee > --- > src/gallium/state_trackers/egl/drm/native_drm.c | 18 > +++

Re: [Mesa-dev] [PATCH 5/5] mesa: move/fix MAX_WIDTH/HEIGHT-related assertions

2012-02-20 Thread Brian Paul
On Mon, Feb 20, 2012 at 7:53 AM, Jose Fonseca wrote: > The whole series is a great cleanup and looks correct AFAICT. > > We should eventually make MAX_WIDTH/HEIGHT a swrast-only define. Yes, I've already done most of that but I need to do more testing of my swrast changes before posting the patch

[Mesa-dev] [Bug 45292] Compilation failure on d3d1x state tracker: ‘ID3D10Include’ has not been declared

2012-02-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45292 --- Comment #4 from Jeremy Murphy 2012-02-20 06:56:53 PST --- (In reply to comment #3) > I can confirm this on x86_64 gentoo-3.2.6 using wine-1.4_rc3 and mesa-. Thanks. Have you had any luck doing a git bisect to find the origin of the bu

Re: [Mesa-dev] [PATCH 5/5] mesa: move/fix MAX_WIDTH/HEIGHT-related assertions

2012-02-20 Thread Jose Fonseca
The whole series is a great cleanup and looks correct AFAICT. We should eventually make MAX_WIDTH/HEIGHT a swrast-only define. Jose - Original Message - > From: Brian Paul > > Max texture and viewport size is only limited by MAX_WIDTH/HEIGHT for > swrast. > --- > src/mesa/main/context

Re: [Mesa-dev] [PATCH 3/3] mesa: check for no state change in glPrimitiveRestartIndex()

2012-02-20 Thread Jose Fonseca
The series looks good to me. Jose - Original Message - > From: Brian Paul > > --- > src/mesa/main/varray.c |9 + > 1 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c > index 93f6fcd..39d3a27 100644 > --- a/src/

[Mesa-dev] [Bug 45292] Compilation failure on d3d1x state tracker: ‘ID3D10Include’ has not been declared

2012-02-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45292 --- Comment #3 from Philip Milev 2012-02-20 06:02:10 PST --- I can confirm this on x86_64 gentoo-3.2.6 using wine-1.4_rc3 and mesa-. In file included from ../d3dapi/d3d10.h:5704:0, from ../d3dapi/d3d10_1.h:39,

[Mesa-dev] [PATCH] tnl: let _TNL_ATTRIB_POINTSIZE do not depend on ctx->VertexProgram._Enabled

2012-02-20 Thread Liu Aleaxander
We may specify the point size in a glsl vertex shader. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46311 piglit: glsl-vs-point-size NOTE: This is a candidate for stable release branches. Signed-off-by: Yuanhan Liu --- src/mesa/tnl/t_context.c |3 +-- 1 files changed, 1 insertion

Re: [Mesa-dev] [PATCH 1] wayland-egl: Add api to get window/pixmap attributes

2012-02-20 Thread Zhao, Halley
Hi Ian/Eric: Could you help to review this patch? Libva related changes are here for your reference: https://gitorious.org/libva-wayland/libva-wayland/commits/wayland From: mesa-dev-bounces+halley.zhao=intel@lists.freedesktop.org [mailto:mesa-dev-bounces+halley.zhao=intel@lists.freedes