Optimize software skinning for x86.

Can't seem to get a win on Windows vs hardware skinning though, even though
draw calls drop by 2/3rd...
This commit is contained in:
Henrik Rydgard authored and Henrik Rydgård committed 2013-11-13 18:10:58 +01:00
1 parent 9333d3ea76
commit 6221dbaf5d
5 files changed
+342 -14

No files matched your search

-1
View File
@@ -1394,7 +1394,6 @@ void GLES_GPU::ExecuteOpInternal(u32 op, u32 diff) {
if (num < 96 && newVal != ((const u32 *)gstate.boneMatrix)[num]) {
// Bone matrices should NOT flush when software skinning is enabled!
// TODO: Also check for morph...
// TODO: Can't turn this optimizatoin on until we decode per drawcall when sw skinning.
if (!g_Config.bSoftwareSkinning) {
Flush();
shaderManager_->DirtyUniform(DIRTY_BONEMATRIX0 << (num / 12));