[ATOM-14935] MaterialHotReloadTest Fails On Second Try (#1384)
[ATOM-14544] Add Reset() function to IShaderVariantFinder ShaderVariantAsyncLoader::Reset() now Shutdown and Init(). It clears the cache of ShaderVariantAssets it keeps in memory. Signed-off-by: garrieta <garrieta@amazon.com>
This commit is contained in:
@@ -323,9 +323,8 @@ namespace AZ
|
||||
|
||||
void ShaderVariantAsyncLoader::Reset()
|
||||
{
|
||||
// [GFX TODO ATOM-14544] Idealy we want to be able to reset the ShaderVariantAsyncLoader but this is causing some problems that need to be worked out first.
|
||||
//Shutdown();
|
||||
//Init();
|
||||
Shutdown();
|
||||
Init();
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user