[Mesa-dev] [PATCH] build: Remove dead SHARED_GLAPI variable

2013-01-18 Thread Matt Turner
The static Makefiles used it. --- configure.ac |4 src/gallium/targets/egl-static/Makefile.am |1 - 2 files changed, 0 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index b5ce311..e9325ee 100644 --- a/configure.ac +++ b/configure

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

2013-01-18 Thread Tom Stellard
On Sat, Jan 19, 2013 at 01:33:44AM +, Mike Lothian wrote: > I've tried enabling --with-llvm-shared-libs on my mesa build - for graphics > rather than opencl - however it's unable to render anything > > Even glxgears just shows garbage - have you tested this method at all? > Should it work? I'm

[Mesa-dev] [PATCH 2/2] st/mesa: implement ARB_internalformat_query

2013-01-18 Thread Marek Olšák
--- src/mesa/state_tracker/st_cb_texture.c |1 + src/mesa/state_tracker/st_extensions.c |1 + src/mesa/state_tracker/st_format.c | 46 src/mesa/state_tracker/st_format.h |3 +++ 4 files changed, 51 insertions(+) diff --git a/src/mesa/state_tr

[Mesa-dev] [PATCH 1/2] st/mesa: advertise ANGLE_texture_compression_dxt3 and 5 for GLES2

2013-01-18 Thread Marek Olšák
--- src/mesa/state_tracker/st_extensions.c |5 + 1 file changed, 5 insertions(+) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 17fe16e..aa70d5e 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensi

Re: [Mesa-dev] [PATCH 1/4] mesa: Add extension bit tracking for GL_OES_depth_texture_cube_map

2013-01-18 Thread Kenneth Graunke
On 01/18/2013 04:01 PM, Ian Romanick wrote: From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/main/extensions.c | 1 + src/mesa/main/mtypes.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 23b4948..9c7b700 1

Re: [Mesa-dev] [PATCH 2/2] mesa/es3: Apply stricture multisample blit rules for ES3.

2013-01-18 Thread Ian Romanick
Yes, I'll fix the typo in the commit short log. :) On 01/18/2013 05:30 PM, Ian Romanick wrote: From: Ian Romanick Fixes gles3conform framebuffer_blit_error_blitframebuffer_multisampled_read_buffer_different_origins. Signed-off-by: Ian Romanick --- src/mesa/main/fbobject.c | 61

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

2013-01-18 Thread Mike Lothian
I've tried enabling --with-llvm-shared-libs on my mesa build - for graphics rather than opencl - however it's unable to render anything Even glxgears just shows garbage - have you tested this method at all? Should it work? I'm trying to figure out if this is something I've done wrong within my con

[Mesa-dev] [PATCH 2/2] mesa/es3: Apply stricture multisample blit rules for ES3.

2013-01-18 Thread Ian Romanick
From: Ian Romanick Fixes gles3conform framebuffer_blit_error_blitframebuffer_multisampled_read_buffer_different_origins. Signed-off-by: Ian Romanick --- src/mesa/main/fbobject.c | 61 +--- 1 file changed, 48 insertions(+), 13 deletions(-) diff --git

[Mesa-dev] [PATCH 1/2] mesa/es3: Disallow FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE query of DEPTH_STENCIL_ATTACHMENT

2013-01-18 Thread Ian Romanick
From: Ian Romanick This error was added in the 3.0.1 update to the OpenGL ES 3.0 spec. Fixes the updated gles3conform packed_depth_stencil_parameters test. Signed-off-by: Ian Romanick --- src/mesa/main/fbobject.c | 16 1 file changed, 16 insertions(+) diff --git a/src/mesa/ma

Re: [Mesa-dev] begin/end and dlists cleanup

2013-01-18 Thread Ian Romanick
On 01/18/2013 02:30 PM, Eric Anholt wrote: I've been irritated by the ASSERT_OUTSIDE_BEGIN_END macro for years -- we have dispatch tables, and we can use those to micro-optimize most Mesa entrypoints. It turns out we can cut 175 lines of code from doing so, and I suspect we had many more places t

