Commit Graph
3430 Commits
Author SHA1 Message Date
Henrik Rydgård a7d0ea586f Merge pull request #3776 from raven02/patch-9
Allow attach valid FB in FB_BUFFERED_MODE only (exactMatch)
2013-09-15 04:54:48 -07:00
Henrik Rydgard cc6681cd0b Compile Ced's DX9 GPU on Windows. Not hooked up yet.
This needs work, has several problems that must be fixed to run on Windows.

Ced, you'll have to fix up your xb project file a bit, sorry.
2013-09-15 12:52:44 +02:00
raven02 cda902f02a Attemp to fix Kingdom Heart , Valkyrie Profile & Tales Of Phantasia 2013-09-15 18:00:56 +08:00
Henrik Rydgard 7482804fbf Merge branch 'dx9gpu' of https://github.com/Ced2911/ppsspp into Ced2911-dx9gpu 2013-09-15 11:40:50 +02:00
raven02 500c401fb7 Allow attach valid FB in FB_BUFFERED_MODE only (exactMatch) 2013-09-15 17:28:33 +08:00
Henrik Rydgård 3101f100ce Merge pull request #3774 from raven02/patch-8
Zeroize destination alpha as well when stencil test disabled.
2013-09-15 01:42:01 -07:00
Henrik Rydgård 8c9b593824 Merge pull request #3770 from unknownbrackets/softgpu
Crashes/cleanup in softgpu, fix a couple warnings, remove some unused gstate_c
2013-09-15 00:25:13 -07:00
raven02 b3bac26265 Only zeroize dst alpha when both stencil and depth testing disabled. 2013-09-15 14:10:57 +08:00
raven02 ecdc82fb19 Zeroize destination alpha as well when stencil test disabled. 2013-09-15 12:49:28 +08:00
Unknown W. Brackets 16fc684578 Don't clear the shader cache on savestate.
Well, it's small, but there should be no point.
2013-09-14 20:32:37 -07:00
Unknown W. Brackets 50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Unknown W. Brackets 26f935bbe5 Bypass vertex decoder z scaling.
Everything is compared against the u16 value.  This should be correct for
throughmode at least.
2013-09-14 15:48:11 -07:00
Unknown W. Brackets 68f61e5071 Remove some unused gstate_c values. 2013-09-14 14:36:06 -07:00
Unknown W. Brackets 242879b0ea Remove a bunch of debug logs, sync with gles.
This may fix bad vertex/index addresses, or crashes from the matrix
arrays.  The debug logging is better replaced with "dump this frame".
2013-09-14 14:28:37 -07:00
Unknown W. Brackets 8ddbc0a9ab Don't allow boneMatrixNumber to go outside bounds.
Just from the GLES code.

Fixes the Monster Hunter 3rd demo crash, but not sure why it's trying to
use crazy numbers in the first place...
2013-09-14 14:10:50 -07:00
Unknown W. Brackets dc81547d32 Use less pointer math in softgpu buffer access. 2013-09-14 11:36:56 -07:00
Unknown W. Brackets 7b2dea4429 Use accessors for offsetx/y. 2013-09-14 11:06:48 -07:00
Unknown W. Brackets 40e3e8e930 Use a gstate enum, report unhandled blend mode. 2013-09-14 07:36:43 -07:00
Unknown W. Brackets 1a7e0e40cf Refactor the logic op into a func like the others. 2013-09-14 07:21:58 -07:00
raven02 8ccaa733b9 Use and applu new bool , doShadeMapping 2013-09-14 14:29:37 +08:00
raven02 ef2399d5b3 Use GE state accessor more often : gstate.isSkinningEnabled() 2013-09-14 14:11:25 +08:00
raven02 772329a553 Place in the two frames skip logic for FB to memory 2013-09-13 22:05:00 +08:00
Ced2911 d2d48fe262 fix 2013-09-12 10:56:20 +02:00
Ced2911 0a29202e12 sync gpu with gles 2013-09-12 09:54:48 +02:00
Ced2911 4f54c683f5 update gpu 2013-09-12 09:54:32 +02:00
Ced2911 36713e8017 vsync 2013-09-12 09:54:20 +02:00
Ced2911 896b149460 sync 2013-09-12 09:54:09 +02:00
Ced2911 746e7d5ff8 sync with gles 2013-09-12 09:53:52 +02:00
Ced2911 b152a49d3b [hack] speedup mh2 !!! 2013-09-12 09:53:51 +02:00
Ced2911 590707dee1 oops 2013-09-12 09:53:51 +02:00
Ced2911 ecacf4ac47 fixe some vertices decoding 2013-09-12 09:53:51 +02:00
Ced2911 7e943ff0b0 fix fb effect on 2d stuff 2013-09-12 09:53:50 +02:00
Ced2911 e4344b9fb3 use some memory limit 2013-09-12 09:53:50 +02:00
Ced2911 a6c3421f00 fix for debug build 2013-09-12 09:53:49 +02:00
Ced2911 35619ed7f9 dirtyunfirom when shader is changed 2013-09-12 09:53:49 +02:00
Ced2911 923bee1332 some optimisation 2013-09-12 09:53:49 +02:00
Ced2911 b56848ca16 disgae is perfect ! 2013-09-12 09:53:49 +02:00
Ced2911 40da0262c8 projection fixes ! 2013-09-12 09:53:48 +02:00
Ced2911 28482b0341 update gpu (break disgea) 2013-09-12 09:52:34 +02:00
Ced2911 520c7a1753 some framebuffer fixes 2013-09-12 09:52:33 +02:00
Ced2911 16f68fec5c sync dx9 gpu with gles 2013-09-12 09:52:00 +02:00
Ced2911 71e64938a6 plop 2013-09-12 09:49:56 +02:00
Ced2911 92fb2ba17e Add vertex cache 2013-09-12 09:49:56 +02:00
Ced2911 fecf87e9d3 cleanup shader manager 2013-09-12 09:48:49 +02:00
Ced2911 6a4d320eac cleanup shader manager 2013-09-12 09:48:49 +02:00
Ced2911 38dbc77ea2 some fb fixes 2013-09-12 09:48:19 +02:00
Ced2911 6d3ec96706 generated code cleanup 2013-09-12 09:48:03 +02:00
Ced2911 709ea95f5b fixed stencil 2013-09-12 09:46:18 +02:00
Ced2911 9164576d8d some small fixes on gpu 2013-09-12 09:46:18 +02:00
Ced2911 e503ae1f38 some swapping optimisation 2013-09-12 09:46:17 +02:00