[Mesa-dev] [Bug 50484] New: Mesa build fails if no `indent` available

2012-05-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50484 Bug #: 50484 Summary: Mesa build fails if no `indent` available Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: Linux (All) Status:

[Mesa-dev] [Bug 50482] New: git mesa fails to build

2012-05-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50482 Bug #: 50482 Summary: git mesa fails to build Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: All Status: NEW Se

[Mesa-dev] [Bug 50480] New: Commit f9d1562 breaks x86 build after x86_64 build

2012-05-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50480 Bug #: 50480 Summary: Commit f9d1562 breaks x86 build after x86_64 build Classification: Unclassified Product: Mesa Version: git Platform: All OS/Version: Linux (All)

Re: [Mesa-dev] [PATCH] automake: Check for 'indent' and fall back to 'cat' if not found.

2012-05-29 Thread Matt Turner
On Tue, May 29, 2012 at 7:07 PM, Kenneth Graunke wrote: > The glapi generator code uses indent to produce more readable code. > However, we don't want to make GNU indent a hard build dependency; check > for it in configure.ac and fall back to 'cat' if it's not available. > > Signed-off-by: Kenneth

[Mesa-dev] [PATCH] automake: Check for 'indent' and fall back to 'cat' if not found.

2012-05-29 Thread Kenneth Graunke
The glapi generator code uses indent to produce more readable code. However, we don't want to make GNU indent a hard build dependency; check for it in configure.ac and fall back to 'cat' if it's not available. Signed-off-by: Kenneth Graunke --- configs/autoconf.in |4 configure.ac

[Mesa-dev] [PATCH 26/26] glapi: Remove GL_NV_vertex_array_range from the dispatch table

2012-05-29 Thread Ian Romanick
From: Ian Romanick There is no GLX protocol for these functions. Open-source Linux driver have not supported this extension for many years, and it seems unlikely at this point that this support will return. There's no reason to have slots for these functions in the dispatch table. The unit tes

[Mesa-dev] [PATCH 25/26] glapi: Remove GL_NV_fence from the dispatch table

2012-05-29 Thread Ian Romanick
From: Ian Romanick There is no GLX protocol for these functions. No open-source Linux driver has ever supported this extension, and it seems unlikely at this point that one ever will. There's no reason to have slots for these functions in the dispatch table. The unit test is also updated. The

[Mesa-dev] [PATCH 24/26] glapi: Remove GL_NV_register_combiners from the dispatch table

2012-05-29 Thread Ian Romanick
From: Ian Romanick There is no GLX protocol for these functions. No open-source Linux driver has ever supported this extension, and it seems unlikely at this point that one ever will. There's no reason to have slots for these functions in the dispatch table. The unit test is also updated. The

[Mesa-dev] [PATCH 22/26] glapi: Remove GL_SGIX_pixel_texture from the dispatch table

2012-05-29 Thread Ian Romanick
From: Ian Romanick There is no GLX protocol for this functions, and no Linux driver has ever supported this extension. There's no reason to have slots for these functions in the dispatch table. The unit test is also updated. The odd side effect here is the test GetProcAddress::TableAsBigAsAt_g

[Mesa-dev] [PATCH 23/26] glapi: Remove GL_APPLE_texture_range from the dispatch table

2012-05-29 Thread Ian Romanick
From: Ian Romanick There is no GLX protocol for these functions, and no Linux driver has ever supported this extension. There's no reason to have slots for these functions in the dispatch table. The unit test is also updated. The odd side effect here is the test GetProcAddress::TableAsBigAsAt_

[Mesa-dev] [PATCH 21/26] glapi: Remove GL_SGIS_pixel_texture from the dispatch table

2012-05-29 Thread Ian Romanick
From: Ian Romanick There is no GLX protocol for these functions, and no Linux driver has ever supported this extension. There's no reason to have slots for these functions in the dispatch table. The unit test is also updated. The odd side effect here is the test GetProcAddress::TableAsBigAsAt_

