[Piglit] [PATCH 3/8] getteximage-depth: Require ARB_depth_texture

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


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

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

diff --git a/tests/texturing/getteximage-depth.c b/tests/texturing/getteximage-depth.c
index 2986962..bc79466 100644
--- a/tests/texturing/getteximage-depth.c
+++ b/tests/texturing/getteximage-depth.c
@@ -592,6 +592,8 @@ piglit_init(int argc, char **argv)
 	enum piglit_result status = PIGLIT_PASS;
 	bool ret;
 
+	piglit_require_extension("GL_ARB_depth_texture");
+
 	for (i = 0; i < ARRAY_SIZE(target_list); i++) {
 
 		switch (target_list[i]) {
-- 
2.9.4



More information about the Piglit mailing list