Log in tests when using linked shaderc

This commit is contained in:
baldurk
2021-07-13 17:45:59 +01:00
parent 24af06ac3e
commit 7f13429d0e
+7
View File
@@ -271,6 +271,13 @@ std::vector<uint32_t> CompileShaderToSpv(const std::string &source_text, SPIRVTa
if(shaderc)
{
#if USE_LINKED_SHADERC
static bool logged = false;
if(!logged)
{
logged = true;
TEST_LOG("Compiling using built-in shaderc");
}
shaderc_compile_options_t opts = shaderc_compile_options_initialize();
if(lang == ShaderLang::glsl)