[Piglit] [PATCH] builtin_varyings: enable GL_POINT_SMOOTH

Vadim Girlin vadimgirlin at gmail.com
Wed Jan 18 10:29:39 PST 2012


Otherwise point size clamping breaks gl_PointSize subtest
---
 .../spec/ext_transform_feedback/builtin-varyings.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/spec/ext_transform_feedback/builtin-varyings.c b/tests/spec/ext_transform_feedback/builtin-varyings.c
index 1fec203..4aea344 100644
--- a/tests/spec/ext_transform_feedback/builtin-varyings.c
+++ b/tests/spec/ext_transform_feedback/builtin-varyings.c
@@ -489,6 +489,7 @@ piglit_init(int argc, char **argv)
 	glGenBuffers(1, &xfb_buf);
 	glGenQueries(1, &query);
 	glEnable(GL_VERTEX_PROGRAM_TWO_SIDE);
+	glEnable(GL_POINT_SMOOTH);
 }
 
 struct vertex_data {
-- 
1.7.7.5



More information about the Piglit mailing list