[Mesa-dev] [PATCH] meta: Use float for temporary images, not (un)signed normalized.

2012-09-15 Thread Kenneth Graunke
In commit 091eb15b694, Jordan changed get_temp_image_type() to use _mesa_get_format_datatype() instead of returning GL_FLOAT. That has several possible return values: GL_FLOAT, GL_INT, GL_UNSIGNED_INT, GL_SIGNED_NORMALIZED, and GL_UNSIGNED_NORMALIZED. We do want to use GL_INT/GL_UNSIGNED_INT for

Re: [Mesa-dev] [PATCH] meta: Don't _mesa_set_enable() invalid targets in ES 1.

2012-09-15 Thread Kenneth Graunke
On 09/14/2012 11:23 PM, Ian Romanick wrote: > On 09/14/2012 01:01 PM, Kenneth Graunke wrote: >> GL_TEXTURE_1D, GL_TEXTURE_RECTANGLE, and GL_TEXTURE_GEN_* don't exist in >> ES 1 contexts, so any meta ops that used _mesa_meta_begin with >> MESA_META_TEXTURE would trigger GL errors. One such operatio

[Mesa-dev] [PATCH] i965: Fix if-statements with boolean comparisons on Sandybridge.

2012-09-15 Thread Kenneth Graunke
In the past, we stored booleans as integer 0 or 1. At some point, we changed to storing them as 0 or some non-zero value. The Sandybridge specific code for emitting IF instructions with embedded conditional modifiers was not updated to account for this change. For code such as if (bool_a ==

Re: [Mesa-dev] [PATCH 11/19] r600g: atomize stencil ref state

2012-09-15 Thread Vadim Girlin
Hi Marek, It seems after this patch something goes wrong for me on juniper - I've got lockups with longprim test (when running with '-auto'). I don't see anything wrong in the patch itself, so I guess it's order of writes or something like that, maybe even not directly related to this patch but un

[Mesa-dev] [Bug 39619] When enabling d3d1x state tracker, dot dependency is not checked

2012-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39619 Johannes Obermayr changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 40729] d3d1x build error: any interface changes lately?

2012-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40729 Johannes Obermayr changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Mesa-dev] [Bug 44255] d3d1x depends on removed pipe_.so libraries

2012-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44255 Johannes Obermayr changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 45292] Compilation failure on d3d1x state tracker: ‘ID3D10Include’ has not been declared

2012-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45292 Johannes Obermayr changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 52347] mklib: Error: no object files specified for d3d1x state tracker

2012-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52347 Johannes Obermayr changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #7 from Johannes

[Mesa-dev] [Bug 52347] mklib: Error: no object files specified for d3d1x state tracker

2012-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=52347 Johannes Obermayr changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 33938] selecting d3d1x state tracker should check for dependency on wine-dev

2012-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33938 Johannes Obermayr changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 41740] Mesa 7.12-devel gallium/state_trackers/d3d1x compilation error

2012-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41740 Johannes Obermayr changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

Re: [Mesa-dev] [PATCH 46/47] mesa: remove remaining FEATURE_* defines where protected by API check.

2012-09-15 Thread Török Edwin
On 09/15/2012 07:12 PM, Brian Paul wrote: > On 09/15/2012 09:04 AM, Török Edwin wrote: >> On 09/13/2012 11:19 AM, Oliver McFadden wrote: >>> Signed-off-by: Oliver McFadden >>> >>> diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c >>> index abce52e..63bb3da 100644 >>> --- a/src/mesa/mai

Re: [Mesa-dev] automake-gallium testing

2012-09-15 Thread Matt Turner
On Fri, Sep 14, 2012 at 8:21 AM, Matt Turner wrote: > On Fri, Sep 14, 2012 at 6:51 AM, Andreas Boll > wrote: >> Hi Matt, >> >> thank you very much for working on mesa's build system. >> I've tested your branch at >> http://cgit.freedesktop.org/~mattst88/mesa/log/?h=automake-gallium >> and found

Re: [Mesa-dev] [PATCH] build: Disable building of d3d1x

2012-09-15 Thread Kenneth Graunke
On 09/07/2012 12:52 PM, Matt Turner wrote: > On Fri, Sep 7, 2012 at 9:28 AM, Jose Fonseca wrote: >> - Original Message - >>> On Fri, Sep 7, 2012 at 3:30 AM, Jose Fonseca >>> wrote: - Original Message - > On Thu, Sep 6, 2012 at 11:39 PM, Jose Fonseca > > wrote: >>

