mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-27 20:31:02 +00:00
Log in tests when using linked shaderc
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user