Re: [Mesa-dev] [PATCH 3/3] mesa: Skip updating texgen when not doing fixed function.

2013-01-14 Thread Kenneth Graunke
On 01/11/2013 08:57 PM, Eric Anholt wrote: Between the previous commit and this one, improves GLBenchmark 2.1 offscreen performance by 0.48% +/- 0.24% (n=22, throttling outliers removed). --- src/mesa/main/texstate.c | 70 ++ 1 file changed, 39 ins

Re: [Mesa-dev] [PATCH] build: Make src/gtest before src/mesa

2013-01-14 Thread Kenneth Graunke
On 01/14/2013 09:15 PM, Matt Turner wrote: Fixes a make check problem where libgtest.la wasn't build before tests that want to link with it. --- configure.ac |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 2d74b82..99a08fd 100644 ---

[Mesa-dev] [PATCH] build: Make src/gtest before src/mesa

2013-01-14 Thread Matt Turner
Fixes a make check problem where libgtest.la wasn't build before tests that want to link with it. --- configure.ac |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 2d74b82..99a08fd 100644 --- a/configure.ac +++ b/configure.ac @@ -739,7 +7

Re: [Mesa-dev] [RFC PATCH 0/26] Implement ARB_texture_multisample

2013-01-14 Thread Marek Olšák
On Mon, Jan 14, 2013 at 11:35 PM, Ian Romanick wrote: > On 01/13/2013 06:20 AM, Marek Olšák wrote: >> >> Hi Dave, here's a preliminary review. >> >> 1) The depth and integer texture sample limits should be set according >> to driver support, we probably don't have good queries for that. >> >> - R6

Re: [Mesa-dev] [PATCH] util: add new primitive types to pipe_prim_names[] array

2013-01-14 Thread Jose Fonseca
Reviewed-by: Jose Fonseca - Original Message - > --- > src/gallium/auxiliary/util/u_debug.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/src/gallium/auxiliary/util/u_debug.c > b/src/gallium/auxiliary/util/u_debug.c > index ce472b0..6e8c5b9 100644 > -

[Mesa-dev] [PATCH] util: add new primitive types to pipe_prim_names[] array

2013-01-14 Thread Brian Paul
--- src/gallium/auxiliary/util/u_debug.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/util/u_debug.c b/src/gallium/auxiliary/util/u_debug.c index ce472b0..6e8c5b9 100644 --- a/src/gallium/auxiliary/util/u_debug.c +++ b/src/gallium/auxiliary/uti

[Mesa-dev] [Bug 59383] src/glsl/tests/Makefile.am missing $(top_builddir)/include

2013-01-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59383 compguy...@yahoo.com changed: What|Removed |Added CC||compguy...@yahoo.com -- You are r

Re: [Mesa-dev] [PATCH v2 00/18] GLES3 changes for readpix/teximage/FBO

2013-01-14 Thread Ian Romanick
Patches 1 through 7, 9, 12, 13, and 14 are Reviewed-by: Ian Romanick I think Eric is probably right about 8. The rest I want to review a bit more in context. Maybe push 1 through 7 sooner than the others? On 01/12/2013 08:10 PM, Jordan Justen wrote: v2: * Note that I am still relying on

[Mesa-dev] [Bug 59383] New: src/glsl/tests/Makefile.am missing $(top_builddir)/include

2013-01-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59383 Priority: medium Bug ID: 59383 Assignee: mesa-dev@lists.freedesktop.org Summary: src/glsl/tests/Makefile.am missing $(top_builddir)/include Severity: normal Classificatio

Re: [Mesa-dev] [PATCH v2 15/18] extensions: enable EXT_color_buffer_float for ES2/ES3

2013-01-14 Thread Ian Romanick
On 01/14/2013 01:01 PM, Jordan Justen wrote: On Mon, Jan 14, 2013 at 11:13 AM, Matt Turner wrote: On Sat, Jan 12, 2013 at 8:11 PM, Jordan Justen diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index a219398..abb9f34 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbo

Re: [Mesa-dev] [PATCH v2 04/18] glformats: add _mesa_es3_error_check_format_and_type

