[Mesa-dev] [PATCH] r300/compiler: align memory allocations to 8-bytes

2011-05-08 Thread Matt Turner
Eliminates unaligned accesses on strict architectures. Spotted by Jay Estabrook. Signed-off-by: Matt Turner --- src/mesa/drivers/dri/r300/compiler/memory_pool.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/r300/compiler/memory_pool.c b/src/mesa/

[Mesa-dev] [PATCH 2/2] Don't allow compilation if endianness isn't known

2011-05-08 Thread Matt Turner
PIPE_ARCH_UNKNOWN_ENDIAN is used no where else. All #else branches of ifdef PIPE_ARCH_LITTLE assume big-endian. Not #error'ing out here only serves to allow bad things to happen. Signed-off-by: Matt Turner --- src/gallium/include/pipe/p_config.h |2 +- 1 files changed, 1 insertions(+), 1 del

[Mesa-dev] [PATCH 1/2] p_config.h: Rely on glibc endianness definitions when available

2011-05-08 Thread Matt Turner
Suggested by Julien Cristau. Signed-off-by: Matt Turner --- src/gallium/include/pipe/p_config.h | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h index 74a1fa2..d48188e 100644 --- a/src/

[Mesa-dev] [PATCH 3/3] util_logbase2 takes and returns unsigned, not int

2011-05-08 Thread Matt Turner
Signed-off-by: Matt Turner --- src/gallium/drivers/llvmpipe/lp_rast_debug.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_rast_debug.c b/src/gallium/drivers/llvmpipe/lp_rast_debug.c index bc7dc64..03e67dc 100644 --- a/src/gallium/driv

[Mesa-dev] [PATCH 2/3] Remove redundant util_unsigned_logbase2

2011-05-08 Thread Matt Turner
util_logbase2 is exactly the same function. Signed-off-by: Matt Turner --- src/gallium/auxiliary/gallivm/lp_bld_sample.c |2 +- src/gallium/auxiliary/util/u_math.h | 12 src/gallium/drivers/llvmpipe/lp_rast_debug.c |2 +- src/gallium/drivers/nv50/nv50_screen.c

[Mesa-dev] [PATCH 1/3] u_math.h: Remove redundant mingw32 ffs definition

2011-05-08 Thread Matt Turner
Signed-off-by: Matt Turner --- src/gallium/auxiliary/util/u_math.h |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h index dad6a10..ad2a1f8 100644 --- a/src/gallium/auxiliary/util/u_math.h +++ b/s

[Mesa-dev] [PATCH] nv50/nvc0: make transfers aware of PIPE_TRANSFER_MAP_DIRECTLY

2011-05-08 Thread Marcin Slusarz
If state tracker asked us to map resource directly and we can't do it (because of tiling), return NULL instead of doing full transfer - state tracker should handle it and fallback to some other method or repeat transfer without PIPE_TRANSFER_MAP_DIRECTLY. It greatly improves performance of xorg st

[Mesa-dev] [PATCH 3/3] st/xorg: add some debugging messages to xorg_exa.c

2011-05-08 Thread Marcin Slusarz
--- src/gallium/state_trackers/xorg/xorg_exa.c | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c index 60a1ef9..b072f53 100644 --- a/src/gallium/state_trackers/xorg/xorg

[Mesa-dev] [PATCH 2/3] st/xorg: remove DEBUG_PRINT macro and add exa_debug_printf

2011-05-08 Thread Marcin Slusarz
Localizes preprocessor usage to one place. --- src/gallium/state_trackers/xorg/xorg_exa.c | 59 ++-- 1 files changed, 29 insertions(+), 30 deletions(-) diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c index fe843fe..60

[Mesa-dev] [PATCH 1/3] st/xorg: fix compilation of xorg_exa.c with DEBUG_PRINT set to 1

2011-05-08 Thread Marcin Slusarz
--- src/gallium/state_trackers/xorg/xorg_exa.c | 12 +--- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/gallium/state_trackers/xorg/xorg_exa.c b/src/gallium/state_trackers/xorg/xorg_exa.c index 91c206f..fe843fe 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa.

[Mesa-dev] [PATCH] gallium/nouveau: remove unused nouveau_screen_bo_user

2011-05-08 Thread Marcin Slusarz
--- src/gallium/drivers/nouveau/nouveau_screen.c | 14 -- src/gallium/drivers/nouveau/nouveau_screen.h |2 -- 2 files changed, 0 insertions(+), 16 deletions(-) diff --git a/src/gallium/drivers/nouveau/nouveau_screen.c b/src/gallium/drivers/nouveau/nouveau_screen.c index 401155

Re: [Mesa-dev] [PATCH] gallium/xorg st/nv50/i915: add PIPE_BIND_CURSOR

2011-05-08 Thread Marcin Slusarz
On Tue, May 03, 2011 at 12:06:33PM +0200, Daniel Vetter wrote: > On Mon, May 2, 2011 at 8:40 PM, Marcin Slusarz > wrote: > > On Mon, May 02, 2011 at 03:11:00PM +0200, Daniel Vetter wrote: > >> On Mon, May 2, 2011 at 2:56 PM, Benjamin Franzke > >> wrote: > >> > I think in i915g the CURSOR flag sh

