Remove gstate_c.deferredVertTypeDirty

This commit is contained in:
Henrik Rydgård 2018-03-02 14:52:44 +01:00
parent 40db61a680
commit fcdb816235
2 changed files with 0 additions and 7 deletions

View file

@ -1427,12 +1427,6 @@ void GPUCommon::Execute_VertexType(u32 op, u32 diff) {
gstate.vertType ^= diff;
if (diff & (GE_VTYPE_TC_MASK | GE_VTYPE_THROUGH_MASK))
gstate_c.Dirty(DIRTY_UVSCALEOFFSET);
// In this case, we may be doing weights and morphs.
// Update any bone matrix uniforms so it uses them correctly.
if ((op & GE_VTYPE_MORPHCOUNT_MASK) != 0) {
gstate_c.Dirty(gstate_c.deferredVertTypeDirty);
gstate_c.deferredVertTypeDirty = 0;
}
gstate_c.Dirty(DIRTY_VERTEXSHADER_STATE);
}
if (diff & GE_VTYPE_THROUGH_MASK)

View file

@ -557,7 +557,6 @@ struct GPUStateCache {
bool allowShaderBlend;
float morphWeights[8];
u32 deferredVertTypeDirty;
u32 curTextureWidth;
u32 curTextureHeight;