[Mesa-dev] [Bug 54971] __glXInitialize can initialize same display multiple times

2012-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54971 --- Comment #1 from szu...@gmail.com 2012-09-15 17:29:23 UTC --- The related bugs are 41736 (mesa xdemo manywin aborts with intel_do_flush_locked error) and I think 28799 (Shared textures not working in 7.7.1) -- Configure bugmail: https://bugs.

[Mesa-dev] [Bug 54971] New: __glXInitialize can initialize same display multiple times

2012-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54971 Bug #: 54971 Summary: __glXInitialize can initialize same display multiple times Classification: Unclassified Product: Mesa Version: 8.0 Platform: All OS/Versi

Re: [Mesa-dev] [PATCH 46/47] mesa: remove remaining FEATURE_* defines where protected by API check.

2012-09-15 Thread Jose Fonseca
- Original Message - > On 09/15/2012 09:04 AM, Török Edwin wrote: > > On 09/13/2012 11:19 AM, Oliver McFadden wrote: > >> Signed-off-by: Oliver McFadden > >> > >> diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c > >> index abce52e..63bb3da 100644 > >> --- a/src/mesa/main/conte

Re: [Mesa-dev] automake-gallium testing

2012-09-15 Thread Matt Turner
On Sat, Sep 15, 2012 at 1:22 AM, Michel Dänzer wrote: > On Fre, 2012-09-14 at 08:21 -0700, Matt Turner wrote: >> On Fri, Sep 14, 2012 at 6:51 AM, Andreas Boll >> > >> > $ LD_LIBRARY_PATH="/home/andreas/mesa-testing/lib" LIBGL_DEBUG=verbose >> > LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=softpipe glxin

[Mesa-dev] [PATCH 5/5] mesa: move/fix levels check for glTexStorage()

2012-09-15 Thread Brian Paul
From: Brian Paul Fix copy&paste error and move min levels check closer to max levels check. --- src/mesa/main/texstorage.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/mesa/main/texstorage.c b/src/mesa/main/texstorage.c index 0a4cafe..ca02ef3 100644

[Mesa-dev] [PATCH 4/5] mesa: rewrite glTexStorage() code

2012-09-15 Thread Brian Paul
From: Brian Paul Simplify the code and make it more like the other glTexImage commands. Call _mesa_legal_texture_dimensions() to validate width, height, depth. Call ctx->Driver.TestProxyTexImage() to make sure texture is not too large. --- src/mesa/main/texstorage.c | 153 ++

[Mesa-dev] [PATCH 3/5] mesa: rework texture size error checking

2012-09-15 Thread Brian Paul
From: Brian Paul There are two aspects to texture image size checking: 1. Are the width, height, depth legal values (not negative, not larger than the max size for the mipmap level, etc)? 2. Is the texture just too large to handle? For example, we might not be able to really allocate memor

[Mesa-dev] [PATCH 2/5] mesa: refactor _mesa_test_proxy_teximage() code

2012-09-15 Thread Brian Paul
From: Brian Paul Basically, move the body into a new _mesa_legal_texture_dimensions() function. More refactoring to come. --- src/mesa/main/teximage.c | 81 +- src/mesa/main/teximage.h |5 +++ 2 files changed, 56 insertions(+), 30 deletions(-) d

[Mesa-dev] [PATCH 1/5] mesa: move glTexImage 'level' error checking

