Re: [Piglit] [PATCH] glsl-1.50: Remove gl_Position from fragment shader.

2013-08-23 Thread Paul Berry
On 22 August 2013 22:37, Kenneth Graunke kenn...@whitecape.org wrote:

 This must've been cut and pasted from a vertex shader by accident.

 Signed-off-by: Kenneth Graunke kenn...@whitecape.org
 Cc: Nicholas Mack nichm...@gmail.com
 ---
  tests/spec/glsl-1.50/compiler/layout-global-only.frag | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/tests/spec/glsl-1.50/compiler/layout-global-only.frag
 b/tests/spec/glsl-1.50/compiler/layout-global-only.frag
 index e1aa65b..55b7811 100644
 --- a/tests/spec/glsl-1.50/compiler/layout-global-only.frag
 +++ b/tests/spec/glsl-1.50/compiler/layout-global-only.frag
 @@ -12,5 +12,5 @@
  void main()
  {
 layout(pixel_center_integer) vec4 fc;
 -   gl_Position = fc;
 +   gl_FragColor = vec4(1.);
  }


Reviewed-by: Paul Berry stereotype...@gmail.com
___
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit


[Piglit] [PATCH] glsl-1.50: Remove gl_Position from fragment shader.

2013-08-22 Thread Kenneth Graunke
This must've been cut and pasted from a vertex shader by accident.

Signed-off-by: Kenneth Graunke kenn...@whitecape.org
Cc: Nicholas Mack nichm...@gmail.com
---
 tests/spec/glsl-1.50/compiler/layout-global-only.frag | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/spec/glsl-1.50/compiler/layout-global-only.frag 
b/tests/spec/glsl-1.50/compiler/layout-global-only.frag
index e1aa65b..55b7811 100644
--- a/tests/spec/glsl-1.50/compiler/layout-global-only.frag
+++ b/tests/spec/glsl-1.50/compiler/layout-global-only.frag
@@ -12,5 +12,5 @@
 void main()
 {
layout(pixel_center_integer) vec4 fc;
-   gl_Position = fc;
+   gl_FragColor = vec4(1.);
 }
-- 
1.8.3.4

___
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit