Commit Graph
3430 Commits
Author SHA1 Message Date
Henrik Rydgård bba0e290a1 Merge pull request #3441 from raven02/patch-23
softgpu : use switch case for texture format
2013-08-27 02:29:11 -07:00
raven02 d66f049d22 GLES SW: inline with HW using 0,0,1 ; 2013-08-27 16:52:17 +08: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
raven02 7612335992 Minor fix 'useBufferedRendering' bool variable 2013-08-27 15:11:55 +08:00
Henrik Rydgard 55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
raven02 b2a033b7e0 Add RROR_LOG_REPORT for vertices without position 2013-08-26 22:09:43 +08:00
raven02 c0eaa665d5 Uncomment out //if (pos) 2013-08-26 21:24:37 +08:00
Henrik Rydgård 9667b9e316 Merge pull request #3387 from raven02/patch-19
Use stenciltest for glblendFuncSeparate()
2013-08-26 05:55:01 -07:00
raven02 2442c24aee Use stenciltest for glblendFuncSeparate()
1
2013-08-26 17:49:59 +08:00
Henrik Rydgård 21c5121129 Merge pull request #3389 from raven02/patch-20
GLES: Skip GE_LOGIC_COPY for logic ops
2013-08-26 00:50:06 -07:00
raven02 f49a2f7fa0 GLES: Skip GE_LOGIC_COPY for logic ops 2013-08-26 15:48:57 +08:00
Florent Castelli c6932e2675 Use GEPrimitiveType everywhere instead of stupid integer 2013-08-25 19:51:06 +02:00
Henrik Rydgard 554ca84556 Revert "More alpha hackery. This is starting to get embarrassing, really need to fix those tests."
This reverts commit 97a6921000.
2013-08-25 13:24:52 +02:00
Henrik Rydgard 97a6921000 More alpha hackery. This is starting to get embarrassing, really need to fix those tests. 2013-08-25 13:12:31 +02:00
Henrik Rydgård 2d89323fc2 Merge pull request #3357 from raven02/patch-15
Regession fix character shadow stretch in FF Crisis core
2013-08-25 03:01:58 -07:00
Henrik Rydgård 29426dc175 Merge pull request #3381 from raven02/patch-18
Mipmapping only enable when texture scaling disabled
2013-08-25 01:00:35 -07:00
Henrik Rydgård 3d0ad08dd2 Merge pull request #3375 from thedax/master
Fix hang in Project Diva 2nd in single-threaded mode.
2013-08-25 01:00:17 -07:00
raven02 0ea10d96b1 Attempt to use scissor to render correct shadowing in Mortal Kombat/FF CC 2013-08-25 14:52:18 +08:00
raven02 284a3a7b44 Mipmapping only enable when texture scaling disabled 2013-08-25 14:43:03 +08:00
The Dax 4d9eb24f29 Fix hang in Project Diva 2nd in single-threaded mode. Doesn't seem to affect other games, but I don't have every game in existence, so there could be one or two out there that might break from this. 2013-08-24 21:13:34 -04: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 8dbcf6572e Add some additional reporting. 2013-08-24 11:34:38 -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 6227fe0754 Add some reporting of spline issues. 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 10f344db2d Fix bad filter. 2013-08-24 09:51:45 -07:00
Henrik Rydgard 955ad2a6e4 swap_control_tear doesn't seem to work out for our timing or something. Let's do regular vsync. 2013-08-24 11:56:41 +02:00
Henrik Rydgard edb6e5a54c Fix fallthough bugs in isAlphaTestTriviallyTrue 2013-08-24 11:56:39 +02:00
Henrik Rydgård 06a2d94fd2 Need to flush on FINISH/SIGNAL apparently.. 2013-08-23 16:31:03 +02:00
raven02 7eefbf21f2 Fix Spline drawing for Metal Gear Solid Portable Ops 2013-08-23 21:35:02 +08:00
Henrik Rydgard fc313b1ac9 Use the EXECUTE flag to avoid calling ExecuteOp when possible. Minor speedup. 2013-08-23 14:27:48 +02:00
Henrik Rydgard a3fa3c9c2d Combine and sort the GPU command tables by purpose, make it flags for future flexibility.
Fix a couple of bugs while at it (logic ops were not flushing, if viewport was partially changed, it might not take).
2013-08-23 13:36:55 +02:00
Henrik Rydgård 09dc4ac09b Merge pull request #3339 from raven02/patch-12
Add glstate.colorLogicOp.disable();
2013-08-23 02:43:05 -07:00
Henrik Rydgard 520453a5bd Fix gpu cycle call level counting, of course halving the numbers I mentioned in the previous commit comment. 2013-08-23 11:42:15 +02:00
raven02 6113709f3d Add glstate.colorLogicOp.disable(); 2013-08-23 17:32:10 +08:00
Henrik Rydgard dfb91d4532 Track number of GPU commands executed per call level.
This is to get an idea if it would be beneficial to compile and cache display lists. Looks like it would be for some games, for example in GTA it's often 20k/80k/20k commands per frame - that is 100k executed commands per frame that could potentially just be executed instead of interpreted. Likewise in Wipeout. Of course, this means yet another cache with invalidation issues etc..
2013-08-23 11:29:55 +02:00
Henrik Rydgård 89e476d9f2 Merge pull request #3333 from unknownbrackets/reporting
Add a bunch of HLE funcs + fix bad reloc masking and warnings
2013-08-23 01:41:00 -07:00
raven02 73e92cd2d4 age is int and should be age == 0 2013-08-23 15:32:16 +08:00
Unknown W. Brackets 1ed8edb0d3 Avoid some dangerous hex constant widths. 2013-08-22 23:23:48 -07:00
Henrik Rydgard 772f9cc585 Adapt the basic spline code from the softgpu to the GL code.
Fixes (but not perfectly) games that make simple use of splines like LocoRoco.
(The locos are a little jagged)
2013-08-23 00:33:18 +02:00
Henrik Rydgard 416f0c56e8 Experiment: Use glBlendFuncSeparate to not change dest alpha when blending.
Fixes Persona blending issues.
2013-08-22 19:14:04 +02:00
raven02 a3cd8743ba Scisscor small fix 2013-08-22 22:21:03 +08:00
raven02 7245164604 Change to AttachFramebufferValid() for suboffset textures 2013-08-22 11:31:39 +08:00
Henrik Rydgard 3cd80e1c51 GLES: Discard "AA" lines, we can't do anything that makes sense with them anyway.
Should fix the "wireframe look" in one game, I can't test it though.
2013-08-21 20:45:22 +02:00