dolphin/Source/Plugins/Plugin_VideoDX9/Src
donkopunchstania 90254bd924 Change destination alpha handling. The blending method introduced in rev 1921 was not the correct way to do it. This way was suggested by hrydgard in October and I should have listened. A simple pixel shader as hrydgard suggested cannot be used because the alpha is not set if the pixel is discarded due to failing depth (after z texture) or alpha (result of tev stages) tests. There is a bit of a performance hit so there should be an option to disable the second render pass which sets the alpha because it is probably not needed most of the time.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2662 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-03-16 02:47:48 +00:00
..
W32Util Consolidate the three implementations of Decode5A3 found in Core into one. Fix some warnings. 2009-02-22 12:43:25 +00:00
BPStructs.cpp dx plugin : somewhat better but still wrong Clear code 2009-03-10 23:22:56 +00:00
BPStructs.h moar cleanup 2008-12-26 17:02:46 +00:00
CPStructs.cpp THIS BREAKS THE D3D PLUGIN FOR THE NEAR TERM. Resurrect an old patch that moves D3D over to the common shader generator framework. Needs a lot more work. 2009-02-28 22:10:38 +00:00
CPStructs.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
Config.cpp Added "Overlay Projection Stats" to D3D 2009-03-08 23:46:47 +00:00
Config.h Added "Overlay Projection Stats" to D3D 2009-03-08 23:46:47 +00:00
D3DBase.cpp rename some files 2008-12-26 17:26:18 +00:00
D3DBase.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
D3DPostprocess.cpp set svn:eol-style=native for Plugins/**.cpp 2008-12-08 05:25:12 +00:00
D3DPostprocess.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
D3DShader.cpp not-much-of-a-performance-increasing fix for shader compile errors 2009-03-08 00:58:11 +00:00
D3DShader.h revert the mess i made in the d3d plugin. Add way to use HLSL directly without going through Cg. Not that the results look much better... i do see shadows of spinning cars in Burnout 2 after clicking around in the dark. Then it crashes. 2009-03-01 12:07:34 +00:00
D3DTexture.cpp New compact texture type for OGL/D3D: IA4. Thanks for the IA4->IA8 unpacker hyperiris! Too bad that D3D supports IA4 natively while OGL is a bit buggy (treats LUM4_ALPHA4 as LUM8_ALPHA8). 2009-02-14 09:04:40 +00:00
D3DTexture.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
D3DUtil.cpp THIS BREAKS THE D3D PLUGIN FOR THE NEAR TERM. Resurrect an old patch that moves D3D over to the common shader generator framework. Needs a lot more work. 2009-02-28 22:10:38 +00:00
D3DUtil.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
DLCompiler.cpp set svn:eol-style=native for Plugins/**.cpp 2008-12-08 05:25:12 +00:00
DLCompiler.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
DlgSettings.cpp Added "Overlay Projection Stats" to D3D 2009-03-08 23:46:47 +00:00
DlgSettings.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
EmuWindow.cpp Allow for self shutdown from video plugins. 2009-03-07 23:34:16 +00:00
EmuWindow.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
NativeVertexFormat.cpp A fix to D3D NativeVertexFormat. Might not fix much, but should be a step in the right direction. Other misc bits and bobs. 2009-03-10 22:51:17 +00:00
PixelShaderCache.cpp Change destination alpha handling. The blending method introduced in rev 1921 was not the correct way to do it. This way was suggested by hrydgard in October and I should have listened. A simple pixel shader as hrydgard suggested cannot be used because the alpha is not set if the pixel is discarded due to failing depth (after z texture) or alpha (result of tev stages) tests. There is a bit of a performance hit so there should be an option to disable the second render pass which sets the alpha because it is probably not needed most of the time. 2009-03-16 02:47:48 +00:00
PixelShaderCache.h Get 2501 closer to "working". 2009-03-01 10:53:23 +00:00
RGBAFloat.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
Render.cpp D3D progress, report whether it made things better or worse HERE. 2009-03-10 14:15:46 +00:00
Render.h Direct3D + Cg progress, the plugin is still not working due to some missing features. 2009-03-01 01:09:32 +00:00
TextureCache.cpp One step closer to fixing D3D. Now textures are set properly. 2009-03-07 18:05:29 +00:00
TextureCache.h One step closer to fixing D3D. Now textures are set properly. 2009-03-07 18:05:29 +00:00
Utils.cpp set svn:eol-style=native for Plugins/**.cpp 2008-12-08 05:25:12 +00:00
Utils.h Some gfx code reorg, make the two OpcodeDecoding.cpp identical - next change will move them to videocommon 2008-12-25 20:07:13 +00:00
Vec3.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
VertexManager.cpp D3D progress, report whether it made things better or worse HERE. 2009-03-10 14:15:46 +00:00
VertexManager.h THIS BREAKS THE D3D PLUGIN FOR THE NEAR TERM. Resurrect an old patch that moves D3D over to the common shader generator framework. Needs a lot more work. 2009-02-28 22:10:38 +00:00
VertexShaderCache.cpp Minor D3D changes 2009-03-08 23:19:02 +00:00
VertexShaderCache.h Get 2501 closer to "working". 2009-03-01 10:53:23 +00:00
XFStructs.cpp set svn:eol-style=native for Plugins/**.cpp 2008-12-08 05:25:12 +00:00
XFStructs.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
bmp_io.cpp set svn:eol-style=native for Plugins/**.cpp 2008-12-08 05:25:12 +00:00
bmp_io.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00
main.cpp Give the vertex/pixel shader caches and managers a proper Init/Shutdown 2009-03-07 23:20:14 +00:00
main.h THIS BREAKS THE D3D PLUGIN FOR THE NEAR TERM. Resurrect an old patch that moves D3D over to the common shader generator framework. Needs a lot more work. 2009-02-28 22:10:38 +00:00
resource.h Added "Overlay Projection Stats" to D3D 2009-03-08 23:46:47 +00:00
resource.rc Added "Overlay Projection Stats" to D3D 2009-03-08 23:46:47 +00:00
stdafx.cpp set svn:eol-style=native for Plugins/**.cpp 2008-12-08 05:25:12 +00:00
stdafx.h set svn:eol-style=native for **.h 2008-12-08 04:46:09 +00:00