2013-01-14 Thread Ian Romanick
On 01/12/2013 08:10 PM, Jordan Justen wrote: From: Matt Turner This function checks for ES3 compatible format/type/internalFormat/dimension combinations. [jordan.l.jus...@intel.com: additional tweaks for gles3-gtf] Signed-off-by: Jordan Justen This code looks fine, but I hate it. I wish th

Re: [Mesa-dev] [PATCH v2 03/18] fbobject: don't allow LUMINANCE/INTENSITY/ALPHA fbo on ES/Core

2013-01-14 Thread Ian Romanick
On 01/13/2013 12:14 AM, Matt Turner wrote: On Sat, Jan 12, 2013 at 10:08 PM, Kenneth Graunke wrote: On 01/12/2013 08:10 PM, Jordan Justen wrote: v2: * Only allow on GL Legacy contexts Signed-off-by: Jordan Justen --- src/mesa/main/fbobject.c |3 ++- 1 file changed, 2 insertions(

Re: [Mesa-dev] [PATCH] mesa: Fix default value of BUFFER_ACCESS_FLAGS.

2013-01-14 Thread Jordan Justen
On Sat, Nov 17, 2012 at 10:07 PM, Kenneth Graunke wrote: > According to both the GL 3.0 and ES 3.0 specifications (table 2.7 for GL > and table 2.8 for ES), the default value of BUFFER_ACCESS_FLAGS is > supposed to be zero. > > Note that there are two related quantities: the obsolete BUFFER_ACCESS

Re: [Mesa-dev] [RFC PATCH 0/26] Implement ARB_texture_multisample

2013-01-14 Thread Ian Romanick
On 01/13/2013 06:20 AM, Marek Olšák wrote: Hi Dave, here's a preliminary review. 1) The depth and integer texture sample limits should be set according to driver support, we probably don't have good queries for that. - R6xx cannot do depth MSAA textures. - R6xx and R7xx cannot do integer MSAA t

[Mesa-dev] [PATCH 2/2] util: update, fix pipe_prim_names[] array

2013-01-14 Thread Brian Paul
The DEBUG_NAMED_VALUE_WITH_DESCRIPTION() macro doesn't seem to work as expected with mingw32. Instead of converting the PIPE_PRIM_LINES define into an enum name string, it gets converted into "1" (the enum's value). Just hand-expand the macro to work around that. Also, add the newer primitive typ

[Mesa-dev] [PATCH 1/2] st/mesa: add some simple buffer/draw debug code

2013-01-14 Thread Brian Paul
--- src/mesa/state_tracker/st_cb_bufferobjects.c |5 + src/mesa/state_tracker/st_debug.c|2 ++ src/mesa/state_tracker/st_debug.h|2 ++ src/mesa/state_tracker/st_draw.c |9 + 4 files changed, 18 insertions(+), 0 deletions(-) diff --gi

Re: [Mesa-dev] [PATCH 1/3] mesa: Drop a comment about ff vertex shading and texturing.

2013-01-14 Thread Ian Romanick
Series is Reviewed-by: Ian Romanick On 01/11/2013 08:57 PM, Eric Anholt wrote: It's never going to have texture fetches. --- src/mesa/main/texstate.c |5 - 1 file changed, 5 deletions(-) diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c index 8e9bbf6..3adea54 100644

Re: [Mesa-dev] [PATCH] mesa: Rework crazy error code rules in glDrawBuffers().

2013-01-14 Thread Jordan Justen
On Fri, Nov 16, 2012 at 2:58 PM, Kenneth Graunke wrote: > Perhaps most importantly, this patch adds comments quoting the relevant > spec paragraphs above each error condition. > > It also makes three changes: > - For FBOs, GL_COLOR_ATTACHMENTm where m >= MaxDrawBuffers is supposed > to generate

Re: [Mesa-dev] [PATCH v2 01/18] fbobject: add VERBOSE=api message for check framebuffer status

2013-01-14 Thread Matt Turner
On Sat, Jan 12, 2013 at 8:10 PM, Jordan Justen wrote: > Signed-off-by: Jordan Justen > --- > src/mesa/main/fbobject.c |4 > 1 file changed, 4 insertions(+) > > diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c > index b991c76..15e8f10 100644 > --- a/src/mesa/main/fbobject

Re: [Mesa-dev] [PATCH] mesa: Allow HALF_FLOAT in glVertexAttribPointer

