[Mesa-dev] [PATCH 1/1] glsl: warning: pragma `invariant(all)' not supported in GLSL ES 1.00

2012-07-06 Thread Oliver McFadden
The OpenGL(R) ES Shading Language Version 1.00 Revision 17 (12 May, 2009) > 4.6.1 The Invariant Qualifier > ... To force all output variables to be invariant, use the pragma > #pragma STDGL invariant(all) Signed-off-by: Oliver McFadden --- src/glsl/glsl_parser.yy |2 +- 1 files c

Re: [Mesa-dev] [PATCH 1/1] glsl: warning: pragma `invariant(all)' not supported in GLSL ES 1.00

2012-07-08 Thread Oliver McFadden
On Fri, Jul 06, 2012 at 02:18:12PM -0700, Eric Anholt wrote: > Oliver McFadden writes: > > > The OpenGL(R) ES Shading Language > > Version 1.00 Revision 17 (12 May, 2009) > > > >> 4.6.1 The Invariant Qualifier > >> ... To force all output variables to

Re: [Mesa-dev] [PATCH] Revert "glsl: warning: pragma `invariant(all)' not supported in GLSL ES 1.00"

2012-08-05 Thread Oliver McFadden
s wrong: state->Const.GLSL_100ES is set if the driver > >> supports GLSL ES 1.00, but doesn't mean that the language version > >> being parsed actually /is/ ES. state->language_version == 100 is the > >> right way to do that. > >> > >

[Mesa-dev] [RFC][PATCH 1/1] intel: add ANGLE_texture_compression_dxt extension support.

2012-08-24 Thread oliver . mcfadden
From: Oliver McFadden http://angleproject.googlecode.com/svn/trunk/extensions/ANGLE_texture_compression_dxt.txt Signed-off-by: Oliver McFadden --- src/glx/glxextensions.h |1 + src/mapi/glapi/gen/es_EXT.xml | 13 + src/mesa/drivers/dri

Re: [Mesa-dev] [RFC][PATCH 1/1] intel: add ANGLE_texture_compression_dxt extension support.

2012-08-26 Thread Oliver McFadden
On Fri, Aug 24, 2012 at 08:12:22AM -0700, Ian Romanick wrote: > On 08/24/2012 03:16 AM, oliver.mcfad...@linux.intel.com wrote: > > From: Oliver McFadden > > > > http://angleproject.googlecode.com/svn/trunk/extensions/ANGLE_texture_compression_dxt.txt > > >

[Mesa-dev] [PATCH 1/2] main: add _mesa_is_gles1() and _mesa_is_gles2() inline functions.

2012-09-04 Thread Oliver McFadden
From: Oliver McFadden Signed-off-by: Oliver McFadden --- src/mesa/main/context.h | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h index e238752..b37ddc7 100644 --- a/src/mesa/main/context.h +++ b/src

[Mesa-dev] [PATCH 2/2] intel: add ANGLE_texture_compression_dxt extension support.

2012-09-04 Thread Oliver McFadden
From: Oliver McFadden http://www.khronos.org/registry/gles/extensions/ANGLE/ANGLE_texture_compression_dxt.txt Signed-off-by: Oliver McFadden --- src/glx/glxextensions.h |1 + src/mapi/glapi/gen/es_EXT.xml |6 ++ src/mesa/drivers/dri/intel

Re: [Mesa-dev] [PATCH 1/2] main: add _mesa_is_gles1() and _mesa_is_gles2() inline functions.

2012-09-05 Thread Oliver McFadden
On Tue, Sep 04, 2012 at 11:09:21AM -0700, Ian Romanick wrote: > On 09/04/2012 04:53 AM, Oliver McFadden wrote: > > From: Oliver McFadden > > > > Signed-off-by: Oliver McFadden > > --- > > src/mesa/main/context.h | 20 > > 1 files

Re: [Mesa-dev] [PATCH 1/2] main: add _mesa_is_gles1() and _mesa_is_gles2() inline functions.

2012-09-05 Thread Oliver McFadden
On Tue, Sep 04, 2012 at 10:37:58AM -0700, Matt Turner wrote: > On Tue, Sep 4, 2012 at 4:53 AM, Oliver McFadden > wrote: > > From: Oliver McFadden > > > > Signed-off-by: Oliver McFadden > > --- > > src/mesa/main/context.h | 20 >

Re: [Mesa-dev] [PATCH 2/2] intel: add ANGLE_texture_compression_dxt extension support.

2012-09-05 Thread Oliver McFadden
On Tue, Sep 04, 2012 at 11:08:41AM -0700, Ian Romanick wrote: > On 09/04/2012 04:53 AM, Oliver McFadden wrote: > > From: Oliver McFadden > > > > http://www.khronos.org/registry/gles/extensions/ANGLE/ANGLE_texture_compression_dxt.txt > > > > Signed-off-by: Olive

