mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-10 01:28:44 +02:00
Merge pull request #1986 from kali113/fix/shader-cache-test-cleanup
test(agc): flush shader cache writes before removing test files
This commit is contained in:
@@ -1036,8 +1036,10 @@ int main(int argc, char** argv) {
|
||||
verifyVertexTypeSpecialization();
|
||||
verifyBuiltinSpecialization();
|
||||
verifySpecializationLiveness();
|
||||
ShaderRecompiler::ShaderDiskCache::Flush();
|
||||
std::error_code error;
|
||||
std::filesystem::remove_all(directory, error);
|
||||
require(!error, "cannot remove the shader cache test directory: " + error.message());
|
||||
std::cout << "shader disk cache tests passed\n";
|
||||
return 0;
|
||||
} catch (const std::exception& error) {
|
||||
|
||||
Reference in New Issue
Block a user