mirror of
https://gitee.com/openharmony/third_party_vulkan-loader
synced 2024-12-20 05:48:22 +00:00
testframework: Enable BIL as default
Also added --no-BIL option to use built-in GLSL compiler.
This commit is contained in:
parent
5fd1ffd2e5
commit
e692368974
@ -101,7 +101,7 @@ XglTestFramework::~XglTestFramework()
|
||||
// Define all the static elements
|
||||
bool XglTestFramework::m_show_images = false;
|
||||
bool XglTestFramework::m_save_images = false;
|
||||
bool XglTestFramework::m_use_bil = false;
|
||||
bool XglTestFramework::m_use_bil = true;
|
||||
int XglTestFramework::m_width = 0;
|
||||
int XglTestFramework::m_height = 0;
|
||||
int XglTestFramework::m_window = 0;
|
||||
@ -129,6 +129,11 @@ void XglTestFramework::InitArgs(int *argc, char *argv[])
|
||||
continue;
|
||||
}
|
||||
|
||||
if (strncmp("--no-BIL", argv[i], 13) == 0) {
|
||||
m_use_bil = false;
|
||||
continue;
|
||||
}
|
||||
|
||||
/*
|
||||
* Since the above "consume" inputs, update argv
|
||||
* so that it contains the trimmed list of args for glutInit
|
||||
|
Loading…
Reference in New Issue
Block a user