Commit Graph
9567 Commits
Author SHA1 Message Date
Henrik Rydgard 69e099e615 Fix #6398 for DX9 as well 2015-03-01 16:15:13 +01:00
Henrik Rydgard aeb03d1bc9 Workaround for crash in Pangya Fantasy Golf reported in #6398
(Simple sanity check when decoding software skinned vertices)
2015-03-01 15:33:34 +01:00
Henrik Rydgård 723d7c224d Merge pull request #7449 from unknownbrackets/xbrz-update
Update to xBRZ 1.2, with its perf improvements
2015-03-01 12:17:15 +01:00
Unknown W. Brackets b25c2de369 Allow block transfers from 0 that are too tall.
Hopefully this is safe.
2015-02-28 01:28:53 -08:00
Unknown W. Brackets 7379d37e73 Bail on bad verts after grabbing byte increment. 2015-02-28 01:28:30 -08:00
Unknown W. Brackets 6294ecf64b Prevent GE debugger crash on bad vertex addr. 2015-02-27 20:45:21 -08:00
Henrik Rydgård d990221849 Merge pull request #7509 from unknownbrackets/gpu-minor
Correct full alpha for render-to-texture
2015-02-26 21:56:57 +01:00
Henrik Rydgård 3bf86dc340 Merge pull request #7513 from unknownbrackets/spline-minor
Improve spline performance
2015-02-26 21:56:31 +01:00
Henrik Rydgård 0d69576810 Merge pull request #7515 from unknownbrackets/gpu-minor2
For 5551 buffers, force stencil mask to 1/0
2015-02-26 21:56:19 +01:00
Unknown W. Brackets 945ff359b2 Detect SSE4.1 support better when compiling. 2015-02-25 19:53:31 -08:00
Unknown W. Brackets 647e841959 Use SSE in spline value generation too. 2015-02-25 19:51:10 -08:00
Unknown W. Brackets 588efa5a71 Use SSE4.1, if available, for spline normals. 2015-02-25 19:28:52 -08:00
Unknown W. Brackets f070d6f5ed Use SSE when generating spline normals. 2015-02-25 19:22:48 -08:00
Henrik Rydgård 1170331b53 Merge pull request #7520 from unknownbrackets/gpu-blend
Avoid using constant color when blending
2015-02-23 20:18:09 +01:00
Unknown W. Brackets a3342a72d7 Fix copy/paste mistake from 808eeb3a25.
I'm pretty sure this was not intentional.
2015-02-23 11:06:44 -08:00
Unknown W. Brackets b5126f7236 Use ONE/ZERO in place of CONSTANT_ALPHA if okay. 2015-02-23 09:58:46 -08:00
Unknown W. Brackets 3ff51588f7 Avoid using constant color when blending.
If it's just ONE/ZERO or etc., we can keep those constants.  May be
faster, and apparently less buggy in some drivers.
2015-02-23 08:37:00 -08:00
Henrik Rydgård f2cde73587 Merge pull request #7519 from thedax/d3d9-hack
Add the Phantasy Star Portable 2 depth range hack to Direct3D9 as well.
2015-02-23 11:17:36 +01:00
The Dax 7104629b24 Add the Phantasy Star Portable 2 depth range hack to Direct3D9 as well.
It seems to work fine for me..
2015-02-23 04:42:04 -05:00
Unknown W. Brackets 29e6197e6f Floor float z coords in throughmode.
Fixes #6766 in 32-bit mode only.
2015-02-22 21:04:48 -08:00
Unknown W. Brackets 9d5ae2b336 For 5551 buffers, force stencil mask to 1/0.
4444 it would also be ideal to spread the bits, but that gets a bit
complicated.  5650 probably doesn't matter.
2015-02-22 19:11:11 -08:00
Unknown W. Brackets 8e19f568d7 Optimize spline weighting using SSE and templates.
Makes the Thundaga spell much more survivable on a i7, at least.
2015-02-22 13:24:48 -08:00
Unknown W. Brackets 90605520a1 Add conversions between Vec3f and Vec3Packedf. 2015-02-22 13:16:07 -08:00
Unknown W. Brackets 69756733eb Add another GE cmd for skip tex in debugger. 2015-02-21 18:09:53 -08:00
Unknown W. Brackets abace1aa76 For render-to-tex, full alpha on 565 use only.
It's not how it was drawn, but how it is used... in case it changes
formats, which apparently Split/Second does.  Fixes #7492.
2015-02-21 18:08:50 -08:00
Unknown W. Brackets 0982336565 Oops, fix race in xBRZ buffer alloc. 2015-02-21 15:51:02 -08:00
Unknown W. Brackets 10049e62a8 Allocate the xBRZ buffer only when actually used.
This way if scaling is off, we don't have to worry about potentially
eating more RAM on any platform.
2015-02-21 15:51:02 -08:00
Unknown W. Brackets 4c15afa905 Allow multiple replacements on the same func.
Or, more specifically, hooks.  This allows enter and exit on the same
func, which can obviously be useful for debugging.
2015-02-21 15:48:09 -08:00
The Dax 3239e27e84 Update GE_TEXMAP_ENVIRONMENT_MAP in Direct3D9 so it matches OpenGL's behaviour.
Improves the car colours in Outrun 2006, but like OpenGL, it's still got some areas with the wrong blue hue.
2015-02-17 02:17:24 -05:00
Henrik Rydgard 2290a6165e Try to fix glitch reported in #7457 in PHOTOKANO 2015-02-12 11:44:06 +01:00
Henrik Rydgard 96ecb9a160 IndexGenerator: Add back a line that got lost in af46d17b 2015-02-11 21:55:05 +01:00
Henrik Rydgard e5706ac9ff Remove accidentally added Flush() call (was debugging something else) 2015-02-04 17:41:51 +01:00
Henrik Rydgard 018b134545 Fix issue where on-screen UI might be invisible in non-buffered rendering 2015-02-04 17:29:49 +01:00
Henrik Rydgard f18f54fa5a Don't prepare to fetch translations unless we actually are going to use them.. In a couple of places in the code. 2015-02-04 13:41:21 +01:00
Henrik Rydgard 05ee55ea46 Try a potential fix for #7408 2015-02-03 21:51:39 +01:00
Peter Tissen 6f2962e0c3 make sure all the counters are increased by the correct value 2015-02-02 22:30:47 +01:00
Peter Tissen 4a150bead7 don't try to access past the number of vertices when drawing rectangles 2015-02-02 22:08:33 +01:00
Unknown W. Brackets 12405c3944 Disassemble the "continue previous" prim. 2015-02-01 01:21:28 -08:00
Unknown W. Brackets e4a24efda3 Don't show the op twice in the GE debugger. 2015-02-01 01:21:04 -08:00
Henrik Rydgard 2df04bab3b Oops, fix mistake in spline drawing 2015-01-29 16:30:52 +01:00
Henrik Rydgard 3801062f76 Oops, forgot one in D3D 2015-01-29 16:06:02 +01:00
Henrik Rydgard 033798c796 Expand spline data into a separate buffer. Prevent overflowing it by reducing the size of spline draws if necessary (but shouldn't really happen).
Might help #7386
2015-01-29 16:04:00 +01:00
sum2012 cb039081ac Add "hardware transform error" translate 2015-01-29 07:20:14 +08:00
Henrik Rydgard f55e0abc93 Experiment, trying to fix #7336: Make sure that a clear is the very first thing to happen in a frame.
Also a minor warning fix.
2015-01-26 00:25:48 +01:00
Unknown W. Brackets f1bca47432 Fix shaders leaking on game exit. 2015-01-24 20:36:58 -08:00
Unknown W. Brackets 0d9e0b16dd Fix textures leaking on game exit. 2015-01-24 20:36:01 -08:00
Coldbird 72d5845532 Fixed Indentation + Moved Cardboard Menu 2015-01-24 20:01:09 +01:00
Coldbird 2b940ddf17 Fixed Framebuffer Blitting on Cardboard 2015-01-24 17:39:59 +01:00
Coldbird b08c7012f1 Add Google Cardboard Support 2015-01-24 17:39:59 +01:00
Henrik Rydgard 4ebdf49fb6 Update ffmpeg to master, also switching to static linking of MSVCRT. Don't forget to update your submodules! 2015-01-24 13:30:37 +01:00