Commit graph

7935 commits

Author SHA1 Message Date
NeoBrainX
bd4a5b5ef6 Implement frame dumping in D3D11.
Fixes issue 4831.
2011-09-29 23:32:38 +02:00
NeoBrainX
5dcb212fc7 Fix Windows build. 2011-09-29 23:32:38 +02:00
NeoBrainX
8c691767da Various changes which improve FreeBSD support.
Patches by martymac, all credits go to him ;)
2011-09-29 23:32:38 +02:00
kostamarino@hotmail.com
175ade74d7 Another gameini database update. This makes playable by default games such as The Urbz (GC), Chicken Blaster, Wild West Shootout, Phineas and Ferb Across the 2nd Dimension (PAL), along with proper settings for METAL SLUG Anthology. 2011-09-23 02:27:30 +03:00
kostamarino@hotmail.com
5ea2b1b519 Gameini database update. Fight Night Round 2 boots properly now, Mystery Case Files: The Malgrave Incident (PAL) addition with proper settings, fix a mistake in Xenoblade and addition/updates to emulation state for a couple of games. Also update for the Greek language. 2011-09-15 23:11:40 +03:00
NeoBrainX
25d19216a9 Add libav headers to the include directories.
Fixes issue 4811.
2011-09-13 16:39:28 +02:00
Runo
83d02eb69e Last attempt to update PT_BR.po 2011-09-12 23:16:26 -03:00
Runo
09244a66e0 PT_BR Translation Update to revision 60. 2011-09-12 22:56:10 -03:00
Runo
743253a6e3 Update Pt_BR Translation to POT file revision 60.
This is also a testing commit, as this is my first one on this repository ^^
2011-09-12 22:44:03 -03:00
NeoBrainX
13ef4fc54f Merge remote-tracking branch 'remotes/origin/freebsd-port' 2011-09-12 21:08:18 +02:00
NeoBrainX
854c4903eb Only link against libav if it's available. 2011-09-12 18:01:45 +02:00
NeoBrainX
2df4811807 More buildfixes.. 2011-09-12 17:58:05 +02:00
NeoBrainX
5d075ce507 - D3D9: pass the correct API type to ValidatePixelShaderIDs
- don't load shader cache from disk in d3d9/11 if shader debugging is enabled (we won't have any info about the source shader code otherwise, etc)
- dump shader source codes on safe UIDs mismatch

