[5/5] khr_compressed_astc-miptree requires GL_ARB_ES3_compatibility

Submitted by Anuj Phogat on March 21, 2016, 6:54 p.m.

Details

Message ID 1458586453-1323-5-git-send-email-anuj.phogat@gmail.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in Piglit

Not browsing as part of any series.

Commit Message

Anuj Phogat March 21, 2016, 6:54 p.m.
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
---
 tests/spec/khr_texture_compression_astc/khr_compressed_astc-miptree.c | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

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);