Re: [Mesa-dev] [PATCH] glsl: Don't require gl_Position to be written in GLSL 1.40.

2012-03-20 Thread Kenneth Graunke
On 03/19/2012 11:05 PM, Eric Anholt wrote: --- src/glsl/linker.cpp | 35 ++- 1 files changed, 30 insertions(+), 5 deletions(-) diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index 39169aa..471525e 100644 --- a/src/glsl/linker.cpp +++ b/src/glsl/linker

Re: [Mesa-dev] [PATCH] glsl: Don't require gl_Position to be written in GLSL 1.40.

2012-03-20 Thread Ian Romanick
On 03/19/2012 11:05 PM, Eric Anholt wrote: Reviewed-by: Ian Romanick --- src/glsl/linker.cpp | 35 ++- 1 files changed, 30 insertions(+), 5 deletions(-) diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index 39169aa..471525e 100644 --- a/src/glsl/lin

[Mesa-dev] [PATCH] glsl: Don't require gl_Position to be written in GLSL 1.40.

2012-03-19 Thread Eric Anholt
--- src/glsl/linker.cpp | 35 ++- 1 files changed, 30 insertions(+), 5 deletions(-) diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index 39169aa..471525e 100644 --- a/src/glsl/linker.cpp +++ b/src/glsl/linker.cpp @@ -258,11 +258,36 @@ validate_vertex_shad