mirror of https://github.com/AxioDL/metaforce.git
Re-enable shader prewarm
This commit is contained in:
parent
8df8b99fb1
commit
e5ad650e32
|
@ -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
2
hecl
|
@ -1 +1 @@
|
|||
Subproject commit ef71db799ab99f0aa18d477688c8ad46c85fc014
|
||||
Subproject commit f34428da95799da40293793587e3a4f211f0ff78
|
Loading…
Reference in New Issue