Optimize further
This commit is contained in:
parent
0260aebc26
commit
4d95250052
3 changed files with 16 additions and 12 deletions
|
@ -683,12 +683,6 @@ bool DrawEngineCommon::ExtendNonIndexedPrim(GEPrimitiveType prim, int vertexCoun
|
|||
return false;
|
||||
}
|
||||
|
||||
bool applySkin = (vertTypeID & GE_VTYPE_WEIGHT_MASK) && decOptions_.applySkinInDecode;
|
||||
if (applySkin) {
|
||||
// TODO: Support this somehow.
|
||||
return false;
|
||||
}
|
||||
|
||||
_dbg_assert_(numDrawInds_ < MAX_DEFERRED_DRAW_INDS);
|
||||
_dbg_assert_(numDrawVerts_ > 0);
|
||||
*bytesRead = vertexCount * dec_->VertexSize();
|
||||
|
@ -707,6 +701,7 @@ bool DrawEngineCommon::ExtendNonIndexedPrim(GEPrimitiveType prim, int vertexCoun
|
|||
dv.vertexCount += vertexCount;
|
||||
dv.indexUpperBound = dv.vertexCount - 1;
|
||||
vertexCountInDrawCalls_ += vertexCount;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -787,10 +782,6 @@ void DrawEngineCommon::SubmitPrim(const void *verts, const void *inds, GEPrimiti
|
|||
gstate_c.Dirty(DIRTY_TEXTURE_PARAMS);
|
||||
DispatchFlush();
|
||||
}
|
||||
|
||||
if (applySkin) {
|
||||
DecodeVerts(decoded_);
|
||||
}
|
||||
}
|
||||
|
||||
void DrawEngineCommon::DecodeVerts(u8 *dest) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue