Commit Graph
2102 Commits
Author SHA1 Message Date
Henrik Rydgard 2eb6a4e2f2 Fix a warning, rename some parameters, etc. 2014-03-08 10:40:43 +01:00
Sacha 05571df8ec Use a VLDM in Vertex Decoder. 2014-03-07 14:25:05 +10:00
Unknown W. Brackets 4fbb245382 Avoid leaving the fast runloop on jumps.
Jumps are actually very common in some games, like FF4 and Crisis Core,
and tons more.  They are used to jump around vertex data.

Improves performance by a few percent in FF4.
2014-03-05 23:24:18 -08:00
Unknown W. Brackets 505b0c388f Fix a typo. 2014-03-04 07:37:32 -08:00
Henrik Rydgard e11e4cfff2 GCC buildfix 2014-03-04 11:38:33 +01:00
Unknown W. Brackets b1acde2679 Oops, forgot the world matrix too.
VerySleepy is telling me that time is spent in WORLDMATRIXDATA in games,
but I didn't check the perf impact exactly.  It's probably small, but may
help some games.
2014-03-04 01:09:04 -08:00
Unknown W. Brackets 9e35822d16 Try to load view and model matrices a bit faster. 2014-03-04 00:37:28 -08:00
Unknown W. Brackets a8f9635e28 Optimize loading of texgen matrices.
Pretty small impact, may help games that use them a lot.
2014-03-04 00:23:10 -08:00
Unknown W. Brackets d60b0272fa Avoid flushing if the bone matrix is the same. 2014-03-04 00:17:16 -08:00
Unknown W. Brackets eb04031975 Try to optimize inline matrix loads.
Improves performance by a few percent in Gods Eater Burst.
2014-03-04 00:11:03 -08:00
Unknown W. Brackets f124e7dddc Fix a minor typo. 2014-03-03 00:21:04 -08:00
Unknown W. Brackets c7437bbe8e Fix some minor warnings. 2014-03-03 00:08:32 -08:00
Henrik Rydgård c2f76ac549 Merge pull request #5594 from unknownbrackets/gpu-minor
Fix some software skinning glitches
2014-03-03 13:32:03 +07:00
Unknown W. Brackets fb63dad54e vertexjit: Implement Morph pos/nrm variants on x86. 2014-03-02 20:11:40 -08:00
Unknown W. Brackets e08e9d8e89 Flush if morphing, even if only weight changed.
Fixes more graphical glitches that happen when software skinning is enabled.
2014-03-02 20:09:18 -08:00
Unknown W. Brackets ecf9479d5a Always flush bone matrices when morph is enabled.
Fixes graphical glitches in Shadow of Destiny and LittleBigPlanet with
software skinning enabled.  Maybe the other games in #5304.
2014-03-02 18:20:16 -08:00
Unknown W. Brackets 0a880b09ad Allow fast bone mtx loads w/o software skinning. 2014-03-02 18:12:40 -08:00
Unknown W. Brackets 4f1236c2ba Don't use replaceImages for texture scaling = auto. 2014-03-02 01:39:41 -08:00
Unknown W. Brackets 034ae337b7 Handle texture scaling when render res is auto. 2014-03-02 01:39:40 -08:00
Unknown W. Brackets 15a608a6b9 Check for kernel textures in kernel ram properly.
Textures can perfectly legitimately be in volatile ram.
2014-03-01 16:11:56 -08:00
Henrik Rydgård db59559a92 Reduce the "Ret: Stack Empty" log level to DEBUG.
Still reporting. Avoids logspam in buggy games.
2014-02-25 21:23:21 +07:00
Henrik Rydgård b7651b61c7 Merge pull request #5546 from chinhodado/fixes
some minor fixes and changes
2014-02-23 19:12:42 +07:00
chinhodado aae9d43e7d remove some redundant brackets 2014-02-22 23:26:20 -05:00
chinhodado 9bd07d4c9c remove a redundant assignment 2014-02-22 23:08:26 -05:00
chinhodado d110d4e3cf change to correct enums 2014-02-20 21:29:00 -05:00
chinhodado cb39a5d978 fix buffer overflow 2014-02-19 12:07:45 -05:00
Henrik Rydgard 9c4d9461d4 Detect bad mipmap sizes, autogen mipmaps in this case. Might help part of #2603
(outrun)
2014-02-17 11:42:03 +01:00
Unknown W. Brackets be9194b887 Try harder to show a useful post shader error.
It's worth seeing the error quickly, but mostly will need to look at the
log.
2014-02-16 01:25:33 -08:00
Unknown W. Brackets 592e8ca253 Update reporting as soon as the game boots.
This way if it starts with "read framebuffers" but it's switched off, it
will notice properly.
2014-02-15 15:18:01 -08:00
Unknown W. Brackets 97192388b6 Clamp float z in throughmode, rather than wrapping.
Matches tests, fixes sky in Tales of Eternia (#4572.)
2014-02-13 08:03:56 -08:00
Henrik Rydgård 79549e4acc PosS16Through: Treat Z as unsigned. 2014-02-13 11:59:47 +01:00
Henrik Rydgard 14018bd763 Apply the fog fix to software transform as well. See #2387 2014-02-12 11:13:49 +01:00
Henrik Rydgard 9e6d7abf4e Minor cleanup 2014-02-12 11:10:44 +01:00
Henrik Rydgard 8b6b491820 Remove obsolete outputWidth/outputHeight 2014-02-10 12:44:35 +01:00
Unknown W. Brackets ad8488ecc4 Reset reporting on a new game.
This way "once" and "spam" no longer persist between runs.  Makes it
easier to test a bunch of games in a row without restarting in between.
2014-02-09 17:39:16 -08:00
Unknown W. Brackets 7380c5b664 Stop showing z = 1.0 for non through in debugger.
Oops.
2014-02-09 00:33:15 -08:00
Unknown W. Brackets e7eca477b0 Add a tab to show vertex values to the GE debugger.
Should be pretty useful, especially for depth issues.
2014-02-08 22:03:29 -08:00
Unknown W. Brackets cd4cd77938 Clean up defines in MSVC project files.
This way they're all basically the same.  A lot of cases where
debug/release/etc. where inconsistent...

Also, define USING_WIN_UI.
2014-02-08 16:38:44 -08:00
Unknown W. Brackets d2108a962e Switch from USING_GLES2 to MOBILE_DEVICE.
Still using USING_GLES2 for, well, GLES2.  But for things that are really
about mobile, we need a new define.  Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
Unknown W. Brackets 2c204e8028 Update project to MSVC 2013 tools.
Retaining XP support, using SDK 7.1a (v120_xp.)  Disables SSE2 flag on x64
since it's implied and causes compile warnings.
2014-02-08 13:41:28 -08:00
Henrik Rydgård ca8311b4b8 Fix post processing shader list on Android. Fixes #5330.
This simply removes an old workaround that's no longer needed due to a
bug fix.
2014-02-04 13:20:36 +01:00
Bovine 2c0df8db79 Fixed infrequent segfault in CheckAlpha
pixelData was allocated with stride shorts per row and then advanced as
stride ints per row (reading every other row).  Upshot: fully solid
16-bit textures with alpha channels should now properly categorize as
ALPHA_FULL
2014-02-02 13:51:45 -07:00
Henrik Rydgård 1f363d8af3 Merge pull request #5240 from unknownbrackets/texcache
Correct CheckAlpha() for un-rearranged textures
2014-01-27 01:03:46 -08:00
Henrik Rydgård d055954a83 Merge pull request #5241 from DanyalZia/patch-50
Properly show OSD information of resolution
2014-01-27 01:01:13 -08:00
DanyalZia afc36d557e Properly show OSD information of resolution 2014-01-27 11:46:09 +05:00
Unknown W. Brackets b626daca59 Correct CheckAlpha() for un-rearranged textures.
Fixes #4403.  It was just not seeing the alpha when a texture had a large
bufw and a small w, and transparent only near the bottom - as in FF1's case.
2014-01-26 19:39:34 -08:00
Ced2911 2ab34b5704 [gpu] Endian fix 2014-01-26 14:29:30 -08:00
DanyalZia 61a15c1465 Fix a bug where changing resolution wouldn't make a difference on a fly 2014-01-26 19:02:21 +05:00
Unknown W. Brackets b034b992df Only copy dirty depth buffers between FBOs.
We can remove this if/when we track them separately.  This may break a
game that depends on the depth carrying over between several FBOs, but
that's not extremely likely.

This improves performance in Gods Eater Burst.
2014-01-24 01:44:24 -08:00
sum2012 3c72623061 Fix "Integer divide by zero 0" in Spline.cpp 2014-01-23 05:45:28 +08:00