summaryrefslogtreecommitdiff
path: root/tests/texturing/zero-tex-coord.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/texturing/zero-tex-coord.c')
-rw-r--r--tests/texturing/zero-tex-coord.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/texturing/zero-tex-coord.c b/tests/texturing/zero-tex-coord.c
index 98f3629b9..b81eac119 100644
--- a/tests/texturing/zero-tex-coord.c
+++ b/tests/texturing/zero-tex-coord.c
@@ -181,6 +181,9 @@ make_program(void)
if (glsl_version > 0) {
p += sprintf(p, "#version %i\n", glsl_version);
piglit_require_GLSL_version(glsl_version);
+ } else {
+ piglit_require_vertex_shader();
+ piglit_require_fragment_shader();
}
if (sample_function->extension) {