2013-01-14 Thread Matt Turner
On Mon, Jan 14, 2013 at 1:41 PM, Jordan Justen wrote: > You could add 'for GLES3' to commit message subject. > > Reviewed-by: Jordan Justen Yes, good call. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/li

Re: [Mesa-dev] [PATCH] mesa: Allow HALF_FLOAT in glVertexAttribPointer

2013-01-14 Thread Jordan Justen
You could add 'for GLES3' to commit message subject. Reviewed-by: Jordan Justen On Thu, Nov 29, 2012 at 9:53 AM, Matt Turner wrote: > Fixes es3conform's half_float_max_vertex_dimensions and > half_float_textures tests. > --- > src/mesa/main/varray.c | 14 +++--- > 1 files changed, 7

Re: [Mesa-dev] [PATCH v2 3/3] egl/wayland: Implement EGL_EXT_buffer_age

2013-01-14 Thread Kristian Høgsberg
On Mon, Jan 14, 2013 at 03:50:22PM +0200, Ander Conselvan de Oliveira wrote: > On 01/09/2013 04:45 PM, Kristian Høgsberg wrote: > >--- > > src/egl/drivers/dri2/platform_wayland.c | 25 - > > 1 file changed, 24 insertions(+), 1 deletion(-) > > > >diff --git a/src/egl/drive

Re: [Mesa-dev] [PATCH v2 15/18] extensions: enable EXT_color_buffer_float for ES2/ES3

2013-01-14 Thread Jordan Justen
On Mon, Jan 14, 2013 at 11:13 AM, Matt Turner wrote: > On Sat, Jan 12, 2013 at 8:11 PM, Jordan Justen >> diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c >> index a219398..abb9f34 100644 >> --- a/src/mesa/main/fbobject.c >> +++ b/src/mesa/main/fbobject.c >> @@ -1217,21 +1217,27 @@

Re: [Mesa-dev] [PATCH 1/9] softpipe: implement separate depth-stencil clear

2013-01-14 Thread Brian Paul
On 01/14/2013 12:29 PM, Marek Olšák wrote: The CAP is going away. --- src/gallium/drivers/softpipe/sp_clear.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) Series looks good. Reviewed-by: Brian Paul ___ mesa-dev mailin

Re: [Mesa-dev] [PATCH] Revert "targets/opencl: Link against libgallium.la instead of libgallium.a"

2013-01-14 Thread Tom Stellard
On Mon, Jan 14, 2013 at 01:19:53PM -0600, Aaron Watry wrote: > > > >From: Tom Stellard >> > > > >This reverts commit 4148a29ed83d1d85bff3d4e40e847128011c3f20. > > > >This fixes bug:https://bugs.freedesktop.org/show_bug.cgi?id=59334 > > > >We r

Re: [Mesa-dev] [PATCH] libgl-xlib: link with -lrt

2013-01-14 Thread Andreas Boll
2013/1/14 Brian Paul : > Fixes a runtime error: > > glxgears: symbol lookup error: /home/brian/mesa/lib/gallium/libGL.so.1: > undefined symbol: clock_gettime > > v2: use $(CLOCK_LIB) and $(PTHREAD_LIBS) per Andreas Boll. Reviewed-by: Andreas Boll > --- > src/gallium/targets/libgl-xlib/Makefile

[Mesa-dev] [PATCH 9/9] st/mesa: use a generic varying to pass the clear color to the FS

2013-01-14 Thread Marek Olšák
The color varying may have reduced precision or be even clamped. --- src/mesa/state_tracker/st_cb_clear.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_clear.c b/src/mesa/state_tracker/st_cb_clear.c index aabea63..d01236e 100644 --- a/src/

[Mesa-dev] [PATCH 8/9] gallium/util: fix glClear with MRT by making the FS write to all cbufs

2013-01-14 Thread Marek Olšák
--- src/gallium/auxiliary/util/u_simple_shaders.c | 34 ++--- src/gallium/auxiliary/util/u_simple_shaders.h |4 ++- src/gallium/state_trackers/vega/renderer.c|3 ++- src/gallium/tests/trivial/tri.c |3 ++- src/mesa/state_tracker/st_atom_shader.c

