summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-getactiveuniform-count.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shaders/glsl-getactiveuniform-count.c')
-rw-r--r--tests/shaders/glsl-getactiveuniform-count.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/shaders/glsl-getactiveuniform-count.c b/tests/shaders/glsl-getactiveuniform-count.c
index 418b23364..9d5adbb05 100644
--- a/tests/shaders/glsl-getactiveuniform-count.c
+++ b/tests/shaders/glsl-getactiveuniform-count.c
@@ -65,7 +65,9 @@ piglit_init(int argc, char **argv)
expect = (int) strtol(argv[2], NULL, 0);
- piglit_require_GLSL();
+ piglit_require_vertex_shader();
+ piglit_require_fragment_shader();
+
vs = piglit_compile_shader(GL_VERTEX_SHADER, argv[1]);
fs = piglit_compile_shader(GL_FRAGMENT_SHADER,
"shaders/glsl-color.frag");