Re: [Mesa-dev] [PATCH 5/5] automake: add src/glsl and src/glsl/glcpp

2011-12-27 Thread Gaetan Nadon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11-12-23 08:51 PM, Matt Turner wrote: > On Fri, Dec 23, 2011 at 8:37 PM, Kenneth Graunke wrote: >> On 12/23/2011 04:21 PM, Matt Turner wrote: >>> # Flex and Bison for GLSL compiler >>> -FLEX = @FLEX@ >>> -BISON = @BISON@ >>> +FLEX = @LEX@ >>> +BIS

[Mesa-dev] [PATCH 3/6] glsl: always define data_end union as we always use it on line 369

2011-12-27 Thread Alexander von Gluck
--- src/glsl/link_uniforms.cpp |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/glsl/link_uniforms.cpp b/src/glsl/link_uniforms.cpp index c7de480..fc1c1f7 100644 --- a/src/glsl/link_uniforms.cpp +++ b/src/glsl/link_uniforms.cpp @@ -336,9 +336,7 @@ link_assign_uniform

[Mesa-dev] [PATCH 6/6] mklib: tab cleanup, no functional change

2011-12-27 Thread Alexander von Gluck
--- bin/mklib |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/mklib b/bin/mklib index 510ac91..56e0b36 100755 --- a/bin/mklib +++ b/bin/mklib @@ -986,7 +986,7 @@ case $ARCH in # remove temporary extracted .o files rm

Re: [Mesa-dev] [PATCH 2/5] configure.ac: bump AC_PREREQ to 2.60

2011-12-27 Thread Gaetan Nadon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11-12-23 08:09 PM, Matt Turner wrote: > On Fri, Dec 23, 2011 at 8:06 PM, Kenneth Graunke wrote: >> On 12/23/2011 04:21 PM, Matt Turner wrote: >>> --- >>> configure.ac | 2 +- >>> 1 files changed, 1 insertions(+), 1 deletions(-) >>> >>> diff --git a

[Mesa-dev] [PATCH 5/6] mesa: fpclassify is available on Haiku