[Mesa-dev] [Bug 36919] Yo Frankie: Crash in dst_register

2011-05-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36919 --- Comment #8 from Sven Arvidsson 2011-05-08 13:21:55 PDT --- > Would you be willing to grab apitrace (https://github.com/apitrace/apitrace) > and use that to get a trace of GL calls? I could use that to debug this. > Otherwise, I'll have to d

[Mesa-dev] [Bug 36919] Yo Frankie: Crash in dst_register

2011-05-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36919 --- Comment #7 from Sven Arvidsson 2011-05-08 13:08:21 PDT --- Created an attachment (id=46452) --> (https://bugs.freedesktop.org/attachment.cgi?id=46452) apitrace of yo frankie -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?

[Mesa-dev] [Bug 36919] Yo Frankie: Crash in dst_register

2011-05-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36919 --- Comment #6 from Brian Paul 2011-05-08 12:43:58 PDT --- The last fragment shader looks suspicious: # Fragment Program/Shader 0 0: MAD_SAT TEMP[1].x, INPUT[3]., STATE[0]., STATE[0].; 1: LRP OUTPUT[2].xyz, TEMP[1]., TEMP[0]

[Mesa-dev] [Bug 36919] Yo Frankie: Crash in dst_register

2011-05-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36919 --- Comment #5 from Sven Arvidsson 2011-05-08 12:14:02 PDT --- Created an attachment (id=46451) --> (https://bugs.freedesktop.org/attachment.cgi?id=46451) Debug log (In reply to comment #4) > Can you run w/ a debug build and this env var: > >

[Mesa-dev] [Bug 36651] mesa requires bison and flex to build but configure does not check for them

2011-05-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36651 --- Comment #1 from Brian Paul 2011-05-08 11:15:45 PDT --- Created an attachment (id=46450) View: https://bugs.freedesktop.org/attachment.cgi?id=46450 Review: https://bugs.freedesktop.org/review?bug=36651&attachment=46450 patch configure.ac,

Re: [Mesa-dev] mesa-7.10.1-libdrm-required.patch

2011-05-08 Thread Brian Paul
On Tue, Apr 5, 2011 at 6:15 PM, Alex Buell wrote: > The patch below is needed to prevent building mesa with libdrm < > 2.4.24. > > Regards, > Alex > > diff --git a/configure.ac b/configure.ac > index 6662b8a..ad9eb01 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -18,7 +18,7 @@ AC_CONFIG_AU

[Mesa-dev] [Bug 36959] glxinfo -v doesn't show proper drawable type information.

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

Re: [Mesa-dev] [PATCH] r600g: add support for anisotropic filtering

2011-05-08 Thread Carl-Philip Haensch
Zitat von Jerome Glisse : Please resend by attaching the patch not pasting it Here you have >From b5ad4e6fb399203afcfe2a5ccb35bb8ccad28b65 Mon Sep 17 00:00:00 2001 From: Carl-Philip Haensch Date: Fri, 6 May 2011 22:48:08 +0200 Subject: [PATCH] r600g: add support for anisotropic filtering --

[Mesa-dev] Anisotropic Filtering for r600g

2011-05-08 Thread Carl-Philip Haensch
This patch enables anisotropic filtering under r600g. >From b5ad4e6fb399203afcfe2a5ccb35bb8ccad28b65 Mon Sep 17 00:00:00 2001 From: Carl-Philip Haensch Date: Fri, 6 May 2011 22:48:08 +0200 Subject: [PATCH] r600g: add support for anisotropic filtering --- src/gallium/drivers/r600/r600_state.c |

[Mesa-dev] [Bug 36919] Yo Frankie: Crash in dst_register

2011-05-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36919 --- Comment #4 from Brian Paul 2011-05-08 06:44:13 PDT --- Can you run w/ a debug build and this env var: export ST_DEBUG=mesa,tgsi This will print the shader/program code to stdout. Please attach that output to this bug. -- Configure bugma

Re: [Mesa-dev] [PATCH] cell: unbalanced parenthesis

2011-05-08 Thread Brian Paul
On Sat, May 7, 2011 at 3:26 PM, Nicolas Kaiser wrote: > Signed-off-by: Nicolas Kaiser > --- >  src/gallium/drivers/cell/spu/spu_vertex_shader.c |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/gallium/drivers/cell/spu/spu_vertex_shader.c > b/src/gallium/drivers/

[Mesa-dev] [Bug 36959] glxinfo -v doesn't show proper drawable type information.

2011-05-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36959 sagawa changed: What|Removed |Added Attachment #46446|application/octet-stream|text/plain mime type|

[Mesa-dev] [Bug 36959] New: glxinfo -v doesn't show proper drawable type information.

2011-05-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36959 Summary: glxinfo -v doesn't show proper drawable type information. Product: Mesa Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Sev