tests: Add -use-BIL option
diff --git a/tests/xglrenderframework.cpp b/tests/xglrenderframework.cpp
index ce647fd..42a2105 100644
--- a/tests/xglrenderframework.cpp
+++ b/tests/xglrenderframework.cpp
@@ -242,7 +242,7 @@
createInfo.sType = XGL_STRUCTURE_TYPE_SHADER_CREATE_INFO;
createInfo.pNext = NULL;
- if (this->m_device->extension_exist("XGL_COMPILE_GLSL")) {
+ if (!this->m_use_bil && this->m_device->extension_exist("XGL_COMPILE_GLSL")) {
XGL_INTEL_COMPILE_GLSL glsl_header;
glsl_header.stage = stage;