From: Nicolai Hähnle <[email protected]>
---
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 206258c..2d127e2 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -2894,6 +2894,8 @@ piglit_display(void)
do_enable_disable(line + 7, false);
} else if (string_match("enable", line)) {
do_enable_disable(line + 6, true);
+ } else if (sscanf(line, "depthfunc %31s", s) == 1) {
+ glDepthFunc(piglit_get_gl_enum_from_name(s));
} else if (sscanf(line, "fb tex 2d %d", &tex) == 1) {
GLenum status;
GLint tex_num;
--
2.5.0
_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit