Re: [Mesa-dev] [PATCH] mesa : move bindbuffer{base, range} from transformfeedback.c

2011-11-19 Thread Matt Turner
On Fri, Nov 18, 2011 at 3:11 PM, vlj v...@ovi.com wrote: You should configure git with your name and email address. See http://help.github.com/set-your-user-name-email-and-github-token/ Some projects (like the Linux kernel) won't even accept changes from people unless they've configured their

Re: [Mesa-dev] [PATCH 5/9] glsl: change IR to add UBO information

2011-12-01 Thread Matt Turner
On Thu, Dec 1, 2011 at 3:35 PM, Vincent Lejeune v...@ovi.com wrote: ---  src/glsl/ir.cpp            |    1 +  src/glsl/ir.h              |    6 ++  src/glsl/ir_clone.cpp      |    1 +  src/glsl/opt_dead_code.cpp |    6 ++  4 files changed, 14 insertions(+), 0 deletions(-) diff

[Mesa-dev] LLVM-3.0 patches in the 7.11 branch

2011-12-03 Thread Matt Turner
Hi, It looks like there are a lot of LLVM-3.0 patches missing from the 7.11 branch, causing mesa-7.11.x to fail to build. See https://bugs.gentoo.org/show_bug.cgi?id=393013 A users reports in that bug that when the following commits are applied to mesa-7.11.2 that mesa builds with llvm-3.0.

Re: [Mesa-dev] [PATCH] [RFC] program: fix out of bounds array accesses and other bad things

2011-12-09 Thread Matt Turner
On Fri, Dec 9, 2011 at 8:54 AM, nobled nob...@dreamwidth.org wrote: Can you set your name in git? It makes the log look a lot better. git config --global user.name Firstname Lastname ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

[Mesa-dev] [PATCH] Clean up GL3 status

2011-12-23 Thread Matt Turner
The (swrast, i965, gallium, r600g) tuples are inconsistent and confusing. If swrast, i965, and gallium support something, let's simply say DONE without qualifying it. --- I've checked as many of these as I could on my Sandybridge and r600g systems. I also checked against swrast and llvmpipe.

[Mesa-dev] [PATCH 1/5] configure.ac: remove deprecated --with-driver=

2011-12-23 Thread Matt Turner
See 9e7a4147. --- configure.ac | 77 -- 1 files changed, 0 insertions(+), 77 deletions(-) diff --git a/configure.ac b/configure.ac index a4943e1..c0d6882 100644 --- a/configure.ac +++ b/configure.ac @@ -709,83 +709,6 @@ if test

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

2011-12-23 Thread Matt Turner
--- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index c0d6882..0d75353 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to create configure. -AC_PREREQ([2.59])

[Mesa-dev] [PATCH 3/5] glsl: rename VERSION to VERSION_TOK for automake

2011-12-23 Thread Matt Turner
Signed-off-by: Matt Turner matts...@gmail.com --- src/glsl/glsl_lexer.ll |2 +- src/glsl/glsl_parser.yy |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/glsl/glsl_lexer.ll b/src/glsl/glsl_lexer.ll index c7cfedd..936a907 100644 --- a/src/glsl/glsl_lexer.ll +++ b

[Mesa-dev] [PATCH 4/5] glsl: remove old autogen.sh

2011-12-23 Thread Matt Turner
--- src/glsl/autogen.sh | 12 1 files changed, 0 insertions(+), 12 deletions(-) delete mode 100755 src/glsl/autogen.sh diff --git a/src/glsl/autogen.sh b/src/glsl/autogen.sh deleted file mode 100755 index 904cd67..000 --- a/src/glsl/autogen.sh +++ /dev/null @@ -1,12 +0,0 @@

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

2011-12-23 Thread Matt Turner
The glsl_{lexer.lpp,parser.ypp} symlinks allow automake to figure out dependency information, since .ll generates a .cc file, and .lpp generates a .cpp. They were originally named .lpp/.ypp, but were changed to work around scons. --- This isn't free from breakage, but it is good enough to build

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

2011-12-23 Thread Matt Turner
On Fri, Dec 23, 2011 at 8:06 PM, Kenneth Graunke kenn...@whitecape.org wrote: On 12/23/2011 04:21 PM, Matt Turner wrote: ---  configure.ac |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index c0d6882..0d75353 100644 --- a/configure.ac

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

2011-12-23 Thread Matt Turner
On Fri, Dec 23, 2011 at 8:37 PM, Kenneth Graunke kenn...@whitecape.org wrote: On 12/23/2011 04:21 PM, Matt Turner wrote:  # Flex and Bison for GLSL compiler -FLEX = @FLEX@ -BISON = @BISON@ +FLEX = @LEX@ +BISON = @YACC@ Question about this: will this still require Flex and Bison, or accept

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

2011-12-23 Thread Matt Turner
, as it will have values much larger than 3.  Clearly this is supposed to be 'j'. Found by inspection. Cc: Eric Anholt e...@anholt.net Cc: Matt Turner matts...@gmail.com Cc: Christopher James Halse Rogers chalserog...@gmail.com Signed-off-by: Kenneth Graunke kenn...@whitecape.org ---  .../drivers

