[Mesa-dev] [PATCH] mesa: do not define NDEBUG to make sure assert work

2011-10-08 Thread Yuanhan Liu
If you include mtypes.h, which would define macro NDEBUG, before including compiler.h, you would find that the assert macro will no longer work; it just make it slient by replacing it with ((void) (0)); Signed-off-by: Yuanhan Liu yuanhan@linux.intel.com --- src/mesa/main/mtypes.h |3 ---

Re: [Mesa-dev] [PATCH] mesa: do not define NDEBUG to make sure assert work

2011-10-08 Thread Kenneth Graunke
On 10/08/2011 02:08 AM, Yuanhan Liu wrote: If you include mtypes.h, which would define macro NDEBUG, before including compiler.h, you would find that the assert macro will no longer work; it just make it slient by replacing it with ((void) (0)); Signed-off-by: Yuanhan Liu

Re: [Mesa-dev] r600g shader optimization

2011-10-08 Thread Christian König
Hi Vadim, wow quite impressive, does it also contains peep-hole optimisation? I tried to implement that once, but failed because I never got all the dependencies between opcodes correctly resolved. Rescheduling export instructions and setting the barrier flag of CF instructions correctly can

Re: [Mesa-dev] [PATCH] mesa: do not define NDEBUG to make sure assert work

2011-10-08 Thread Yuanhan Liu
On Sat, Oct 08, 2011 at 02:17:29AM -0700, Kenneth Graunke wrote: On 10/08/2011 02:08 AM, Yuanhan Liu wrote: If you include mtypes.h, which would define macro NDEBUG, before including compiler.h, you would find that the assert macro will no longer work; it just make it slient by replacing it

[Mesa-dev] GL_DEPTH_BUFFER and GL_STENCIL_BUFFER

2011-10-08 Thread Jose Fonseca
Just noticed that the latest glext.h doesn't define DEPTH_BUFFER/STENCIL_BUFFER anymore. This is what enum.spec says: # Due to a syncing problem between the ARB_framebuffer_object extension # specification and the core API specification during development, the # following tokens were present in

Re: [Mesa-dev] [PATCH] pb_bufmgr_cache: flush cache when create_buffer fails and try again

2011-10-08 Thread Jose Fonseca
- Original Message - On Sat, Oct 8, 2011 at 1:44 AM, Jose Fonseca jfons...@vmware.com wrote: - Original Message - NOTE: This is a candidate for the stable branches. ---  src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c |    7 +++  1 files changed, 7

Re: [Mesa-dev] GL_DEPTH_BUFFER and GL_STENCIL_BUFFER

2011-10-08 Thread Brian Paul
On Sat, Oct 8, 2011 at 6:55 AM, Jose Fonseca jfons...@vmware.com wrote: Just noticed that the latest glext.h doesn't define DEPTH_BUFFER/STENCIL_BUFFER anymore. This is what enum.spec says: # Due to a syncing problem between the ARB_framebuffer_object extension # specification and the core

[Mesa-dev] [Bug 36792] [PATCH] link to shared LLVM library

2011-10-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36792 --- Comment #4 from Johannes Obermayr johannesoberm...@gmx.de 2011-10-08 07:14:32 PDT --- Created an attachment (id=52118) View: https://bugs.freedesktop.org/attachment.cgi?id=52118 Review:

[Mesa-dev] [PATCH 1/2] Sort/Unify CFLAGS and CXXFLAGS.

2011-10-08 Thread Johannes Obermayr
--- configure.ac |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 49e81ad..942084b 100644 --- a/configure.ac +++ b/configure.ac @@ -1875,9 +1875,9 @@ dnl Restore LDFLAGS and CPPFLAGS LDFLAGS=$_SAVE_LDFLAGS CPPFLAGS=$_SAVE_CPPFLAGS

[Mesa-dev] [PATCH 2/2] Use USER_CFLAGS in xa state tracker and xa-vmwfx target. This is required to silence some post build warnings on openSUSE.

2011-10-08 Thread Johannes Obermayr
--- configs/autoconf.in|1 + configure.ac |1 + src/gallium/state_trackers/xa/Makefile |2 +- src/gallium/targets/xa-vmwgfx/Makefile |2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configs/autoconf.in

Re: [Mesa-dev] [PATCH 1/2] Sort/Unify CFLAGS and CXXFLAGS.

2011-10-08 Thread Jakob Bornecrantz
- Original Message - --- configure.ac |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 49e81ad..942084b 100644 --- a/configure.ac +++ b/configure.ac @@ -1875,9 +1875,9 @@ dnl Restore LDFLAGS and CPPFLAGS

Re: [Mesa-dev] [PATCH 2/2] Use USER_CFLAGS in xa state tracker and xa-vmwfx target. This is required to silence some post build warnings on openSUSE.

2011-10-08 Thread Jakob Bornecrantz
- Original Message - --- configs/autoconf.in|1 + configure.ac |1 + src/gallium/state_trackers/xa/Makefile |2 +- src/gallium/targets/xa-vmwgfx/Makefile |2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff

[Mesa-dev] [PATCH 2/2] u_blitter: add integer clear support

2011-10-08 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com We need add a new set of fragment shader variants, along with new vertex elements for signed and unsigned clears. The new fragment shader variants are due to the integers values requiring CONSTANT interpolation. The new vertex element descriptions are for

[Mesa-dev] [PATCH 1/2] softpipe: add integer support

2011-10-08 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com This adds support to the clear and tile caches for integer storage and clearing, avoiding any floating paths. Signed-off-by: Dave Airlie airl...@redhat.com --- src/gallium/drivers/softpipe/sp_clear.c |7 +-

Re: [Mesa-dev] r600g shader optimization

2011-10-08 Thread Vadim Girlin
On Sat, 2011-10-08 at 11:35 +0200, Christian König wrote: Hi Vadim, wow quite impressive, does it also contains peep-hole optimisation? Not yet, I want to create a stable framework first (conversion to the internal representation and back to the bytecode), and this is still not finished.

[Mesa-dev] [Bug 41595] New: Hi10P videos produce improper playback in gl unless yv12 is used.

2011-10-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41595 Summary: Hi10P videos produce improper playback in gl unless yv12 is used. Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW

[Mesa-dev] [Bug 41595] Hi10P videos produce improper output in gl unless yv12 is used.

2011-10-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41595 Eric Appleman erapple...@gmail.com changed: What|Removed |Added Summary|Hi10P videos produce|Hi10P videos produce

Re: [Mesa-dev] [PATCH 2/2] u_blitter: add integer clear support

2011-10-08 Thread Marek Olšák
On Sat, Oct 8, 2011 at 7:07 PM, Dave Airlie airl...@gmail.com wrote: From: Dave Airlie airl...@redhat.com We need add a new set of fragment shader variants, along with new vertex elements for signed and unsigned clears. The new fragment shader variants are due to the integers values