mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-26 08:26:50 +00:00
Don't use sleep for test compilation at all, rely on pclose to wait
This commit is contained in:
@@ -518,15 +518,7 @@ std::vector<uint32_t> CompileShaderToSpv(const std::string &source_text, SPIRVTa
|
||||
return ret;
|
||||
}
|
||||
|
||||
msleep(400);
|
||||
|
||||
int code = pclose(pipe);
|
||||
|
||||
if(code != 0)
|
||||
{
|
||||
TEST_ERROR("Invoking %s failed: %s.", externalCompiler.c_str(), command_line.c_str());
|
||||
return ret;
|
||||
}
|
||||
pclose(pipe);
|
||||
|
||||
f = fopen(outfile.c_str(), "rb");
|
||||
if(f)
|
||||
|
||||
Reference in New Issue
Block a user