Re: [Mesa-dev] [PATCH] configure.ac: Remove unused GLUT substitutions.

2012-01-05 Thread Matt Turner
On Thu, Jan 5, 2012 at 6:30 PM, Kenneth Graunke kenn...@whitecape.org wrote: GLUT was removed from the main tree a while ago; nothing uses these substitutions. Reviewed-by: Matt Turner matts...@gmail.com ___ mesa-dev mailing list mesa-dev

Re: [Mesa-dev] [RFC PATCH] Add ability to use libXrandr for OML_sync_control

2012-01-06 Thread Matt Turner
On Thu, Oct 6, 2011 at 3:13 PM, Jesse Barnes jbar...@virtuousgeek.org wrote: On Tue, 20 Sep 2011 15:37:20 -0400 Matt Turner matts...@gmail.com wrote: One more nail in the coffin of XF86VidMode. Signed-off-by: Matt Turner matts...@gmail.com --- I'm not sure how to test

Re: [Mesa-dev] [PATCH 2/2] gallium: avoid generating loop overhead in case of a non cubemap texture.

2012-01-08 Thread Matt Turner
On Sun, Jan 8, 2012 at 5:15 PM, Vincent Lejeune v...@ovi.com wrote: ---  src/mesa/state_tracker/st_cb_texture.c |   82  1 files changed, 62 insertions(+), 20 deletions(-) diff --git a/src/mesa/state_tracker/st_cb_texture.c

[Mesa-dev] [PATCH] glsl: remove logical xor FINISHME

2012-01-08 Thread Matt Turner
GLSL spec boneheadedly says (a ^^ a) must actually be evaluated. Signed-off-by: Matt Turner matts...@gmail.com --- Fortunately, shaders that do this are even more boneheaded. src/glsl/opt_algebraic.cpp |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/glsl

Re: [Mesa-dev] [PATCH] glsl: remove logical xor FINISHME

2012-01-08 Thread Matt Turner
On Sun, Jan 8, 2012 at 10:44 PM, Matt Turner matts...@gmail.com wrote: GLSL spec boneheadedly says (a ^^ a) must actually be evaluated. Signed-off-by: Matt Turner matts...@gmail.com --- On second thought, maybe the better thing to do here is to evaluate $a twice, which in most cases would

[Mesa-dev] [PATCH] configure.ac: add and use AC_PROG_BISON/FLEX macros

2012-01-10 Thread Matt Turner
Defining these macros lets us use AC_PROG_YACC/LEX which makes automake easier while still specifically requiring bison and flex. Based on bison.m4 and flex.m4 found in LLVM's tree. Signed-off-by: Matt Turner matts...@gmail.com --- configure.ac |9 - m4/bison.m4 | 16

[Mesa-dev] [PATCH] configure.ac: use AC_PROG_SED

2012-01-10 Thread Matt Turner
AC_PROG_PATH was used in the original configure.ac (dca1b796b) and I can't see any reason AC_PROG_SED wasn't used. Signed-off-by: Matt Turner matts...@gmail.com --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index c0abeb9

[Mesa-dev] [PATCH] configure.ac: don't set HAVE_GTEST twice

2012-01-10 Thread Matt Turner
Signed-off-by: Matt Turner matts...@gmail.com --- configure.ac |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index 08a0209..d36901b 100644 --- a/configure.ac +++ b/configure.ac @@ -69,7 +69,6 @@ AC_PATH_PROG([GTESTCONFIG], [gtest-config

Re: [Mesa-dev] [PATCH] configure.ac: add and use AC_PROG_BISON/FLEX macros

2012-01-10 Thread Matt Turner
On Wed, Jan 11, 2012 at 1:16 AM, Matt Turner matts...@gmail.com wrote: Defining these macros lets us use AC_PROG_YACC/LEX which makes automake easier while still specifically requiring bison and flex. Based on bison.m4 and flex.m4 found in LLVM's tree. Signed-off-by: Matt Turner matts

Re: [Mesa-dev] [PATCH] configure.ac: add and use AC_PROG_BISON/FLEX macros

2012-01-11 Thread Matt Turner
On Wed, Jan 11, 2012 at 1:49 AM, Kenneth Graunke kenn...@whitecape.org wrote: On 01/10/2012 10:16 PM, Matt Turner wrote: Defining these macros lets us use AC_PROG_YACC/LEX which makes automake easier while still specifically requiring bison and flex. Based on bison.m4 and flex.m4 found

[Mesa-dev] [PATCH] Clean up GL3 status

2012-01-11 Thread Matt Turner
Signed-off-by: Matt Turner matts...@gmail.com --- docs/GL3.txt | 78 +- 1 files changed, 39 insertions(+), 39 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index 0c67dce..069d36d 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt

[Mesa-dev] [PATCH] Always build shared glapi

2012-01-11 Thread Matt Turner
--- No one on IRC knows why an unshared glapi is useful. Does anyone have a use-case for this? If not, we can drop it to simplify automake work. configs/autoconf.in |1 - configure.ac| 24 +---

[Mesa-dev] [PATCH] Remove -ffast-math from default CFLAGS

2012-01-11 Thread Matt Turner
Fixes glsl-const-folding-01. inversesqrt(1.0) != 1.0 was evaluating as true. Signed-off-by: Matt Turner matts...@gmail.com --- I think softpipe also had some problems recently due to -ffast-math? configure.ac |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 3/4] i965: Convert the build to using automake.

2012-01-12 Thread Matt Turner
:= \        brw_vec4_reg_allocate.cpp \        brw_vec4_visitor.cpp -i965_ASM_SOURCES := +i965_ASM_FILES := -- Reviewed-by: Matt Turner matts...@gmail.com Looking at this, I see some things I missed in automaking src/glsl, so thanks! :) Can we simply remove i965_ASM_SOURCES? It doesn't

Re: [Mesa-dev] [PATCH 4/4] mesa: Enable silent automake rules when available.

2012-01-12 Thread Matt Turner
([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) +  LT_PREREQ([2.2])  LT_INIT([disable-static]) -- Reviewed-by: Matt Turner matts...@gmail.com ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 3/4] i965: Convert the build to using automake.

2012-01-12 Thread Matt Turner
On Thu, Jan 12, 2012 at 7:08 PM, Eric Anholt e...@anholt.net wrote: This does introduce a warning by the automake build system, that the missing-symbols test build is non-portable.  That's true -- Mac OS X can't take something built as a loadable module and just link it as a library.  Of

[Mesa-dev] [PATCH 1/4] Always build shared dricore

2012-01-14 Thread Matt Turner
There don't seem to be any reasons to prefer unshared-dricore, and clang and icc both support rpath. Signed-off-by: Matt Turner matts...@gmail.com --- configure.ac | 29 - 1 files changed, 8 insertions(+), 21 deletions(-) diff --git a/configure.ac b/configure.ac

[Mesa-dev] [PATCH 2/4] Use AC_PROG_YACC/LEX

2012-01-14 Thread Matt Turner
Needed for automake. Using AC_PROG_PATH(bison/flex) causes automake to fail to build .y and .l files. It is up to the builder to use bison/flex instead of yacc/lex. Signed-off-by: Matt Turner matts...@gmail.com --- configs/autoconf.in |4 ++-- configure.ac| 13 - 2

[Mesa-dev] [PATCH 3/4] automake: add src/glsl and src/glsl/glcpp

2012-01-14 Thread Matt Turner
The glsl_{lexer.lpp,parser.ypp} symlinks allow automake to figure out dependency information, since .ll generates a .cc file, and .lpp generates a .cpp. They were originally named .lpp/.ypp, but were changed to work around scons. Signed-off-by: Matt Turner matts...@gmail.com --- configure.ac

[Mesa-dev] [PATCH 4/4] configure.ac: remove shared/static options

2012-01-14 Thread Matt Turner
now that libtool provides them. Signed-off-by: Matt Turner matts...@gmail.com --- This patch depends on Eric's [PATCH 3/4] i965: Convert the build to using automake. configure.ac | 32 +--- 1 files changed, 1 insertions(+), 31 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 2/4] Use AC_PROG_YACC/LEX

2012-01-14 Thread Matt Turner
On Sat, Jan 14, 2012 at 6:33 PM, Gaetan Nadon mems...@videotron.ca wrote: On 12-01-14 11:16 AM, Matt Turner wrote: Needed for automake. Using AC_PROG_PATH(bison/flex) causes automake to fail to build .y and .l files. It is up to the builder to use bison/flex instead of yacc/lex. Signed-off

Re: [Mesa-dev] [Nouveau] RFC: ctx-Driver.Map/UnmapTextureImage() hooks