Re: [Mesa-dev] [PATCH 10/12] mesa: Delay display list save dispatch setup until Exec is set up.

2013-01-18 Thread Ian Romanick
On 01/18/2013 02:30 PM, Eric Anholt wrote: This will let us copy from the Exec dispatch to deal with our commands that don't get compiled into display lists. --- src/mesa/main/context.c |5 - src/mesa/main/dlist.c | 12 +++- src/mesa/main/dlist.h |2 +- 3 files chan

Re: [Mesa-dev] [PATCH 1/4] mesa: Add extension bit tracking for GL_OES_depth_texture_cube_map

2013-01-18 Thread Matt Turner
On Fri, Jan 18, 2013 at 4:01 PM, Ian Romanick wrote: > From: Ian Romanick > > Signed-off-by: Ian Romanick > --- > src/mesa/main/extensions.c | 1 + > src/mesa/main/mtypes.h | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c > i

Re: [Mesa-dev] [PATCH 12/12] mesa: Remove exec thunks from the dlist.c module.

2013-01-18 Thread Brian Paul
On 01/18/2013 03:30 PM, Eric Anholt wrote: These were introduced in 2000 during a rework of the TNL module (commit cab974cf6c2dbfbf5dd5d291e1aae0f8eeb34290), though I'm having a hard time finding an instance there of one of these Exec functions being changed at runtime. Regardless, as far as I c

Re: [Mesa-dev] [PATCH 6/9] extensions: enable EXT_color_buffer_float for ES3

2013-01-18 Thread Matt Turner
On Fri, Jan 18, 2013 at 4:16 PM, Ian Romanick wrote: > On 01/18/2013 03:55 PM, Matt Turner wrote: >> >> From: Jordan Justen >> >> [mattst88] v2: Enable only for ES3 per spec. >> >> Signed-off-by: Jordan Justen >> --- >> src/mesa/main/extensions.c | 1 + >> src/mesa/main/fbobject.c | 26 +++

Re: [Mesa-dev] [PATCH 1/9] copyteximage: check that sRGB usage is valid for GLES3 / GL

2013-01-18 Thread Ian Romanick
Assuming you fix the bug I mentioned in patch 6, the series is Reviewed-by: Ian Romanick On 01/18/2013 03:55 PM, Matt Turner wrote: From: Jordan Justen Cc: Eric Anholt Signed-off-by: Jordan Justen --- src/mesa/main/teximage.c | 39 +++ 1 file changed,

Re: [Mesa-dev] [PATCH 6/9] extensions: enable EXT_color_buffer_float for ES3

2013-01-18 Thread Ian Romanick
On 01/18/2013 03:55 PM, Matt Turner wrote: From: Jordan Justen [mattst88] v2: Enable only for ES3 per spec. 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,

Re: [Mesa-dev] [PATCH 05/12] mesa: Install a minimal dispatch table during glBegin()/glEnd().

2013-01-18 Thread Eric Anholt
Brian Paul writes: > On 01/18/2013 03:30 PM, Eric Anholt wrote: >> This is a step toward getting rid of ASSERT_OUTSIDE_BEGIN_END() in Mesa. >> diff --git a/src/mesa/vbo/vbo_exec_api.c b/src/mesa/vbo/vbo_exec_api.c >> index 84bcdd6..f987439 100644 >> --- a/src/mesa/vbo/vbo_exec_api.c >> +++ b/src

[Mesa-dev] [PATCH 4/4] intel: Enable GL_OES_depth_texture_cube_map

2013-01-18 Thread Ian Romanick
From: Ian Romanick For now I'm just enabling this on the same subset of hardware that has OpenGL 3.0 enabled. This same functionality is part of OpenGL 3.0, and there is no matching desktop extension. Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/intel/intel_extensions.c | 1 + 1 file

[Mesa-dev] [PATCH 2/4] mesa/es2: Allow depth component cube maps in ES2 if the extension is enabled

2013-01-18 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/main/teximage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index b2fb41b..2539d86 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -2

