Re: [Mesa-dev] Mesa (master): mesa: Dynamically allocate the storage for program local parameters.

2013-11-17 Thread Michel Dänzer
On Fre, 2013-11-15 at 11:50 -0800, Eric Anholt wrote: > Module: Mesa > Branch: master > Commit: e5885c119de1e508099cce1c9f8ff00fab88 > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=e5885c119de1e508099cce1c9f8ff00fab88 > > Author: Eric Anholt > Date: Fri Sep 20 10:13:32 201

Re: [Mesa-dev] [PATCH] Don't use libudev for glx/dri3

2013-11-17 Thread Keith Packard
Kenneth Graunke writes: > For non-API facing stuff, you can just use stdbool.h's > bool/true/false. tnx. I pushed that to my dri3 branch. Btw, that branch also has some gallium support for __DRIimageDriverExtension. I don't have any hardware to test with, so it's surely broken in some major ways

Re: [Mesa-dev] [PATCH] Don't use libudev for glx/dri3

2013-11-17 Thread Kenneth Graunke
On 11/17/2013 06:43 PM, Keith Packard wrote: > Emil Velikov writes: > >> On 18/11/13 01:08, Keith Packard wrote: >>> libudev doesn't have a stable API/ABI, and if the application wants to use >>> one >>> version, we'd best not load another into libGL. >>> >>> Signed-off-by: Keith Packard >>> --

Re: [Mesa-dev] [PATCH] mesa: Add API debug logging to TexStorage

2013-11-17 Thread Kenneth Graunke
On 11/05/2013 01:25 PM, Courtney Goeltzenleuchter wrote: > Give glTexStorage* equivalent debug logging to glTexImage*. > > Signed-off-by: Courtney Goeltzenleuchter > --- > src/mesa/main/texstorage.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/src/mesa/main/texstorage.c b/src

Re: [Mesa-dev] [PATCH] glsl: cleanup, remove duplicate assignment

2013-11-17 Thread Kenneth Graunke
On 11/01/2013 03:22 AM, Tapani Pälli wrote: > Signed-off-by: Tapani Pälli > --- > src/glsl/glsl_parser_extras.cpp | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp > index be17109..8f66d5f 100644 > --- a/src/glsl/glsl_parser

Re: [Mesa-dev] [PATCH] Don't use libudev for glx/dri3

2013-11-17 Thread Keith Packard
Emil Velikov writes: > On 18/11/13 01:08, Keith Packard wrote: >> libudev doesn't have a stable API/ABI, and if the application wants to use >> one >> version, we'd best not load another into libGL. >> >> Signed-off-by: Keith Packard >> --- >> > Hi Keith, > > Firstly, I would like to apologis

Re: [Mesa-dev] [PATCH] Don't use libudev for glx/dri3

2013-11-17 Thread Emil Velikov
On 18/11/13 01:08, Keith Packard wrote: > libudev doesn't have a stable API/ABI, and if the application wants to use one > version, we'd best not load another into libGL. > > Signed-off-by: Keith Packard > --- > Hi Keith, Firstly, I would like to apologise for the rather daft questions. With t

[Mesa-dev] [PATCH] Don't use libudev for glx/dri3

2013-11-17 Thread Keith Packard
libudev doesn't have a stable API/ABI, and if the application wants to use one version, we'd best not load another into libGL. Signed-off-by: Keith Packard --- Sorry for the patch spam; I hadn't rebased in a while and there was a configure.ac conflict. Here's a version which should apply cleanly

[Mesa-dev] [PATCH] Don't use libudev for glx/dri3

2013-11-17 Thread Keith Packard
libudev doesn't have a stable API/ABI, and if the application wants to use one version, we'd best not load another into libGL. Signed-off-by: Keith Packard --- configure.ac | 5 +-- src/glx/dri3_common.c | 106 +++--- 2 files changed, 94 ins

[Mesa-dev] sampler arrays indexed with non-constant expressions

2013-11-17 Thread Victor Luchitz
Hello, in my opinion GLSL compiler in mesa is too restrictive when it comes to sampler arrays. The following code can not be compiled due to the "sampler arrays indexed with non-constant expressions is forbidden in GLSL 1.30 and later": #define MAX_SHADOWS 2 varying vec4 v_ShadowProjVector[MAX_S

Re: [Mesa-dev] [PATCH 1/2] i965/gen7: Prefer vertical alignment of 4 when possible.

2013-11-17 Thread Kenneth Graunke
On 11/16/2013 12:01 AM, Paul Berry wrote: > On 15 November 2013 19:26, Kenneth Graunke > wrote: > > On 11/15/2013 01:18 PM, Paul Berry wrote: > > Gen6+ allows for color buffers to use a vertical alignment of either 4 > > or 2. Previously we defaulted to

Re: [Mesa-dev] [PATCH 0/2] i965/gen7: vertical alignment fixes.

2013-11-17 Thread Eric Anholt
Paul Berry writes: > While working on patch b4c3b83 (i965: Fix vertical alignment for > multisampled buffers) I noticed that we were failing to follow another > alignment rule: on gen7, render targets using Y tiling must have a > vertical alignment of 4. This patch series ensures that we follow

[Mesa-dev] [PATCH] docs: Add Haiku mention to the release notes

2013-11-17 Thread Alexander von Gluck IV
* Not mentioning Haiku Gallium work at this time as it is still unstable. --- docs/relnotes/10.0.html |2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/relnotes/10.0.html b/docs/relnotes/10.0.html index eabe77f..2665ced 100644 --- a/docs/relnotes/10.0.html +++ b/docs/relnotes/10.0.ht

[Mesa-dev] [PATCH] mapi: Add better visibility checks

2013-11-17 Thread Alexander von Gluck IV
* gl.h ensures gcc is 4.x or later before using hidden visibility. This change matches that behaviour and ensures better compatibility for older gcc versions. --- src/mapi/glapi/glapi.h |2 +- src/mapi/u_compiler.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/

Re: [Mesa-dev] [PATCH 1/4] docs: add a note about removed state tracker/targets

2013-11-17 Thread Marek Olšák
For the series: Reviewed-by: Marek Olšák Marek On Sun, Nov 17, 2013 at 12:27 AM, Emil Velikov wrote: > The X.Org state tracker is gone, as well as the xvmc/vdpau > r300 and softpipe targets. > > Cc: "10.0" > Signed-off-by: Emil Velikov > --- > docs/relnotes/10.0.html | 6 +- > 1 file ch

Re: [Mesa-dev] [PATCH 1/6] postprocess: simplify pp_free() code

2013-11-17 Thread Marek Olšák
For the series: Reviewed-by: Marek Olšák Marek On Sat, Nov 16, 2013 at 9:59 PM, Brian Paul wrote: > --- > src/gallium/auxiliary/postprocess/pp_init.c | 27 > +-- > 1 file changed, 13 insertions(+), 14 deletions(-) > > diff --git a/src/gallium/auxiliary/postprocess/p

Re: [Mesa-dev] [PATCH 2/2] targets/xvmc: export only necessary symbols

2013-11-17 Thread Christian König
Am 16.11.2013 23:29, schrieb Ilia Mirkin: On Sat, Nov 16, 2013 at 4:39 PM, Emil Velikov wrote: Export only XvMC* symbols for the xvmc targets. Signed-off-by: Emil Velikov Tested-by: Ilia Mirkin Works fine on my NV42, the vl_screen* and nouveau_drm_screen_create symbols are indeed gone. H