2011-07-19 Thread Matt Turner
On Tue, Jul 19, 2011 at 11:12 AM, Francisco Jerez curroje...@riseup.net wrote: (isn't fixing up the drivers the responsibility of whoever changes the API?) That's exactly why removing old drivers is being discussed. Matt ___ mesa-dev mailing list

Re: [Mesa-dev] Mesa 7.11 release candidate 2

2011-07-20 Thread Matt Turner
On Wed, Jul 20, 2011 at 1:08 AM, Sebastian H. va...@gmx.de wrote: Hello list Mesa 7.11-rc2 has been released.  This is a release candidate for the 7.11 development release. I've tried to compile this one 996aea3cca40bb34c0a9027411924879  MesaGLUT-7.11-rc2.tar.bz2 After unpacking

Re: [Mesa-dev] S2TC - yet another attempt to solve the S3TC issue

2011-08-08 Thread Matt Turner
On Mon, Aug 8, 2011 at 8:02 PM, Rudolf Polzer divver...@xonotic.org wrote: Without that, it'll be hard for me to get distros interested in it. I'll make sure it's available in Gentoo very soon. Matt ___ mesa-dev mailing list

Re: [Mesa-dev] [PATCH 3/4] i965/vs: Add simple dead code elimination.

2011-08-18 Thread Matt Turner
On Thu, Aug 18, 2011 at 2:38 PM, Eric Anholt e...@anholt.net wrote: +   bool progress = true; +   while (progress) { +      progress = false; +      progress = dead_code_eliminate() || progress; || progress is always false, though maybe it's just written like that to match the style of the

Re: [Mesa-dev] g3dvl odds ends

2011-08-26 Thread Matt Turner
On Fri, Aug 26, 2011 at 5:54 PM, Zack Rusin za...@vmware.com wrote: On Friday, August 26, 2011 05:12:52 PM Younes Manton wrote: On Fri, Aug 26, 2011 at 4:31 PM, Brian Paul bri...@vmware.com wrote: Two things that should probably be fixed in the src/gallium/auxiliary/vl/ code: 1. The

[Mesa-dev] [PATCH demos] Allow disabling of egl, gles1, gles2, vg, osmesa, drm, x11, freetype2

2011-09-17 Thread Matt Turner
Signed-off-by: Matt Turner matts...@gmail.com --- configure.ac | 50 +- 1 files changed, 41 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index b5b2fcf..c82d7cc 100644 --- a/configure.ac +++ b/configure.ac @@ -112,12

[Mesa-dev] [PATCH] Remove unneeded xdamages header from dri2_glx.c.

2011-09-17 Thread Matt Turner
It's needed for dri1 but not dri2. Signed-off-by: Matt Turner matts...@gmail.com --- src/glx/dri2_glx.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index 2d72ae0..01e3fd6 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/dri2_glx.c

[Mesa-dev] [PATCH 1/2] Remove -lXmu from LIBS

2011-09-17 Thread Matt Turner
It's not used anywhere that I can see. Signed-off-by: Matt Turner matts...@gmail.com --- configs/aix|2 +- configs/aix-64 |2 +- configs/aix-64-static |2 +- configs/aix-gcc|2 +- configs/aix-static

[Mesa-dev] [PATCH 2/2] Remove -lXi from LIBS

2011-09-17 Thread Matt Turner
It's not used anywhere that I can see. Signed-off-by: Matt Turner matts...@gmail.com --- configs/aix|2 +- configs/aix-64 |2 +- configs/aix-64-static |2 +- configs/aix-gcc|2 +- configs/aix-static

[Mesa-dev] [PATCH] egl_glx.c: use unsigned instead of uint

2011-09-18 Thread Matt Turner
We've had a hack to fix this in Gentoo on Solaris for a while. Signed-off-by: Matt Turner matts...@gmail.com --- Not sure what the deal is with uint, or why it wouldn't work on Solaris. src/egl/drivers/glx/egl_glx.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 1/2] Remove -lXmu from LIBS

2011-09-18 Thread Matt Turner
On Sun, Sep 18, 2011 at 5:16 PM, Brian Paul brian.e.p...@gmail.com wrote: On Sat, Sep 17, 2011 at 5:09 PM, Matt Turner matts...@gmail.com wrote: It's not used anywhere that I can see. Signed-off-by: Matt Turner matts...@gmail.com For the series: Reviewed-by: Brian Paul bri...@vmware.com I

[Mesa-dev] [PATCH] Remove unused APP_LIB_DEPS variable

2011-09-18 Thread Matt Turner
Unused since removal of demos from the repository? Signed-off-by: Matt Turner matts...@gmail.com --- configs/aix|1 - configs/aix-64 |1 - configs/aix-64-static |1 - configs/aix-gcc|1 - configs/aix

[Mesa-dev] [RFC PATCH] Add ability to use libXrandr for OML_sync_control

2011-09-20 Thread Matt Turner
One more nail in the coffin of XF86VidMode. Signed-off-by: Matt Turner matts...@gmail.com --- I'm not sure how to test this, but the translation from XF86VidMode Xrandr seems to be pretty straightforward. Almost certainly there's something wrong with it, as this is the first client-side X

[Mesa-dev] [RFC PATCH] automake: add support to src/glsl/

2011-09-24 Thread Matt Turner
Signed-off-by: Matt Turner matts...@gmail.com --- The last discussion about using automake ([RFC] Convert mesa to automake/libtool) ended without anything happening, probably because the branch wasn't ready. This patch is an attempt to get the ball rolling again. Without ripping out the entire

Re: [Mesa-dev] [RFC PATCH] automake: add support to src/glsl/

2011-09-25 Thread Matt Turner
On Sat, Sep 24, 2011 at 9:06 PM, Matt Turner matts...@gmail.com wrote: Signed-off-by: Matt Turner matts...@gmail.com --- The last discussion about using automake ([RFC] Convert mesa to automake/libtool) ended without anything happening, probably because the branch wasn't ready. This patch

Re: [Mesa-dev] [RFC PATCH] automake: add support to src/glsl/

2011-09-25 Thread Matt Turner
On Sun, Sep 25, 2011 at 3:06 PM, Gaetan Nadon mems...@videotron.ca wrote: I had a quick look, configure.ac is huge and has a big impact on Makefiles. I think it should be reviewed and cleaned-up to understand how it affects makefiles. Just a few examples of statements to investigate. Not that

Re: [Mesa-dev] [RFC PATCH] automake: add support to src/glsl/

2011-09-25 Thread Matt Turner
On Sun, Sep 25, 2011 at 4:22 PM, Gaetan Nadon mems...@videotron.ca wrote: If you are moving towards a non-hacked automake world, the INSTALL variable should not be used for mesa makefiles. It all depends on the end goals and the motivation behind the conversion to automake which has not been

Re: [Mesa-dev] [RFC PATCH] automake: add support to src/glsl/

2011-09-26 Thread Matt Turner
On Mon, Sep 26, 2011 at 11:29 AM, Eric Anholt e...@anholt.net wrote: On Sun, 25 Sep 2011 15:36:02 -0400, Matt Turner matts...@gmail.com wrote: Non-text part: multipart/mixed On Sat, Sep 24, 2011 at 9:06 PM, Matt Turner matts...@gmail.com wrote: Signed-off-by: Matt Turner matts...@gmail.com

Re: [Mesa-dev] [PATCH] configure: replace pkg-config calls $(PKG_CONFIG) in the makefiles.

2011-10-01 Thread Matt Turner
-by: Matt Turner matts...@gmail.com ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] nouveau/build: Fix build failures when drm is not in /usr/include.