Re: [Mesa-dev] [PATCH 2/2] intel: add ANGLE_texture_compression_dxt extension support.

2012-09-05 Thread Oliver McFadden
On Tue, Sep 04, 2012 at 09:16:38AM -0600, Brian Paul wrote: > On 09/04/2012 05:53 AM, Oliver McFadden wrote: > > From: Oliver McFadden > > > > http://www.khronos.org/registry/gles/extensions/ANGLE/ANGLE_texture_compression_dxt.txt > > > > Signed-off-by: Oliv

Re: [Mesa-dev] [PATCH 2/2] intel: add ANGLE_texture_compression_dxt extension support.

2012-09-05 Thread Oliver McFadden
it just adds maintenance > > burden. > > OK. Any volunteers to start removing the FEATURE_x lines? If nobody else wants to take this work, I'll do it. I suspect most if it could be done with unifdef (or sed) and possible white-space cleanup afterwards. Would you prefer one b

[Mesa-dev] [PATCH 1/2] mesa: GLES specifies restrictions on uniform matrix transpose.

2012-05-14 Thread Oliver McFadden
GL_INVALID_VALUE is generated if transpose is not GL_FALSE. http://www.khronos.org/opengles/sdk/docs/man/xhtml/glUniform.xml Signed-off-by: Oliver McFadden --- src/mesa/main/uniform_query.cpp | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/mesa/main

[Mesa-dev] [PATCH 2/2] mesa: print the Git SHA1 in GL_VERSION for ES1 and ES2.

2012-05-14 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/version.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index 607230b..90afecb 100644 --- a/src/mesa/main/version.c +++ b/src/mesa/main/version.c @@ -259,7

Re: [Mesa-dev] [PATCH 1/2] mesa: GLES specifies restrictions on uniform matrix transpose.

2012-05-14 Thread Oliver McFadden
On Mon, May 14, 2012 at 07:26:10AM -0600, Brian Paul wrote: > On 05/14/2012 05:56 AM, Oliver McFadden wrote: > > GL_INVALID_VALUE is generated if transpose is not GL_FALSE. > > > > http://www.khronos.org/opengles/sdk/docs/man/xhtml/glUniform.xml > > > &g

[Mesa-dev] [PATCH v2 1/2] mesa: GLES specifies restrictions on uniform matrix transpose.

2012-05-14 Thread Oliver McFadden
GL_INVALID_VALUE is generated if transpose is not GL_FALSE. http://www.khronos.org/opengles/sdk/docs/man/xhtml/glUniform.xml Signed-off-by: Oliver McFadden Reviewed-by: Brian Paul --- src/mesa/main/uniform_query.cpp | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff

[Mesa-dev] [PATCH v2 2/2] mesa: print the Git SHA1 in GL_VERSION for ES1 and ES2.

2012-05-14 Thread Oliver McFadden
Signed-off-by: Oliver McFadden Reviewed-by: Brian Paul --- src/mesa/main/version.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index 607230b..90afecb 100644 --- a/src/mesa/main/version.c +++ b/src/mesa

Re: [Mesa-dev] [PATCH 1/2] mesa: GLES specifies restrictions on uniform matrix transpose.

2012-05-14 Thread Oliver McFadden
On Mon, May 14, 2012 at 07:50:34AM -0600, Brian Paul wrote: > On 05/14/2012 07:45 AM, Oliver McFadden wrote: > > On Mon, May 14, 2012 at 07:26:10AM -0600, Brian Paul wrote: > >> On 05/14/2012 05:56 AM, Oliver McFadden wrote: > >>> GL_INVALID_VALUE is generate

Re: [Mesa-dev] [PATCH 1/2] mesa: GLES specifies restrictions on uniform matrix transpose.

2012-05-14 Thread Oliver McFadden
On Mon, May 14, 2012 at 08:01:07AM -0600, Brian Paul wrote: > On 05/14/2012 07:56 AM, Oliver McFadden wrote: > > On Mon, May 14, 2012 at 07:50:34AM -0600, Brian Paul wrote: > > >> IMO, for trivial fixes like that you don't need to post v2 patches. > >> Just co

[Mesa-dev] [RFC PATCH 1/1] i965: avoid possible 'SIGFPE, Arithmetic exception.' during error path.

2012-05-14 Thread Oliver McFadden
off-by: Oliver McFadden --- RFC: I am unsure whether this is the correct solution or whether the verification should be done in the higher level code? I think it's kind of nasty to do this on the driver level, right when we're about to emit the vertices. I'm not even sure t

Re: [Mesa-dev] [PATCH 1/2] mesa: GLES specifies restrictions on uniform matrix transpose.

