Re: [Mesa-dev] [PATCH 04/19] make: Drop HOST_CC and HOST_CFLAGS.

2012-06-13 Thread Matt Turner
On Wed, Jun 13, 2012 at 4:52 PM, Jakob Bornecrantz wrote: > - Original Message - >> Except for the deleted linux-cell target, these were just the target >> cc/cflags.  The only usage was for gen_matypes, which wants the >> target's structure packing, not the host, anyway. >> --- >>  config

[Mesa-dev] [PATCH 7/7] glsl: Use ir_unop_f2u to convert floats to uints.

2012-06-13 Thread Paul Berry
Fixes piglit tests spec/glsl-1.30/execution/{vs,fs}-float-uint-conversion on i965. --- src/glsl/ast_function.cpp |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp index 9e7c599..ea3282c 100644 --- a/src/glsl/ast_functio

[Mesa-dev] [PATCH 6/7] gallium: Add TGSI_OPCODE_F2U to gallivm backend.

2012-06-13 Thread Paul Berry
--- src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c index e0a5180..e48a0fd 100644 --- a/src/gallium/auxil

[Mesa-dev] [PATCH 5/7] gallium: Add support for ir_unop_f2u to tgsi backend.

2012-06-13 Thread Paul Berry
--- src/mesa/state_tracker/st_glsl_to_tgsi.cpp |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 347a22f..5802b52 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b

[Mesa-dev] [PATCH 4/7] ir_to_mesa: Add support for ir_unop_f2u to ir_to_mesa backend.

2012-06-13 Thread Paul Berry
--- src/mesa/program/ir_to_mesa.cpp |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 2245400..217a264 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -1400,6 +1400,

[Mesa-dev] [PATCH 3/7] i965: Add support for ir_unop_f2u to i965 backend.

2012-06-13 Thread Paul Berry
--- .../dri/i965/brw_fs_channel_expressions.cpp|1 + src/mesa/drivers/dri/i965/brw_fs_visitor.cpp |1 + src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp |1 + 3 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_channel_express

[Mesa-dev] [PATCH 2/7] glsl: Add support for ir_unop_f2u to constant folding.

2012-06-13 Thread Paul Berry
--- src/glsl/ir_constant_expression.cpp |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/glsl/ir_constant_expression.cpp b/src/glsl/ir_constant_expression.cpp index 38a1ed9..17b54b9 100644 --- a/src/glsl/ir_constant_expression.cpp +++ b/src/glsl/ir_constant_expres

[Mesa-dev] [PATCH 1/7] glsl: Add unary operation ir_unop_f2u.

2012-06-13 Thread Paul Berry
Previoesly, we performed conversions from float->uint by a two step process: float->int->uint. However, on platforms that use saturating conversions (e.g. i965), this didn't work, because if the source value was larger than the maximum representable int (0x7fff), then converting it to an int w

[Mesa-dev] [PATCH 0/7] glsl: Fix float->uint conversion (gallium review requested).

2012-06-13 Thread Paul Berry
This patch series fixes a rather insidious bug in conversion from floats to uints on i965 (and possibly other platforms). Previously, we implemented conversion from float to uint by a two step process: first convert to int, then convert to uint. This doesn't work if the float value is greater tha

Re: [Mesa-dev] [PATCH 04/19] make: Drop HOST_CC and HOST_CFLAGS.

2012-06-13 Thread Jakob Bornecrantz
- Original Message - > Except for the deleted linux-cell target, these were just the target > cc/cflags. The only usage was for gen_matypes, which wants the > target's structure packing, not the host, anyway. > --- > configs/default |2 -- > src/mesa/x86/Makefile |2 +- > 2

Re: [Mesa-dev] automake continued

2012-06-13 Thread Dan Nicholson
On 6/13/12, Eric Anholt wrote: > Here's a bunch more automake. We're at the point that an enterprising > person could potentially convert libmesa.a if they figure out how to > work that into the gallium build. I also haven't converted osmesa, > because I didn't think I knew of any tests for it (

Re: [Mesa-dev] [PATCH 01/19] automake: Don't warn on gmake portability issues.

2012-06-13 Thread Eric Anholt
On Wed, 13 Jun 2012 10:45:02 -0700, Dan Nicholson wrote: > On 6/13/12, Eric Anholt wrote: > > Even pre-automake, we rely on gmake features for pattern > > substitutions, and replacing those with reams more make code is not > > interesting. This will let us turn the old Makefiles using pattern >

Re: [Mesa-dev] [PATCH] Fix dependency generation for src/mesa/main directory

2012-06-13 Thread Eric Anholt
On Wed, 13 Jun 2012 10:44:35 -0700, Kenneth Graunke wrote: > On 06/13/2012 08:52 AM, Brian Paul wrote: > > On 06/13/2012 02:05 AM, Chris Rankin wrote: > >> Hi, > >> > >> Ah, so "\file" is for doxygen? I did wonder whether it could be > >> something other than a typo :-). > >> > >> My dependency p

Re: [Mesa-dev] [PATCH] i965: Add hardware context support.

2012-06-13 Thread Eric Anholt
On Tue, 12 Jun 2012 12:07:09 -0700, Kenneth Graunke wrote: > With fixes and updates from Ben Widawsky and comments from Paul Berry. > > This should not be pushed until libdrm 2.4.36 is released with Ben's > hardware context support. > > I haven't hooked up the context destroy function yet as I'

Re: [Mesa-dev] [PATCH 01/19] automake: Don't warn on gmake portability issues.

2012-06-13 Thread Dan Nicholson
On 6/13/12, Eric Anholt wrote: > Even pre-automake, we rely on gmake features for pattern > substitutions, and replacing those with reams more make code is not > interesting. This will let us turn the old Makefiles using pattern > substitutions into automake without spewing warnings. > --- > con

Re: [Mesa-dev] [PATCH] Fix dependency generation for src/mesa/main directory

2012-06-13 Thread Kenneth Graunke
On 06/13/2012 08:52 AM, Brian Paul wrote: > On 06/13/2012 02:05 AM, Chris Rankin wrote: >> Hi, >> >> Ah, so "\file" is for doxygen? I did wonder whether it could be >> something other than a typo :-). >> >> My dependency problem happens only for the file main/dlist.c, and only >> on my T60p. I have

[Mesa-dev] [PATCH 18/19] automake: Convert Mesa built sources generation to automake.

2012-06-13 Thread Eric Anholt
--- src/mesa/Makefile.am | 65 + src/mesa/Makefile.old | 61 -- 2 files changed, 65 insertions(+), 61 deletions(-) diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index 5e764cd..e52678d 10064

[Mesa-dev] [PATCH 19/19] dricore: Turn it into a normal library.

