Re: [Mesa-dev] [PATCH 2/4] glsl: Add glsl_type::uvecN_type for N=2, 3

2010-10-07 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chad Versace wrote: > From: Chad Versace > > --- > src/glsl/builtin_types.h |3 +++ > src/glsl/glsl_types.h|2 ++ > 2 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/src/glsl/builtin_types.h b/src/glsl/builtin_types.h >

Re: [Mesa-dev] [PATCH 4/4] glsl: Fix type-checking in ast-to-hir for bitwise-not

2010-10-07 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chad Versace wrote: > From: Chad Versace > > In GLSL 1.30, the operand of bitwise-not can be of type int, uint, ivecN, or > uvecN. Previously, the ast-to-hir conversion for bitwise-not only accepted > types int and uint. This commits adds acceptance

Re: [Mesa-dev] [PATCH 3/4] glsl: Add method glsl_type::is_signed_vector()

2010-10-07 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kenneth Graunke wrote: > On Thursday 07 October 2010 16:34:47 Chad Versace wrote: >> From: Chad Versace >> >> --- >> src/glsl/glsl_types.h |9 + >> 1 files changed, 9 insertions(+), 0 deletions(-) >> >> diff --git a/src/glsl/glsl_types.h

[Mesa-dev] [PATCH 2/4] glsl: Add glsl_type::uvecN_type for N=2,3

2010-10-07 Thread Chad Versace
From: Chad Versace --- src/glsl/builtin_types.h |3 +++ src/glsl/glsl_types.h|2 ++ 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/glsl/builtin_types.h b/src/glsl/builtin_types.h index 6dabbf0..e7bed08 100644 --- a/src/glsl/builtin_types.h +++ b/src/glsl/builtin_t

[Mesa-dev] [PATCH 4/4] glsl: Fix type-checking in ast-to-hir for bitwise-not

2010-10-07 Thread Chad Versace
From: Chad Versace In GLSL 1.30, the operand of bitwise-not can be of type int, uint, ivecN, or uvecN. Previously, the ast-to-hir conversion for bitwise-not only accepted types int and uint. This commits adds acceptance for ivecN and uvecN. --- src/glsl/ast_to_hir.cpp | 17 + 1

[Mesa-dev] [PATCH 3/4] glsl: Add method glsl_type::is_signed_vector()

2010-10-07 Thread Chad Versace
From: Chad Versace --- src/glsl/glsl_types.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/glsl/glsl_types.h b/src/glsl/glsl_types.h index dccab0a..da38d48 100644 --- a/src/glsl/glsl_types.h +++ b/src/glsl/glsl_types.h @@ -249,6 +249,15 @@ struct glsl_type

[Mesa-dev] [PATCH 1/4] intel_extensions: Change code style of previous commit

2010-10-07 Thread Chad Versace
From: Chad Versace Change coding style according to Kenneth Graunke's suggestions. --- src/mesa/drivers/dri/intel/intel_extensions.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_ex

[Mesa-dev] [PATCH 0/4] glsl: Adding support for bitwise-not in GLSL parser

2010-10-07 Thread Chad Versace
From: Chad Versace I'm beginning to add support for bitwise operations (as introduced in GLSL 1.30) in the GLSL parser. This patch sequence adds support for bitwise-not. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.o

[Mesa-dev] [Bug 30694] wincopy will crash on r600g when going to front buffer

2010-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30694 --- Comment #1 from Kevin DeKorte 2010-10-07 15:54:35 PDT --- Tested with r600g, color tiling is off and application is xdemos/wincopy -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this ma

[Mesa-dev] [Bug 30694] New: wincopy will crash on r600g when going to front buffer

2010-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30694 Summary: wincopy will crash on r600g when going to front buffer Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal

Re: [Mesa-dev] GLSL support for ARB_shader_stencil_export

2010-10-07 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave Airlie wrote: > http://cgit.freedesktop.org/~airlied/mesa/commit/?h=gallium-stencil-export&id=136bffc4e5c10ff4f2f4c240f552e8bff0b783e5 > > is my initial patch, but I know its wrong, so I'm wondering how to I > add per-extension builtin-variables,

Re: [Mesa-dev] Mesa (master): r600g: use constant buffer instead of register for constant

2010-10-07 Thread Keith Whitwell
Hmm, this seems to have been transient issue - a few more package updates & everything's working again... Sorry for the noise... Keith On Wed, Oct 6, 2010 at 2:25 PM, Jerome Glisse wrote: > On Wed, Oct 6, 2010 at 5:19 AM, Keith Whitwell wrote: >> Yes, I belive so (at work now, so can't double-

Re: [Mesa-dev] shader stencil export v(x+1)

2010-10-07 Thread Roland Scheidegger
Haven't really looked closely at it, but the new formats look good to me now. A bit inconsistent though that you added the X32_S8X24_USCALED format but not the corresponding Z32_X8X24_FLOAT format, but that's not really a deal breaker I guess. Also I'd like to see the docs mention somewhere it's il

[Mesa-dev] [Bug 30481] OpenVG demos does not launch

2010-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30481 --- Comment #14 from Sergey Kondakov 2010-10-07 05:26:30 PDT --- ok, they do launch now but drawn incorrectly (if it can be counted as "drawn") on my r300g hardware. i will file another report about that and this should be regarded as FIXED if i

[Mesa-dev] GLSL support for ARB_shader_stencil_export

2010-10-07 Thread Dave Airlie
http://cgit.freedesktop.org/~airlied/mesa/commit/?h=gallium-stencil-export&id=136bffc4e5c10ff4f2f4c240f552e8bff0b783e5 is my initial patch, but I know its wrong, so I'm wondering how to I add per-extension builtin-variables, or any example of this that exists already. Dave. __

[Mesa-dev] [Bug 30629] glDraw[Range]Elements end is out of bounds

2010-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30629 Fabio Pedretti changed: What|Removed |Added Resolution|INVALID |NOTOURBUG -- Configure bugmail: https:

[Mesa-dev] [Bug 30629] glDraw[Range]Elements end is out of bounds

2010-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30629 Fabio Pedretti changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 30481] OpenVG demos does not launch

2010-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30481 --- Comment #13 from David Gorst 2010-10-07 01:05:16 PDT --- Sorry - for some reason I didn't get this change last time I did a "git pull" - sigh. I see you've already picked up on it. It's working fine now. Many thanks, Dave. (In reply to comm

[Mesa-dev] [Bug 30481] OpenVG demos does not launch

2010-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30481 --- Comment #12 from David Gorst 2010-10-07 00:33:57 PDT --- It seems to think the version is 0.0 ... (In reply to comment #11) > This is odd - if I comment out this section in vg_manager.c the context is > created fine : > >/* only 1.0 is

[Mesa-dev] [Bug 30481] OpenVG demos does not launch

2010-10-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30481 --- Comment #11 from David Gorst 2010-10-07 00:31:43 PDT --- This is odd - if I comment out this section in vg_manager.c the context is created fine : /* only 1.0 is supported */ if (attribs->major != 1 || attribs->minor > 0) return NULL;