2013-01-22 Thread Matt Turner
) \ + $(NOUVEAU_CFLAGS) libnvc0_la_SOURCES = $(C_SOURCES) $(CPP_SOURCES) -- 1.7.9.5 Reviewed-by: Matt Turner matts...@gmail.com ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] build: Enable cross compiling assembly by building gen_matypes for the host

2013-01-22 Thread Matt Turner
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=49360 --- configure.ac| 10 +- src/mesa/x86-64/Makefile.am |9 + src/mesa/x86/Makefile.am|9 + 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac index

Re: [Mesa-dev] [PATCH (gles3) 15/20] glsl: Add lowering pass for GLSL ES 3.00 pack/unpack operations (v2)

2013-01-22 Thread Matt Turner
On Mon, Jan 21, 2013 at 12:49 AM, Chad Versace chad.vers...@linux.intel.com wrote: Lower them to arithmetic and bit manipulation expressions. v2: - Rewrite using ir_builder. [for idr] - In lowering packHalf2x16, don't truncate subnormal float16 values to zero. And round to even

Re: [Mesa-dev] [PATCH (gles3) 00/20] i965: Implement GLSL ES 3.00 pack/unpack functions (v2)

2013-01-22 Thread Matt Turner
/unpackSnorm2x16.ir create mode 100644 src/glsl/builtins/ir/unpackUnorm2x16.ir create mode 100644 src/glsl/lower_packing_builtins.cpp -- 1.8.1.1 FWIW patches 2, 3, 7, 15 and 16 (the ones I studied to implement the 4x8 builtins) are Reviewed-by: Matt Turner matts...@gmail.com

Re: [Mesa-dev] [PATCH (gles3) 15/20] glsl: Add lowering pass for GLSL ES 3.00 pack/unpack operations (v2)

2013-01-23 Thread Matt Turner
On Wed, Jan 23, 2013 at 6:06 AM, Ian Romanick i...@freedesktop.org wrote: On 01/22/2013 10:36 PM, Matt Turner wrote: On Mon, Jan 21, 2013 at 12:49 AM, Chad Versace chad.vers...@linux.intel.com wrote: + /** +* \brief Lower a packSnorm2x16 expression. +* +* \param vec2_rval

Re: [Mesa-dev] [PATCH] intel: callocing a 32 byte temp is silly, so don't

2013-01-24 Thread Matt Turner
); } /** -- 1.7.11.7 Reviewed-by: Matt Turner matts...@gmail.com ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 0/8] ARB_shading_language_packing

2013-01-24 Thread Matt Turner
Following this email are eight patches that add the 4x8 pack/unpack operations that are the difference between what GLSL ES 3.0 and ARB_shading_language_packing require. They require Chad's gles3-glsl-packing series and are available at

[Mesa-dev] [PATCH 1/8] glsl: Add infrastructure for ARB_shading_language_packing

2013-01-24 Thread Matt Turner
--- src/glsl/builtins/tools/generate_builtins.py |1 + src/glsl/glcpp/glcpp-parse.y |3 +++ src/glsl/glsl_parser_extras.cpp |1 + src/glsl/glsl_parser_extras.h|2 ++ src/glsl/standalone_scaffolding.cpp |1 +

[Mesa-dev] [PATCH 2/8] glsl: Add IR lisp for ARB_shading_language_packing

2013-01-24 Thread Matt Turner
--- src/glsl/builtins/ir/packSnorm4x8.ir |6 ++ src/glsl/builtins/ir/packUnorm4x8.ir |6 ++ src/glsl/builtins/ir/unpackSnorm4x8.ir |6 ++ src/glsl/builtins/ir/unpackUnorm4x8.ir |6 ++

[Mesa-dev] [PATCH 3/8] glsl: Extend ir_expression_operation for ARB_shading_language_packing

2013-01-24 Thread Matt Turner
For each function {pack,unpack}{Snorm,Unorm}4x8, add a corresponding opcode to enum ir_expression_operation. Validate the new opcodes in ir_validate.cpp. --- src/glsl/ir.cpp | 11 +++ src/glsl/ir.h |4 src/glsl/ir_validate.cpp| 12

[Mesa-dev] [PATCH 4/8] glsl: Evaluate constant pack/unpack 4x8 expressions

2013-01-24 Thread Matt Turner
That is, evaluate constant expressions for the following functions: packSnorm4x8, unpackSnorm4x8 packUnorm4x8, unpackUnorm4x8 --- src/glsl/ir_constant_expression.cpp | 162 +++ 1 files changed, 162 insertions(+), 0 deletions(-) diff --git

[Mesa-dev] [PATCH 5/8] glsl: Add support for lowering 4x8 pack/unpack operations

2013-01-24 Thread Matt Turner
Lower them to arithmetic and bit manipulation expressions. --- src/glsl/ir_optimization.h |6 + src/glsl/lower_packing_builtins.cpp | 279 +++ 2 files changed, 285 insertions(+), 0 deletions(-) diff --git a/src/glsl/ir_optimization.h

[Mesa-dev] [PATCH 6/8] i965: Lower the 4x8 pack/unpack operations

2013-01-24 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_shader.cpp |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp index 1c02c87..da101a1 100644 --- a/src/mesa/drivers/dri/i965/brw_shader.cpp +++

[Mesa-dev] [PATCH 7/8] i965: Assert that the 4x8 pack/unpack operations have been lowered

2013-01-24 Thread Matt Turner
--- .../dri/i965/brw_fs_channel_expressions.cpp|4 src/mesa/drivers/dri/i965/brw_fs_visitor.cpp |4 src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp |4 3 files changed, 12 insertions(+), 0 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 0/8] ARB_shading_language_packing

2013-01-25 Thread Matt Turner
On Fri, Jan 25, 2013 at 9:55 AM, Paul Berry stereotype...@gmail.com wrote: On 25 January 2013 07:49, Paul Berry stereotype...@gmail.com wrote: On 24 January 2013 19:44, Matt Turner matts...@gmail.com wrote: Following this email are eight patches that add the 4x8 pack/unpack operations

Re: [Mesa-dev] [PATCH 4/8] glsl: Evaluate constant pack/unpack 4x8 expressions

2013-01-25 Thread Matt Turner
On Fri, Jan 25, 2013 at 11:59 AM, Chad Versace chad.vers...@linux.intel.com wrote: + *x = unpack_1x8((uint8_t) (u 0xff)); + *y = unpack_1x8((uint8_t) (u 8)); + *z = unpack_1x8((uint8_t) (u 16)); + *w = unpack_1x8((uint8_t) (u 24)); +} The bitmask (u 0xff) confused me for a few

Re: [Mesa-dev] [PATCH 0/8] ARB_shading_language_packing

2013-01-25 Thread Matt Turner
On Thu, Jan 24, 2013 at 7:44 PM, Matt Turner matts...@gmail.com wrote: Following this email are eight patches that add the 4x8 pack/unpack operations that are the difference between what GLSL ES 3.0 and ARB_shading_language_packing require. They require Chad's gles3-glsl-packing series

[Mesa-dev] [PATCH] docs: List new extensions added in Mesa 9.1

2013-01-25 Thread Matt Turner
I did not list the *_get_program_binary extensions since they're not useful to anyone with their current implementation (that supports 0 binary formats). --- We should also write something about ES3 and the float-texture S3TC changes. docs/relnotes-9.1.html | 12 +++- 1 files changed,

[Mesa-dev] [PATCH] gles3: Update gl3.h

2013-01-25 Thread Matt Turner
Contains a fix for Khronos bug 9557. --- include/GLES3/gl3.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/GLES3/gl3.h b/include/GLES3/gl3.h index b9399e9..09f2b53 100644 --- a/include/GLES3/gl3.h +++ b/include/GLES3/gl3.h @@ -2,7 +2,7 @@ #define __gl3_h_

Re: [Mesa-dev] [PATCH] i965: Compile the driver with -march=core2.

2013-01-25 Thread Matt Turner
) \ $(VISIBILITY_CFLAGS) \ - $(INTEL_CFLAGS) + $(INTEL_CFLAGS) \ + $(MARCH_CORE2) AM_CXXFLAGS = $(AM_CFLAGS) -- 1.7.10.4 Nice. Reviewed-by: Matt Turner matts...@gmail.com ___ mesa-dev mailing list mesa-dev

[Mesa-dev] [PATCH] Revert mesa: Return INVALID_OPERATION when type is known but not allowed

2013-01-29 Thread Matt Turner
This reverts commit 2906e2034c9d674601960a5b586b6e986e6ef04f. Reverting this does not affect any tests in es3conform, so a more recent patch must have also fixed the failure this one was intended to fix. Reported-by: lu hua huax...@intel.com Bugzilla:

Re: [Mesa-dev] [PATCH] Revert mesa: Return INVALID_OPERATION when type is known but not allowed

2013-01-29 Thread Matt Turner
On Tue, Jan 29, 2013 at 6:39 PM, Eric Anholt e...@anholt.net wrote: Matt Turner matts...@gmail.com writes: This reverts commit 2906e2034c9d674601960a5b586b6e986e6ef04f. Reverting this does not affect any tests in es3conform, so a more recent patch must have also fixed the failure this one

Re: [Mesa-dev] [PATCH] glsl: Change loop_analysis to not look like a resource leak

2013-01-30 Thread Matt Turner
this code appear less sketchy. Either way, there is no actual leak. The loop_state is freed by the single caller of analyze_loop_variables. Signed-off-by: Ian Romanick ian.d.roman...@intel.com Cc: Dave Airlie airl...@freedesktop.org Cc: Matt Turner matts...@gmail.com Bugzilla: https

[Mesa-dev] [PATCH] builtin_compiler/build: Don't use *_FOR_BUILD when not cross compiling

2013-01-30 Thread Matt Turner
Previously we were relying on CFLAGS_FOR_BUILD to be the same as CFLAGS when not cross compiling, but this assumption didn't take into consideration 32-bit builds on 64-bit systems. More generally, not honoring CFLAGS is bad. Automake is evidently too stupid to accept if CROSS_COMPILING CC =

Re: [Mesa-dev] [PATCH 3/5] docs: mention some other supported APIs

2013-01-30 Thread Matt Turner
On Wed, Jan 30, 2013 at 1:39 PM, Andreas Boll andreas.boll@gmail.com wrote: --- docs/systems.html |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/systems.html b/docs/systems.html index 3659b94..812852d 100644 --- a/docs/systems.html +++ b/docs/systems.html

Re: [Mesa-dev] [PATCH 5/5] docs: update making a new mesa release info

2013-01-30 Thread Matt Turner
On Wed, Jan 30, 2013 at 1:39 PM, Andreas Boll andreas.boll@gmail.com wrote: --- docs/devinfo.html | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/devinfo.html b/docs/devinfo.html index 15a885f..d64171a 100644 --- a/docs/devinfo.html +++

Re: [Mesa-dev] [PATCH 4/4] glsl: Support transform feedback of varying structs.

2013-02-04 Thread Matt Turner
to the tfeedback_candidate +* data structure that was found. Otherwise NULL. +*/ + const tfeedback_candidate *matched_candidate; }; -- FWIW, the series is Reviewed-by: Matt Turner matts...@gmail.com ___ mesa-dev mailing list mesa-dev

