[Piglit] [PATCH 09/10] shader_runner: add finish command
Jordan Justen
jordan.l.justen at intel.com
Wed Oct 16 01:33:13 CEST 2013
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
tests/shaders/shader_runner.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index 65b9bea..5409ba7 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -1939,6 +1939,8 @@ piglit_display(void)
*strchrnul(print_to_eol, '\n') = '\0';
printf("%s\n", print_to_eol);
free(print_to_eol);
+ } else if (string_match("finish", line)) {
+ glFinish();
} else if ((line[0] != '\n') && (line[0] != '\0')
&& (line[0] != '#')) {
printf("unknown command \"%s\"\n", line);
--
1.7.10.4
More information about the Piglit
mailing list