Merge branch 'master' into 1.5

This commit is contained in:
Wojtek Figat
2022-11-22 19:58:53 +01:00
40 changed files with 400 additions and 206 deletions

View File

@@ -113,6 +113,11 @@ bool ShaderAssetBase::Save()
bool IsValidShaderCache(DataContainer<byte>& shaderCache, Array<String>& includes)
{
if (shaderCache.Length() == 0)
{
return false;
}
MemoryReadStream stream(shaderCache.Get(), shaderCache.Length());
// Read cache format version