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

2012-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50484 Kenneth Graunke kenn...@whitecape.org changed: What|Removed |Added Status|NEW |ASSIGNED

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

2012-05-30 Thread Dave Airlie
On Tue, May 29, 2012 at 4:34 PM, Olivier Galibert galib...@pobox.com wrote: 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

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

2012-05-30 Thread Oliver McFadden
On Tue, May 29, 2012 at 10:27:15AM -0700, Eric Anholt wrote: On Sat, 26 May 2012 10:22:16 +0300, Oliver McFadden oliver.mcfad...@linux.intel.com 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

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

2012-05-30 Thread Oliver McFadden
On Tue, May 29, 2012 at 08:33:33AM -0600, Brian Paul wrote: On Tue, May 29, 2012 at 1:40 AM, Oliver McFadden oliver.mcfad...@linux.intel.com wrote: On Sat, May 26, 2012 at 10:22:17AM +0300, Oliver McFadden wrote: Discovered while running the Khronos conformance test suite and receiving

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

2012-05-30 Thread Brian Paul
On 05/29/2012 04:51 PM, Ian Romanick wrote: 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

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

2012-05-30 Thread Brian Paul
On 05/29/2012 01:45 PM, Olivier Galibert wrote: Signed-off-by: Olivier Galibertgalib...@pobox.com --- 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

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

2012-05-30 Thread Brian Paul
On 05/29/2012 09:34 AM, Olivier Galibert wrote: 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

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

2012-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50475 --- Comment #1 from Brian Paul brian.e.p...@gmail.com 2012-05-30 08:04:21 PDT --- I'm working on fixing the Scons build. It might take a little while... -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You

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

2012-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50475 --- Comment #2 from Brian Paul brian.e.p...@gmail.com 2012-05-30 09:36:27 PDT --- Created attachment 62293 -- https://bugs.freedesktop.org/attachment.cgi?id=62293 repair scons breakage Vinson, can you try this patch? I haven't tested it much

Re: [Mesa-dev] Fw: [Intel-gfx] [PATCH] intel: add a timed wait function

2012-05-30 Thread Eric Anholt
On Sun, 27 May 2012 13:16:54 -0700, Ben Widawsky b...@bwidawsk.net wrote: diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index b776d2f..695a449 100644 --- a/intel/intel_bufmgr_gem.c +++ b/intel/intel_bufmgr_gem.c @@ -1478,6 +1478,32 @@

[Mesa-dev] [PATCH 2/8] mesa: Move the version information right into configure.ac.

2012-05-30 Thread Eric Anholt
Nothing else called version.mk. --- bin/version.mk | 17 - configure.ac |8 +--- 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100755 bin/version.mk diff --git a/bin/version.mk b/bin/version.mk deleted file mode 100755 index ab20d79..000 ---

[Mesa-dev] [PATCH 3/8] automake: Globally add stub automake targets to the old Makefiles.

2012-05-30 Thread Eric Anholt
I tried to update all the old Makefiles that included the default config to be sure they had a default target if they didn't previously have one, since this new all target will always point at it. Almost everything had one. --- configs/default | 13

[Mesa-dev] [PATCH 5/8] automake: Convert src/Makefile to automake.

2012-05-30 Thread Eric Anholt
--- configure.ac|1 + src/.gitignore |1 + src/Makefile| 40 src/Makefile.am |4 4 files changed, 6 insertions(+), 40 deletions(-) create mode 100644 src/.gitignore delete mode 100644 src/Makefile create mode 100644

[Mesa-dev] [PATCH 4/8] automake: Move top-level makefile to automake.

2012-05-30 Thread Eric Anholt
This is part of a series to fix our build issues in the automake case by hooking up the automatic Makefile regeneration support. The extract_git_sha1 is moved into src/mesa/Makefile so that we get correct dependency generation. --- .gitignore |1 + Makefile | 156

[Mesa-dev] [PATCH 6/8] automake: Add a prefix variable for libglsl sources.

2012-05-30 Thread Eric Anholt
See e86c40a84d241b954594f5ae7df9b9c3fc797a4e for reasoning. In the process I did s/:=/=/ to shut up automake about nonportable make syntax. --- src/glsl/Android.mk |1 + src/glsl/Makefile |1 + src/glsl/Makefile.sources | 172 ++---

[Mesa-dev] [PATCH 7/8] automake: Merge the dricore libglsl build into libdricore.

2012-05-30 Thread Eric Anholt
Now we have just one library of all of Mesa core instead of both libdricore and libglsl that drivers link against. I did this change in a sort of nonrecursive make fashion: the generated files are still produced in the non-automake build, like the rest of dricore, but the GLSL files are stuffed

Re: [Mesa-dev] [Intel-gfx] [PATCH] intel: add a timed wait function

2012-05-30 Thread Ben Widawsky
On Wed, 30 May 2012 10:41:20 -0700 Eric Anholt e...@anholt.net wrote: On Sun, 27 May 2012 13:16:54 -0700, Ben Widawsky b...@bwidawsk.net wrote: diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index b776d2f..695a449 100644 --- a/intel/intel_bufmgr_gem.c +++

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

2012-05-30 Thread Ben Widawsky
On Tue, 29 May 2012 16:07:15 -0700 Kenneth Graunke kenn...@whitecape.org 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.

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

2012-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50480 Matt Turner matts...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

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

2012-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50480 Droste tdro...@gmx.de changed: What|Removed |Added Status|RESOLVED|REOPENED

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

2012-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50480 --- Comment #3 from Droste tdro...@gmx.de 2012-05-30 11:49:19 PDT --- just to clarify what is going on: what should work, but does not: 1. git clean -fdx 2. autogen.sh 3. make make install 4. make clean 5. autogen.sh --enable-32-bit ...