2012-09-15 Thread Brian Paul
From: Brian Paul Move level checking out of _mesa_test_proxy_teximage() and into the other error-checking functions. --- src/mesa/main/teximage.c | 32 ++-- 1 files changed, 10 insertions(+), 22 deletions(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/tex

Re: [Mesa-dev] [PATCH 46/47] mesa: remove remaining FEATURE_* defines where protected by API check.

2012-09-15 Thread Brian Paul
On 09/15/2012 09:04 AM, Török Edwin wrote: On 09/13/2012 11:19 AM, Oliver McFadden wrote: Signed-off-by: Oliver McFadden diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index abce52e..63bb3da 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -952,18 +952,14 @@

Re: [Mesa-dev] dri-r600 build fail since remove FEATURE* commits

2012-09-15 Thread Andy Furniss
Brian Paul wrote: On 09/15/2012 05:56 AM, Andy Furniss wrote: make[3]: Entering directory `/home/andy/Src/Mesa-git/mesa/src/gallium/targets/dri-r600' /bin/sh ../../../../bin/mklib -o r600_dri.so.tmp -noprefix -linker 'g++' -ldflags '-L/home/andy/Src/Xorg-git/modular/lib -L/usr/lib -lpthread -ldl

Re: [Mesa-dev] dri-r600 build fail since remove FEATURE* commits

2012-09-15 Thread darxus
On 09/15, Brian Paul wrote: > >r600_dri.so.tmp: undefined reference to > >`_mesa_cpal_compressed_teximage2d' > I just pushed a fix for this. Looks like there's still a similar problem with nouveau: commit 2f5f7bd687a2d0d2d7c37846382e46a0d9401397 nouveau_dri.so.tmp: undefined reference to `_mesa

Re: [Mesa-dev] [PATCH 46/47] mesa: remove remaining FEATURE_* defines where protected by API check.

2012-09-15 Thread Török Edwin
On 09/13/2012 11:19 AM, Oliver McFadden wrote: > Signed-off-by: Oliver McFadden > > diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c > index abce52e..63bb3da 100644 > --- a/src/mesa/main/context.c > +++ b/src/mesa/main/context.c > @@ -952,18 +952,14 @@ _mesa_initialize_context(stru

[Mesa-dev] [Bug 54963] [Bisected] build fail undefined reference to `_mesa_cpal_compressed_teximage2d'

2012-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54963 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] dri-r600 build fail since remove FEATURE* commits

2012-09-15 Thread Brian Paul
On 09/15/2012 05:56 AM, Andy Furniss wrote: make[3]: Entering directory `/home/andy/Src/Mesa-git/mesa/src/gallium/targets/dri-r600' /bin/sh ../../../../bin/mklib -o r600_dri.so.tmp -noprefix -linker 'g++' -ldflags '-L/home/andy/Src/Xorg-git/modular/lib -L/usr/lib -lpthread -ldl -lm ' \ target.o .

[Mesa-dev] dri-r600 build fail since remove FEATURE* commits

2012-09-15 Thread Andy Furniss
make[3]: Entering directory `/home/andy/Src/Mesa-git/mesa/src/gallium/targets/dri-r600' /bin/sh ../../../../bin/mklib -o r600_dri.so.tmp -noprefix -linker 'g++' -ldflags '-L/home/andy/Src/Xorg-git/modular/lib -L/usr/lib -lpthread -ldl -lm ' \ target.o ../../../../src/mesa/drive

[Mesa-dev] [Bug 54963] New: [Bisected] build fail undefined reference to `_mesa_cpal_compressed_teximage2d'

2012-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54963 Bug #: 54963 Summary: [Bisected] build fail undefined reference to `_mesa_cpal_compressed_teximage2d' Classification: Unclassified Product: Mesa Version: git Platform:

Re: [Mesa-dev] [PATCH v2 00/45] Remove many of the FEATURE_* defines.

2012-09-15 Thread Oliver McFadden
On Fri, Sep 14, 2012 at 07:59:38AM -0600, Brian Paul wrote: > On 09/14/2012 04:30 AM, Oliver McFadden wrote: > > On Thu, Sep 13, 2012 at 03:00:48PM -0600, Brian Paul wrote: > >> On 09/13/2012 02:18 AM, Oliver McFadden wrote: > >>> Hi, > >>> > >>> As requested here is the second version of the patch

Re: [Mesa-dev] automake-gallium testing

2012-09-15 Thread Michel Dänzer
On Fre, 2012-09-14 at 08:21 -0700, Matt Turner wrote: > On Fri, Sep 14, 2012 at 6:51 AM, Andreas Boll > > > > $ LD_LIBRARY_PATH="/home/andreas/mesa-testing/lib" LIBGL_DEBUG=verbose > > LIBGL_ALWAYS_SOFTWARE=1 GALLIUM_DRIVER=softpipe glxinfo | egrep > > "OpenGL|rendering" > > > > libGL: OpenDriver:

[Mesa-dev] [Bug 54951] ld: duplicate symbol _mem_ctx on Mac OS X

2012-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54951 Dave Airlie changed: What|Removed |Added Status|NEW |RESOLVED Resolution|