Re-enable shader prewarm

This commit is contained in:
Jack Andersen 2017-11-07 16:25:19 -10:00
parent 8df8b99fb1
commit e5ad650e32
2 changed files with 2 additions and 4 deletions

View File

@ -647,14 +647,12 @@ void CBooModel::WarmupDrawSurface(const CBooSurface& surf) const
const ModelInstance& inst = m_instances[m_uniUpdateCount-1];
// Only warmup normal lighting and thermal visor
#if 0
for (int i=1 ; i<=2 ; ++i)
{
boo::IShaderDataBinding* binding = inst.m_shaderDataBindings[surf.selfIdx][i];
auto& binding = inst.m_shaderDataBindings[surf.selfIdx][i];
CGraphics::SetShaderDataBinding(binding);
CGraphics::DrawArrayIndexed(surf.m_data.idxStart, std::min(u32(3), surf.m_data.idxCount));
}
#endif
}
void CBooModel::UVAnimationBuffer::ProcessAnimation(u8*& bufOut, const UVAnimation& anim)

2
hecl

@ -1 +1 @@
Subproject commit ef71db799ab99f0aa18d477688c8ad46c85fc014
Subproject commit f34428da95799da40293793587e3a4f211f0ff78