[Piglit] [PATCH 4/8] texsubimage-depth-formats: Require ARB_depth_texture

Ian Romanick idr at freedesktop.org
Wed May 31 05:33:42 UTC 2017


From: Ian Romanick <ian.d.romanick at intel.com>

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
 tests/texturing/texsubimage-depth-formats.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/texturing/texsubimage-depth-formats.c b/tests/texturing/texsubimage-depth-formats.c
index aa6f586..ead2811 100644
--- a/tests/texturing/texsubimage-depth-formats.c
+++ b/tests/texturing/texsubimage-depth-formats.c
@@ -170,6 +170,8 @@ load_texture(int formats_idx, int tex_size_idx)
 void
 piglit_init(int argc, char **argv)
 {
+	piglit_require_extension("GL_ARB_depth_texture");
+
 	for (int i = 1; i < argc; ++i) {
 		if (!strcmp(argv[i], "pbo")) {
 			piglit_require_extension("GL_ARB_pixel_buffer_object");
-- 
2.9.4



More information about the Piglit mailing list