Re: [Mesa-dev] [PATCH 1/3] mesa: Restore GL_FOG_COORD_SRC on glPopAttrib(GL_FOG_BIT).

2013-02-05 Thread Matt Turner
is Reviewed-by: Matt Turner matts...@gmail.com ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] mesa: Always assume EXT_fog_coord support.

2013-02-06 Thread Matt Turner
Graunke kenn...@whitecape.org --- Reviewed-by: Matt Turner matts...@gmail.com ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] mesa: Allow glGet* queries of MAX_VARYING_COMPONENTS in ES 3

2013-02-07 Thread Matt Turner
Should have been done in d9948e49 but I missed it because MAX_VARYING_FLOATS doesn't appear in the ES 3 spec, but is the same value as MAX_VARYING_COMPONENTS. NOTE: Candidate for the 9.1 branch --- src/mesa/main/get_hash_params.py |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-)

[Mesa-dev] [PATCH] radeon: Remove dead STANDALONE_MMIO defines

2013-02-07 Thread Matt Turner
These were, at some point in the past, used to request that Xorg's compiler.h export a static inline xf86ReadMmio32 instead of a function pointer. compiler.h only has this option for DEC Alpha. But Xorg's compiler.h isn't being included by either of these two files and the radeon driver still

Re: [Mesa-dev] [PATCH v2] configure.ac: Do not error out if librt is not available.

2013-02-09 Thread Matt Turner
On Fri, Feb 8, 2013 at 7:19 PM, Vinson Lee v...@freedesktop.org wrote: Some platforms, such as Mac OS X, do not have librt. But Mac OS X (apparently from my quick Google search) doesn't clock_gettime. clock_gettime is called from two places: src/gallium/auxiliary/os/os_time.c

Re: [Mesa-dev] [PATCH v2] configure.ac: Do not error out if librt is not available.

2013-02-09 Thread Matt Turner
On Sat, Feb 9, 2013 at 12:34 PM, Vinson Lee v...@freedesktop.org wrote: On Sat, Feb 9, 2013 at 11:38 AM, Matt Turner matts...@gmail.com wrote: On Fri, Feb 8, 2013 at 7:19 PM, Vinson Lee v...@freedesktop.org wrote: Some platforms, such as Mac OS X, do not have librt. But Mac OS X (apparently

Re: [Mesa-dev] [PATCH] docs: document removal of makedepend build dependency

2013-02-11 Thread Matt Turner
Reviewed-by: Matt Turner matts...@gmail.com ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] shaderapi: Fix AttachShader error

