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

Reply via email to