2012-06-13 Thread Eric Anholt
Our intention is still that it's not abi stable, so make the package version number get included in the library name. Now you can parallel install dricore-using drivers from multiple mesa versions. We can put it into lib now that we're following library versioning rules (assuming that ABIs don't

[Mesa-dev] [PATCH 17/19] mesa: Move GL header installation to automake.

2012-06-13 Thread Eric Anholt
This cuts some cruft related to osmesa where we were being careful to not install headers twice. --- configure.ac |7 +-- src/mesa/Makefile.am |3 +++ src/mesa/Makefile.old | 13 + 3 files changed, 5 insertions(+), 18 deletions(-) diff --git a/configure.ac b/co

[Mesa-dev] [PATCH 16/19] automake: Move mesa subdirs processing to automake.

2012-06-13 Thread Eric Anholt
--- src/mesa/Makefile.am |2 ++ src/mesa/Makefile.old | 47 ++- 2 files changed, 4 insertions(+), 45 deletions(-) diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index 6335042..6a2d425 100644 --- a/src/mesa/Makefile.am +++ b/src/mesa/Mak

[Mesa-dev] [PATCH 15/19] automake: Move .pc installation to automake.

2012-06-13 Thread Eric Anholt
--- src/mesa/Makefile.am |8 src/mesa/Makefile.old | 12 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index b877b5d..6335042 100644 --- a/src/mesa/Makefile.am +++ b/src/mesa/Makefile.am @@ -27,3 +27,11 @@

[Mesa-dev] [PATCH 08/19] automake: Convert src/mapi/glapi/gen/Makefile to automake.

2012-06-13 Thread Eric Anholt
--- configure.ac |1 + src/mapi/glapi/gen/.gitignore |1 + src/mapi/glapi/gen/Makefile| 240 src/mapi/glapi/gen/Makefile.am | 236 +++ 4 files changed, 238 insertions(+), 240 deletions(-)

[Mesa-dev] [PATCH 14/19] automake: Move the master Mesa makefile to Makefile.old.

2012-06-13 Thread Eric Anholt
This will let me incrementally move stuff to automake without converting libmesa.a all at once. --- configure.ac |1 + src/mesa/.gitignore |6 +- src/mesa/Makefile | 205 - src/mesa/Makefile.am | 29 +++ src/mesa/Makefi

[Mesa-dev] [PATCH 12/19] mesa: Convert gl.pc to be generated by configure.

2012-06-13 Thread Eric Anholt
This saves a step of mashing variables around in our Makefile. --- configure.ac |1 + src/mesa/Makefile | 16 ++-- src/mesa/gl.pc.in |8 3 files changed, 7 insertions(+), 18 deletions(-) diff --git a/configure.ac b/configure.ac index 862eff2..81e0933 100644 ---

[Mesa-dev] [PATCH 10/19] automake: Convert src/gallium/Makefile to automake.

2012-06-13 Thread Eric Anholt
--- configure.ac|1 + src/gallium/.gitignore |1 + src/gallium/Makefile| 12 src/gallium/Makefile.am | 22 ++ 4 files changed, 24 insertions(+), 12 deletions(-) create mode 100644 src/gallium/.gitignore delete mode 100644 src/gallium/

[Mesa-dev] [PATCH 11/19] automake: Convert src/mesa/drivers/x11/Makefile to automake.

2012-06-13 Thread Eric Anholt
The weird versioning of the libGL where the package version was sort of expressed as a big integer is dropped. libtool didn't like the 0 prefix, and it didn't really make sense anyway -- if you interpret it as an integer version number, old Mesa 071200 was bigger than current Mesa 08100. Instead,

[Mesa-dev] [PATCH 09/19] automake: Convert src/mapi/glapi/gen to silent build.

2012-06-13 Thread Eric Anholt
--- src/mapi/glapi/gen/Makefile.am | 50 +--- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am index bf569de..304442c 100644 --- a/src/mapi/glapi/gen/Makefile.am +++ b/src/mapi/glap

[Mesa-dev] [PATCH 13/19] automake: Convert osmesa.pc to be generated by configure.

2012-06-13 Thread Eric Anholt
--- configure.ac |1 + src/mesa/Makefile | 18 +- src/mesa/osmesa.pc.in |8 3 files changed, 6 insertions(+), 21 deletions(-) diff --git a/configure.ac b/configure.ac index 81e0933..6135302 100644 --- a/configure.ac +++ b/configure.ac @@ -2184,6 +21

[Mesa-dev] [PATCH 06/19] automake: Directly generate configs/current instead of symlinking from it.

2012-06-13 Thread Eric Anholt
--- Makefile.am |1 - configs/autoconf.in | 231 --- configs/current.in | 231 +++ configure.ac| 10 +-- 4 files changed, 232 insertions(+), 241 deletions(-) delete mode 100644

[Mesa-dev] [PATCH 07/19] automake: Convert src/mesa/drivers/Makefile to automake.

2012-06-13 Thread Eric Anholt
--- configure.ac |1 + src/mesa/drivers/.gitignore |1 + src/mesa/drivers/Makefile| 29 - src/mesa/drivers/Makefile.am | 22 ++ 4 files changed, 24 insertions(+), 29 deletions(-) create mode 100644 src/mesa/drivers/.

[Mesa-dev] [PATCH 05/19] automake: Convert gen_matypes building to automake.

2012-06-13 Thread Eric Anholt
--- configure.ac|2 ++ src/mesa/Makefile |1 - src/mesa/x86-64/.gitignore |3 +++ src/mesa/x86-64/Makefile| 28 -- src/mesa/x86-64/Makefile.am | 39 src/mesa/x86/.gitignore |3 +++ s

[Mesa-dev] [PATCH 03/19] make: Fold ASM_CFLAGS into DEFINES.

2012-06-13 Thread Eric Anholt
Every place that uses ASM_FLAGS already uses DEFINES. Not including it in DEFINES is just a way to screw up potential users, as I've done several times while working on the build system. --- configs/autoconf.in |3 +-- configure.ac | 16 +

[Mesa-dev] [PATCH 02/19] automake: Convert src/egl/Makefile to automake.

2012-06-13 Thread Eric Anholt
--- configure.ac|1 + src/egl/.gitignore |1 + src/egl/Makefile| 36 src/egl/Makefile.am | 28 4 files changed, 30 insertions(+), 36 deletions(-) create mode 100644 src/egl/.gitignore delete mode 100644 sr

[Mesa-dev] [PATCH 04/19] make: Drop HOST_CC and HOST_CFLAGS.

2012-06-13 Thread Eric Anholt
Except for the deleted linux-cell target, these were just the target cc/cflags. The only usage was for gen_matypes, which wants the target's structure packing, not the host, anyway. --- configs/default |2 -- src/mesa/x86/Makefile |2 +- 2 files changed, 1 insertion(+), 3 deletions(

[Mesa-dev] [PATCH 01/19] automake: Don't warn on gmake portability issues.

2012-06-13 Thread Eric Anholt
Even pre-automake, we rely on gmake features for pattern substitutions, and replacing those with reams more make code is not interesting. This will let us turn the old Makefiles using pattern substitutions into automake without spewing warnings. --- configure.ac |2 +- 1 file changed, 1 inser

[Mesa-dev] automake continued

2012-06-13 Thread Eric Anholt
Here's a bunch more automake. We're at the point that an enterprising person could potentially convert libmesa.a if they figure out how to work that into the gallium build. I also haven't converted osmesa, because I didn't think I knew of any tests for it (but wait, there's mesa-demos). One goal

Re: [Mesa-dev] [PATCH 00/11] docs: html cleanup

2012-06-13 Thread Andreas Boll
2012/6/13 Brian Paul : > On 06/13/2012 01:37 AM, Andreas Boll wrote: >> >> 2012/6/13 Ian Romanick: >>> >>> On 06/11/2012 09:06 AM, Brian Paul wrote: On 06/10/2012 04:57 AM, Andreas Boll wrote: > > > @ release manager > Is there a script for converting the git shortlog

Re: [Mesa-dev] [PATCH 00/11] docs: html cleanup

2012-06-13 Thread Brian Paul
On 06/13/2012 01:37 AM, Andreas Boll wrote: 2012/6/13 Ian Romanick: On 06/11/2012 09:06 AM, Brian Paul wrote: On 06/10/2012 04:57 AM, Andreas Boll wrote: @ release manager Is there a script for converting the git shortlog into html in relnotes-*.html or are they converted by hand? The reason

Re: [Mesa-dev] [PATCH 00/11] docs: html cleanup

2012-06-13 Thread Brian Paul
On 06/13/2012 01:37 AM, Andreas Boll wrote: 2012/6/13 Ian Romanick: On 06/11/2012 09:06 AM, Brian Paul wrote: On 06/10/2012 04:57 AM, Andreas Boll wrote: @ release manager Is there a script for converting the git shortlog into html in relnotes-*.html or are they converted by hand? The reason

Re: [Mesa-dev] [PATCH] Fix dependency generation for src/mesa/main directory

2012-06-13 Thread Brian Paul
On 06/13/2012 02:05 AM, Chris Rankin wrote: Hi, Ah, so "\file" is for doxygen? I did wonder whether it could be something other than a typo :-). My dependency problem happens only for the file main/dlist.c, and only on my T60p. I have *absolutely no idea* why makedepend goes off the deep-end on

Re: [Mesa-dev] [PATCH] Fix make process on Linux Mint 13 x64.

2012-06-13 Thread Brian Paul
On 06/12/2012 07:16 PM, Aaron Watry wrote: Previously, rbug_*.c would fail to compile with incomplete prototype errors when make was run from the command line on my machine. My IDE always built fine, and still does after this patch (Netbeans 7.1.2). Most of the includes from files in gallium/aux

[Mesa-dev] [Bug 30493] read-front piglit test fails on llvmpipe/softpipe

2012-06-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30493 Michal Suchanek changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WORKSFORME

[Mesa-dev] [Bug 49504] [Bisected] Mesa master compilation broke when built with --with-llvm-shared-libs

2012-06-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=49504 --- Comment #3 from Iaroslav 2012-06-13 08:32:44 PDT --- (In reply to comment #2) > I don't see how this commit changes anything. > > It seems this is a linking bug, that was always there, but latent. And this > commit simply slightly changed th

Re: [Mesa-dev] [PATCH] Mesa: Fix a race in the build

2012-06-13 Thread Dan Nicholson
On 6/13/12, Mike Frysinger wrote: > On Wed, Jun 13, 2012 at 8:13 AM, Dan Nicholson wrote: > >> On Tue, Jun 12, 2012 at 3:52 PM, Mike Frysinger >> wrote: >> > On Tue, Jun 12, 2012 at 6:47 PM, Dan Nicholson >> wrote: >> >> >> >> On 6/12/12, Stéphane Marchesin wrote: >> >> > From: Mike Frysinger

Re: [Mesa-dev] [PATCH] Mesa: Fix a race in the build

2012-06-13 Thread Mike Frysinger
On Wed, Jun 13, 2012 at 8:13 AM, Dan Nicholson wrote: > On Tue, Jun 12, 2012 at 3:52 PM, Mike Frysinger > wrote: > > On Tue, Jun 12, 2012 at 6:47 PM, Dan Nicholson > wrote: > >> > >> On 6/12/12, Stéphane Marchesin wrote: > >> > From: Mike Frysinger > >> > > >> > The intent of the message abov

[Mesa-dev] [Bug 30493] read-front piglit test fails on llvmpipe/softpipe

2012-06-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30493 Michal Suchanek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] [PATCH] Mesa: Fix a race in the build

