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

Kenneth Graunke kenneth at whitecape.org
Thu Aug 22 22:37:36 PDT 2013


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

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Cc: Nicholas Mack <nichmack at 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



More information about the Piglit mailing list