2012-05-14 Thread Oliver McFadden
On Mon, May 14, 2012 at 11:46:15AM -0700, Ian Romanick wrote: > On 05/14/2012 04:56 AM, Oliver McFadden wrote: > > GL_INVALID_VALUE is generated if transpose is not GL_FALSE. > > > > http://www.khronos.org/opengles/sdk/docs/man/xhtml/glUniform.xml > > > &g

[Mesa-dev] [PATCH 1/1] mesa: stub the _mesa_StencilOp function.

2012-05-18 Thread Oliver McFadden
The device driver function table only implements StencilOpSeparate(), let's remove the obsolete 'todo' comment and code duplication. Signed-off-by: Oliver McFadden --- src/mesa/drivers/common/meta.c |4 +- src/mesa/main/stencil.c| 75 ++-

Re: [Mesa-dev] [PATCH 1/1] mesa: stub the _mesa_StencilOp function.

2012-05-18 Thread Oliver McFadden
On Fri, May 18, 2012 at 11:27:24AM -0600, Brian Paul wrote: > On 05/18/2012 05:24 AM, Oliver McFadden wrote: > > The device driver function table only implements StencilOpSeparate(), > > let's remove the obsolete 'todo' comment and code duplication. > >

Re: [Mesa-dev] [PATCH 1/1] mesa: stub the _mesa_StencilOp function.

2012-05-21 Thread Oliver McFadden
On Fri, May 18, 2012 at 11:17:00PM +0300, Oliver McFadden wrote: > On Fri, May 18, 2012 at 11:27:24AM -0600, Brian Paul wrote: > > On 05/18/2012 05:24 AM, Oliver McFadden wrote: > > > The device driver function table only implements StencilOpSeparate(), > > > let&

[Mesa-dev] [PATCH 1/1] mesa: initial work for OES_vertex_type_10_10_10_2 extension support.

2012-05-22 Thread Oliver McFadden
Currently not supported by any driver implementation; this only adds the API framework. Signed-off-by: Oliver McFadden --- src/mesa/main/APIspec.xml |7 +++ src/mesa/main/extensions.c |1 + src/mesa/main/glheader.h |5 + src/mesa/main/mtypes.h |1 + src/mesa/main

Re: [Mesa-dev] [PATCH 1/1] mesa: initial work for OES_vertex_type_10_10_10_2 extension support.

2012-05-22 Thread Oliver McFadden
000 here for a reason? Oops, that was a mistake. Thanks for pointing that out. If everything else is OK and I get some Reviewed-by's I'll fix that up and push it. -- Oliver McFadden. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 1/1] mesa: initial work for OES_vertex_type_10_10_10_2 extension support.

2012-05-22 Thread Oliver McFadden
On Tue, May 22, 2012 at 07:32:57AM -0600, Brian Paul wrote: > On 05/22/2012 03:52 AM, Oliver McFadden wrote: > > On Tue, May 22, 2012 at 10:02:59AM +0100, Dave Airlie wrote: > >> just a observation below, > >>> diff --git a/src/mesa/main/varray.c b/src/mesa/mai

Re: [Mesa-dev] [PATCH 1/1] mesa: initial work for OES_vertex_type_10_10_10_2 extension support.

2012-05-22 Thread Oliver McFadden
On Tue, May 22, 2012 at 03:32:27PM -0700, Eric Anholt wrote: > On Tue, 22 May 2012 10:55:36 +0300, Oliver McFadden > wrote: > > Currently not supported by any driver implementation; this only adds the > > API framework. > > I'd like to see a driver implementation an

[Mesa-dev] [PATCH 1/1] mesa: meta_glsl_clear_init() use of "out" is not compatible with ES2.0.

2012-05-25 Thread Oliver McFadden
Discovered by Eric Anholt's recent changes to the i965 driver GL clear logic while executing some of the Khronos conformance tests. Signed-off-by: Oliver McFadden --- src/mesa/drivers/common/meta.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/mesa/dr

Re: [Mesa-dev] [PATCH 1/1] mesa: meta_glsl_clear_init() use of "out" is not compatible with ES2.0.

2012-05-25 Thread Oliver McFadden
On Fri, May 25, 2012 at 11:18:07AM +0300, Oliver McFadden wrote: > Discovered by Eric Anholt's recent changes to the i965 driver GL clear > logic while executing some of the Khronos conformance tests. Oops. I didn't fix this completely; please ignore while I roll a new patch. &g

[Mesa-dev] [PATCH 2/2] mesa: glsl: allow ES2 to report support for GLSL versions >= 1.20

2012-05-25 Thread Oliver McFadden
) and only on gen6+ hardware (which claims support for GLSL 1.30) Signed-off-by: Oliver McFadden --- src/glsl/glsl_parser_extras.cpp |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp index 46f21dd..0c3c

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

