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

Anuj Phogat anuj.phogat at gmail.com
Thu Jul 7 23:28:09 UTC 2016


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

diff --git a/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree-array.c b/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree-array.c
index e332bad..199924c 100644
--- a/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree-array.c
+++ b/tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree-array.c
@@ -263,6 +263,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.5



More information about the Piglit mailing list