Re: [Mesa-dev] Bug#651370: libgl1-mesa-glx: need close on exec for dri device

2011-12-11 Thread David Fries
Set the close on exec flag when opening dri character devices, so they will be closed and free any resouces allocated in exec. --- Just for fun I included a git bundle of the commit. Please Cc me on any replies as I'm not subscribed to the mesa list. src/egl/drivers/dri2/platform_wayland.c

[Mesa-dev] [PATCH] mesa: add const flags to skip MaxVarying and MaxUniform linker checks (v2)

2011-12-11 Thread Marek Olšák
This is only temporary until a better solution is available. v2: print warnings and add gallium CAPs --- src/gallium/drivers/r300/r300_screen.c |2 + src/gallium/include/pipe/p_defines.h |4 ++- src/glsl/linker.cpp| 43 --- src/mesa/main

[Mesa-dev] [PATCH] mesa: fix an out-of-bounds access in prog_print.c

2011-12-11 Thread Marek Olšák
--- src/mesa/program/prog_print.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/program/prog_print.c b/src/mesa/program/prog_print.c index e9bf3aa..b4d142f 100644 --- a/src/mesa/program/prog_print.c +++ b/src/mesa/program/prog_print.c @@ -112,6 +112,7 @@ arb_inp

[Mesa-dev] [Bug 43678] Compilation error for OSMesa 7.10

2011-12-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43678 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] [PATCH 1/2] mesa: remove buggy assertions in unpack Z24

2011-12-11 Thread Brian Paul
On Sun, Dec 11, 2011 at 8:46 AM, Marek Olšák wrote: > On Mon, Nov 21, 2011 at 6:52 PM, Eric Anholt wrote: >> On Sun, 20 Nov 2011 15:08:55 +0100, Marek Olšák wrote: >>> unpack_float_z_Z24_X8 fails with -O2 in: >>> - fbo-blit-d24s8 >>> - fbo-depth-sample-compare >>> - fbo-readpixels-depth-formats

Re: [Mesa-dev] [PATCH] i915g: Fix wrong indices for LINE_LOOP case

2011-12-11 Thread Stéphane Marchesin
Applied, thanks! Stéphane 2011/12/11 Fatih Aşıcı : > --- >  src/gallium/drivers/i915/i915_prim_vbuf.c |    4 ++-- >  1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/gallium/drivers/i915/i915_prim_vbuf.c > b/src/gallium/drivers/i915/i915_prim_vbuf.c > index 79db3b6..3f85466 10

Re: [Mesa-dev] [PATCH] [i915g] fix debug dump on 64 bit systems

2011-12-11 Thread Stéphane Marchesin
Applied, thanks! Stéphane On Mon, Dec 5, 2011 at 13:02, Michael Karcher wrote: > Signed-off-by: Michael Karcher > > --- >  src/gallium/drivers/i915/i915_debug.c |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/gallium/drivers/i915/i915_debug.c > b/src/gallium/d

Re: [Mesa-dev] [PATCH 2/6 v3] g3dvl: Get rid of video_buffer.sampler_view_components

2011-12-11 Thread Andy Furniss
Maarten Lankhorst wrote: No point in having it when just having sampler_view_planes is good enough. Signed-off-by: Maarten Lankhorst Tested-by: Andy Furniss ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailm

Re: [Mesa-dev] [PATCH 1/2] vl: Handle custom destination rectangles correctly

2011-12-11 Thread Andy Furniss
Maarten Lankhorst wrote: When layers are still being added, the total width/height is not known. As such extra care has to be taken to get output rectangle correct. This is required to support a custom dest rectangle, which is currently not used and buggy. Signed-off-by: Maarten Lankhorst Test

Re: [Mesa-dev] [PATCH 2/2] vdpau: Handle destination rectangles correctly

2011-12-11 Thread Andy Furniss
Maarten Lankhorst wrote: The brokenness in vlVdpVideoMixerRender was compensating for brokenness in vlVdpPresentationQueueDisplay, so fix both at the same time. Signed-off-by: Maarten Lankhorst Tested-by: Andy Furniss ___ mesa-dev mailing list mesa

[Mesa-dev] [PATCH] i915g: Fix wrong indices for LINE_LOOP case

2011-12-11 Thread Fatih Aşıcı
--- src/gallium/drivers/i915/i915_prim_vbuf.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/i915/i915_prim_vbuf.c b/src/gallium/drivers/i915/i915_prim_vbuf.c index 79db3b6..3f85466 100644 --- a/src/gallium/drivers/i915/i915_prim_vbuf.c +++ b/src/g

Re: [Mesa-dev] [PATCH 1/2] mesa: remove buggy assertions in unpack Z24

2011-12-11 Thread Marek Olšák
On Mon, Nov 21, 2011 at 6:52 PM, Eric Anholt wrote: > On Sun, 20 Nov 2011 15:08:55 +0100, Marek Olšák wrote: >> unpack_float_z_Z24_X8 fails with -O2 in: >> - fbo-blit-d24s8 >> - fbo-depth-sample-compare >> - fbo-readpixels-depth-formats >> - glean/depthStencil >> >> With -O0, it works fine. >> >>

[Mesa-dev] [Bug 43629] mesa># gmake freebsd-dri-amd64 breaks

2011-12-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43629 --- Comment #3 from zap...@berentweb.com 2011-12-11 06:55:32 PST --- Some Developments: Git Update pulled in some changes so I ran mesa/autogen.sh to try again. I get some better diagnosic output this time and here are the results: 1. First error