2012-05-25 Thread Oliver McFadden
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/src/mesa/drivers/common/meta.c index 95336fc

Re: [Mesa-dev] [PATCH 2/2] mesa: glsl: allow ES2 to report support for GLSL versions >= 1.20

2012-05-25 Thread Oliver McFadden
On Fri, May 25, 2012 at 01:13:13PM -0700, Eric Anholt wrote: > On Fri, 25 May 2012 16:16:30 +0300, Oliver McFadden > wrote: > > This bug was discovered while running the Khronos conformance test suite > > on i965 classic driver and receiving "implementation error: meta pro

Re: [Mesa-dev] [PATCH 2/2] mesa: glsl: allow ES2 to report support for GLSL versions >= 1.20

2012-05-26 Thread Oliver McFadden
On Fri, May 25, 2012 at 03:14:32PM -0700, Ian Romanick wrote: > On 05/25/2012 01:13 PM, Eric Anholt wrote: > > On Fri, 25 May 2012 16:16:30 +0300, Oliver > > McFadden wrote: > >> This bug was discovered while running the Khronos conformance test suite > >> on

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

2012-05-26 Thread Oliver McFadden
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 the ES2 API and only on gen6+ hardware. Signed-off-

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

2012-05-26 Thread Oliver McFadden
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/src/mesa/drivers/common/meta.c index 95336fc

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 &g

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 > wrote: > > Mesa 8.1-devel implementation error: meta program compile failed: > > �� > > I think this is the wrong fix. From the GL 3.0 spec: > >

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 > wrote: > > On Sat, May 26, 2012 at 10:22:17AM +0300, Oliver McFadden wrote: > >> Discovered while running the Khronos conformance test suite and > >> r

Re: [Mesa-dev] [PATCH] intel: Change vendor string to "Intel® Open Source Technology Center".

2012-06-01 Thread Oliver McFadden
the only one (or maybe I am just an idiot who can't setup encodings correctly.) Wouldn't "Intel(R) Open Source ..." be sufficient? > > > Thanks, > pq > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev -- Oliver McFadden. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] intel: Change vendor string to "Intel® Open Source Technology Center".

2012-06-01 Thread Oliver McFadden
On Fri, Jun 01, 2012 at 11:23:17AM -0400, Adam Jackson wrote: > On 6/1/12 3:33 AM, Oliver McFadden wrote: > > > Furthermore it actually doesn't render correctly with my encodings > > (en_GB and en_US: UTF-8 and ISO-8859-1, and various Finnish and Swedish > &

Re: [Mesa-dev] [PATCH 1/2] main: add _mesa_is_gles1() and _mesa_is_gles2() inline functions.

2012-09-05 Thread Oliver McFadden
On Wed, Sep 05, 2012 at 08:50:11AM -0700, Matt Turner wrote: > On Wed, Sep 5, 2012 at 2:29 AM, Oliver McFadden > wrote: > > Dependencies > > Requires OpenGL ES 2.0. > > The extension is written against the OpenGL ES 2.0 specification. > > > > I am unsure wheth

Re: [Mesa-dev] [PATCH 2/2] intel: add ANGLE_texture_compression_dxt extension support.

2012-09-05 Thread Oliver McFadden
On Wed, Sep 05, 2012 at 08:11:55AM -0600, Brian Paul wrote: > On 09/05/2012 03:38 AM, Oliver McFadden wrote: > > On Tue, Sep 04, 2012 at 12:41:12PM -0600, Brian Paul wrote: > >> On 09/04/2012 12:08 PM, Ian Romanick wrote: > >>> On 09/04/2012 08:16 AM, Brian Paul wrote

Re: [Mesa-dev] [PATCH 2/2] intel: add ANGLE_texture_compression_dxt extension support.

2012-09-10 Thread Oliver McFadden
On Thu, Sep 06, 2012 at 08:37:35AM +0300, Oliver McFadden wrote: > On Wed, Sep 05, 2012 at 08:11:55AM -0600, Brian Paul wrote: > > On 09/05/2012 03:38 AM, Oliver McFadden wrote: > > > On Tue, Sep 04, 2012 at 12:41:12PM -0600, Brian Paul wrote: > > >> On 09/04/201

[Mesa-dev] [PATCH 00/45] Remove many of the FEATURE_* defines.

2012-09-11 Thread Oliver McFadden
"rewrite the whole series" (although that's usually how things turn out.) Regards. -- Oliver McFadden. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 01/45] mesa: remove FEATURE_dispatch define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/context.c |2 -- src/mesa/main/mfeatures.h |1 - 2 files changed, 0 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 6b28690..dbd79e9 100644 --- a/src/mesa/main/context.c +++ b/src/mesa

[Mesa-dev] [PATCH 02/45] mesa: remove FEATURE_texgen define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/mfeatures.h |1 - src/mesa/main/texgen.c|6 -- src/mesa/main/texgen.h| 22 -- 3 files changed, 0 insertions(+), 29 deletions(-) diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h index

[Mesa-dev] [PATCH 03/45] mesa: remove FEATURE_userclip define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/enable.c|2 -- src/mesa/main/matrix.c|2 -- src/mesa/main/mfeatures.h |2 -- 3 files changed, 0 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index 14eea53..78ce471 100644 --- a/src

[Mesa-dev] [PATCH 04/45] mesa: replace FEATURE_accum with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/accum.c |4 ++-- src/mesa/main/accum.h |6 +++--- src/mesa/main/mfeatures.h |1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/accum.c b/src/mesa/main/accum.c index 16c26168..1eb8ad9 100644 --- a

[Mesa-dev] [PATCH 08/45] mesa: replace FEATURE_colortable with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/colortab.c |4 ++-- src/mesa/main/colortab.h |6 +++--- src/mesa/main/mfeatures.h |1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/colortab.c b/src/mesa/main/colortab.c index f20dee6..5f06815 100644

[Mesa-dev] [PATCH 09/45] mesa: replace FEATURE_convolve with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/convolve.c |4 ++-- src/mesa/main/convolve.h |6 +++--- src/mesa/main/mfeatures.h |1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/convolve.c b/src/mesa/main/convolve.c index 74f28da..df7d5de 100644

[Mesa-dev] [PATCH 06/45] mesa: replace FEATURE_attrib_stack with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/attrib.c|4 ++-- src/mesa/main/attrib.h|6 +++--- src/mesa/main/mfeatures.h |1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index 806cf09..de518da 100644

[Mesa-dev] [PATCH 13/45] mesa: replace FEATURE_evaluators with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/eval.c|4 ++-- src/mesa/main/eval.h|6 +++--- src/mesa/main/mfeatures.h |1 - src/mesa/vbo/vbo_exec_api.c |4 ++-- src/mesa/vbo/vbo_noop.c |4 ++-- 5 files changed, 9 insertions(+), 10 deletions(-) diff

[Mesa-dev] [PATCH 07/45] mesa: replace FEATURE_beginend with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/api_loopback.c |4 ++-- src/mesa/main/api_loopback.h |6 +++--- src/mesa/main/mfeatures.h|4 +--- src/mesa/main/vtxfmt.c |4 ++-- src/mesa/main/vtxfmt.h |6 +++--- src/mesa/vbo/vbo_exec.h |6 +++--- src

[Mesa-dev] [PATCH 05/45] mesa: replace FEATURE_arrayelt with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/api_arrayelt.c |4 ++-- src/mesa/main/api_arrayelt.h |6 +++--- src/mesa/main/mfeatures.h|3 +-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/mesa/main/api_arrayelt.c b/src/mesa/main/api_arrayelt.c index

[Mesa-dev] [PATCH 11/45] mesa: replace FEATURE_draw_read_buffer with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/api_exec.c |6 +++--- src/mesa/main/mfeatures.h |1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index c448189..695b045 100644 --- a/src/mesa/main/api_exec.c +++ b

[Mesa-dev] [PATCH 10/45] mesa: replace FEATURE_dlist with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/context.c |2 +- src/mesa/main/dlist.c|6 +++--- src/mesa/main/dlist.h|6 +++--- src/mesa/main/mfeatures.h|1 - src/mesa/vbo/vbo_context.h |2 +- src/mesa/vbo/vbo_save.c

[Mesa-dev] [PATCH 14/45] mesa: replace FEATURE_feedback with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/drivers/common/meta.c|6 +++--- src/mesa/main/feedback.c |4 ++-- src/mesa/main/feedback.h |6 +++--- src/mesa/main/mfeatures.h |1 - src/mesa/state_tracker/st_cb_feedback.c

[Mesa-dev] [PATCH 12/45] mesa: replace FEATURE_drawpix with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/drawpix.c |4 ++-- src/mesa/main/drawpix.h |6 +++--- src/mesa/main/mfeatures.h |1 - src/mesa/state_tracker/st_cb_bitmap.c |4 ++-- src/mesa/state_tracker/st_cb_bitmap.h

[Mesa-dev] [PATCH 23/45] mesa: replace FEATURE_OES_draw_texture with FEATURE_ES1 define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/drivers/common/meta.c |4 ++-- src/mesa/main/drawtex.c|4 ++-- src/mesa/main/drawtex.h|4 ++-- src/mesa/main/extensions.c |2 +- src/mesa/main/mfeatures.h |1 - src

[Mesa-dev] [PATCH 17/45] mesa: replace FEATURE_rastpos with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/mfeatures.h |1 - src/mesa/main/rastpos.c |4 ++-- src/mesa/main/rastpos.h |6 +++--- src/mesa/state_tracker/st_cb_rasterpos.c |4 ++-- src/mesa/state_tracker/st_cb_rasterpos.h

[Mesa-dev] [PATCH 15/45] mesa: replace FEATURE_pixel_transfer with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/mfeatures.h |1 - src/mesa/main/pixel.c |4 ++-- src/mesa/main/pixel.h |6 +++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h index d604c69..73f7074

[Mesa-dev] [PATCH 21/45] mesa: replace FEATURE_point_size_array with FEATURE_ES define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/arrayobj.c |2 +- src/mesa/main/enable.c|4 ++-- src/mesa/main/ffvertex_prog.c |2 +- src/mesa/main/getstring.c |2 +- src/mesa/main/mfeatures.h |2 -- 5 files changed, 5 insertions(+), 7 deletions(-) diff

[Mesa-dev] [PATCH 18/45] mesa: replace FEATURE_texture_fxt1 with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/extensions.c |2 +- src/mesa/main/formats.c |2 +- src/mesa/main/mfeatures.h|1 - src/mesa/main/texcompress.c |2 +- src/mesa/main/texcompress_fxt1.c |4 ++-- src/mesa/main/texcompress_fxt1.h |6

[Mesa-dev] [PATCH 25/45] mesa: remove FEATURE_ARB_fragment_shader define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/extensions.c |4 src/mesa/main/mfeatures.h |3 +-- src/mesa/main/shaderapi.c |6 -- 3 files changed, 1 insertions(+), 12 deletions(-) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 795ccaf

[Mesa-dev] [PATCH 16/45] mesa: replace FEATURE_queryobj with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/dlist.c | 10 +- src/mesa/main/extensions.c |2 +- src/mesa/main/mfeatures.h |1 - src/mesa/main/queryobj.c|4 ++-- src/mesa/main/queryobj.h|6

[Mesa-dev] [PATCH 29/45] mesa: remove FEATURE_OES_EGL_image define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/drivers/dri/intel/intel_extensions.c |2 -- src/mesa/drivers/dri/intel/intel_fbo.c|5 - src/mesa/drivers/dri/intel/intel_tex_image.c |5 - src/mesa/drivers/dri/r200/r200_context.c |3 --- src/mesa/drivers/dri

[Mesa-dev] [PATCH 28/45] mesa: remove FEATURE_EXT_pixel_buffer_object define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/extensions.c |4 src/mesa/main/mfeatures.h |3 +-- src/mesa/main/pixelstore.c |6 -- 3 files changed, 1 insertions(+), 12 deletions(-) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 92cba41

[Mesa-dev] [PATCH 22/45] mesa: replace FEATURE_es2_glsl with FEATURE_ES2 define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/api_validate.c |2 +- src/mesa/main/mfeatures.h|2 -- src/mesa/program/program.c |2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/api_validate.c b/src/mesa/main/api_validate.c index d0d2ca4

[Mesa-dev] [PATCH 19/45] mesa: replace FEATURE_texture_s3tc with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/extensions.c |2 +- src/mesa/main/formats.c|2 +- src/mesa/main/mfeatures.h |2 -- src/mesa/main/texcompress.c|2 +- src/mesa/main/texcompress_s3tc.c |4 ++-- src/mesa/main

[Mesa-dev] [PATCH 27/45] mesa: remove FEATURE_EXT_framebuffer_object define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/drivers/dri/nouveau/nouveau_fbo.c |2 -- src/mesa/drivers/dri/radeon/radeon_fbo.c |2 -- src/mesa/main/api_exec.c |6 -- src/mesa/main/context.c|2 -- src/mesa/main/dlist.c

[Mesa-dev] [PATCH 20/45] mesa: remove unused FEATURE_extra_context_init define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/mfeatures.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h index 1cbeed6..b9e1c55 100644 --- a/src/mesa/main/mfeatures.h +++ b/src/mesa/main/mfeatures.h @@ -84,7 +84,6

[Mesa-dev] [PATCH 31/45] mesa: remove unused FEATURE_OES_framebuffer_object define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/mfeatures.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h index ab0ba7b..4653581 100644 --- a/src/mesa/main/mfeatures.h +++ b/src/mesa/main/mfeatures.h @@ -103,6

[Mesa-dev] [PATCH 35/45] mesa: replace FEATURE_ARB_framebuffer_object with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/api_exec.c |2 +- src/mesa/main/extensions.c |4 ++-- src/mesa/main/mfeatures.h |1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index 560052b..091d980 100644

[Mesa-dev] [PATCH 38/45] mesa: replace FEATURE_ARB_sampler_objects with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/api_exec.c |4 ++-- src/mesa/main/mfeatures.h |1 - src/mesa/main/shared.c|8 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index 1816d93..74be12f

[Mesa-dev] [PATCH 33/45] mesa: replace FEATURE_NV_(fragment|vertex)_program with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/api_exec.c |6 ++-- src/mesa/main/dlist.c | 30 ++-- src/mesa/main/enable.c| 24 +++--- src/mesa/main/extensions.c|6

[Mesa-dev] [PATCH 26/45] mesa: remove FEATURE_ARB_shader_objects and related defines.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/api_exec.c |6 -- src/mesa/main/context.c|4 src/mesa/main/extensions.c | 10 +- src/mesa/main/fbobject.c |2 -- src/mesa/main/getstring.c |2 -- src/mesa/main/mfeatures.h |3 --- src/mesa/main

[Mesa-dev] [PATCH 24/45] mesa: remove FEATURE_ARB_vertex_shader define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/context.c|2 -- src/mesa/main/extensions.c |4 src/mesa/main/mfeatures.h |3 +-- src/mesa/main/shaderapi.c |9 + 4 files changed, 2 insertions(+), 16 deletions(-) diff --git a/src/mesa/main/context.c b/src/mesa

[Mesa-dev] [PATCH 30/45] mesa: remove unused FEATURE_OES_mapbuffer define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/mfeatures.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h index 38903bc..ab0ba7b 100644 --- a/src/mesa/main/mfeatures.h +++ b/src/mesa/main/mfeatures.h @@ -104,6

[Mesa-dev] [PATCH 36/45] mesa: replace FEATURE_ARB_map_buffer_range with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/api_exec.c |2 +- src/mesa/main/dlist.c |2 +- src/mesa/main/mfeatures.h |1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index 091d980..1816d93 100644 --- a

[Mesa-dev] [PATCH 34/45] mesa: remove FEATURE_ARB_(fragment|vertex)_program defines.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/api_exec.c |6 -- src/mesa/main/context.c|5 + src/mesa/main/dlist.c | 20 src/mesa/main/enable.c |8 src/mesa/main/extensions.c | 12 src/mesa/main/getstring.c

[Mesa-dev] [PATCH 37/45] mesa: replace FEATURE_ARB_pixel_buffer_object with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/context.c |2 +- src/mesa/main/mfeatures.h |1 - 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 57bd1a7..61a9aa1 100644 --- a/src/mesa/main/context.c +++ b/src/mesa

[Mesa-dev] [PATCH 43/45] mesa: replace FEATURE_APPLE_object_purgeable with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/drivers/dri/intel/intel_buffer_objects.c |4 ++-- src/mesa/main/api_exec.c |2 +- src/mesa/main/bufferobj.c |4 ++-- src/mesa/main/bufferobj.h |2 +- src/mesa/main

[Mesa-dev] [PATCH 42/45] mesa: replace FEATURE_EXT_transform_feedback with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/drivers/common/meta.c |6 +++--- src/mesa/main/api_validate.c |2 +- src/mesa/main/api_validate.h |2 +- src/mesa/main/bufferobj.c |2 +- src/mesa/main/dlist.c |4 ++-- src

[Mesa-dev] [PATCH 45/45] mesa: remove obsolete comments from mfeatures.h

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/mfeatures.h | 27 --- 1 files changed, 0 insertions(+), 27 deletions(-) diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h index 36724bd..3162a0b 100644 --- a/src/mesa/main/mfeatures.h +++ b/src/mesa/main

[Mesa-dev] [PATCH 32/45] mesa: remove unused FEATURE_NV_fence define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/mfeatures.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h index 4653581..d46906d 100644 --- a/src/mesa/main/mfeatures.h +++ b/src/mesa/main/mfeatures.h @@ -99,7 +99,6

[Mesa-dev] [PATCH 40/45] mesa: replace FEATURE_EXT_framebuffer_blit with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/drivers/dri/nouveau/nouveau_driver.c |2 +- src/mesa/drivers/dri/radeon/radeon_fbo.c |2 +- src/mesa/main/api_exec.c |2 +- src/mesa/main/dlist.c |6 +++--- src/mesa/main/extensions.c

[Mesa-dev] [PATCH 39/45] mesa: replace FEATURE_ARB_sync with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/extensions.c |2 +- src/mesa/main/get.c|8 src/mesa/main/mfeatures.h |2 -- src/mesa/main/syncobj.c|4 ++-- src/mesa/main/syncobj.h|6 +++--- 5 files changed, 10 insertions(+), 12 deletions(-) diff

[Mesa-dev] [PATCH 44/45] mesa: replace FEATURE_ATI_fragment_shader with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/atifragshader.c |4 ++-- src/mesa/main/atifragshader.h |6 +++--- src/mesa/main/dlist.c |8 src/mesa/main/enable.c|6 +++--- src/mesa/main/extensions.c|2 +- src/mesa/main/mfeatures.h |2

[Mesa-dev] [PATCH 41/45] mesa: replace FEATURE_EXT_texture_sRGB with FEATURE_GL define.

2012-09-11 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/extensions.c |4 ++-- src/mesa/main/formats.c|4 ++-- src/mesa/main/glformats.c |4 ++-- src/mesa/main/mfeatures.h |1 - src/mesa/main/texcompress.c|2 +- src/mesa/main

[Mesa-dev] [PATCH 1/1] main: validate the type correctly against the OpenGL ES spec.

2012-09-11 Thread Oliver McFadden
/specs/3.0/es_spec_3.0.0.pdf Signed-off-by: Oliver McFadden --- src/mesa/main/api_validate.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/api_validate.c b/src/mesa/main/api_validate.c index d0d2ca4..698394c 100644 --- a/src/mesa/main

Re: [Mesa-dev] [PATCH 00/45] Remove many of the FEATURE_* defines.

2012-09-11 Thread Oliver McFadden
On Tue, Sep 11, 2012 at 07:59:38AM -0600, Brian Paul wrote: > On 09/11/2012 03:56 AM, Oliver McFadden wrote: > > Hi, > > > > As requested here is the patch series which removes many of the FEATURE_* > > defines, typically used to enable or disable some GL feature or ext

Re: [Mesa-dev] [PATCH 1/1] main: validate the type correctly against the OpenGL ES spec.

2012-09-11 Thread Oliver McFadden
On Tue, Sep 11, 2012 at 07:54:36AM -0600, Brian Paul wrote: > On 09/11/2012 06:09 AM, Oliver McFadden wrote: > > Previously Mesa would validate UNSIGNED_INT successfully in violation of > > the OpenGL(R) ES 1.0 and 2.0 Specification. > > > > http://www.khronos.

Re: [Mesa-dev] [PATCH 1/1] main: validate the type correctly against the OpenGL ES spec.

2012-09-12 Thread Oliver McFadden
On Tue, Sep 11, 2012 at 11:15:18AM -0600, Brian Paul wrote: > On 09/11/2012 10:21 AM, Oliver McFadden wrote: > > On Tue, Sep 11, 2012 at 07:54:36AM -0600, Brian Paul wrote: > >> On 09/11/2012 06:09 AM, Oliver McFadden wrote: > >>> Previously Mesa would validat

[Mesa-dev] [PATCH 02/47] mesa: remove FEATURE_texgen define.

2012-09-13 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/mfeatures.h |1 - src/mesa/main/texgen.c|6 -- src/mesa/main/texgen.h| 22 -- 3 files changed, 0 insertions(+), 29 deletions(-) diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h index

[Mesa-dev] [PATCH 04/47] mesa: remove FEATURE_accum define.

2012-09-13 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/accum.c |6 -- src/mesa/main/accum.h | 31 --- src/mesa/main/mfeatures.h |1 - 3 files changed, 0 insertions(+), 38 deletions(-) diff --git a/src/mesa/main/accum.c b/src/mesa/main/accum.c index

[Mesa-dev] [PATCH 05/47] mesa: remove FEATURE_arrayelt define.

2012-09-13 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/api_arrayelt.c |6 -- src/mesa/main/api_arrayelt.h | 30 -- src/mesa/main/mfeatures.h|3 +-- 3 files changed, 1 insertions(+), 38 deletions(-) diff --git a/src/mesa/main/api_arrayelt.c b/src/mesa/main

[Mesa-dev] [PATCH v2 00/45] Remove many of the FEATURE_* defines.

2012-09-13 Thread Oliver McFadden
somewhat cold-addled brain hasn't fscked up and made any mistakes. You may wish to pay special attention to patch #46, but I believe it's fine. Regards. -- Oliver McFadden. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.

[Mesa-dev] [PATCH 06/47] mesa: remove FEATURE_attrib_stack define.

2012-09-13 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/main/attrib.c|6 -- src/mesa/main/attrib.h| 23 --- src/mesa/main/mfeatures.h |1 - 3 files changed, 0 insertions(+), 30 deletions(-) diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index 806cf09

[Mesa-dev] [PATCH 14/47] mesa: remove FEATURE_feedback define.

2012-09-13 Thread Oliver McFadden
Signed-off-by: Oliver McFadden --- src/mesa/drivers/common/meta.c|6 src/mesa/main/feedback.c |6 src/mesa/main/feedback.h | 37 - src/mesa/main/mfeatures.h |1 - src/mesa

  1   2   3   >