NeoBrainX
3a9fed0ba2
PixelShaderGen: Fix a bug introduced in revision 9adc119e3c
.
...
D3D11: Fix shader constant mapping.
2012-02-21 12:51:41 +01:00
NeoBrainX
9adc119e3c
PixelShaderGen: For custom textures and scaled EFB copies, use correct texel to pixel mapping when sampling textures
...
(D3D9 only)
This is basically the same as revision e58692653a
, just for scaled textures and with a LOT more work...
2012-02-20 20:32:08 +01:00
NeoBrainX
e58692653a
PixelShaderGen: Use correct texel to pixel mapping when sampling textures
...
(D3D9 only)
Fixes issue 2068.
Fixes issue 5158.
2012-02-17 17:09:17 +01:00
NeoBrainX
439613b833
TextureCacheBase: Remove a superfluous TODO (texture hashing takes care of that stuff)
2012-02-04 13:01:52 +01:00
NeoBrainX
eb01a110c9
Implement texture preloading
2012-02-03 21:21:13 +01:00
NeoBrainX
dabb35afce
Prepare texture preloading support
2012-02-03 21:20:34 +01:00
NeoBrainX
d1605abfa9
Add license header for TextureCacheBase files
2012-01-31 19:52:02 +01:00
NeoBrainX
1446fb33d5
TextureCacheBase: Replace the efbcopy_state member variable of texture cache entries with a more general "texture type"
2012-01-31 19:52:02 +01:00
NeoBrainX
cf899781f9
TextureCacheBase: Update and improve documentation for EFB copies
2012-01-31 19:52:02 +01:00
NeoBrainX
b34b6e47f2
TextureCacheBase: Remove a redundant variable
2012-01-31 19:52:02 +01:00
NeoBrainX
9fed10fc75
Remove SaveTexture declaration in VideoCommon since it's only actually defined in OpenGL
2012-01-31 19:52:02 +01:00
NeoBrainX
3b38295cbd
TextureCacheBase: De-uglify hybrid EFB copies (documentation needs updating though)
...
TextureCacheBase: Fixed dynamic EFB copies being set to normal textures.
2012-01-31 18:09:35 +01:00
NeoBrainX
67129404dd
TextureCacheBase: Small bugfix
...
Added documentation for hybrid EFB copy stuff
2012-01-31 18:09:35 +01:00
NeoBrainX
5239ba88c9
TextureCache: Remove unsafe texture cache
2012-01-31 18:09:35 +01:00
NeoBrainX
8c2d87f668
TextureCacheBase: Move around stuff, add some TODOs
2012-01-31 18:09:35 +01:00
NeoBrainX
93dbd93a8d
TextureCacheBase: More cleanup...
2012-01-31 18:09:35 +01:00
NeoBrainX
0c1e015ec3
TextureCacheBase: Small change
2012-01-31 18:09:35 +01:00
NeoBrainX
f68ee87e0e
TextureCacheBase: De-uglify texcache entry lookup even more + documentation
2012-01-31 18:09:35 +01:00
NeoBrainX
dcf18fbaaf
TextureCacheBase: Force autogenerating mipmaps if custom textures are used
2012-01-31 18:09:35 +01:00
NeoBrainX
8bc9e443fd
TextureCacheBase: De-uglify entry lookup a bit
2012-01-31 18:09:35 +01:00
NeoBrainX
9c39952c34
TextureCacheBase: Kill deprecated entry member isNonPow2
...
TextureCacheBase: Add a TODO about a potential bug
2012-01-31 18:09:35 +01:00
NeoBrainX
94a8536b8c
TextureCacheBase: Simplify texture cache entry initialization
2012-01-31 18:09:34 +01:00
NeoBrainX
c5008fe9de
TextureCache: Renaming some variables
...
OGL: Fix a possible bug at texture dumping
OGL: Add a TODO about a possible bug
2012-01-31 18:09:34 +01:00
NeoBrainX
2d6d73df95
[maintenance] Add a note explaining why we aren't emulating CP clear register writes.
...
For further reference, see also r700f5eabc752.
2012-01-21 14:58:29 +01:00
nitsuja
39613a95a8
initialize the uninitialized
2012-01-04 01:36:09 -08:00
nitsuja
3e773f093d
fixed a freeze on emu shutdown in windows build
2011-12-19 15:13:26 -08:00
NeoBrainX
3d9c35f58e
VideoCommon: Fix upper and lower depth bytes being switched when performing Z16L EFB copies (EFB to texture only).
...
Fixes issue 4989.
Fixes issue 5056.
2011-12-10 16:08:26 +01:00
Glenn Rice
e5d051a4e9
Update linux libav frame dump code for recent api changes.
2011-11-22 19:24:05 -06:00
Pierre Bourdon
8f31968466
Revert "Merge branch 'zcomploc-support'"
...
This reverts commit 9dad9ebe89
, reversing
changes made to e76bc71efe
.
2011-11-01 01:37:54 +01:00
crudelios
dd551814c9
Bounding Box bugfixes.
...
- Fixes all (I hope) BBox-related unknown pointer crashes.
- Fixes wrong BBox values with Frame Skip on (and the resulting unknown pointer crashes).
- Fixes a small oversight on the change I made to the ISO Properties dialog.
This should also be a (very very little) bit faster than the previous version.
2011-10-28 21:12:12 +01:00
crudelios
852fe9c4be
Added proper Bounding Box support.
...
Should fix most graphical issues with Paper Mario: TTYD and Super Paper Mario. Fixes issue 360.
Since only those two games seem to require BBox support, and as per ector's suggestion, BBox is only enabled for those two games.
BBoxes and Display List Caches don't get along too well, causing Paper Mario: TTYD to hang during certain effects where BBoxes are used. For now, I disabled DList Cache for the Paper Mario games, hopefully both will be compatible in the future.
2011-10-26 01:19:10 +01:00
skidau
5d14bb5e70
Changed the save state system to load/save only after the screen has been drawn. This should help stabilise the save states.
2011-10-15 22:19:42 +11:00
Pierre Bourdon
59072adc32
Align stack variables on a 16-bytes boundary in SSSE3 functions
...
Fixes issue 4450. Thanks to pholklore1 for his patch.
2011-10-08 17:36:01 +02:00
Pierre Bourdon
9dad9ebe89
Merge branch 'zcomploc-support'
...
zcomploc is a feature of the BP which switch depth test from before the alpha
test to after the alpha test. This way, transparent fragments are written to
the depth buffer too.
The current implementation is quite hacky and does not cover all cases but is
enough to fix problems in a lot of game. A complete implementation would
require a multipass rendering method and is attempted in the
zcomploc-experimental branch.
According to testers feedback, fixes bugs in the following games:
- Baten Kaitos
- Baten Kaitos Origins
- 007: Everything or Nothing
- Ty the Tasmanian Tiger
- Tony Hawk's Pro Skater 3
And probably other games too.
Conflicts (because of new-shadercache-uids):
Source/Core/VideoCommon/Src/PixelShaderGen.cpp
2011-10-04 07:56:13 +02:00
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
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
NeoBrainX
f041eee23b
Compile fix.
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
8c691767da
Various changes which improve FreeBSD support.
...
Patches by martymac, all credits go to him ;)
2011-09-29 23:32:38 +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
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
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