[Mesa-dev] [PATCH 7/9] st/mesa: fix InternalFormat for Z24X8 window-system buffers

2013-01-14 Thread Marek Olšák
This probably doesn't fix anything, but it's good to be consistent. --- src/mesa/state_tracker/st_cb_fbo.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index bf206b0..d042eba 100644 --- a/src/mesa

[Mesa-dev] [PATCH 6/9] st/mesa: remove dead conditional in Clear

2013-01-14 Thread Marek Olšák
I think the conditional always evaluates to false. If I understand the code in core Mesa correctly, depthBits or stencilBits is 0 if the depth or stencil renderbuffer is NULL, respectively. --- src/mesa/state_tracker/st_cb_clear.c | 12 1 file changed, 12 deletions(-) diff --git a

[Mesa-dev] [PATCH 5/9] st/mesa: simplify conditionals in Clear

2013-01-14 Thread Marek Olšák
just check depth and stencil separately, the outcome is the same --- src/mesa/state_tracker/st_cb_clear.c | 42 ++ 1 file changed, 12 insertions(+), 30 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_clear.c b/src/mesa/state_tracker/st_cb_clear.c index c3

[Mesa-dev] [PATCH 4/9] st/mesa: fix glClear with different colormask for each colorbuffer

2013-01-14 Thread Marek Olšák
--- src/mesa/state_tracker/st_cb_clear.c | 43 -- 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_clear.c b/src/mesa/state_tracker/st_cb_clear.c index 3310e7d..c30deaf 100644 --- a/src/mesa/state_tracker/st_cb_clear.c

[Mesa-dev] [PATCH 3/9] gallium: remove PIPE_CAP_DEPTHSTENCIL_CLEAR_SEPARATE

2013-01-14 Thread Marek Olšák
--- src/gallium/docs/source/context.rst |3 +-- src/gallium/docs/source/screen.rst |2 -- src/gallium/drivers/i915/i915_screen.c |1 - src/gallium/drivers/llvmpipe/lp_screen.c |2 -- src/gallium/drivers/nv30/nv30_screen.c |1 - src/gallium/dri

[Mesa-dev] [PATCH 2/9] st/mesa: always assume separate depth and stencil clear is supported

2013-01-14 Thread Marek Olšák
All drivers implement it now. --- src/mesa/state_tracker/st_cb_clear.c | 118 +++--- src/mesa/state_tracker/st_context.h |1 - 2 files changed, 22 insertions(+), 97 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_clear.c b/src/mesa/state_tracker/st_cb_cle

[Mesa-dev] [PATCH 1/9] softpipe: implement separate depth-stencil clear

2013-01-14 Thread Marek Olšák
The CAP is going away. --- src/gallium/drivers/softpipe/sp_clear.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_clear.c b/src/gallium/drivers/softpipe/sp_clear.c index dd6bd83..f040903 100644 --- a/src/gallium/drivers/softp

Re: [Mesa-dev] [PATCH] Revert "targets/opencl: Link against libgallium.la instead of libgallium.a"

2013-01-14 Thread Aaron Watry
From: Tom Stellardhttp://lists.freedesktop.org/mailman/listinfo/mesa-dev>> This reverts commit 4148a29ed83d1d85bff3d4e40e847128011c3f20. This fixes bug:https://bugs.freedesktop.org/show_bug.cgi?id=59334 We really should be linking against libgallium.la instead of libgallium.a, but until we can

Re: [Mesa-dev] [PATCH v2 15/18] extensions: enable EXT_color_buffer_float for ES2/ES3

2013-01-14 Thread Matt Turner
On Sat, Jan 12, 2013 at 8:11 PM, Jordan Justen wrote: > Signed-off-by: Jordan Justen > --- > src/mesa/main/extensions.c |1 + > src/mesa/main/fbobject.c | 26 +- > src/mesa/main/readpix.c|2 ++ > 3 files changed, 20 insertions(+), 9 deletions(-) > > diff -

Re: [Mesa-dev] default texture buffer object

2013-01-14 Thread Eric Anholt
Dave Airlie writes: > On Mon, Jan 14, 2013 at 5:09 AM, Eric Anholt wrote: >> Dave Airlie writes: >> >>> Hi, >>> >>> so the gallium state tracker falls over with one of the TBO tests and >>> I wsa wondering what the correct solution is. >>> >>> After the tests run, the test leaves the fragment s