2011-12-27 Thread Alexander von Gluck
--- src/mesa/main/querymatrix.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c index eaedf7c..2843d55 100644 --- a/src/mesa/main/querymatrix.c +++ b/src/mesa/main/querymatrix.c @@ -73,7 +73,7 @@ fpclassify(doubl

Re: [Mesa-dev] [PATCH 2/6] gallium: include mapi headers which are utilized. fixes no-makedepend Haiku build

2011-12-27 Thread Brian Paul
On Tue, Dec 27, 2011 at 8:40 AM, Alexander von Gluck wrote: > > --- >  src/gallium/drivers/r300/Makefile |    1 + >  1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/src/gallium/drivers/r300/Makefile > b/src/gallium/drivers/r300/Makefile > index 5f56fc4..3e3a765 100644 > --- a/src

[Mesa-dev] [PATCH 1/6] gallium: use Mesa pthread_barrier_t on Haiku, as it is incomplete under Haiku

2011-12-27 Thread Alexander von Gluck
--- src/gallium/auxiliary/os/os_thread.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/auxiliary/os/os_thread.h b/src/gallium/auxiliary/os/os_thread.h index d830129..3e1c273 100644 --- a/src/gallium/auxiliary/os/os_thread.h +++ b/src/gallium/auxiliary/os

Re: [Mesa-dev] [PATCH 4/6] glu: remove BeOS define as BeOS is not longer a target platform

2011-12-27 Thread Brian Paul
On Tue, Dec 27, 2011 at 8:42 AM, Alexander von Gluck wrote: > > --- >  src/glu/sgi/Makefile |    7 +-- >  1 files changed, 1 insertions(+), 6 deletions(-) > > diff --git a/src/glu/sgi/Makefile b/src/glu/sgi/Makefile > index c8b29ed..94427e2 100644 > --- a/src/glu/sgi/Makefile > +++ b/src/glu/s

Re: [Mesa-dev] [PATCH 5/6] mesa: fpclassify is available on Haiku

2011-12-27 Thread Brian Paul
On Tue, Dec 27, 2011 at 8:43 AM, Alexander von Gluck wrote: > > --- >  src/mesa/main/querymatrix.c |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c > index eaedf7c..2843d55 100644 > --- a/src/mesa/main/querymat

Re: [Mesa-dev] [PATCH 6/6] mklib: tab cleanup, no functional change

2011-12-27 Thread Brian Paul
On Tue, Dec 27, 2011 at 8:43 AM, Alexander von Gluck wrote: > > --- >  bin/mklib |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/bin/mklib b/bin/mklib > index 510ac91..56e0b36 100755 > --- a/bin/mklib > +++ b/bin/mklib > @@ -986,7 +986,7 @@ case $ARCH in > >        

Re: [Mesa-dev] [PATCH 1/6] gallium: use Mesa pthread_barrier_t on Haiku, as it is incomplete under Haiku

2011-12-27 Thread Brian Paul
On Tue, Dec 27, 2011 at 8:39 AM, Alexander von Gluck wrote: > > --- >  src/gallium/auxiliary/os/os_thread.h |    2 +- >  1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/gallium/auxiliary/os/os_thread.h > b/src/gallium/auxiliary/os/os_thread.h > index d830129..3e1c273 100644 >

Re: [Mesa-dev] [PATCH 0/5] Replace RENDERINPUTS with direct GLbitfield64 usage.

2011-12-27 Thread Brian Paul
2011/12/27 Mathias Fröhlich : > > Hi, > > On Tuesday, December 27, 2011 00:37:13 Brian Paul wrote: >> For the series: >> Reviewed-by: Brian Paul > Thanks. > > What is your preference to do with the remaining bitset.h header? > * Remove this as ununsed? > * Remove the 64 bit bitset implementation a

Re: [Mesa-dev] [PATCH] vbo: Clean up recalculate_input_bindings.

2011-12-27 Thread Brian Paul
2011/12/27 Mathias Fröhlich : > > Hi, > > On Tuesday, December 27, 2011 00:17:09 Brian Paul wrote: >> LGTM.  I presume you've done a piglit run and tested with a few other >> things? > I have run piglit quick with classic swrast an piglit r600g on gallium rv670 > with this change. Also I am pretty

Re: [Mesa-dev] [PATCH 3/6] glsl: always define data_end union as we always use it on line 369

2011-12-27 Thread Brian Paul
On Tue, Dec 27, 2011 at 8:41 AM, Alexander von Gluck wrote: > > --- >  src/glsl/link_uniforms.cpp |    2 -- >  1 files changed, 0 insertions(+), 2 deletions(-) > > diff --git a/src/glsl/link_uniforms.cpp b/src/glsl/link_uniforms.cpp > index c7de480..fc1c1f7 100644 > --- a/src/glsl/link_uniforms.cp

[Mesa-dev] [PATCH 4/6] glu: remove BeOS define as BeOS is not longer a target platform

2011-12-27 Thread Alexander von Gluck
--- src/glu/sgi/Makefile |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/src/glu/sgi/Makefile b/src/glu/sgi/Makefile index c8b29ed..94427e2 100644 --- a/src/glu/sgi/Makefile +++ b/src/glu/sgi/Makefile @@ -124,12 +124,7 @@ OBJECTS = $(C_OBJECTS) $(CC_OBJECTS) #

[Mesa-dev] [PATCH 2/6] gallium: include mapi headers which are utilized. fixes no-makedepend Haiku build

2011-12-27 Thread Alexander von Gluck
--- src/gallium/drivers/r300/Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r300/Makefile b/src/gallium/drivers/r300/Makefile index 5f56fc4..3e3a765 100644 --- a/src/gallium/drivers/r300/Makefile +++ b/src/gallium/drivers/r300/Makefile @@

Re: [Mesa-dev] [PATCH 0/5] Replace RENDERINPUTS with direct GLbitfield64 usage.

2011-12-27 Thread Mathias Fröhlich
Hi, On Tuesday, December 27, 2011 00:37:13 Brian Paul wrote: > For the series: > Reviewed-by: Brian Paul Thanks. What is your preference to do with the remaining bitset.h header? * Remove this as ununsed? * Remove the 64 bit bitset implementation as this could be better done with GLbitfield64

[Mesa-dev] Help required in configuring mesa 3d in non X environment.

2011-12-27 Thread Sanjoy Saha - ERS, HCL Tech
Hi, As per my project requirement (Safety critical DO-178B), i have a box HPCN8641D (ppc) fitted with PCI-E radeon gpu e4690. I have already back ported kernel DRM module from 2.6.35.3 to 2.6.23 (Pre-installed in machine). I wanted to run mesa 3D application in it. While trying to compile mes

Re: [Mesa-dev] [PATCH 1/4] mesa: simplify Driver.TexSubImage() parameters

2011-12-27 Thread Chad Versace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/26/2011 03:09 PM, Brian Paul wrote: > From: Brian Paul > > There's no need to pass the target, level and texObj parameters since > they can be easily obtained from the texImage pointer. > --- > src/mesa/drivers/common/meta.c |

[Mesa-dev] [PATCH] intel: Fix memory leak in intel_miptree_create()

2011-12-27 Thread Chad Versace
On failure, intel_miptree_create() needs to *release* the miptree, not just free it, so that the stencil_mt gets released too. CC: Eric Anholt Signed-off-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_mipmap_tree.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 2/6] gallium: include mapi headers which are utilized. fixes no-makedepend Haiku build