[Mesa-dev] [PATCH 18/26] glapi: Add missing GL_EXT_texture_sRGB_decode enums

2012-05-29 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/gl_API.xml |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 412bd7f..a482760 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/sr

[Mesa-dev] [PATCH 17/26] glapi: Add missing GL_EXT_framebuffer_sRGB enums

2012-05-29 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/gl_API.xml |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index a3fb788..412bd7f 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src

[Mesa-dev] [PATCH 16/26] glapi: Add missing GL_EXT_packed_float enums

2012-05-29 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/gl_API.xml |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 46e1fda..a3fb788 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/sr

[Mesa-dev] [PATCH 15/26] glapi: Add missing framebuffer sRGB enum

2012-05-29 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/GL3x.xml |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mapi/glapi/gen/GL3x.xml b/src/mapi/glapi/gen/GL3x.xml index d0992c7..f3d782c 100644 --- a/src/mapi/glapi/gen/GL3x.xml +++ b/src/mapi/glapi/

[Mesa-dev] [PATCH 14/26] glapi: Add uniform buffer object enums

2012-05-29 Thread Ian Romanick
From: Ian Romanick These are from OpenGL 3.1 and ARB_uniform_buffer_object. I only added them to 3.1 because that required the least work. Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/GL3x.xml | 32 1 files changed, 32 insertions(+), 0 deletions(-) di

[Mesa-dev] [PATCH 13/26] glapi: Add missing enums for GL_NV_fragment_program

2012-05-29 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/gl_API.xml |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 80ea44a..46e1fda 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/s

[Mesa-dev] [PATCH 12/26] glapi: Add missing enums for GL_ARB_occlusion_query2

2012-05-29 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/gl_API.xml |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index c883e8f..80ea44a 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/s

[Mesa-dev] [PATCH 11/26] glapi: Remove extraneous GL_ from TEXTURE_IMMUTABLE_FORMAT

2012-05-29 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/ARB_texture_storage.xml |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mapi/glapi/gen/ARB_texture_storage.xml b/src/mapi/glapi/gen/ARB_texture_storage.xml index 9454679..0459138 100644 --- a/sr

[Mesa-dev] [PATCH 10/26] glapi: Add missing enums for GL_ATI_fragment_shader

2012-05-29 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/gl_API.xml | 111 + 1 files changed, 111 insertions(+), 0 deletions(-) diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 4e16ead..c883e8f 100644 --- a/s

[Mesa-dev] [PATCH 09/26] glapi: Add texture swizzle enums

2012-05-29 Thread Ian Romanick
From: Ian Romanick These are from OpenGL 3.3, ARB_texture_swizzle, and EXT_texture_swizzle (with different names). I only added them to 3.3 because that required the least work. Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/GL3x.xml |5 + 1 files changed, 5 insertions(+), 0 delet

[Mesa-dev] [PATCH 07/26] glapi: Add missing _NV extension on COMBINE4

2012-05-29 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/gl_API.xml |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 7b2845f..4e16ead 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/ma

[Mesa-dev] [PATCH 08/26] glapi: Add a couple missing 3.0 enums

2012-05-29 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/GL3x.xml |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mapi/glapi/gen/GL3x.xml b/src/mapi/glapi/gen/GL3x.xml index ab4900c..baa2161 100644 --- a/src/mapi/glapi/gen/GL3x.xml +++ b/src/mapi/glapi

[Mesa-dev] [PATCH 06/26] glapi: Add missing enums for GL_EXT_vertex_array

2012-05-29 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/gl_API.xml |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index c981bd9..7b2845f 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b

[Mesa-dev] [PATCH 05/26] glapi: Add missing enums for GL_EXT_compiled_vertex_array

2012-05-29 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/gl_API.xml |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index a74577d..c981bd9 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/m

[Mesa-dev] [PATCH 03/26] glx/tests: Add unit tests for generated code in indirect_size.c