[Mesa-dev] [PATCH 3/4] mesa/es3: Allow unsized depth and depth-stencil formats in ES3

2013-01-18 Thread Ian Romanick
From: Ian Romanick They're part of GL_OES_depth_texture_cube_map, and we'll always enable that extension in ES3 contexts. Signed-off-by: Ian Romanick --- src/mesa/main/glformats.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/glformats.c b/src/mesa/ma

[Mesa-dev] [PATCH 1/4] mesa: Add extension bit tracking for GL_OES_depth_texture_cube_map

2013-01-18 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mesa/main/extensions.c | 1 + src/mesa/main/mtypes.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 23b4948..9c7b700 100644 --- a/src/mesa/main/extensions.c +++ b/src/

[Mesa-dev] [PATCH 9/9] fbobject: add additional fbo completeness checks for GLES

2013-01-18 Thread Matt Turner
From: Jordan Justen Signed-off-by: Jordan Justen --- src/mesa/main/fbobject.c | 46 +- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index b2b6ec5..d63ac0b 100644 --- a/src/mesa/main/

[Mesa-dev] [PATCH 8/9] framebuffer: update allowed implementation format/type

2013-01-18 Thread Matt Turner
From: Jordan Justen Allow additional format/type combinations based on the color render buffer to fix failures with gles3-gtf. Signed-off-by: Jordan Justen --- src/mesa/main/framebuffer.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/src/mesa/m

[Mesa-dev] [PATCH 7/9] readpix: allow implementation format/type

2013-01-18 Thread Matt Turner
From: Jordan Justen For GLES2/3 allow reading of pixels with format/type based on: * GL_IMPLEMENTATION_COLOR_READ_FORMAT * GL_IMPLEMENTATION_COLOR_READ_TYPE Signed-off-by: Jordan Justen --- src/mesa/main/readpix.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/

[Mesa-dev] [PATCH 6/9] extensions: enable EXT_color_buffer_float for ES3

2013-01-18 Thread Matt Turner
From: Jordan Justen [mattst88] v2: Enable only for ES3 per spec. 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 --git a/s

[Mesa-dev] [PATCH 5/9] extensions: Add ES3-only extension support