Re: [Mesa-dev] RFC: help on llvmpipe

2013-01-14 Thread Adhemerval Zanella
On 01/11/2013 01:05 PM, Michel Dänzer wrote: > On Fre, 2013-01-11 at 11:53 -0200, Adhemerval Zanella wrote: >> I'm trying to make llvmpipe work correctly on PowerPC64. The llvm MCJIT >> backend >> works pretty well now, so now I'm focused on the llvmpipe code. I already >> sent a few >> patches

Re: [Mesa-dev] [PATCH] libgl-xlib: link with -lrt

2013-01-14 Thread Matt Turner
On Mon, Jan 14, 2013 at 10:37 AM, Brian Paul wrote: > Fixes a runtime error: > > glxgears: symbol lookup error: /home/brian/mesa/lib/gallium/libGL.so.1: > undefined symbol: clock_gettime > > v2: use $(CLOCK_LIB) and $(PTHREAD_LIBS) per Andreas Boll. > --- > src/gallium/targets/libgl-xlib/Makefil

Re: [Mesa-dev] [PATCH] Revert "targets/opencl: Link against libgallium.la instead of libgallium.a"

2013-01-14 Thread Andreas Boll
2013/1/14 Tom Stellard : > From: Tom Stellard > > This reverts commit 4148a29ed83d1d85bff3d4e40e847128011c3f20. > > This fixes bug: https://bugs.freedesktop.org/show_bug.cgi?id=59334 > > We really should be linking against libgallium.la instead of > libgallium.a, but until we can figure why linkin

[Mesa-dev] [PATCH] libgl-xlib: link with -lrt

2013-01-14 Thread Brian Paul
Fixes a runtime error: glxgears: symbol lookup error: /home/brian/mesa/lib/gallium/libGL.so.1: undefined symbol: clock_gettime v2: use $(CLOCK_LIB) and $(PTHREAD_LIBS) per Andreas Boll. --- src/gallium/targets/libgl-xlib/Makefile.am |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)

Re: [Mesa-dev] [PATCH] libgl-xlib: link with -lrt

2013-01-14 Thread Andreas Boll
2013/1/14 Brian Paul : > Fixes a runtime error: > > glxgears: symbol lookup error: /home/brian/mesa/lib/gallium/libGL.so.1: > undefined symbol: clock_gettime > > Note: should this library only be linked if we're building on Linux? > The code that calls clock_gettime() is inside #ifdef PIPE_OS_LINU

Re: [Mesa-dev] [PATCH 1/4] llvmpipe: fix using wrong format with MRT in blend code

2013-01-14 Thread Roland Scheidegger
On 01/14/2013 09:44 AM, Brian Paul wrote: IIRC, we can have a mixture of color buffer formats when there's multiple render targets. This change doesn't effect that, right? Well it does - it should fix some edge cases there. We actually did some changes to the color mask of the blend state depe

Re: [Mesa-dev] [PATCH 3/4] llvmpipe: more fixes for integer color buffers

2013-01-14 Thread Roland Scheidegger
On 01/14/2013 09:50 AM, Brian Paul wrote: On 01/12/2013 05:29 PM, srol...@vmware.com wrote: From: Roland Scheidegger Cast back the fake floats to ints, and make sure we don't try to do scaling in format conversion (which only makes sense with normalized values). Also need to disable blending an

Re: [Mesa-dev] [PATCH] glxinfo: add support for creating/querying core-profile contexts (v2.1)

2013-01-14 Thread Brian Paul
On 01/12/2013 02:15 PM, Dave Airlie wrote: From: Brian Paul [airlied: Based on Brian's patch, I've fixed it up to always report a non-core and core profile, after each other, and dropped the -c flag as its redunant now] The -c flag says to try to create a core profile (no legacy features) using

Re: [Mesa-dev] Mesa 9.1 stable branch

2013-01-14 Thread Andreas Boll
2013/1/14 Brian Paul : > On 01/10/2013 02:13 PM, Ian Romanick wrote: >> >> It's getting to be about that time again. :) >> >> I'd like to make the 9.1 branch on Wednesday, January 25th (a week >> from next Wednesday). I'd like to shoot for doing the 9.1 release on >> Friday, February 22nd. >> >> Do

