[Piglit] [PATCH 5/5] khr_compressed_astc-miptree requires GL_ARB_ES3_compatibility

Anuj Phogat anuj.phogat at gmail.com
Mon Mar 21 18:54:13 UTC 2016


Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
---
 tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree.c b/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree.c
index 6429c2e..a90bc2f 100644
--- a/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree.c
+++ b/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree.c
@@ -343,6 +343,9 @@ piglit_init(int argc, char **argv)
 
 	piglit_require_extension("GL_KHR_texture_compression_astc_ldr");
 
+	if (!piglit_is_gles())
+		piglit_require_extension("GL_ARB_ES3_compatibility");
+
 	glClearColor(0.9098, 0.8314, 0.7843, 1.0);
 	glViewport(0, 0, piglit_width, piglit_height);
 
-- 
2.5.0



More information about the Piglit mailing list