2012-05-29 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/glx/tests/Makefile.am|1 + src/glx/tests/enum_sizes.cpp | 556 ++ 2 files changed, 557 insertions(+), 0 deletions(-) create mode 100644 src/glx/tests/enum_sizes.cpp diff --git a/src/glx/tes

[Mesa-dev] [PATCH 02/26] glx/tests: Rename test as glx-test

2012-05-29 Thread Ian Romanick
From: Ian Romanick This matches the existing test in src/glsl/tests. Signed-off-by: Ian Romanick --- src/glx/tests/Makefile.am |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/glx/tests/Makefile.am b/src/glx/tests/Makefile.am index e7e2697..5ecebe7 100644 ---

[Mesa-dev] [PATCH 00/26] Unit test generated code, fix bugs

2012-05-29 Thread Ian Romanick
This series contains four bits of stuff: Patches 01/26 and 02/26 move the existing GLX tests from tests/glx to src/glx/tests. This matches the placement of the other unit tests in Mesa. Patches 03/26, 04/26, 19/26, and 20/26 add new tests for code generated from XML descriptions of the OpenGL an

Re: [Mesa-dev] XOrg EVoC - OpenCL testing framework for piglit

2012-05-29 Thread Blaž Tomažič
On tor, 2012-05-29 at 15:07 -0400, Tom Stellard wrote: > On Tue, May 29, 2012 at 10:14:06AM +0200, Blaž Tomažič wrote: > > Hi, > > > > I am applying for XOrg EVoC and have written a proposal for working on a > > OpenCL testing framework for piglit. I am including project details I've > > written i

Re: [Mesa-dev] No more make clean!

2012-05-29 Thread Brian Paul
The dispatch code generation has a dependency on 'indent'. configure should be checking for indent. But since reformatting the generated could shouldn't be necessary, we should be able to build without indent. Anyone care to implement that? Right now, src/mapi/glapi/gen/Makefile uses $(IND

[Mesa-dev] [Bug 50475] New: src/glx/glxclient.h:54:30: fatal error: glapi/glapitable.h: No such file or directory

2012-05-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50475 Bug #: 50475 Summary: src/glx/glxclient.h:54:30: fatal error: glapi/glapitable.h: No such file or directory Classification: Unclassified Product: Mesa Version: git Pla

Re: [Mesa-dev] [PATCH 3/3] glsl/tests: Plumb $(PYTHON2) and $(PYTHON_FLAGS) into optimization-test.

2012-05-29 Thread Matt Turner
On Tue, May 29, 2012 at 2:27 PM, Kenneth Graunke wrote: > Some distributions (like Arch Linux) make /usr/bin/python Python 3, > rather than Python 2.  Since compare_ir uses /usr/bin/env python, > such systems will fail to run optimization-test, causing 'make check' to > always fail. > > Automake's

[Mesa-dev] [PATCH] softpipe: Offset is not to be applied to the layer parameter of array texture fetches.

2012-05-29 Thread Olivier Galibert
Signed-off-by: Olivier Galibert --- src/gallium/drivers/softpipe/sp_tex_sample.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c index d4c0175..f29a6c7 100644 --- a/src/gallium/

Re: [Mesa-dev] XOrg EVoC - OpenCL testing framework for piglit

2012-05-29 Thread Tom Stellard
On Tue, May 29, 2012 at 10:14:06AM +0200, Blaž Tomažič wrote: > Hi, > > I am applying for XOrg EVoC and have written a proposal for working on a > OpenCL testing framework for piglit. I am including project details I've > written in my proposal. I am looking for comments and suggestions. > > Name

Re: [Mesa-dev] [PATCH] i830_state:i830Enable(): Fix crash for GL_STENCIL_TEST

2012-05-29 Thread Kenneth Graunke
On 05/29/2012 08:24 AM, Eric Anholt wrote: > On Tue, 29 May 2012 08:53:12 -0600, Brian Paul wrote: >> On Fri, May 25, 2012 at 5:26 PM, Kurt Roeckx wrote: >>> Can someone please review and commit this? A lot of the piglit >>> tests fail because of this. >>> >>> >>> Kurt >>> >>> On Fri, May 11, 20