[Mesa-dev] [PATCH] scons: add code to generate the various GL API files

2012-05-30 Thread Brian Paul
This fixes recent build breakage when we began building the generated API files from xml as part of the normal build process. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=50475 --- src/SConscript|1 + src/gallium/targets/libgl-xlib/SConscript |3 ++

Re: [Mesa-dev] Fw: [Intel-gfx] [PATCH] intel: add a timed wait function

2012-05-30 Thread Daniel Vetter
On Wed, May 30, 2012 at 7:41 PM, Eric Anholt e...@anholt.net wrote: I guess GL_ALREADY_SIGNALED handling will be done using a check for bo_busy() before calling this. I've just read through the mesa code and gl_already_signalled seems to be handled already by core mesa code in

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

2012-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50480 --- Comment #4 from Droste tdro...@gmx.de 2012-05-30 12:13:13 PDT --- Created attachment 62299 -- https://bugs.freedesktop.org/attachment.cgi?id=62299 Patch to make 'make clean' work again This would fix the problem, but I'm not sure if it's

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

2012-05-30 Thread Olivier Galibert
On Wed, May 30, 2012 at 11:38:06AM +0100, Dave Airlie wrote: Have you checked llvmpipe with this? since it might need changes to go along with this. It didn't look like llvmpipe was going anywhere near that. OTOH, a piglit run of llvmpipe I just did on the place gave me zero errors in that

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

2012-05-30 Thread Olivier Galibert
On Wed, May 30, 2012 at 07:32:16AM -0600, Brian Paul wrote: All the code above could use more comments. Otherwise it takes some pretty intense studying to understand what's going on there. Ok, I'll take that into account (and the previous comments too). OG.

Re: [Mesa-dev] [Intel-gfx] [PATCH] intel: add a timed wait function

2012-05-30 Thread Ben Widawsky
On Wed, 30 May 2012 21:07:57 +0200 Daniel Vetter dan...@ffwll.ch wrote: On Wed, May 30, 2012 at 7:41 PM, Eric Anholt e...@anholt.net wrote: I guess GL_ALREADY_SIGNALED handling will be done using a check for bo_busy() before calling this. I've just read through the mesa code and

[Mesa-dev] [PATCH] automake: Connect the libdricore target to make clean.

2012-05-30 Thread Eric Anholt
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50480 --- src/mesa/Makefile |1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 741ca0f..845b524 100644 --- a/src/mesa/Makefile +++ b/src/mesa/Makefile @@ -232,6 +232,7 @@ clean: -@cd

[Mesa-dev] [Bug 43629] mesa# gmake freebsd-dri-amd64 breaks

2012-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43629 Eric Anholt e...@anholt.net changed: What|Removed |Added Status|NEW |RESOLVED

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

2012-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50480 --- Comment #5 from Eric Anholt e...@anholt.net 2012-05-30 14:17:53 PDT --- Proposed patch: http://lists.freedesktop.org/archives/mesa-dev/2012-May/022402.html -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ---

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

2012-05-30 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.

Re: [Mesa-dev] [PATCH 20/26] mesa/tests: Add tests for the generated dispatch table

2012-05-30 Thread Eric Anholt
On Tue, 29 May 2012 15:51:47 -0700, Ian Romanick i...@freedesktop.org wrote: +TEST(GetProcAddress, ABINameByOffset) +{ + /* 408 functions have had their locations in the dispatch table set since +* the danw of time. Verify that all of these functions are at the correct

Re: [Mesa-dev] Fw: [Intel-gfx] [PATCH] intel: add a timed wait function

2012-05-30 Thread Eric Anholt
On Wed, 30 May 2012 21:07:57 +0200, Daniel Vetter dan...@ffwll.ch wrote: On Wed, May 30, 2012 at 7:41 PM, Eric Anholt e...@anholt.net wrote: I guess GL_ALREADY_SIGNALED handling will be done using a check for bo_busy() before calling this. I've just read through the mesa code and

[Mesa-dev] [PATCH] svga: fix saturated TEX instructions

2012-05-30 Thread Brian Paul
TEX instructions can't do saturation. Do the TEX into a temp reg w/out saturation, then do a MOV_SAT. --- src/gallium/drivers/svga/svga_tgsi_insn.c | 19 +-- 1 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/svga/svga_tgsi_insn.c

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

2012-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50480 Droste tdro...@gmx.de changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

Re: [Mesa-dev] [PATCH] automake: Connect the libdricore target to make clean.

2012-05-30 Thread Kenneth Graunke
On 05/30/2012 01:53 PM, Eric Anholt wrote: Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50480 --- src/mesa/Makefile |1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 741ca0f..845b524 100644 --- a/src/mesa/Makefile +++

Re: [Mesa-dev] [PATCH 1/8] automake: Remove the old static configs system.

2012-05-30 Thread Kenneth Graunke
On 05/30/2012 10:56 AM, Eric Anholt wrote: With the incremental automake conversion, we'd broken those that included glx or egl. Patches 1-5 and 8 are: Reviewed-by: Kenneth Graunke kenn...@whitecape.org I'm a bit confused about the dricore stuff. ___

[Mesa-dev] [PATCH] automake: Add AM_PROG_AR before LT_INIT to silence a lot of warnings.

2012-05-30 Thread Kenneth Graunke
Signed-off-by: Kenneth Graunke kenn...@whitecape.org --- configure.ac |2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 9fb8149..9d22451 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,8 @@ echo \#buildapi-variable-no-builddir /dev/null # to