Re: [Mesa-dev] [PATCH 00/21] Gallium: making user vertex buffers optional and other goodness

2012-04-19 Thread Marek Olšák
Hi, I plan to commit this series this weekend. I've made minor improvements to u_vbuf and addressed all concerns, and I have tested r300g and r600g, and made sure that softpipe and llvmpipe don't use this code. Here are the updated patches (starting with the cso commit): http://cgit.freedesktop.or

Re: [Mesa-dev] [PATCH] egl: fix initialization of EGLImageAttribs.

2012-04-19 Thread Matt Turner
On Thu, Apr 19, 2012 at 12:38 PM, Gwenole Beauchesne wrote: > Signed-off-by: Gwenole Beauchesne > --- >  src/egl/main/eglimage.c |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/egl/main/eglimage.c b/src/egl/main/eglimage.c > index 14760f2..a5132e0 100644 > --- a

[Mesa-dev] [PATCH] egl: fix initialization of EGLImageAttribs.

2012-04-19 Thread Gwenole Beauchesne
Signed-off-by: Gwenole Beauchesne --- src/egl/main/eglimage.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/egl/main/eglimage.c b/src/egl/main/eglimage.c index 14760f2..a5132e0 100644 --- a/src/egl/main/eglimage.c +++ b/src/egl/main/eglimage.c @@ -45,7 +45,7 @@ _eg

Re: [Mesa-dev] [PATCH] mesa: move unrefs of array objects earlier in _mesa_free_context_data()

2012-04-19 Thread Jose Fonseca
Seems good to me. Joe - Original Message - > If a non-default array object was bound at context destruction time > we'd try to unreference the array object after it was already deleted > in _mesa_free_varray_data(). Now do the unref first. > > Fixes a regression from commit > 86f53e6d6b

Re: [Mesa-dev] [PATCH 4/4] glsl: Add implementation of inverse() for mat2/3/4.

2012-04-19 Thread Brian Paul
On 04/18/2012 07:40 PM, Eric Anholt wrote: This is taken from the ogl-math project, with Inverse renamed to adj (since it's not actually the inverse), transposed, and our types plugged in. Fixes piglit inverse tests. --- src/glsl/Makefile |2 +- src/glsl/builtins/glsl/in

Re: [Mesa-dev] [RFC][PATCH 00/11] gallium: Basic compute infrastructure.

2012-04-19 Thread Tom Stellard
On Wed, Apr 18, 2012 at 10:32:53PM -0700, Jose Fonseca wrote: > - Original Message - > > Jose Fonseca writes: > > > > > - Original Message - > > >> On Wed, Apr 18, 2012 at 07:34:15AM -0700, Jose Fonseca wrote: > > >> > - Original Message - > > >> > > On Tue, Apr 17, 2012 a

Re: [Mesa-dev] [PATCH] mesa: use array object constructor

2012-04-19 Thread Brian Paul
On Thu, Apr 19, 2012 at 7:32 AM, Marek Olšák wrote: > Hi, > > this patch causes a crash in piglit/vao-element-array-buffer. Thanks for catching that. I've posted a fix for review. -Brian ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://

[Mesa-dev] [PATCH] mesa: move unrefs of array objects earlier in _mesa_free_context_data()

2012-04-19 Thread Brian Paul
If a non-default array object was bound at context destruction time we'd try to unreference the array object after it was already deleted in _mesa_free_varray_data(). Now do the unref first. Fixes a regression from commit 86f53e6d6bd07e2bc3ffcadeb9a4418fbae06e0b. --- src/mesa/main/context.c |

Re: [Mesa-dev] [PATCH] mesa: use array object constructor

2012-04-19 Thread Marek Olšák
Hi, this patch causes a crash in piglit/vao-element-array-buffer. Valgrind log: ==28635== Invalid read of size 4 ==28635==at 0x4446D87: pthread_mutex_lock (pthread_mutex_lock.c:50) ==28635==by 0x4A0ACAC: _mesa_free_context_data (context.c:1121) ==28635==by 0x4A8EC22: st_destroy_conte

[Mesa-dev] [Patch 4/4] Improve wayland-drm basing on gbm to act as generic buffer manager for wayland

2012-04-19 Thread Zhao, Halley
Wayland-drm depends on callback functions of backend to create/destroy wl_buffer before, remove them now. >From a1bbad6760af4d1c5237a2318a2e5f6f91a823fa Mon Sep 17 00:00:00 2001 From: Halley Zhao Date: Thu, 19 Apr 2012 17:35:27 +0800 Subject: [PATCH 3/3] remove previous craete/release_buffer im

[Mesa-dev] [Patch 2/4] Improve wayland-drm basing on gbm to act as generic buffer manager for wayland

2012-04-19 Thread Zhao, Halley
Send half of the first patch. This patch is just term change from drm to gbm in source files. By the way: I still got the message of "Message body is too big: 164397 bytes with a limit of 128 KB", though the total size of my patch is 38K. Anyway, try to send it first. diff --git a/src/gallium/s

Re: [Mesa-dev] [PATCH 01/10] glx: Use AM_CPPFLAGS to pass -I and -D to both C and C++ compiles.

2012-04-19 Thread Kenneth Graunke
For the series: Reviewed-by: Kenneth Graunke (assuming the comment on patch 8 gets dropped.) Thanks for doing this! ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 08/10] glsl: Add a test for not array splitting function arguments.

2012-04-19 Thread Kenneth Graunke
On 04/16/2012 04:59 PM, Eric Anholt wrote: I wouldn't be able to trigger this at the piglit level because of inlining. And the bug I was concerned about can't be triggered because we don't do array splitting on in/out variables (though I've wanted to change that). --- src/glsl/tests/.gitignore