Commit Graph

7707 Commits

Author SHA1 Message Date
Pierre Bourdon 266cafb82d Add a call to VertexManager::Flush() when changing TC gen settings
In previous revisions of Dolphin, changing texture generation settings (via
GX_SetTexCoordGen for example) did not regenerate the vertex shader and flush
the vertices. Adding this flush should fix texture problems in a few game, for
example in Superman: Shadow of Apokolips:

Before: http://i.imgur.com/mHmfb.jpg
After: http://i.imgur.com/2ThES.png
2011-10-01 02:36:03 +02:00
kostamarino@hotmail.com b127b121a5 Merge branch 'master' of https://code.google.com/p/dolphin-emu 2011-10-01 00:24:07 +03:00
kostamarino@hotmail.com c208e8a1f6 Gameini database updates for The Lord of the Rings The Third Age, X-Men Destiny, Super Smash Bros. Brawl, SUPER MARIO GALAXY, Mario Kart: Double Dash, Crash Nitro Kart. 2011-10-01 00:21:49 +03:00
NeoBrainX adef86c1ef Merge branch 'new-shadercache-uids'
This branch vastly reduces stuttering caused by redundant shader compilations.
With this code Red Steel 2 has much less stuttering and is actually playable on my hardware now. Other games probably benefit in other ways as well, but don't expect all kinds of stuttering to be magically fixed now.

For reference: Set EnableShaderDebugging to True if you experience any regressions, it should automatically tell you what's wrong then.
2011-09-30 17:47:08 +02:00
NeoBrainX 7eb06430ed Only sync shader caches to disk on stop. 2011-09-29 23:16:42 +02:00
NeoBrainX 0e1383b788 Bump disk cache version. 2011-09-29 22:55:28 +02:00
NeoBrainX 2b3b32872d Fix Windows build. 2011-09-29 22:54:52 +02:00
NeoBrainX 81c614fa07 Clean up various things. 2011-09-29 23:32:39 +02:00
NeoBrainX ddfe219293 Fixup line endings. 2011-09-29 23:32:39 +02:00
NeoBrainX ca7e8a9e88 Fix pixel lighting. 2011-09-29 23:32:39 +02:00
kostamarino@hotmail.com 1f8a8268c6 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-29 23:32:39 +02:00
kostamarino@hotmail.com 0abe19e31f 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-29 23:32:39 +02:00
NeoBrainX 2f321524d8 Add libav headers to the include directories.
Fixes issue 4811.
2011-09-29 23:32:39 +02:00
Runo ce3e333936 Last attempt to update PT_BR.po 2011-09-29 23:32:39 +02:00
Runo 75408fa9af PT_BR Translation Update to revision 60. 2011-09-29 23:32:38 +02:00
Runo 0a0cf0e064 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-29 23:32:38 +02:00
NeoBrainX cfba35f7e5 Only link against libav if it's available. 2011-09-29 23:32:38 +02:00
NeoBrainX 08af37509e More buildfixes.. 2011-09-29 23:32:38 +02:00
NeoBrainX f041eee23b Compile fix. 2011-09-29 23:32:38 +02:00
Glenn Rice 6ccfd85f42 Build fix for the linux libav build. 2011-09-29 23:32:38 +02:00
NeoBrainX 913bc6d15f D3D11: Disable some redundant shader compilation errors. 2011-09-29 23:32:38 +02:00
NeoBrainX 6d8f641cc9 Fix D3D11 frame dumping. 2011-09-29 23:32:38 +02:00
NeoBrainX c710ea33f9 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-29 23:32:38 +02:00
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