--- tests/shaders/shader_runner.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c index 4dfed5d..4299e34 100644 --- a/tests/shaders/shader_runner.c +++ b/tests/shaders/shader_runner.c @@ -3670,6 +3670,24 @@ piglit_display(void) else set_texture_binding(tex, tex_obj, w, h, d); +#ifdef PIGLIT_USE_OPENGL + } else if (sscanf(line, + "texture rgbw 1D %d", + &tex) == 1) { + glActiveTexture(GL_TEXTURE0 + tex); + const GLuint handle = piglit_rgbw_texture_1d(); + set_texture_binding(tex, handle, 4, 1, 1); +#endif + +#if defined(PIGLIT_USE_OPENGL) || defined(PIGLIT_USE_OPENGL_ES3) + } else if (sscanf(line, + "texture rgbw 3D %d", + &tex) == 1) { + glActiveTexture(GL_TEXTURE0 + tex); + const GLuint handle = piglit_rgbw_texture_3d(); + set_texture_binding(tex, handle, 2, 2, 2); +#endif + } else if (sscanf(line, "texture rgbw 2DArray %d ( %d , %d , %d )", &tex, &w, &h, &l) == 4) { -- 2.7.4 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit