Fix deprecated assertions from streamable assets (streaming uses job system now)
This commit is contained in:
@@ -714,8 +714,6 @@ Task* Model::CreateStreamingTask(int32 residency)
|
||||
}
|
||||
else
|
||||
{
|
||||
ASSERT(IsInMainThread());
|
||||
|
||||
// Do the quick data release
|
||||
for (int32 i = HighestResidentLODIndex(); i < LODs.Count() - residency; i++)
|
||||
LODs[i].Unload();
|
||||
|
||||
@@ -826,8 +826,6 @@ Task* SkinnedModel::CreateStreamingTask(int32 residency)
|
||||
}
|
||||
else
|
||||
{
|
||||
ASSERT(IsInMainThread());
|
||||
|
||||
// Do the quick data release
|
||||
for (int32 i = HighestResidentLODIndex(); i < LODs.Count() - residency; i++)
|
||||
LODs[i].Unload();
|
||||
|
||||
@@ -427,8 +427,6 @@ Task* StreamingTexture::CreateStreamingTask(int32 residency)
|
||||
}
|
||||
else
|
||||
{
|
||||
ASSERT(IsInMainThread());
|
||||
|
||||
// Check if trim the mips down to 0 (full texture release)
|
||||
if (residency == 0)
|
||||
{
|
||||
@@ -437,7 +435,7 @@ Task* StreamingTexture::CreateStreamingTask(int32 residency)
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO: create task for reducing texture quality, or update SRV now (it's MainThread now so it's safe)
|
||||
// TODO: create task for reducing texture quality, or update SRV now
|
||||
MISSING_CODE("add support for streaming quality down");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user