Re: [Mesa-dev] [PATCH 2/2] mesa: don't compile integer clear shaders for unsupported APIs

2012-05-29 Thread Kenneth Graunke
On 05/29/2012 07:33 AM, Brian Paul wrote: > On Tue, May 29, 2012 at 1:40 AM, Oliver McFadden > wrote: >> On Sat, May 26, 2012 at 10:22:17AM +0300, Oliver McFadden wrote: >>> Discovered while running the Khronos conformance test suite and >>> receiving "implementation error: meta program compile fa

[Mesa-dev] [PATCH 3/3] glsl/tests: Plumb $(PYTHON2) and $(PYTHON_FLAGS) into optimization-test.

2012-05-29 Thread Kenneth Graunke
Some distributions (like Arch Linux) make /usr/bin/python Python 3, rather than Python 2. Since compare_ir uses /usr/bin/env python, such systems will fail to run optimization-test, causing 'make check' to always fail. Automake's TESTS_ENVIRONMENT variable provides a mechanism to run programs or

[Mesa-dev] [PATCH 2/3] ralloc: Fix ralloc_parent() of memory allocated out of the NULL context.

2012-05-29 Thread Kenneth Graunke
If an object is allocated out of the NULL context, info->parent will be NULL. Using the PTR_FROM_HEADER macro would be incorrect: it would say that ralloc_parent(ralloc_context(NULL)) == sizeof(ralloc_header). Fixes the new "null_parent" unit test. NOTE: This is a candidate for the 7.9, 7.10, 7.

[Mesa-dev] [PATCH 1/3] ralloc: Add some basic unit tests.

2012-05-29 Thread Kenneth Graunke
I started writing unit tests for a new piece of code, and discovered they all failed due to a bug in ralloc. Clearly it needs a test suite. Signed-off-by: Kenneth Graunke --- src/glsl/tests/Makefile.am |5 + src/glsl/tests/ralloc_test.cpp | 38 +

Re: [Mesa-dev] No more make clean!

2012-05-29 Thread Kenneth Graunke
On 05/24/2012 04:45 PM, Eric Anholt wrote: > It still has the flaw that changes to source lists and Makefile.ams > don't rebuild Makefile as often as they should. This is because our > top-level Makefile isn't in automake, and has just a stub am-refresh > target. I have a series to convert that,

Re: [Mesa-dev] [PATCH 2/2] mesa: don't compile integer clear shaders for unsupported APIs

2012-05-29 Thread Eric Anholt
On Sat, 26 May 2012 10:22:17 +0300, Oliver McFadden wrote: > Discovered while running the Khronos conformance test suite and > receiving "implementation error: meta program compile failed." > > This bug was recently introduced by the i965 clear patch set and would > only be detected while using

Re: [Mesa-dev] [PATCH 1/2] mesa: common/meta: avoid printing uninitialized bytes.

2012-05-29 Thread Eric Anholt
On Sat, 26 May 2012 10:22:16 +0300, Oliver McFadden wrote: > Mesa 8.1-devel implementation error: meta program compile failed: > �� I think this is the wrong fix. From the GL 3.0 spec: "These commands return the info log string in infoLog. This string will be null terminated. The act

Re: [Mesa-dev] [PATCH] i830_state:i830Enable(): Fix crash for GL_STENCIL_TEST

2012-05-29 Thread Kurt Roeckx
On Tue, May 29, 2012 at 08:53:12AM -0600, Brian Paul wrote: > On Fri, May 25, 2012 at 5:26 PM, Kurt Roeckx wrote: > > Can someone please review and commit this?  A lot of the piglit > > tests fail because of this. > > > > > > Kurt > > > > On Fri, May 11, 2012 at 12:19:42AM +0200, Kurt Roeckx wrote

[Mesa-dev] [PATCH] softpipe: Fix everything that is wrong with clipping and interpolation.