Thanks to LordMark and [SS] for reporting those to me ;)
2011-09-10 03:10:28 +02:00
NeoBrainX
a021dd7b79 Small fix to the previous commit. 2011-09-09 21:45:11 +02:00
NeoBrainX
5c14a24ce1 Make shader ID validation optional by adding a gfx setting called "EnableShaderDebugging".
Setting this to True will enable additional checks if the shader cache misses any relevant register changes.
2011-09-09 21:34:46 +02:00
NeoBrainX
125c11cce9 Compile fix. 2011-09-09 16:30:29 +02:00
Glenn Rice
e4b358d0a7 Build fix for the linux libav build. 2011-09-08 22:24:11 -05:00
NeoBrainX
b28348066e Improve the shader UID debugging stuff and merge it to VideoCommon, effectively enabling it in D3D9 and D3D11 as well. 2011-09-09 00:32:04 +02:00
NeoBrainX
ded938bbe7 D3D11: Disable some redundant shader compilation errors. 2011-09-08 23:02:17 +02:00
NeoBrainX
063660e409 Merge remote-tracking branch 'remotes/origin/d3d11-frame-dumping' 2011-09-08 22:06:12 +02:00
NeoBrainX
3802201fb7 Fix D3D11 frame dumping. 2011-09-08 17:52:01 +02:00
NeoBrainX
5eb1e55f80 Merge some frame dumping code to VideoCommon, fixes a memory leak in D3D9 and OpenGL if emulation is stopped while dumping frames.
Breaks D3D11 frame dumping for some weird reason (memory corruption or whatever?).
2011-09-08 17:09:24 +02:00
NeoBrainX
1c85be8625 Implement frame dumping in D3D11.
Fixes issue 4831.
2011-09-08 15:39:03 +02:00
NeoBrainX
349a3ae91d Merge remote-tracking branch 'remotes/origin/master' into new-shadercache-uids 2011-09-08 02:14:18 +02:00
NeoBrainX
6c7bda6851 Various fixes and cleanups. 2011-09-08 02:09:44 +02:00
NeoBrainX
98b62d8362 Track alpha blending paramaters in the pixel shader UID. 2011-09-07 21:15:14 +02:00
NeoBrainX
3939f9595a Add runtime checks to make sure we aren't overoptimizing the pixel shader cache. 2011-09-07 21:15:09 +02:00
NeoBrainX
4702de591e Added safe pixel shader UIDs for debugging purposes. 2011-09-07 21:10:06 +02:00
NeoBrainX
231c13d6ce Added safe vertex shader UIDs for debugging purposes. 2011-09-07 21:03:10 +02:00
kostamarino@hotmail.com
8b8e60c276 Gameini database update. Addition of cheats for a couple of games, compatibility fixes/updates for F-zero GX, WAVE RACE / BLUE STORM, 1080: Avalanche, Dragon Ball: RKP, Fire Emblem: Radiant Dawn, NO MORE HEROES 1&2, Another Code R, Xenoblade Chronicles (fixes some random crashes/glitches), Mystery Case Files: The Malgrave Incident (fixes Issue 4723).
Also update for Greek language.
2011-09-07 01:22:24 +03:00
NeoBrainX
df4e337ac9 Fix various pixel shader compilation errors caused by the Direct3D shader compiler going nuts due to uninitialized (and unused) shader variables.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7693 8ced0084-cf51-0410-be5f-012b33b47a6e
2011-09-06 18:37:01 +02:00
NeoBrainX
ee1dc962bf Fix Windows build. 2011-09-06 14:45:05 +02:00
NeoBrainX
11933bf6b5 Merge branch 'scissoring-fixed'
Fixes various cases in scissor rect emulation. This should fix glitches in various games, right now it's only known to (partially) fix Baten Kaitos: Eternal Wings.
Fix by delroth, port to D3D9/11 by godisgovernment, cleanup by me.
2011-09-05 22:29:01 +02:00
NeoBrainX
17fcd406fc Merge some scissor rect related code to VideoCommon. 2011-09-05 22:04:28 +02:00
Shawn Hoffman
b867c21fea apply to dx9 and dx11 backends as well 2011-09-05 12:19:11 -07:00
NeoBrainX
6845a1596c Fix various cases in scissor rect emulation.
Patch by delroth.
2011-09-05 11:10:23 -07:00
Shawn Hoffman
95517a9741 vs2010: Disable LTCG for realz 2011-09-05 09:43:23 -07:00
Pierre Bourdon
d3ecf98213 Include the zcomploc bit in the shader UID
Fixes issues with switching zcomploc on/off during execution.
2011-09-04 05:38:32 +02:00
Pierre Bourdon
0bdf8646f0 Proof of concept zcomploc implementation
Fixes a few depth related graphics bugs. Example in Baten Kaitos (GKBEAF):

Before: http://i.imgur.com/EDdVA.png
After: http://i.imgur.com/h6GuY.png

Still a few bugs in this implementation: zcomploc switching is not yet
implemented, and the color is wrong with this test: http://codepad.org/7GpxklOi
(red on Dolphin, gray on Wii).
2011-09-04 05:08:09 +02:00
Pierre Bourdon
d710eda0c5 Clean up a bit the shader code generation for alpha test fails 2011-09-04 04:44:50 +02:00
Jordan Woyak
931a31deca Untested attempt to fix real gcpad sticks not being detected by the input configuration dialogs. 2011-08-31 20:46:04 -05:00
NeoBrainX
bcb8d11c1b Reduced the number of redundant vertex shader compilations (possibly to zero).
That one was almost too easy ;P
2011-08-31 20:46:03 +02:00
NeoBrainX
4137f287fd Fix a critical bug which caused shaders to be redundantly recompiled when disabling per-pixel depth.
As a nice side effect, the number of redundant shader compilations is now next to zero ;)
2011-08-31 19:45:28 +02:00
NeoBrainX
7f01139d13 Replace the pixel shader UID generation algorithm with a better one which reduces the number of redundant shader compilations by around 30% (can be optimized even further though).
This should help some games which suffer from heavy stuttering like e.g. F-Zero GX or Red Steel 2.
2011-08-31 18:03:33 +02:00
NeoBrainX
08e06b2293 Partially revert revision d511b50612.
Slightly slows down emulation, but deobfuscates the pixel shader gen greatly...
2011-08-31 16:09:54 +02:00
NeoBrainX
8a17e15943 Various cleanups and TODOs. 2011-08-31 16:09:46 +02:00
Jordan Woyak
7812346c89 disable ltcg for release build 2011-08-30 19:30:04 -05:00
NeoBrainX
06e640532a Various changes which improve FreeBSD support.
Patches by martymac, all credits go to him ;)
2011-08-27 20:42:11 +02:00
Shawn Hoffman
c0dd84cf7d buildfix ON MASTER!! :<
(I am sonic's babysitter)
2011-08-26 21:19:40 -07:00
Ryan Houdek
62e790f109 Have the ability to disable screensaver due to Nvidia + Displayport can cause annoying flickering
Bring up to standards guidelines and also support Windows

Switch this around...
2011-08-26 13:29:01 -07:00