Commit Graph
152 Commits
Author SHA1 Message Date
The Dax d102baacd0 Prep PPSSPP for Visual Studio 2013. 2013-09-17 10:27:06 -04:00
Unknown W. Brackets ad4bd8ed74 softgpu: small optimization, precompute tex info. 2013-09-15 21:39:28 -07:00
Unknown W. Brackets f43997a47f Update bufw handling in all gpus.
This fixes the softgpu as well, at least.
2013-09-15 21:27:13 -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 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
Henrik Rydgard c88920be4b Bail more gracefully if no real OpenGL driver is installed on XP 2013-09-11 21:35:44 +02:00
Henrik Rydgard 5e6c837ced Fix issue where the SoftGPU would render double size if "antialiasing" was on. 2013-09-10 22:27:05 +02:00
Unknown W. Brackets c3839a53e5 Fix some minor warnings. 2013-09-07 22:40:08 -07:00
Henrik Rydgard 78d3ee3d6a Misc cleanup, mostly logging code 2013-09-07 13:01:19 +02:00
Unknown W. Brackets 2e8b475789 Don't ignore the low bits of the framebuf pointer. 2013-09-07 02:01:01 -07:00
raven02 59599a62d3 Build fix 2013-09-05 16:00:11 +08:00
Unknown W. Brackets 2006bdc6a3 Fix negative texel wrapping in softgpu.
No longer crashes in Jeanne d'Arc, still looks awful.
Also faster on x64 at least.
2013-09-02 21:29:19 -07:00
Unknown W. Brackets 8d16b76c15 Add some reporting to the software GPU. 2013-09-01 01:15:07 -07:00
Unknown W. Brackets 7349de55d1 Fix some initialization/sprintf warnings. 2013-09-01 01:15:07 -07:00
raven02 eca79d35a7 softgpu : use switch case for texture format 2013-08-27 16:26:01 +08:00
raven02 bfd60e95a4 softgpu: Use switch case for different texture mapping mode 2013-08-27 16:15:53 +08:00
Henrik Rydgård 99c1ab38d7 Merge pull request #3224 from raven02/patch-5
softgpu : Fix depth issue in FF Type-0
2013-08-24 16:10:33 -07:00
Unknown W. Brackets 6e8d318322 Bugger typo. 2013-08-24 11:36:01 -07:00
Unknown W. Brackets cd70250d8c Use more accessors, simplify softgpu colortest. 2013-08-24 11:34:38 -07:00
Unknown W. Brackets 5ab04a3076 Centralize CLUT handling form gstate values. 2013-08-24 11:34:37 -07:00
Unknown W. Brackets 7f6cf3ec29 Add a few gstate accessors for texture type stuff. 2013-08-24 11:34:37 -07:00
Unknown W. Brackets 0a217a1254 Use accessors better for block transfers. 2013-08-24 11:34:36 -07:00
Unknown W. Brackets c141e94fe9 Use gstate.* accessors in a few more places. 2013-08-24 11:34:35 -07:00
Unknown W. Brackets 55e02369a5 Workaround an ICE in some versions of gcc. 2013-08-24 11:33:49 -07:00
Unknown W. Brackets 12c5f5e1e6 Use constants for other uv gen mode usages.
And also change them to treat 3 as coords as well.
2013-08-19 00:43:54 -07:00
raven02 87434e8dad softgpu : Fix depth issue in FF Type-0 2013-08-18 22:58:23 +08:00
Unknown W. Brackets ff9cff08ed Fix softgpu's 4444 color conversion.
And use the standard 4->8 swizzling funcs (more self documenting.)
2013-08-17 17:33:10 -07:00
Henrik Rydgård 52940abf31 Merge pull request #3212 from unknownbrackets/softgpu
Software GPU width tweak
2013-08-17 10:58:54 -07:00
Unknown W. Brackets 92dbfd177a Render the display width properly in softgpu. 2013-08-17 10:57:08 -07:00
Unknown W. Brackets 90affa2203 Remove very questionable DrawSync override. 2013-08-17 09:53:10 -07:00
Unknown W. Brackets a4bea9c878 Add support for multithreading in softgpu. 2013-08-17 09:52:35 -07:00
Unknown W. Brackets f501c98a5d Report "Software" for sw GPU engine. 2013-08-17 09:48:06 -07:00
raven02 758cc878fb softgpu : should be vreader.ReadColor1 2013-08-17 22:21:14 +08:00
raven02 8ff2a1bb35 softgpu : fix v_color0 to use MaterialAmbient 2013-08-17 22:05:50 +08:00
Henrik Rydgard 9f3848b49c swrast warning fixes 2013-08-17 12:37:47 +02:00
Tony Wasserka 74eafcab1a softgpu: Process rasterization in screen space, rather than drawing space. 2013-08-16 23:49:15 +02:00
Tony Wasserka c707140512 softgpu: Implement normal reversal. 2013-08-16 23:49:15 +02:00
Tony Wasserka d0c05b78d6 softgpu: Fix some stencil testing related bugs. 2013-08-16 23:49:15 +02:00
Tony Wasserka 67f95d38e5 softgpu: Some cleanups in SoftGpu.cpp 2013-08-16 23:49:15 +02:00
Tony Wasserka 45577507f3 softgpu: Disable clipping if it's not requested by the game. Also fix some clipping-related bugs. 2013-08-16 23:49:14 +02:00
Tony Wasserka fc336772e6 softgpu: Fix normal-mode rectangle drawing. 2013-08-16 23:49:14 +02:00
Tony Wasserka 838d22d120 softgpu: Implement memory transfers. 2013-08-16 23:49:14 +02:00
Tony Wasserka 2962d242cb softgpu: Implement skinning. 2013-08-16 23:49:14 +02:00
Tony Wasserka 9bc3e8bf07 softgpu: Generate texture coordinates for environment mapping even if lighting is disabled altogether. 2013-08-16 23:49:13 +02:00
Tony Wasserka 6b90aa250d softgpu: Polish some helper function signatures. 2013-08-16 23:49:13 +02:00