Re: [Mesa-dev] [PATCH 2/4] Use AC_PROG_YACC/LEX

2012-01-15 Thread Gaetan Nadon
On 12-01-14 11:16 AM, Matt Turner wrote: > Needed for automake. Using AC_PROG_PATH(bison/flex) causes automake to > fail to build .y and .l files. > > It is up to the builder to use bison/flex instead of yacc/lex. > > Signed-off-by: Matt Turner > --- > configs/autoconf.in |4 ++-- > configure

[Mesa-dev] [PATCH] llvmpipe: Remove unused variable 'packed' from lp_test_round.

2012-01-15 Thread Vinson Lee
Fix this GCC warning. lp_test_round.c: In function ‘test_round’: lp_test_round.c:126:13: warning: variable ‘packed’ set but not used [-Wunused-but-set-variable] Signed-off-by: Vinson Lee --- src/gallium/drivers/llvmpipe/lp_test_round.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-)

[Mesa-dev] [PATCH] util: Silence GCC unused-but-set-variable warning.

2012-01-15 Thread Vinson Lee
Fix this GCC 4.6 warning with 64-bit builds. u_debug_stack.c: In function ‘debug_backtrace_capture’: u_debug_stack.c:45:17: warning: variable ‘frame_pointer’ set but not used [-Wunused-but-set-variable] Signed-off-by: Vinson Lee --- src/gallium/auxiliary/util/u_debug_stack.c |2 ++ 1 files c

[Mesa-dev] [PATCH 5/6] gallium: Move duplicated helper macros to tgsi_exec.h

2012-01-15 Thread Tom Stellard
--- src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 219 +++ src/gallium/auxiliary/tgsi/tgsi_exec.h | 13 ++ src/gallium/auxiliary/tgsi/tgsi_ppc.c | 78 - 3 files changed, 148 insertions(+), 162 deletions(-) diff --git a/src/gallium/auxiliary/

[Mesa-dev] [PATCH 2/6] gallivm: Add function lp_bld_gather_values()

2012-01-15 Thread Tom Stellard
From: Tom Stellard --- src/gallium/auxiliary/gallivm/lp_bld_gather.c | 17 + src/gallium/auxiliary/gallivm/lp_bld_gather.h |4 2 files changed, 21 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_gather.c b/src/gallium/auxiliary/gallivm

[Mesa-dev] [PATCH 1/6] tgsi: Add output_type to struct tgsi_opcode_info

2012-01-15 Thread Tom Stellard
From: Tom Stellard --- src/gallium/auxiliary/tgsi/tgsi_info.c | 323 src/gallium/auxiliary/tgsi/tgsi_info.h | 34 2 files changed, 195 insertions(+), 162 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_info.c b/src/gallium/auxiliary/tgsi/tgsi_

[Mesa-dev] RFC: New TGSI->LLVM conversion interface

2012-01-15 Thread Tom Stellard
Hi, The following patches add a new TGSI->LLVM interface to Gallium and adapt lp_bld_tgsi_soa.c to use the new interface. You can also find an updated version of the r600g LLVM backend that uses this interface here: git://people.freedesktop.org/~tstellar/mesa r600g-llvm-shader-Jan15-2012 Just a

Re: [Mesa-dev] [PATCH] Avoid null pointer dereference when glXSwapBuffers is called with no bound context

2012-01-15 Thread Kenneth Graunke
On 01/11/2012 05:38 PM, Brian Paul wrote: On 01/11/2012 06:06 PM, Anuj Phogat wrote: Calling glXSwapBuffers with no bound context causes segmentation fault in function intelDRI2Flush. All the gl calls should be ignored after setting the current context to null. So the contents of framebuffer sta

Re: [Mesa-dev] [PATCH 3/4] i965: Convert the build to using automake.

2012-01-15 Thread Julien Cristau
On Thu, Jan 12, 2012 at 20:52:33 -0500, Matt Turner wrote: > On Thu, Jan 12, 2012 at 7:08 PM, Eric Anholt wrote: > > This does introduce a warning by the automake build system, that the > > missing-symbols test build is non-portable.  That's true -- Mac OS X > > can't take something built as a lo

[Mesa-dev] [Bug 40612] Mesa-demos: build error against current Mesa git master

2012-01-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40612 --- Comment #1 from LoneVVolf 2012-01-15 08:01:05 PST --- I have found the same bug still exists, see http://lists.freedesktop.org/archives/mesa-dev/2012-January/017434.html -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab

[Mesa-dev] [PATCH 7/7] r600g: add support for ISHR/USHR/SHL on r600-evergreen

2012-01-15 Thread Vadim Girlin
Signed-off-by: Vadim Girlin --- src/gallium/drivers/r600/r600_asm.c| 11 +++ src/gallium/drivers/r600/r600_shader.c | 12 ++-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index

[Mesa-dev] [PATCH 6/7] r600g: implement IDIV/UDIV on r600-evergreen

2012-01-15 Thread Vadim Girlin
Signed-off-by: Vadim Girlin --- src/gallium/drivers/r600/r600_shader.c | 226 +++- 1 files changed, 222 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 0e672de..376be56 100644 --- a/sr

[Mesa-dev] [PATCH 5/7] r600g: implement ISSG on r600-evergreen

2012-01-15 Thread Vadim Girlin
Signed-off-by: Vadim Girlin --- src/gallium/drivers/r600/r600_shader.c | 63 1 files changed, 63 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 9a0f76b..0e672de 100644 --- a/src

[Mesa-dev] [PATCH 4/7] r600g: implement IABS on r600-evergreen

2012-01-15 Thread Vadim Girlin
Signed-off-by: Vadim Girlin --- src/gallium/drivers/r600/r600_shader.c | 60 1 files changed, 60 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 71ac027..9a0f76b 100644 --- a/src

[Mesa-dev] [PATCH 3/7] r600g: implement F2U on evergreen

2012-01-15 Thread Vadim Girlin
Signed-off-by: Vadim Girlin --- src/gallium/drivers/r600/r600_shader.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index ee69c54..71ac027 100644 --- a/src/gallium/drivers/r600/r600_sh

[Mesa-dev] [PATCH 2/7] r600g: add FLT_TO_UINT opcode for evergreen

2012-01-15 Thread Vadim Girlin
Signed-off-by: Vadim Girlin --- src/gallium/drivers/r600/r600_asm.c |3 +++ src/gallium/drivers/r600/r600_opcodes.h |2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index fd4ec43..3b281c6

[Mesa-dev] [PATCH 1/7] r600g: fix F2I on evergreen

2012-01-15 Thread Vadim Girlin
Signed-off-by: Vadim Girlin --- src/gallium/drivers/r600/r600_shader.c | 51 +++- 1 files changed, 50 insertions(+), 1 deletions(-) diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c index 1633082..ee69c54 100644 --- a/src

[Mesa-dev] [PATCH 0/7] r600g: support for some integer ops

2012-01-15 Thread Vadim Girlin
Tested on evergreen and I hope everything should work on r600/r700, though it needs to be tested (with glsl 1.30, gl 3.0, and PIPE_SHADER_CAP_INTEGERS enabled). I haven't tried to support cayman, can't test it anyway - probably some minor changes will be required to use this code with cayman. r

Re: [Mesa-dev] [PATCH 0/4] nvfx: rework render temps code and fixes

2012-01-15 Thread Patrice Mandin
[Sorry I only replied on nouveau ml, I saw the crosspost to mesa ml later, so I repost there] Le Tue, 10 Jan 2012 12:41:00 +0100 Lucas Stach a écrit: > This patch series silences some unknown cap warnings and fixes up > coding style (patch 1+4). > > The most important part of this series are t

Re: [Mesa-dev] [PATCH 7.11] gallium/dri: Handle xserver that doesn't send needless DRI2 invalidate events

2012-01-15 Thread Ville Syrjälä
On Fri, Jan 13, 2012 at 09:10:15AM +, Dave Airlie wrote: > On Sun, Dec 18, 2011 at 4:22 PM, Ville Syrjälä wrote: > > Ever since xserver commit 531869448d07e00ae241120b59f35709d59c, > > the server no longer sends invalidate events to clients, unless they > > have performed a GetBuffers requ

Re: [Mesa-dev] [PATCH] Avoid null pointer dereference when glXSwapBuffers is called with no bound context

2012-01-15 Thread Sun, Yi
The patch could fix the segmentation fault issue while calling function glXSwapBuffers without active current context. Tested-by: Sun Yi > -Original Message- > From: mesa-dev-bounces+yi.sun=intel@lists.freedesktop.org > [mailto:mesa-dev-bounces+yi.sun=intel@lists.freedesktop.org