Re: [Mesa-dev] [PATCH] mesa: Fix error generation for glClearBuffer{i ui}v with GL_DEPTH or GL_STENCIL

2011-11-03 Thread Eric Anholt
On Thu, 3 Nov 2011 15:29:29 -0700, "Ian Romanick" wrote: > From: Ian Romanick > > The spec says "Only ClearBufferiv should be used to clear > stencil buffers." and "Only ClearBufferfv should be used to clear > depth buffers." However, on the following page it also says: > > "The result of

[Mesa-dev] [PATCH] g3dvl: Fix memory leaks on error paths.

2011-11-03 Thread Vinson Lee
Fixes Coverity resource leak defect. --- src/gallium/auxiliary/vl/vl_mpeg12_decoder.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c b/src/gallium/auxiliary/vl/vl_mpeg12_decoder.c index d4b8ae0..2442d78 100644 --- a/src/ga

[Mesa-dev] [PATCH] pp: Reorder calloc to avoid memory leak on error path.

2011-11-03 Thread Vinson Lee
Fixes Coverity resource leak defect. --- src/gallium/auxiliary/postprocess/pp_mlaa.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gallium/auxiliary/postprocess/pp_mlaa.c b/src/gallium/auxiliary/postprocess/pp_mlaa.c index f514e69..51bc02e 100644 --- a/src/gal

[Mesa-dev] [PATCH 2/2] mesa: check for immutable texture in _mesa_test_texobj_completeness()

2011-11-03 Thread Brian Paul
One of the points of GL_ARB_texture_storage is to make it impossible to have malformed mipmap stacks. If we know the texture object is immutable, we can skip a bunch of size checking. --- src/mesa/main/texobj.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/s

[Mesa-dev] [PATCH 1/2] swrast: update program type assertion

2011-11-03 Thread Brian Paul
Fixes bogus failed assertion when using NV_fragment_program, such as with demos/fplight.c Note: This is a candidate for the 7.11 branch. --- src/mesa/swrast/s_context.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_cont

[Mesa-dev] [Bug 41571] libglapi.so.0: undefined symbol: is_selinux_enabled

2011-11-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41571 Alexandre Demers changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

Re: [Mesa-dev] [PATCH] mesa: Fix error generation for glClearBuffer{i ui}v with GL_DEPTH or GL_STENCIL

2011-11-03 Thread Brian Paul
On 11/03/2011 04:29 PM, Ian Romanick wrote: From: Ian Romanick The spec says "Only ClearBufferiv should be used to clear stencil buffers." and "Only ClearBufferfv should be used to clear depth buffers." However, on the following page it also says: "The result of ClearBuffer is undefined i

[Mesa-dev] [PATCH] mesa: Fix error generation for glClearBuffer{i ui}v with GL_DEPTH or GL_STENCIL

2011-11-03 Thread Ian Romanick
From: Ian Romanick The spec says "Only ClearBufferiv should be used to clear stencil buffers." and "Only ClearBufferfv should be used to clear depth buffers." However, on the following page it also says: "The result of ClearBuffer is undefined if no conversion between the type of the sp

Re: [Mesa-dev] [PATCH] mesa: fix texture target mix-up in NV_fragment_program parser

2011-11-03 Thread Ian Romanick
On 11/03/2011 09:44 AM, Brian Paul wrote: The returned value should be a texture target index, not a bit. I spotted this from seeing a new compiler warning caused by the increase in the number of texture targets. This has been broken for a long time. Reviewed-by: Ian Romanick --- src/mesa

Re: [Mesa-dev] 7.11.1 release, and picking NormalMatrix fix

2011-11-03 Thread Ian Romanick
On 11/02/2011 06:02 PM, Yuanhan Liu wrote: On Wed, Nov 02, 2011 at 12:48:23PM -0700, Ian Romanick wrote: On 11/02/2011 12:04 PM, tom fogal wrote: It's been three months since 7.11 came out. Have there been any thoughts on a 7.11.1 release date? "Soon." After the last big round of cherry pic

[Mesa-dev] [PATCH] mesa: fix texture target mix-up in NV_fragment_program parser

2011-11-03 Thread Brian Paul
The returned value should be a texture target index, not a bit. I spotted this from seeing a new compiler warning caused by the increase in the number of texture targets. This has been broken for a long time. --- src/mesa/program/nvfragparse.c | 14 +++--- 1 files changed, 7 insertions(

Re: [Mesa-dev] unify common/dri_util & common/drisw_util

2011-11-03 Thread George Sapountzis
I put an attempt to unify dri_util & drisw_util at: http://cgit.freedesktop.org/~gsap7/mesa/log/?h=dri There is one caveat: dri_util.h is now used by both dri2 and drisw, so it should stay opaque to drm. I tested drisw only, so please test (on dri2) and review. regards, George. 2011/11/2 George

Re: [Mesa-dev] [PATCH 06/04] state_trackers/vdpau: Add support for VC-1 decoding

2011-11-03 Thread Christian König
I've just tested and pushed the whole series, thanks for that. Christian. On 31.10.2011 18:37, Maarten Lankhorst wrote: Add a struct with all the fields. Signed-off-by: Maarten Lankhorst --- Just because vdpau state tracker supports it, doesn't mean anything uses it yet. Patience.. src/gall

Re: [Mesa-dev] [PATCH] radeon: Fix variable initialization typo.

2011-11-03 Thread Michel Dänzer
On Don, 2011-11-03 at 00:52 -0700, Vinson Lee wrote: > Fixes Coverity uninitialized scalar variable defect. > --- > src/mesa/drivers/dri/radeon/radeon_common.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c > b/src/mesa

[Mesa-dev] [PATCH] radeon: Fix variable initialization typo.

2011-11-03 Thread Vinson Lee
Fixes Coverity uninitialized scalar variable defect. --- src/mesa/drivers/dri/radeon/radeon_common.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c index 2ef3faf..2b87f96 100644 --