2013-01-18 Thread Matt Turner
--- src/mesa/main/extensions.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 23b4948..1867e5a 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -45,6 +45,7 @@ enum {

[Mesa-dev] [PATCH 4/9] readpix: check FBO completeness before trying to access the read-buffer

2013-01-18 Thread Matt Turner
From: Jordan Justen Signed-off-by: Jordan Justen Reviewed-by: Ian Romanick --- src/mesa/main/readpix.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c index d9c840e..cb4d02d 100644 --- a/src/mesa/main/read

Re: [Mesa-dev] [PATCH 05/12] mesa: Install a minimal dispatch table during glBegin()/glEnd().

2013-01-18 Thread Brian Paul
On 01/18/2013 03:30 PM, Eric Anholt wrote: This is a step toward getting rid of ASSERT_OUTSIDE_BEGIN_END() in Mesa. --- src/mesa/main/context.c | 84 ++- src/mesa/main/mtypes.h | 25 +++-- src/mesa/main/vtxfmt.c |2 ++ src

[Mesa-dev] [PATCH 3/9] readpix: add error checking for GLES3

2013-01-18 Thread Matt Turner
From: Jordan Justen Signed-off-by: Jordan Justen --- src/mesa/main/readpix.c | 56 + 1 file changed, 56 insertions(+) diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c index 5b80e9a..d9c840e 100644 --- a/src/mesa/main/readpix.c +++ b

[Mesa-dev] [PATCH 2/9] copyteximage: update error checking for GLES3

2013-01-18 Thread Matt Turner
From: Jordan Justen Changes based on GTF/gles3 conformance test suite. Signed-off-by: Jordan Justen --- src/mesa/main/teximage.c | 37 - 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 2

[Mesa-dev] [PATCH 1/9] copyteximage: check that sRGB usage is valid for GLES3 / GL

2013-01-18 Thread Matt Turner
From: Jordan Justen Cc: Eric Anholt Signed-off-by: Jordan Justen --- src/mesa/main/teximage.c | 39 +++ 1 file changed, 39 insertions(+) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 5e451e2..2a406f3 100644 --- a/src/mesa/main/texim

[Mesa-dev] [PATCH 12/12] mesa: Remove exec thunks from the dlist.c module.

2013-01-18 Thread Eric Anholt
These were introduced in 2000 during a rework of the TNL module (commit cab974cf6c2dbfbf5dd5d291e1aae0f8eeb34290), though I'm having a hard time finding an instance there of one of these Exec functions being changed at runtime. Regardless, as far as I can tell now, these functions don't get change

[Mesa-dev] [PATCH 11/12] mesa: Initially populate the display list with the exec list.

2013-01-18 Thread Eric Anholt
This cuts out a ton of code to make functions not set to a save_ variant match. --- src/mesa/main/dlist.c | 119 +++- src/mesa/main/errors.c |9 src/mesa/main/errors.h |3 -- src/mesa/main/queryobj.c | 27 -- src/mesa/m

[Mesa-dev] [PATCH 08/12] mesa: Remove the size argument from _mesa_alloc_dispatch_table().

2013-01-18 Thread Eric Anholt
All callers are in Mesa core and all use _gloffset_COUNT, so just rely on the already baked-in use of _gloffset_COUNT in the function. --- src/mesa/main/api_exec.h |2 +- src/mesa/main/context.c |9 +++-- src/mesa/main/dlist.c|2 +- 3 files changed, 5 insertions(+), 8 deletion

[Mesa-dev] [PATCH 09/12] mesa: Make the drivers call a non-code-generated dispatch table setup.

2013-01-18 Thread Eric Anholt
I want to drive the Save dispatch table setup from this same function. --- src/mesa/drivers/dri/i915/i830_context.c |2 +- src/mesa/drivers/dri/i915/i915_context.c |2 +- src/mesa/drivers/dri/i965/brw_context.c|2 +- src/mesa/drivers/dri/nouveau/nouveau_context.c |

[Mesa-dev] [PATCH 05/12] mesa: Install a minimal dispatch table during glBegin()/glEnd().

2013-01-18 Thread Eric Anholt
This is a step toward getting rid of ASSERT_OUTSIDE_BEGIN_END() in Mesa. --- src/mesa/main/context.c | 84 ++- src/mesa/main/mtypes.h | 25 +++-- src/mesa/main/vtxfmt.c |2 ++ src/mesa/vbo/vbo_exec_api.c | 17 + 4 file

[Mesa-dev] [PATCH 07/12] mesa: Remove two of the now unused ASSERT_OUTSIDE_BEGIN_END macros.

2013-01-18 Thread Eric Anholt
--- src/mesa/main/context.h | 25 - 1 file changed, 25 deletions(-) diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h index 063f2a3..1b881f3 100644 --- a/src/mesa/main/context.h +++ b/src/mesa/main/context.h @@ -262,31 +262,6 @@ do {

[Mesa-dev] [PATCH 10/12] mesa: Delay display list save dispatch setup until Exec is set up.

2013-01-18 Thread Eric Anholt
This will let us copy from the Exec dispatch to deal with our commands that don't get compiled into display lists. --- src/mesa/main/context.c |5 - src/mesa/main/dlist.c | 12 +++- src/mesa/main/dlist.h |2 +- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git

[Mesa-dev] [PATCH 01/12] mesa: Fix regression in dlist save primitive tracking.

2013-01-18 Thread Eric Anholt
My change 7ca4f07b5b77ccac0a9b60dc5ac9082906b5947e caused errors to not be thrown when they should, because the new if statement for ExecuteFlag made the CurrentSavePrimitive not get set. And on further review, we shouldn't be validating our primitive in GL_COMPILE mode, since the command shouldn'

[Mesa-dev] [PATCH 04/12] mesa: Remove the dead PrepareExecBegin() driver hook.

2013-01-18 Thread Eric Anholt
This was used in i965 for a while, but no more. --- src/mesa/drivers/common/driverfuncs.c |1 - src/mesa/main/dd.h|8 src/mesa/vbo/vbo_exec_api.c |3 --- 3 files changed, 12 deletions(-) diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/m

[Mesa-dev] [PATCH 03/12] mesa: Use an early return to unindent most of vbo_exec_Begin/End().

2013-01-18 Thread Eric Anholt
--- src/mesa/vbo/vbo_exec_api.c | 109 +-- 1 file changed, 54 insertions(+), 55 deletions(-) diff --git a/src/mesa/vbo/vbo_exec_api.c b/src/mesa/vbo/vbo_exec_api.c index 657c9aa..42eb953 100644 --- a/src/mesa/vbo/vbo_exec_api.c +++ b/src/mesa/vbo/vbo_exec_

[Mesa-dev] begin/end and dlists cleanup

2013-01-18 Thread Eric Anholt
I've been irritated by the ASSERT_OUTSIDE_BEGIN_END macro for years -- we have dispatch tables, and we can use those to micro-optimize most Mesa entrypoints. It turns out we can cut 175 lines of code from doing so, and I suspect we had many more places that needed ASSERT_OUTSIDE_BEGIN_END which nob

[Mesa-dev] [PATCH 02/12] mesa: Improve a glTexEnv error message by looking up the enum.

2013-01-18 Thread Eric Anholt
--- src/mesa/main/texenv.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/texenv.c b/src/mesa/main/texenv.c index e8f3af0..73c1d06 100644 --- a/src/mesa/main/texenv.c +++ b/src/mesa/main/texenv.c @@ -507,7 +507,8 @@ _mesa_TexEnvfv( GLenum target, GLenum pnam

Re: [Mesa-dev] [PATCH] mesa: Don't allow blits to / from the same buffer in OpenGL ES 3.0

2013-01-18 Thread Ian Romanick
On 01/18/2013 11:16 AM, Kenneth Graunke wrote: On 01/18/2013 10:54 AM, Ian Romanick wrote: From: Ian Romanick Fixes gles3conform test CoverageES30. It temporarily regresses some framebuffer_blit tests, but the failing subcases have been determined to be invalid for OpenGL ES 3.0. Signed-off-

[Mesa-dev] [Bug 58812] Infinite loop in ./configure && make if automake is absent

2013-01-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58812 Matt Turner changed: What|Removed |Added Status|NEW |NEEDINFO CC|

Re: [Mesa-dev] [PATCH 2/2] radeonsi: Enable 1D tiling for non-depth resources as well.

2013-01-18 Thread Marek Olšák
On Thu, Jan 17, 2013 at 7:34 PM, Michel Dänzer wrote: > From: Michel Dänzer > > No piglit regressions anymore thanks to fixes in libdrm_radeon and here. FWIW, if there's an unreleased fix in libdrm_radeon, a new libdrm release should be made and Mesa should require it before or at the same time

Re: [Mesa-dev] [PATCH 6/6] radeonsi: Actually keep track if we are using depth textures for samplers.

2013-01-18 Thread Marek Olšák
On Fri, Jan 18, 2013 at 5:20 PM, Christian König wrote: > Am 18.01.2013 16:40, schrieb Marek Olšák: > >> On Fri, Jan 18, 2013 at 2:46 PM, Christian König >> wrote: >>> >>> Am 17.01.2013 23:54, schrieb Alex Deucher: >>> On Thu, Jan 17, 2013 at 12:32 PM, Michel Dänzer wrote: > >

Re: [Mesa-dev] [PATCH] mesa: Don't allow blits to / from the same buffer in OpenGL ES 3.0

2013-01-18 Thread Kenneth Graunke
On 01/18/2013 10:54 AM, Ian Romanick wrote: From: Ian Romanick Fixes gles3conform test CoverageES30. It temporarily regresses some framebuffer_blit tests, but the failing subcases have been determined to be invalid for OpenGL ES 3.0. Signed-off-by: Ian Romanick --- src/mesa/main/fbobject.c

[Mesa-dev] [PATCH] i965: Implement the GL_ARB_base_instance extension.

2013-01-18 Thread Kenneth Graunke
Thanks to Fredrik Höglund, all the hard work was already done. Tested using a modified oglconform (that actually runs these tests on our driver); it looks like there may be some bugs when using client arrays. All applicable non-compatibility tests passed. For now, only enable it in core profiles

[Mesa-dev] [PATCH] mesa: Don't allow blits to / from the same buffer in OpenGL ES 3.0

2013-01-18 Thread Ian Romanick
From: Ian Romanick Fixes gles3conform test CoverageES30. It temporarily regresses some framebuffer_blit tests, but the failing subcases have been determined to be invalid for OpenGL ES 3.0. Signed-off-by: Ian Romanick --- src/mesa/main/fbobject.c | 31 +++ 1 file c

[Mesa-dev] [Bug 32825] egl_glx driver completely broken in 7.9 branch [fix in master]

2013-01-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32825 Matt Turner changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH 3/7] glsl/build: Build glsl_test only on make check

2013-01-18 Thread Andreas Boll
Reviewed-by: Andreas Boll 2013/1/17 Matt Turner : > --- > src/glsl/Makefile.am |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am > index 1d93ac4..36af90e 100644 > --- a/src/glsl/Makefile.am > +++ b/src/glsl/Makefile.am > @

Re: [Mesa-dev] [PATCH 2/7] glsl/build: Remove dead LIBRARY_* variables

2013-01-18 Thread Andreas Boll
Reviewed-by: Andreas Boll 2013/1/17 Matt Turner : > --- > src/glsl/Makefile.am |2 -- > src/glsl/glcpp/Makefile.am |2 -- > 2 files changed, 0 insertions(+), 4 deletions(-) > > diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am > index 0f545d5..1d93ac4 100644 > --- a/src/glsl

Re: [Mesa-dev] [PATCH 1/7] xmlpool/build: generate options.h via BUILT_SOURCES

2013-01-18 Thread Andreas Boll
Reviewed-by: Andreas Boll 2013/1/17 Matt Turner : > Fixes missing options.h when doing 'make check' in dri/common before > 'make' has been run. > --- > src/mesa/drivers/dri/common/xmlpool/Makefile.am |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/mesa/drivers/

Re: [Mesa-dev] [PATCH] build: require python module libxml2

2013-01-18 Thread Kenneth Graunke
On 01/18/2013 06:40 AM, Andreas Boll wrote: configure should warn if libxml2 is not found. libxml2 is needed by glapi/gen. Fixes error during build in src/mapi/glapi/gen: ImportError: No module named libxml2 NOTE: This is a candidate for the 9.0 branch. --- configure.ac |1 + m

[Mesa-dev] [PATCH] build: Fix "no previous prototype for glReadBufferNV" with --disable-asm

2013-01-18 Thread Matt Turner
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=56710 --- src/mapi/glapi/glapi_dispatch.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mapi/glapi/glapi_dispatch.c b/src/mapi/glapi/glapi_dispatch.c index be65ebe..5a0897e 100644 --- a/src/mapi/glapi/glapi_dispatch

[Mesa-dev] [PATCH 3/3] glsl/build: Build libglcpp and libglslcore in builtin_compiler

2013-01-18 Thread Matt Turner
And reuse them if not cross compiling. --- src/glsl/Makefile.am | 56 + src/glsl/builtin_compiler/Makefile.am | 27 +--- 2 files changed, 37 insertions(+), 46 deletions(-) diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am ind

[Mesa-dev] [PATCH] glsl/Makefile.sources: Correct BUILTIN_COMPILER_CXX_FILES

2013-01-18 Thread Matt Turner
Squashed with two reverts: Revert "android: Update for builtin_stubs.cpp move" This reverts commit c0def90ede1e939173041b8785303de90f8fdc6c. Partially revert "scons: Update for builtin_stubs.cpp" This reverts commit 8ac4b82699ad0a59ae6ae6d3415702eaa5d4fe3b. --- src/glsl/Android.mk |2

[Mesa-dev] [PATCH 1/3] builtin_compiler/build: Use generated parser files

2013-01-18 Thread Matt Turner
... instead of generating them again. --- This series depends on the 7 patches series from a few days ago. This patch depend on a small change in 6/7, removing builtin_function.cpp BUILT_SOURCES. I'll make that fixup to 6/7 before committing it. src/glsl/builtin_compiler/Makefile.am | 19 -

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

2013-01-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59364 --- Comment #4 from Matt Turner --- This is because DRI drivers: no DRI driver dir: ${libdir}/dri GLX: DRI-based i.e., trying not to build OpenGL, which turns off DRI drivers, but GLX is still implicitly

Re: [Mesa-dev] [PATCH] build: require python module libxml2

2013-01-18 Thread Matt Turner
On Fri, Jan 18, 2013 at 6:40 AM, Andreas Boll wrote: > configure should warn if libxml2 is not found. > libxml2 is needed by glapi/gen. > > Fixes error during build in src/mapi/glapi/gen: > ImportError: No module named libxml2 > > NOTE: This is a candidate for the 9.0 branch. > --- > configure.ac

Re: [Mesa-dev] clang: warning: argument unused during compilation: '-fno-builtin-memcmp'

2013-01-18 Thread Matt Turner
On Thu, Jan 17, 2013 at 8:19 PM, Sedat Dilek wrote: > Hi, > > I am playing with llvm/clang v3.2 and mesa. > > It's annoying to see these hundreds of warnings... > > clang: warning: argument unused during compilation: '-fno-builtin-memcmp' > > NOTE: '-fno-builtin-memcmp' is a gcc-specific compi

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

2013-01-18 Thread Tom Stellard
From: Tom Stellard This reverts commit 7824ab807050c03c6df01c44774914dcbef88248. Now that we force linking with LLVM shared libs when building clover, we can link against libgallium.la with no problems. --- src/gallium/auxiliary/Makefile.am | 6 -- src/gallium/targets/opencl/Makefile.a

[Mesa-dev] [PATCH 2/3] configure.ac: Force use of LLVM shared libs with --enable-opencl

2013-01-18 Thread Tom Stellard
From: Tom Stellard If we build clover with LLVM static libraries, then clover and also each pipe_*.so driver that is built will contain their own static copy of LLVM. The recent automake changes have uncovered a problem where the pipe_*.so drivers try to use clover's LLVM symbols. This causes L

[Mesa-dev] [PATCH 1/3] configure.ac: Compute the required llvm static libraries only once

2013-01-18 Thread Tom Stellard
From: Tom Stellard In order to determine which static LLVM libraries are needed we pass a list of components to llvm-config and it generates the list of library dependencies for us. The advantage of only calling llvm-config one time is that it can determine if two components depend on the same l

[Mesa-dev] [PATCH] swrast: fix incorrect width for direct/nearest blit

2013-01-18 Thread Brian Paul
--- src/mesa/swrast/s_blit.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/swrast/s_blit.c b/src/mesa/swrast/s_blit.c index 605c80a..08ec5e2 100644 --- a/src/mesa/swrast/s_blit.c +++ b/src/mesa/swrast/s_blit.c @@ -347,7 +347,7 @@ blit_nearest(struct gl_context

Re: [Mesa-dev] [PATCH 6/6] radeonsi: Actually keep track if we are using depth textures for samplers.

2013-01-18 Thread Christian König
Am 18.01.2013 16:40, schrieb Marek Olšák: On Fri, Jan 18, 2013 at 2:46 PM, Christian König wrote: Am 17.01.2013 23:54, schrieb Alex Deucher: On Thu, Jan 17, 2013 at 12:32 PM, Michel Dänzer wrote: On Don, 2013-01-17 at 18:02 +0100, Michel Dänzer wrote: On Don, 2013-01-17 at 17:56 +0100, Mar

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

2013-01-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59364 Andreas Boll changed: What|Removed |Added CC||matts...@gmail.com Summary|Mes

Re: [Mesa-dev] [PATCH 6/6] radeonsi: Actually keep track if we are using depth textures for samplers.

2013-01-18 Thread Alex Deucher
On Fri, Jan 18, 2013 at 10:45 AM, Alex Deucher wrote: > On Fri, Jan 18, 2013 at 10:40 AM, Marek Olšák wrote: >> On Fri, Jan 18, 2013 at 2:46 PM, Christian König >> wrote: >>> Am 17.01.2013 23:54, schrieb Alex Deucher: >>> On Thu, Jan 17, 2013 at 12:32 PM, Michel Dänzer wrote: > >>

Re: [Mesa-dev] [PATCH 6/6] radeonsi: Actually keep track if we are using depth textures for samplers.

2013-01-18 Thread Alex Deucher
On Fri, Jan 18, 2013 at 10:40 AM, Marek Olšák wrote: > On Fri, Jan 18, 2013 at 2:46 PM, Christian König > wrote: >> Am 17.01.2013 23:54, schrieb Alex Deucher: >> >>> On Thu, Jan 17, 2013 at 12:32 PM, Michel Dänzer >>> wrote: On Don, 2013-01-17 at 18:02 +0100, Michel Dänzer wrote: >

Re: [Mesa-dev] [PATCH 6/6] radeonsi: Actually keep track if we are using depth textures for samplers.

2013-01-18 Thread Marek Olšák
On Fri, Jan 18, 2013 at 2:46 PM, Christian König wrote: > Am 17.01.2013 23:54, schrieb Alex Deucher: > >> On Thu, Jan 17, 2013 at 12:32 PM, Michel Dänzer >> wrote: >>> >>> On Don, 2013-01-17 at 18:02 +0100, Michel Dänzer wrote: On Don, 2013-01-17 at 17:56 +0100, Marek Olšák wrote: >

[Mesa-dev] [PATCH] swrast: move resampleRow setup code in blit_nearest()

2013-01-18 Thread Brian Paul
The resampleRow setup depends on pixelSize. For color buffers, we don't know the pixelSize until we're in the buffer loop. Move that code inside the loop. Fixes: http://bugs.freedesktop.org/show_bug.cgi?id=59541 --- src/mesa/swrast/s_blit.c | 46 +++---

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

2013-01-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59364 --- Comment #2 from Andreas Boll --- This is not a regression caused by the automake merge. I can reproduce this with 4e42e569dd5643ff948ab4ee31dd16b1683f21fa. (one commit before the automake merge) -- You are receiving this mail because: You a

[Mesa-dev] [PATCH] build: require python module libxml2

2013-01-18 Thread Andreas Boll
configure should warn if libxml2 is not found. libxml2 is needed by glapi/gen. Fixes error during build in src/mapi/glapi/gen: ImportError: No module named libxml2 NOTE: This is a candidate for the 9.0 branch. --- configure.ac |1 + m4/ax_python_module.m4 | 49 +++

Re: [Mesa-dev] [PATCH 6/6] radeonsi: Actually keep track if we are using depth textures for samplers.

2013-01-18 Thread Christian König
Am 17.01.2013 23:54, schrieb Alex Deucher: On Thu, Jan 17, 2013 at 12:32 PM, Michel Dänzer wrote: On Don, 2013-01-17 at 18:02 +0100, Michel Dänzer wrote: On Don, 2013-01-17 at 17:56 +0100, Marek Olšák wrote: Forking r600g was obviously a bad idea, because now radeonsi is just as horrible as r

Re: [Mesa-dev] [PATCH 1/2] radeonsi: Fix 1D tiling mode index for non-scanout resources.

2013-01-18 Thread Christian König
Am 17.01.2013 19:34, schrieb Michel Dänzer: From: Michel Dänzer Signed-off-by: Michel Dänzer For both patches: Reviewed-by: Christian König --- src/gallium/drivers/radeonsi/si_state.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeons