[Piglit] [PATCH 2/5] fbo-gl_pointcoord: clean up shader formatting
Brian Paul
brianp at vmware.com
Fri Sep 27 17:13:27 PDT 2013
---
tests/fbo/fbo-gl_pointcoord.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/tests/fbo/fbo-gl_pointcoord.c b/tests/fbo/fbo-gl_pointcoord.c
index b2a1ccf..e5392d1 100644
--- a/tests/fbo/fbo-gl_pointcoord.c
+++ b/tests/fbo/fbo-gl_pointcoord.c
@@ -42,14 +42,16 @@ static const char vs_text[] =
"#version 120 \n"
"void main()\n"
"{\n"
- "gl_Position = gl_Vertex;\n"
- "}\n"
- ;
+ " gl_Position = gl_Vertex;\n"
+ "}\n";
static const char fs_text[] =
"#version 120 \n"
- "void main() { gl_FragColor = vec4(gl_PointCoord.x, gl_PointCoord.y, 0.0, 1.0); }\n"
- ;
+ "void main()\n"
+ "{\n"
+ " gl_FragColor = vec4(gl_PointCoord.x, gl_PointCoord.y, 0.0, 1.0);\n"
+ "}\n";
+
static GLuint prog;
static GLuint fb, rb;
static GLuint testPoint_x, testPoint_y;
--
1.7.10.4
More information about the Piglit
mailing list