2012-06-13 Thread Dan Nicholson
On Tue, Jun 12, 2012 at 3:52 PM, Mike Frysinger wrote: > On Tue, Jun 12, 2012 at 6:47 PM, Dan Nicholson wrote: >> >> On 6/12/12, Stéphane Marchesin wrote: >> > From: Mike Frysinger >> > >> > The intent of the message above it is right (we need to build those >> > dependencies in that order) but

Re: [Mesa-dev] [PATCH] Fix dependency generation for src/mesa/main directory

2012-06-13 Thread Chris Rankin
Hi, Ah, so "\file" is for doxygen? I did wonder whether it could be something other than a typo :-). My dependency problem happens only for the file main/dlist.c, and only on my T60p. I have *absolutely no idea* why makedepend goes off the deep-end only on this machine and not on any of my oth

Re: [Mesa-dev] [PATCH] Fix dependency generation for src/mesa/main directory

2012-06-13 Thread Kenneth Graunke
On 06/12/2012 03:42 PM, Chris Rankin wrote: > Hi, > > I have a Lenovo T60p laptop running 32 bit Fedora 17, and this patch > fixes makedepend's behaviour when generating the src/mesa/depends file. > Prior to this patch, makedepend had hung while still consuming 100% of > the CPU. Strangely, none o

Re: [Mesa-dev] [PATCH 00/11] docs: html cleanup

2012-06-13 Thread Andreas Boll
2012/6/13 Ian Romanick : > On 06/11/2012 09:06 AM, Brian Paul wrote: >> >> On 06/10/2012 04:57 AM, Andreas Boll wrote: >>> >>> @ release manager >>> Is there a script for converting the git shortlog into html in >>> relnotes-*.html or are they converted by hand? >>> The reason I'm asking is that no