Commit Graph

10250 Commits

Author SHA1 Message Date
Sacha
e6320f2726 Add a CPU Extensions tab to Developer's System Info. 2013-11-15 01:18:29 +10:00
Sacha
a74718c54f Snapdragon Plus also has IDIV. Clean up for ArmCPUDetect. 2013-11-15 01:18:29 +10:00
Henrik Rydgård
e98d0d8327 Merge pull request #4510 from pal1000/master
Cwcheat: Allow comments in cheat files starting with // mainly for writing cheat usage guidelines
2013-11-14 07:14:21 -08:00
Henrik Rydgård
dd83584d2d Merge pull request #4538 from shenweip/patch-5
Wrap some empty functions.
2013-11-14 07:13:36 -08:00
shenweip
9bc534d54a Wrap some empty functions. 2013-11-14 22:43:00 +08:00
Henrik Rydgard
d6d54c8bb4 Fix a couple of bugs in vtxdec 2013-11-14 15:06:51 +01:00
Henrik Rydgard
dc03796ccb The bone matrix optimization is only safe when software skinning 2013-11-14 15:02:22 +01:00
Henrik Rydgard
9521d0e0a6 NormalizeVertices should not try to skin if we've already software-skinned. 2013-11-14 14:34:47 +01:00
Henrik Rydgard
9f750e6b83 This isn't needed. 2013-11-14 14:18:22 +01:00
Henrik Rydgard
3b63ef7005 Remove the SubmitPrim param forceIndexType, optimize BBOX more. 2013-11-14 14:03:03 +01:00
Henrik Rydgard
8c562a615f Bone matrix loading speedup. Bit of a hack but seems reliable enough. 2013-11-14 14:02:31 +01:00
Henrik Rydgard
003cb41db5 Oops, that was too much logging on startup. 2013-11-14 12:32:59 +01:00
Henrik Rydgard
35ae239eb9 Optimize bbox some more 2013-11-14 12:25:53 +01:00
Henrik Rydgard
4f93654a88 Oops, accidentally enabled some bbox debugging code 2013-11-14 11:49:06 +01:00
Henrik Rydgard
6f5701816e Define _M_SSE on Android x86 - it's not a standard define 2013-11-14 11:44:14 +01:00
Henrik Rydgard
9d4ece0f58 Robustify the ELF loader a little - it didn't like unaligned addresses.. 2013-11-14 11:44:14 +01:00
Henrik Rydgard
8a69543ec4 BBOX: Transform the planes by the matrix so we don't need to transform the box 2013-11-14 11:44:13 +01:00
Henrik Rydgard
871d8b28ab Assorted vtxdec x86 optimizations 2013-11-14 11:44:13 +01:00
Sacha
eaa52c4a61 VertexDecoder: Aligned code seems to help Symbian (armv6) performance. It is also used for CPU JIT so there's likely a reason. 2013-11-14 15:30:07 +10:00
Henrik Rydgard
ff1d53c9c7 vtxdec x86: Don't load bones unless software skinning is enabled 2013-11-14 00:56:24 +01:00
Henrik Rydgard
a9b365aa71 Fix for possible misalignment crash on x86 2013-11-14 00:37:04 +01:00
Henrik Rydgård
a6ee2648d0 Merge pull request #4531 from hrydgard/software-skinning
Software skinning
2013-11-13 12:54:41 -08:00
Henrik Rydgård
da380478f6 Enable software skinning by default 2013-11-13 19:55:20 +01:00
Henrik Rydgård
999e844ced Merge pull request #4530 from aapo/master
Maemo5: added !defined(MAEMO) as !defined(MEEGO_EDITION_HARMATTAN)
2013-11-13 10:19:41 -08:00
Henrik Rydgård
9bbdd1907d Kind-of optimized ARM software skinning (non-NEON) 2013-11-13 18:11:35 +01:00
Henrik Rydgård
821a2f10f8 Delete obsolete code 2013-11-13 18:10:58 +01:00
Henrik Rydgard
6221dbaf5d 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...
2013-11-13 18:10:58 +01:00
Henrik Rydgard
9333d3ea76 Vtx dec jit: Combine the scale and offset registers to save 1 more xmm register. 2013-11-13 18:10:58 +01:00
Henrik Rydgard
f0cacf46d0 No reason to involve the FPU when loading matrices 2013-11-13 18:10:58 +01:00
Henrik Rydgard
6976d6a3a0 Enable the softskinning optimizations that let us merge drawcalls 2013-11-13 18:10:57 +01:00
Henrik Rydgard
179934ec9f Decode step by step when sw skinning 2013-11-13 18:10:57 +01:00
Henrik Rydgard
46313ced55 Prepare transform pipeline for step by step decoding 2013-11-13 18:10:57 +01:00
Henrik Rydgard
4f78eda23b Save a couple of registers in the x86 vertex decoder jit by SIMD-ing prescale UV 2013-11-13 18:10:57 +01:00
Henrik Rydgard
7e67476b00 Simple unoptimized software skinning.
Does not take advantage of the possible reduction in state changes yet.
2013-11-13 18:10:57 +01:00
Aapo Rantalainen
c2586523fe Maemo5: added !defined(MAEMO) as !defined(MEEGO_EDITION_HARMATTAN) 2013-11-13 18:23:18 +02:00
Henrik Rydgård
3e6c2f0c78 Update native 2013-11-13 17:10:44 +01:00
Henrik Rydgård
ab3fe9ba86 Extract the software transform code into its own file. 2013-11-13 14:56:34 +01:00
Henrik Rydgård
ddf5b695ac Update ArmEmitter with Sonic1's new NEON emitters. Thanks! 2013-11-13 11:34:47 +01:00
Henrik Rydgård
a0c6b18134 CPUDetect x86: Detect FMA support 2013-11-13 10:47:05 +01:00
Henrik Rydgård
836820b41e Merge branch 'vfpucc' 2013-11-13 10:03:51 +01:00
Henrik Rydgård
67ca4419fe Fix minor bug where we didn't clear dirtyUniforms if early-outing from UpdateUniform. 2013-11-13 10:02:58 +01:00
Sacha
04b338f39e Buildfix for sse2 builds. 2013-11-13 12:08:46 +10:00
Sacha
08803c101e Remove MathUtil.{cpp,h} 2013-11-13 11:26:12 +10:00
Henrik Rydgård
a2748c074c Merge pull request #4524 from thedax/fixWindows
Fix Windows build, and VS2013 build.
2013-11-12 16:05:36 -08:00
The Dax
563ab40cd5 Remove include. 2013-11-12 18:41:22 -05:00
The Dax
d56114e30d Fix VS2013. 2013-11-12 18:37:06 -05:00
The Dax
0b609b72fb Fix Windows build. 2013-11-12 18:26:32 -05:00
Sacha
8597893e14 Fix Blackberry QWERTY default values. 2013-11-13 04:22:21 +10:00
Sacha
ba28ece947 Remove unused StdConditionalVar 2013-11-13 03:52:12 +10:00
Henrik Rydgård
ef8631c57f Cache VFPU_CTRL_CC in a register 2013-11-12 17:58:29 +01:00