2011-12-27 Thread Alexander von Gluck
On 27.12.2011 10:31, Brian Paul wrote: On Tue, Dec 27, 2011 at 8:40 AM, Alexander von Gluck wrote: ---  src/gallium/drivers/r300/Makefile |    1 +  1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/r300/Makefile b/src/gallium/drivers/r300/Makefile index 5f56fc4

Re: [Mesa-dev] [PATCH] intel: Fix memory leak in intel_miptree_create()

2011-12-27 Thread Eric Anholt
On Tue, 27 Dec 2011 10:16:05 -0800, Chad Versace wrote: > On failure, intel_miptree_create() needs to *release* the miptree, not > just free it, so that the stencil_mt gets released too. Reviewed-by: Eric Anholt pgp08hQgpuu1T.pgp Description: PGP signature

Re: [Mesa-dev] [PATCH] vbo: count min/max_index before vbo->draw_prims

2011-12-27 Thread Eric Anholt
On Sun, 25 Dec 2011 12:26:25 +0800, Liu Aleaxander wrote: > On Sun, Dec 25, 2011 at 8:03 AM, Eric Anholt wrote: > > On Thu, 22 Dec 2011 18:55:50 +0800, Yuanhan Liu > > wrote: > >> For the case that index data is stored in element array buffer object, > >> and user called glMultiDrawElements, co

Re: [Mesa-dev] [PATCH 1/3] i965/vs: Fix incorrect subscript when resetting copy propagation records.

2011-12-27 Thread Eric Anholt
On Fri, 23 Dec 2011 20:57:46 -0800, Kenneth Graunke wrote: > In this code, 'i' loops over the number of virtual GRFs, while 'j' loops > over the number of vector components (0 <= j <= 3). > > It can't possibly be correct to see if bit 'i' is set in the destination > writemask, as it will have va

Re: [Mesa-dev] [PATCH 1/4] mesa: simplify Driver.TexSubImage() parameters

2011-12-27 Thread Eric Anholt
On Mon, 26 Dec 2011 16:09:35 -0700, Brian Paul wrote: > From: Brian Paul > > There's no need to pass the target, level and texObj parameters since > they can be easily obtained from the texImage pointer. This series is: Reviewed-by: Eric Anholt pgpgksR1zxWzi.pgp Description: PGP signature _

[Mesa-dev] New gallium-clip-state branch

2011-12-27 Thread Marek Olšák
Hi everyone, There is a new branch gallium-clip-state in the main Mesa repository. It implements the changes we agreed upon, i.e. moving state enables from clip_state into rasterizer_state. A nice cleanup comes with it: cso_save_clip and cso_restore_clip are no longer needed anywhere. There is on

[Mesa-dev] [Bug 43317] swrast: glean basic sanity fails

2011-12-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43317 --- Comment #3 from Nicholas Miell 2011-12-27 18:43:03 PST --- This appears to be a piglit/glean bug -- it's calling XDestroyWindow on the window currently bound to the GLX context and the subsequent glXMakeCurrent call is calling XPutImage on a

[Mesa-dev] [PATCH 1/2] vbo: introduce vbo_sizeof_ib_type() function

2011-12-27 Thread Yuanhan Liu
introduce vbo_sizeof_ib_type() function to return the index data type size. I see some place use switch(ib->type) to get the index data type, which is sort of duplicate. Signed-off-by: Yuanhan Liu --- src/mesa/state_tracker/st_draw.c | 15 + src/mesa/state_tracker/st_draw_feed

[Mesa-dev] [PATCH 2/2] i965: fix the wrong min/max_index for nr_prims > 1

2011-12-27 Thread Yuanhan Liu
The current code would just calculate min/max_index for the first prim unconditionally, which is wrong if nr_prims > 1. This would some cases like that the index is stored in element array buffer object and drawing by glMultiDrawEelements. Thus it fixes some intel oglc primbuff test cases. Signed

Re: [Mesa-dev] [PATCH] vbo: count min/max_index before vbo->draw_prims

2011-12-27 Thread Yuanhan Liu
On Tue, Dec 27, 2011 at 11:15:42AM -0800, Eric Anholt wrote: > On Sun, 25 Dec 2011 12:26:25 +0800, Liu Aleaxander > wrote: > > On Sun, Dec 25, 2011 at 8:03 AM, Eric Anholt wrote: > > > On Thu, 22 Dec 2011 18:55:50 +0800, Yuanhan Liu > > > wrote: > > >> For the case that index data is stored in