Re: [Mesa-dev] [PATCH 4/4] llvmpipe: turn on integer texture support

2013-01-14 Thread Brian Paul
On 01/12/2013 05:29 PM, srol...@vmware.com wrote: From: Roland Scheidegger Now that things mostly seem to work enable those formats. Some formats cause crashes (notably RGB8 variants) so switch these off (these crashes are not specific to INT/UINT variants but the state tracker doesn't use them

Re: [Mesa-dev] [PATCH 3/4] llvmpipe: more fixes for integer color buffers

2013-01-14 Thread Brian Paul
On 01/12/2013 05:29 PM, srol...@vmware.com wrote: From: Roland Scheidegger Cast back the fake floats to ints, and make sure we don't try to do scaling in format conversion (which only makes sense with normalized values). Also need to disable blending and alpha test (as per spec) for such buffers

[Mesa-dev] [Bug 59334] Automake Regression - Clover: Assertion failures when loading pipe_r600.so driver

2013-01-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59334 --- Comment #3 from Tom Stellard --- Created attachment 73013 --> https://bugs.freedesktop.org/attachment.cgi?id=73013&action=edit Work around for bug This patch works around the bug by linking against libgallium.a rather than libgallium.la.

Re: [Mesa-dev] [PATCH 2/4] llvmpipe: trivial code and comment cleanup.

2013-01-14 Thread Brian Paul
On 01/12/2013 05:29 PM, srol...@vmware.com wrote: From: Roland Scheidegger --- src/gallium/drivers/llvmpipe/lp_state_fs.c | 26 -- 1 file changed, 12 insertions(+), 14 deletions(-) Reviewed-by: Brian Paul ___ mesa-dev m

Re: [Mesa-dev] [PATCH 1/4] llvmpipe: fix using wrong format with MRT in blend code

2013-01-14 Thread Brian Paul
IIRC, we can have a mixture of color buffer formats when there's multiple render targets. This change doesn't effect that, right? Looks OK otherwise. Reviewed-by: Brian Paul On 01/12/2013 05:29 PM, srol...@vmware.com wrote: From: Roland Scheidegger We were passing in the rt index however

[Mesa-dev] [PATCH] Revert "targets/opencl: Link against libgallium.la instead of libgallium.a"

2013-01-14 Thread Tom Stellard
From: Tom Stellard This reverts commit 4148a29ed83d1d85bff3d4e40e847128011c3f20. This fixes bug: https://bugs.freedesktop.org/show_bug.cgi?id=59334 We really should be linking against libgallium.la instead of libgallium.a, but until we can figure why linking against libgallium.la causes runtime

Re: [Mesa-dev] Mesa 9.1 stable branch

2013-01-14 Thread Brian Paul
On 01/10/2013 02:13 PM, Ian Romanick wrote: It's getting to be about that time again. :) I'd like to make the 9.1 branch on Wednesday, January 25th (a week from next Wednesday). I'd like to shoot for doing the 9.1 release on Friday, February 22nd. Does this sound workable to folks? Sounds OK

Re: [Mesa-dev] [PATCH] libgl-xlib: softpipe and llvmpipe aren't mutually exclusive at link time

2013-01-14 Thread Brian Paul
On 01/14/2013 05:28 AM, Jon TURNEY wrote: Since automake changes softpipe and llvmpipe are mutually exclusive at link time. This doesn't make much sense to me as we can choose between them at run-time using GALLIUM_DRIVER. Creating library file: .libs/libGL.dll.a .libs/xlib.o: In function `sw_s

[Mesa-dev] [PATCH] libgl-xlib: link with -lrt

2013-01-14 Thread Brian Paul
Fixes a runtime error: glxgears: symbol lookup error: /home/brian/mesa/lib/gallium/libGL.so.1: undefined symbol: clock_gettime Note: should this library only be linked if we're building on Linux? The code that calls clock_gettime() is inside #ifdef PIPE_OS_LINUX. --- src/gallium/targets/libgl-x

Re: [Mesa-dev] [PATCH 10/11] radeon, clover: Make it compile on LLVM >= r171366.

2013-01-14 Thread Tom Stellard
On Sat, Jan 12, 2013 at 03:23:33AM +0100, Johannes Obermayr wrote: > --- > src/gallium/drivers/r600/Makefile.am |3 ++- > src/gallium/drivers/r600/llvm_wrapper.cpp |4 > src/gallium/drivers/radeon/radeon_llvm_emit.cpp | 10 -- > src/gallium

Re: [Mesa-dev] [PATCH] build: Fix the documented default value of --with-gallium-drivers

2013-01-14 Thread Damien Lespiau
On Mon, Jan 14, 2013 at 07:18:30AM -0800, Brian Paul wrote: > Do you nedd someone to commit this for you? Yes please, I don't have the bits to push to mesa. Thanks, -- Damien ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freede

[Mesa-dev] [Bug 59334] Automake Regression - Clover: Assertion failures when loading pipe_r600.so driver

2013-01-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59334 Michel Dänzer changed: What|Removed |Added CC|mic...@daenzer.net | -- You are receiving this mail because

[Mesa-dev] [Bug 59334] Automake Regression - Clover: Assertion failures when loading pipe_r600.so driver

2013-01-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59334 --- Comment #2 from Michel Dänzer --- Although I did see the "Option already exists!" failure with EGL with one of the last automake branches before the merge, I'm not seeing it (or any other LLVM related failure) now. -- You are receiving this

[Mesa-dev] [Bug 59334] Automake Regression - Clover: Assertion failures when loading pipe_r600.so driver

2013-01-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59334 --- Comment #1 from Tom Stellard --- After bisecting, it looks like I introduced this error on clover with this commit: commit 4148a29ed83d1d85bff3d4e40e847128011c3f20 Author: Tom Stellard Date: Fri Jan 11 17:28:35 2013 + targets/ope

[Mesa-dev] [PATCH V4 6/6] intel: Create a miptree using offsets in intel_set_texture_image_region

2013-01-14 Thread Abdiel Janulgue
When binding a region to a texture image, re-create the miptree base-level considering the offset and dimension information exported by DRIImage. Signed-off-by: Abdiel Janulgue --- src/mesa/drivers/dri/intel/intel_tex_image.c | 27 -- 1 file changed, 21 insertions(+), 6

[Mesa-dev] [PATCH V4 5/6] intel: implement create image from texture

2013-01-14 Thread Abdiel Janulgue
Save miptree level info to DRIImage, taking offsets into consideration. In non-tile-aligned surface cases where resolving back to the original image located in mip-levels higher than the base level proves problematic due to offset alignment issues, report INVALID_OPERATION as per spec wording. Sig

[Mesa-dev] [PATCH V4 4/6] i965: Account for offsets when updating SURFACE_STATE.

2013-01-14 Thread Abdiel Janulgue
If the offsets are present, this lets us specify a particular level and slice in a shared region using the base level of an exported mip-map tree. Signed-off-by: Abdiel Janulgue --- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 12 +++- src/mesa/drivers/dri/i965/gen7_wm_surface_s

[Mesa-dev] [PATCH V4 2/6] intel: create a miptree for a region based on an offset, size, and level.

2013-01-14 Thread Abdiel Janulgue
Add intel_miptree_create_for_offset which adds support for creating a single- level miptree based on the existing offsets and dimensions of another mip-tree level. Use this function as well in intel_miptree_create_for_region, but for the whole region. Signed-off-by: Abdiel Janulgue --- src/mesa/

[Mesa-dev] [PATCH V4 3/6] intel: add new miptree helper functions

2013-01-14 Thread Abdiel Janulgue
Add helper to calculate x and y offsets of a miptree level within a tiled region. Signed-off-by: Abdiel Janulgue --- src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 15 +++ src/mesa/drivers/dri/intel/intel_mipmap_tree.h |6 ++ 2 files changed, 21 insertions(+) diff --git

[Mesa-dev] [PATCH V4 1/6] dri2: Create image from texture

2013-01-14 Thread Abdiel Janulgue
Add create image from texture extension and bump version. Signed-off-by: Abdiel Janulgue --- include/GL/internal/dri_interface.h | 14 +- src/egl/drivers/dri2/egl_dri2.c | 83 +++ 2 files changed, 96 insertions(+), 1 deletion(-) diff --git a/include/G

[Mesa-dev] intel: add support for EGL_KHR_gl_image (V4)

2013-01-14 Thread Abdiel Janulgue
Changes from v3: - Unexport intel_miptree_copy_slice. We don't need fake storage anymore for non-tile aligned surfaces. - Fix error in gen6 caught by piglit test for this extension. This is another case where I forgot to consider the miptree slices; this time in updating SURFACE_STATE. -- Ab

[Mesa-dev] [Bug 59364] New: Mesa build fails: clientattrib.c:33:22: fatal error: indirect.h: No such file or directory

2013-01-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59364 Priority: medium Bug ID: 59364 Assignee: mesa-dev@lists.freedesktop.org Summary: Mesa build fails: clientattrib.c:33:22: fatal error: indirect.h: No such file or directory Se

Re: [Mesa-dev] [PATCH] build: Fix the documented default value of --with-gallium-drivers

2013-01-14 Thread Brian Paul
On 01/14/2013 05:54 AM, Damien Lespiau wrote: Signed-off-by: Damien Lespiau --- configure.ac |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 1294740..3792b12 100644 --- a/configure.ac +++ b/configure.ac @@ -680,13 +680,15 @@ AC_ARG_

[Mesa-dev] [PATCH] build: Fix the documented default value of --with-gallium-drivers

2013-01-14 Thread Damien Lespiau
Signed-off-by: Damien Lespiau --- configure.ac |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 1294740..3792b12 100644 --- a/configure.ac +++ b/configure.ac @@ -680,13 +680,15 @@ AC_ARG_ENABLE([gallium_tests], [enable_gallium_test

Re: [Mesa-dev] [PATCH v2 3/3] egl/wayland: Implement EGL_EXT_buffer_age

2013-01-14 Thread Ander Conselvan de Oliveira
On 01/09/2013 04:45 PM, Kristian Høgsberg wrote: --- src/egl/drivers/dri2/platform_wayland.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index 5b5c849..e9a66af

Re: [Mesa-dev] [PATCH v2 2/3] egl/wayland: Pull color buffers from dri2_surf->color_buffers pool

2013-01-14 Thread Ander Conselvan de Oliveira
On 01/09/2013 04:45 PM, Kristian Høgsberg wrote: We used to keep the color buffers in the dri_buffers array and swap __DRI_BUFFER_BACK_LEFT and __DRI_BUFFER_FRONT_LEFT around there and swap third_buffer in in case we needed to triple buffer. That gets a little fidgety with all the swaps, so lets

[Mesa-dev] [PATCH] libgl-xlib: softpipe and llvmpipe aren't mutually exclusive at link time

2013-01-14 Thread Jon TURNEY
Since automake changes softpipe and llvmpipe are mutually exclusive at link time. This doesn't make much sense to me as we can choose between them at run-time using GALLIUM_DRIVER. Creating library file: .libs/libGL.dll.a .libs/xlib.o: In function `sw_screen_create_named': /jhbuild/checkout/mesa/

[Mesa-dev] [Bug 59291] Mathematica crashes when scrolling

2013-01-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59291 Michel Dänzer changed: What|Removed |Added Assignee|xorg-driver-...@lists.x.org |mesa-dev@lists.freedesktop.

[Mesa-dev] [Bug 59238] many new symbols after recent automake work

2013-01-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59238 --- Comment #3 from Fabio Pedretti --- Created attachment 73001 --> https://bugs.freedesktop.org/attachment.cgi?id=73001&action=edit xatracker visibility I tried the attached patch, there are some less symbols but most are still here: https://

Re: [Mesa-dev] [PATCH 05/11] gallium/auxiliary: Build libgallium shared.

2013-01-14 Thread Michel Dänzer
On Sam, 2013-01-12 at 11:34 +0100, Johannes Obermayr wrote: > > 3. Maybe some more (main) developers should be also available and > follow discussions on #dri-devel. It's unrealistic to expect all developers to be on IRC all the time, let alone follow all discussions there. If you want something

[Mesa-dev] [Bug 59304] Meta Bug for regressions caused by automake conversion

2013-01-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59304 Fabio Pedretti changed: What|Removed |Added Depends on||59332 -- You are receiving this mail b