2012-05-29 Thread Olivier Galibert
This includes: - picking up correctly which attributes are flatshaded and which are noperspective - copying the flatshaded attributes when needed, including the non-built-in ones - correctly interpolating the noperspective attributes in screen-space instead than in a 3d-correct fashion. Si

Re: [Mesa-dev] [PATCH] i830_state:i830Enable(): Fix crash for GL_STENCIL_TEST

2012-05-29 Thread Eric Anholt
On Tue, 29 May 2012 08:53:12 -0600, Brian Paul wrote: > On Fri, May 25, 2012 at 5:26 PM, Kurt Roeckx wrote: > > Can someone please review and commit this?  A lot of the piglit > > tests fail because of this. > > > > > > Kurt > > > > On Fri, May 11, 2012 at 12:19:42AM +0200, Kurt Roeckx wrote: > >

Re: [Mesa-dev] [PATCH 12/13] clover: Add function for building a clover::module for non-TGSI targets v6

2012-05-29 Thread Francisco Jerez
Tom Stellard writes: > v2: > -Separate IR type and LLVM triple > -Do the OpenCL C->LLVM IR and linking steps for all PIPE_SHADER_IR >types. > > v3: > - Coding style fixes > - Removed compatibility code for LLVM < 3.1 > - Split build_module_llvm() into three functions: > compile(

Re: [Mesa-dev] [PATCH 11/13] gallium: Add struct pipe_llvm_program_header v3

2012-05-29 Thread Francisco Jerez
Tom Stellard writes: > This structure is used as a header that precedes LLVM bytecode programs > that are passed to the drivers. > > v2: > - s/pipe_compute_program/pipe_llvm_program/ > > v3: > - Rename to struct pipe_llvm_program_header > - Drop the char * prog member > --- > src/gallium/i

Re: [Mesa-dev] [PATCH 03/13] gallium/compute: Add PIPE_COMPUTE_CAP_IR_TARGET v4

2012-05-29 Thread Francisco Jerez
Tom Stellard writes: > From: Francisco Jerez > > v2: Tom Stellard > - Update CAP description > > v3: Tom Stellard > - TGSI targets should pass an empty string for this CAP. > > v4: Tom Stellard > - TGSI targets can ignore this CAP. > --- > src/gallium/docs/source/screen.rst |5 +

Re: [Mesa-dev] [PATCH] i830_state:i830Enable(): Fix crash for GL_STENCIL_TEST

2012-05-29 Thread Brian Paul
On Fri, May 25, 2012 at 5:26 PM, Kurt Roeckx wrote: > Can someone please review and commit this?  A lot of the piglit > tests fail because of this. > > > Kurt > > On Fri, May 11, 2012 at 12:19:42AM +0200, Kurt Roeckx wrote: >> commit 87f12bb2d95236c7b025d1a8be56b5ab1683d702 tried to fix rb->mt >>

Re: [Mesa-dev] [PATCH] st/mesa: Fix uninitialized members in glsl_to_tgsi_visitor constructor.

2012-05-29 Thread Brian Paul
On Sat, May 26, 2012 at 10:46 PM, Vinson Lee wrote: > Fix uninitialized scalar field defects reported by Coverity. > > Signed-off-by: Vinson Lee Looks OK to me. Reviewed-by: Brian Paul ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://l

Re: [Mesa-dev] [PATCH 2/2] mesa: don't compile integer clear shaders for unsupported APIs

2012-05-29 Thread Ian Romanick
On 05/29/2012 07:33 AM, Brian Paul wrote: On Tue, May 29, 2012 at 1:40 AM, Oliver McFadden wrote: On Sat, May 26, 2012 at 10:22:17AM +0300, Oliver McFadden wrote: Discovered while running the Khronos conformance test suite and receiving "implementation error: meta program compile failed." Th

Re: [Mesa-dev] No more make clean!

2012-05-29 Thread Brian Paul
On Fri, May 25, 2012 at 10:51 AM, Dan Nicholson wrote: > On May 25, 2012 7:23 AM, "Brian Paul" wrote: >> >> On 05/24/2012 05:45 PM, Eric Anholt wrote: >>> >>> It still has the flaw that changes to source lists and Makefile.ams >>> don't rebuild Makefile as often as they should.  This is because o

Re: [Mesa-dev] [PATCH 2/2] mesa: don't compile integer clear shaders for unsupported APIs

2012-05-29 Thread Brian Paul
On Tue, May 29, 2012 at 1:40 AM, Oliver McFadden wrote: > On Sat, May 26, 2012 at 10:22:17AM +0300, Oliver McFadden wrote: >> Discovered while running the Khronos conformance test suite and >> receiving "implementation error: meta program compile failed." >> >> This bug was recently introduced by

Re: [Mesa-dev] [PATCH 1/2] mesa: common/meta: avoid printing uninitialized bytes.

2012-05-29 Thread Ian Romanick
On 05/26/2012 12:22 AM, Oliver McFadden wrote: Mesa 8.1-devel implementation error: meta program compile failed: �� Signed-off-by: Oliver McFadden --- src/mesa/drivers/common/meta.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/common/meta.c b/sr

[Mesa-dev] [PATCH 12/13] clover: Add function for building a clover::module for non-TGSI targets v6

2012-05-29 Thread Tom Stellard
v2: -Separate IR type and LLVM triple -Do the OpenCL C->LLVM IR and linking steps for all PIPE_SHADER_IR types. v3: - Coding style fixes - Removed compatibility code for LLVM < 3.1 - Split build_module_llvm() into three functions: compile(), link(), and build_module_llvm() v4:

[Mesa-dev] [PATCH 11/13] gallium: Add struct pipe_llvm_program_header v3

2012-05-29 Thread Tom Stellard
This structure is used as a header that precedes LLVM bytecode programs that are passed to the drivers. v2: - s/pipe_compute_program/pipe_llvm_program/ v3: - Rename to struct pipe_llvm_program_header - Drop the char * prog member --- src/gallium/include/pipe/p_state.h |8 1 fi

[Mesa-dev] [PATCH 03/13] gallium/compute: Add PIPE_COMPUTE_CAP_IR_TARGET v4

2012-05-29 Thread Tom Stellard
From: Francisco Jerez v2: Tom Stellard - Update CAP description v3: Tom Stellard - TGSI targets should pass an empty string for this CAP. v4: Tom Stellard - TGSI targets can ignore this CAP. --- src/gallium/docs/source/screen.rst |5 + src/gallium/include/pipe/p_defines.h |

Re: [Mesa-dev] XOrg EVoC - OpenCL testing framework for piglit

2012-05-29 Thread Francisco Jerez
Blaž Tomažič writes: > Hi, > > I am applying for XOrg EVoC and have written a proposal for working on a > OpenCL testing framework for piglit. I am including project details I've > written in my proposal. I am looking for comments and suggestions. > > Name: > OpenCL testing framework for

[Mesa-dev] XOrg EVoC - OpenCL testing framework for piglit

2012-05-29 Thread Blaž Tomažič
Hi, I am applying for XOrg EVoC and have written a proposal for working on a OpenCL testing framework for Piglit. I include in this e-mail project details I have written in my proposal. I am looking for comments and suggestions.

[Mesa-dev] XOrg EVoC - OpenCL testing framework for piglit

2012-05-29 Thread Blaž Tomažič
Hi, I am applying for XOrg EVoC and have written a proposal for working on a OpenCL testing framework for piglit. I am including project details I've written in my proposal. I am looking for comments and suggestions. Name: OpenCL testing framework for Piglit Summary: For XOrg EVo

Re: [Mesa-dev] [PATCH 2/2] mesa: don't compile integer clear shaders for unsupported APIs

2012-05-29 Thread Oliver McFadden
On Sat, May 26, 2012 at 10:22:17AM +0300, Oliver McFadden wrote: > Discovered while running the Khronos conformance test suite and > receiving "implementation error: meta program compile failed." > > This bug was recently introduced by the i965 clear patch set and would > only be detected while us