lightningterror
bf4997b6a5
GSdx: Update/remove useless d3d9 comments.
2018-12-22 22:53:09 +01:00
lightningterror
48007350b6
GSdx-ogl: Update blend table and remove d3d9 code, remove useless defines and directly use gl code.
2018-12-22 22:53:09 +01:00
lightningterror
4644a16c5b
GSdx-d3d: Update blend table enums from D3D9 to D3D11.
...
GSDeviceDX.
2018-12-22 22:53:09 +01:00
lightningterror
7e8360efbc
GSdx-d3d: Rename d3d9 blendtable and variables to d3d11.
2018-12-22 22:53:09 +01:00
lightningterror
e12447101f
GSdx: Get rid of d3d9 adapter code from GSSettingsdlg and GSDevice.
2018-12-22 22:53:09 +01:00
Kojin
a2f3b78bac
gsdx-d3d11: Fix Depth FST
...
Texture scaling for x/y values wasn't being set in all cases.
This ensures that it is to fix a bug in finding nemo (and possibly others).
2018-12-22 15:53:20 +01:00
lightningterror
1957cf13c2
GSdx: Purge GSC_Black crc hacks.
...
Effects are rendered correctly with depth and texture shuffle on all
renders.
2018-12-21 07:32:20 +01:00
lightningterror
eb000f0f41
GSdx: Move GSC_GTASanAndreas crc hack to aggressive state.
...
Can be used as an upscaling hack, but it removes some nice effect so
Aggressive only.
2018-12-21 05:03:45 +01:00
lightningterror
f41b536682
GSdx: Adjust GSC_DemonStone crc hack.
...
Move back to partial level, half screen issue.
2018-12-21 02:28:59 +01:00
lightningterror
11f09d4944
GSdx: Purge GSC_SuikodenTactics crc hacks.
...
Depth effects are rendered properly on all renders.
2018-12-21 01:06:47 +01:00
lightningterror
c23d256f02
GSdx: Purge GSC_LordOfTheRingsTwoTowers crc hacks.
...
Depth effects properly rendered on all renders.
2018-12-20 23:11:42 +01:00
lightningterror
526faf9193
GSdx: Move GSC_MetalGearSolid3 to Aggressive crc state.
...
Half screen bottom issue, hack needs to be updated to skip less effects.
2018-12-20 22:13:39 +01:00
lightningterror
0901f0a848
GSdx: Remove some crc hacks for GSC_IkkiTousen.
...
Remove depth hacks that skipped shadow rendering, shadows work properly
on all renders.
Upscaling hack needs to be further tested.
2018-12-20 18:31:53 +01:00
Kojin
e51eadaf16
gsdx-osd: Update m_font to use unique_ptr
2018-12-20 15:32:04 +01:00
Kojin
3819e22432
gsdx-osd: Add support for custom colors
2018-12-20 15:32:04 +01:00
Kojin
1b0112de22
gsdx-osd: Rename log speed to log timeout
...
Linux/Windows GUI to be updated in later commits.
2018-12-20 15:32:04 +01:00
Kojin
038ae8c7fc
gsdx-osd: Switch to opacity
...
Switch to using opacity since this is how most software works.
Transparency is simply confusing to the average user.
Linux/Windows GUI to be updated in later commits.
2018-12-20 15:32:04 +01:00
Kojin
d624927022
gsdx-osd: Scale based on window size
...
Switch to scaling on the window size instead of a hardcoded monitor res
2018-12-20 15:32:04 +01:00
Kojin
5e75a66f82
gsdx-d3d11: Port RenderOsd function from opengl to support osd on d3d11
2018-12-20 15:32:04 +01:00
Kojin
5713993777
convert.fx: Add color support to IA
...
Support color input in vs and ps.
Skipping dx9.
2018-12-20 15:32:04 +01:00
Kojin
e683ce2994
gsdx-osd: Update manager to support DX11
...
Fix an issue with w coordinate values being 0 which caused issues on DX11.
2018-12-20 15:32:04 +01:00
lightningterror
63bbf52219
GSdx-d3d11: Adjust DATE code, and remove rtCopy.
...
Remove DATE shader macro and bit.
Remove useless HasStencil case. If DATE is enabled stencil is also
enabled, this check is useless.
Remove leftover rt and rtCopy code case from d3d9.
Remove traces of rtCopy and sampler in slot 2.
rtcopy
2018-12-20 14:42:56 +01:00
lightningterror
d4d95e2f10
GSdx: Adjust some of the crc hacks comments and what category they fall under.
2018-12-20 13:55:26 +01:00
lightningterror
697aa5e4b7
GSdx: Purge GSC_SpyroNewBeginning, GSC_SpyroEternalNight crc hacks.
...
Effect correctly emulated with texture shuffle on all renders.
2018-12-20 13:22:12 +01:00
lightningterror
f0fec02eec
GSdx: Purge GSC_StarWarsBattlefront and GSC_StarWarsBattlefront2 crc hacks.
...
Channel shuffle emulates the effects correctly on all renders.
2018-12-20 12:34:09 +01:00
lightningterror
6f6e5eb325
GSdx: Purge GSC_SoulCaliburGames crc hacks.
...
Depth emulation renders the background properly and the stage is no
longer dark.
Shadows are still missing on D3D11, colclip emulation perhaps.
2018-12-20 12:09:57 +01:00
lightningterror
6899fc74f9
GSdx: Purge GSC_HeavyMetalThunder crc hacks.
...
Depth renders effects properly on all renders.
2018-12-20 03:05:05 +01:00
lightningterror
415e27136e
GSdx: Adjust/remove crc hacks GSC_FrontMission5, GSC_HauntingGround.
...
Remove one crc hack for GSC_HauntingGround. It skipped some depth
effects. Correctly rendered now
Remove all crc hacks for GSC_FrontMission5.
Texture shuffle, depth emulation and enabling Preload Frame Data
emulates the effects correctly.
Add a note for GSC_Tenchu for future testing.
2018-12-20 02:13:11 +01:00
lightningterror
d9da9f4bc2
GSdx: Purge GSC_FinalFightStreetwise crc hacks.
...
Depth is emulated correctly on all renders.
Blending issues remains.
2018-12-20 02:01:57 +01:00
lightningterror
fce3918562
GSdx: Purge Direct3D9 Render entirely. ( #2762 )
...
And the time has come to say good bye (good riddance?), this build removes Direct3D9 entirely from GSdx. D3D9 is/was holding us back in some D3D11 fixes that we want to further implement.
The last build that supports D3D9 is v1.5.0-dev-2779-g1a61148b0 for anyone still interested.
"Press F to pay respect.
2018-12-20 00:54:51 +01:00
lightningterror
e091f4233a
GSdx-d3d11: Remove commented out code for int_fst.
...
VS FST is already enabled, values are inverted on D3D11.
2018-12-19 19:59:23 +01:00
lightningterror
1a61148b00
GSdx-d3d11: Redo destination format and alpha output.
...
Dfmt in texture shuffle function already picks the 16 format on slot 2
so it's better to let it call the shader instead of aout.
We can keep old aout code until FbMask emulation is added on d3d11. We
can purge aout along with alpha hack then.
Added fixme note.
2018-12-18 12:55:23 +01:00
lightningterror
0c0e0e9266
GSdx-d3d11: Add support for dfmt shader macro.
2018-12-18 12:55:23 +01:00
Kojin
5527bcb13e
GSdx-debug: Do some casts and fix warnings.
2018-12-17 15:52:27 +01:00
lightningterror
bf0106d2bc
GSdx-d3d: Add remaining code for RGB channel.
...
Enable channel shuffle on GT3, GT4, Tourist Trophy and Tekken5.
And with that we reach OpenGL accuracy on this specific feature.
2018-12-17 11:50:16 +01:00
Kojin
ef0ebd6517
gsdx-d3d11: Copy render target when it matches texture in slot 4
...
Needed for channel shuffle, this copies the render target when it's
the same as the resource texture bound on slot 4.
2018-12-17 11:43:15 +01:00
Kojin
554b797b92
gsdx-d3d11: Move shader/sample state set to it's own function
2018-12-17 11:43:15 +01:00
Kojin
84dbdd6b18
gsdx-d3d11: Add CopyRenderTarget function
2018-12-17 11:43:15 +01:00
Kojin
1427d55b08
gsdx-d3d11: Store shader resource textures on GSDevice11
2018-12-17 11:43:15 +01:00
Kojin
a743707728
gsdx-d3d11: Store render target texture in GSDevice11
2018-12-17 11:43:15 +01:00
Kojin
07989a0a17
gsdx-d3d11: Add equality check for GSTexture11
2018-12-17 11:43:15 +01:00
lightningterror
c2fd67b1cb
GSdx-d3d11: Add remaining psm.depth code.
...
Fixes recent regression on Soul Calibur.
It helps isolate psm.depth when it should and shouldn't run even if
sampling isn't supported yet.
Finding Nemo depth issue remains.
People can use the option to disable depth for now on that game.
2018-12-17 07:17:17 +01:00
lightningterror
93f1dc2804
GSdx-d3d: Remove psm.depth skip on d3d.
...
I'm seeing better results with this skip not included.
So far DBZBT, God of War, Haunting Ground seem better.
Depth sampling is still not yet added.
Also fixes a regression in GT4 when depth was enabled because the skip
function was misplaced. Other games might've been affected as well.
2018-12-16 20:32:05 +01:00
lightningterror
bb0f08b2c1
GSdx-d3d: Simplify aout for reading.
2018-12-15 05:46:15 +01:00
lightningterror
a8c2076d04
GSdx: Adjust God of War 1 and 2 crc hacks.
...
Move texture shuffle (shadows) hack to aggressive state.
Adjust water/hell effect crc hack - don't enable hack on native res if
crc is below aggressive, enable if resolution is higher on dx and gl
state.
2018-12-14 15:16:26 +01:00
lightningterror
e87a6b9ccd
GSdx-d3d11: Plug the TOA and Urban Chaos code in to channel shuffle.
...
On Tales of Abyss it fixes blur,
On Urban Chaos it fixes fog/transparent layer.
Note: Depth needs to be enabled on d3d11.
No support for d3d9 ofc.
2018-12-13 22:14:49 +01:00
lightningterror
a1f4d2ca3f
GSdx-d3d11: Add support for Tales of Abyss and Urban Chaos shader bit and shader macro.
2018-12-13 22:14:49 +01:00
lightningterror
50b71f69da
GSdx-d3d: Add fixme note fo rPSSetShaderResource slot 4 channel shuffle.
2018-12-13 01:47:10 +01:00
lightningterror
7215618621
GSdx-d3d11: Add support for depth convert format in texture sampler.
...
Idea is to allot partial support of depth fmt on the new depth convert
format, this way we can utilize channel shuffle on Red, Blue or gXbY
channels with depth shader conversion.
Terminator 3 hits this code path and seems to fix a transparent wall.
Other games will probably benefit from this as well.
2018-12-13 01:47:10 +01:00
lightningterror
3a9ff840cf
GSdx-d3d11: Add support for depth_fmt bit as well as macro for shader.
2018-12-13 01:47:10 +01:00