2013-02-11 Thread Matt Turner
On Mon, Feb 11, 2013 at 12:03 AM, Tapani Pälli tapani.pa...@intel.com wrote: From: bma bo...@windriver.com Detect a duplicate Shader type as and error instead of silently allowing it, restrict to ES2 API. v2: Tapani Pälli tapani.pa...@intel.com - make the check run time instead of

Re: [Mesa-dev] [PATCH 2/2] radeon/llvm: Fix build with LLVM 3.3

2013-02-16 Thread Matt Turner
On Wed, Feb 13, 2013 at 1:43 PM, Tom Stellard t...@stellard.net wrote: From: Tom Stellard thomas.stell...@amd.com --- Candidate for the stable branch as well? ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] GMA3150 - OpenVG - QT - Embedded

2013-02-18 Thread Matt Turner
On Sun, Feb 17, 2013 at 9:34 AM, Einar Már Björgvinsson einar.bjorgvins...@marel.com wrote: Hi there I'm currently trying to cross-compile the Mesa-9.0.1 before compiling QT 4.8 with OpenVG support. I've tried some variation of compiling both the Mesa library and the libdrm with several

Re: [Mesa-dev] Need bench mark application for Opengles2 on mesa-8.0.4 with Linux

2013-02-18 Thread Matt Turner
On Mon, Feb 18, 2013 at 2:31 AM, Ramesh Reddy Emmadi ramesh_emm...@infosys.com wrote: Hi, Can you please let us know is there any benchmark tool for opengles2 API's in Linux and Windows. Thanks and Regards, Ramesh glmark2, maybe: https://launchpad.net/glmark2

Re: [Mesa-dev] [PATCH] configure.ac: Do not check for clock_gettime on MinGW.

2013-02-18 Thread Matt Turner
On Mon, Feb 18, 2013 at 10:06 PM, Vinson Lee v...@freedesktop.org wrote: MinGW does not have clock_gettime. Signed-off-by: Vinson Lee v...@freedesktop.org --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 16c2f8c..57d3a70 100644 ---

Re: [Mesa-dev] [PATCH v2] configure.ac: Do not check for clock_gettime on MinGW.

2013-02-19 Thread Matt Turner
-by: Matt Turner matts...@gmail.com ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 1/9] glsl: Consolidate ir_expression constructors that use explicit types.

2013-02-19 Thread Matt Turner
for expressions with three operands. Currently, none can be constructed since get_num_operands() never returns 3. Reviewed-by: Matt Turner matts...@gmail.com --- src/glsl/ir.cpp | 34 ++ src/glsl/ir.h | 13 - 2 files changed, 10 insertions(+), 37 deletions

[Mesa-dev] [PATCH 2/9] glsl: Rework ir_reader to handle expressions with three operands.

2013-02-19 Thread Matt Turner
From: Kenneth Graunke kenn...@whitecape.org Reviewed-by: Matt Turner matts...@gmail.com --- src/glsl/ir_reader.cpp | 45 +++-- 1 files changed, 19 insertions(+), 26 deletions(-) diff --git a/src/glsl/ir_reader.cpp b/src/glsl/ir_reader.cpp index 405e75b

[Mesa-dev] [PATCH 3/9] glsl: Convert mix() to use a new ir_triop_lrp opcode.

2013-02-19 Thread Matt Turner
in a subsequent patch and ir_triop_lrp translated directly. Reviewed-by: Matt Turner matts...@gmail.com --- src/glsl/builtins/ir/mix.ir| 14 +- src/glsl/ir.cpp|4 +++ src/glsl/ir.h |7 + src/glsl

[Mesa-dev] [PATCH 4/9] glsl: Optimize ir_triop_lrp(x, y, a) with a = 0.0f or 1.0f

2013-02-19 Thread Matt Turner
--- src/glsl/opt_algebraic.cpp | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/glsl/opt_algebraic.cpp b/src/glsl/opt_algebraic.cpp index 75948db..952941e 100644 --- a/src/glsl/opt_algebraic.cpp +++ b/src/glsl/opt_algebraic.cpp @@ -186,12 +186,12 @@

[Mesa-dev] [PATCH 6/9] i965/fs: Use the LRP instruction for ir_triop_lrp when possible.

2013-02-19 Thread Matt Turner
arguments in emit_lrp. Reviewed-by: Matt Turner matts...@gmail.com --- src/mesa/drivers/dri/i965/brw_fs.cpp |8 src/mesa/drivers/dri/i965/brw_fs.h |2 + .../dri/i965/brw_fs_channel_expressions.cpp| 16 - src/mesa/drivers/dri/i965

[Mesa-dev] [PATCH 7/9] i965/fp: Use the LRP instruction for OPCODE_LRP.

2013-02-19 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_fs_fp.cpp | 12 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_fp.cpp b/src/mesa/drivers/dri/i965/brw_fs_fp.cpp index 5f5f6a9..50e63da 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_fp.cpp +++

[Mesa-dev] [PATCH 8/9] ir_to_mesa: Translate ir_triop_lrp to OPCODE_LRP.

2013-02-19 Thread Matt Turner
--- src/mesa/program/ir_to_mesa.cpp |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 30305d2..5432323 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -1479,7

  1   2   3   4   5   6   7   8   9   10   >