vpfp-generic has a syntax for calling glMultiTexCoord4fv in its test scripts. By adding this to shader_runner, we'll be able to replace all uses of vpfp-generic for ARB programs.
Signed-off-by: Kenneth Graunke <kenn...@whitecape.org> --- tests/shaders/shader_runner.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c index 1827e08..c45c955 100644 --- a/tests/shaders/shader_runner.c +++ b/tests/shaders/shader_runner.c @@ -2672,6 +2672,9 @@ piglit_display(void) glTexParameteri(GL_TEXTURE_2D_ARRAY, GL_TEXTURE_COMPARE_FUNC, GL_GREATER); + } else if (sscanf(line, "texcoord %d ( %f , %f , %f , %f )", + &x, c + 0, c + 1, c + 2, c + 3) == 5) { + glMultiTexCoord4fv(GL_TEXTURE0 + x, c); } else if (string_match("texparameter ", line)) { handle_texparameter(line + strlen("texparameter ")); } else if (string_match("uniform", line)) { -- 2.4.2 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit