lightningterror
a26dc73836
GSdx-gui: Switch places for "Alpha Correction" and "Logarithmic Z" on d3d9.
2018-11-12 20:13:47 +01:00
lightningterror
48d90a988a
GSdx-d3d: Remove not yet used rt parameter in channel shuffle function.
2018-11-11 23:59:11 +01:00
lightningterror
b26ed0db60
GSCrc: Small comment correction that I didn't notice before.
2018-11-11 03:45:06 +01:00
lightningterror
3280860ca9
GSdx: Add a couple of GT3/4 crc ids.
...
Rare demo/beta discs.
Source:
https://forums.pcsx2.net/Thread-Testing-out-games-not-in-the-database?pid=593185#pid593185
2018-11-11 03:42:35 +01:00
iMineLink
292dbbb6ac
GSdx-TC: Remove virtual specifier from PaletteKeyHash operator, PaletteKeyEqual operator and Palette destructor. ( #2680 )
...
Small follow up corrections from #2344 highlighted by @turtleli
2018-11-10 18:50:19 +01:00
Dmitry
1b0b89776f
GSdx: Removed crc id 0x7D4EA48F (multiloader). ( #2677 )
...
Removed crc id 0x7D4EA48F and mentions of that id and it's duplicates. The id is from a multiloader when packing images, and not an actual crc id from a game(s).
2018-11-10 02:27:38 +01:00
Silent
b8b6a55952
Removed hack - use xinputNotInstalled as a flag instead of reusing pXInputEnable
2018-11-08 10:26:00 +00:00
Silent
c280d69d6f
Call XInputGetState only when XInputGetExtended is not
2018-11-08 10:26:00 +00:00
iMineLink
9fa1b290ba
GSdx-TC: Palette management rework. ( #2344 )
...
This follows the 4th point of #2310 .
The idea was to rework the current palette texture management to improve performances with games that uses multiple palettes for the same data texture.
The new management shows small to none performances improvement in almost every game in terms of FPS, and it lowers the GPU BUS usage by some percentage points in games like Baldur's Gate: Dark Alliance (9% to 7%) which uses many palettes.
The hot topic is that the performances in Zone Of The Enders 2 skyrocketed (2x), because of the fact that the game uses many palettes and a small number of textures to render it's effects.
For more detailed information check the PR #2344
2018-11-04 22:06:24 +01:00
Dmitry
3ccc53ee74
GSdx: Add a CRC id for RedDeadRevolver RU. ( #2673 )
...
Add missing RU crc id: RedDeadRevolver
2018-11-03 22:40:49 +01:00
lightningterror
9fdb7f6cd5
GSdx-gui: Remove "Recommended" word from crc hack levels Partial and Full.
...
Some users get confused and change the setting to a recommended option.
This can cause some issues when switching different hw render types.
Most of the time users shouldn't change the option and leave it on
Automatic.
Also remove ICO from crc Aggressive tooltip.
2018-11-02 14:54:24 +01:00
lightningterror
fd75085111
GSdx-gui: Increase the vertical size for the drop down list for crc hack level, blending accuracy, and TV shader.
...
Gets rid of scroll bars appearing on GSDumpGui, also fixes TV Shader
drop down list issues.
2018-11-01 00:08:39 +01:00
Akash
fc1d9aef09
GSdx-GUI: Disable large framebuffer for custom res
...
No longer needed after I combined the aligorithm in my previous commit.
2018-09-27 15:41:52 +05:30
Akash
dce6d3f451
GSdx-HW: Remove inefficient scaling algorithm
...
Only impacts custom resolution, there used to be a much weaker algorithm
which doens't consider scissor sizes and gives a minor performance boost
in costs of accuracy (which was used when large framebuffer was disabled
in custom resolutions)
I've removed this as the performance tradeoff is rather negligible after
the implementation of #1942 and the older one is no longer necessary.
Also added an extra parameter for considering the horizontal scissor,
I'm not sure where this might be useful so this is disabled in code for
now till I discover a testcase where this helps or run it on random data
ensuring it's working properly.
Also porting this to the general scaling function might help with memory
spikes which are experienced when large framebuffer is enabled.
2018-09-27 15:34:26 +05:30
Shanoah Alkire
6710b0c906
Get rid of a few GSdx warnings. Remove some extra newlines in Sio's console output.
2018-10-27 01:59:53 -07:00
lightningterror
0cbbf2daf9
GSdx: Add an enum for channel fetch.
2018-10-23 16:52:47 +02:00
lightningterror
bb5d120a3b
GSdx-d3d: SetupDATE - > use pretty enum names.
2018-10-20 21:12:16 +02:00
lightningterror
6dca3656ed
GSdx: Add Harry Potter and the Half-Blood Prince to automatic mipmapping.
2018-10-19 22:16:00 +02:00
KrossX
df307bed02
GSdx-d3d: Add macro to support ScalingFactor in shaders.
2018-10-19 11:36:23 +02:00
lightningterror
5ef53b4587
GSdx-d3d: Partial port of the ICO HLE workaround.
...
We can't do a full port because channel shuffle and depth sampling need
to be ported to d3d but at the very least we can do a partial port that
skips the bad draw calls.
This way we can remove all the remaining crc hacks for ICO in GSHwHacks.
2018-10-19 07:15:06 +02:00
lightningterror
6ab47c934d
GSdx: Revert disabled crc hack on native res for SFEX3.
...
I forgot that it's not an upscaling issue.
2018-10-18 16:13:45 +02:00
lightningterror
411e434baf
GSdx-d3d: Move around some functions in DrawPrims to better match ogl.
...
IsOpaque(), EmulateChannelShuffle, dfmt check for 24bit alpha channel.
2018-10-18 07:02:45 +02:00
lightningterror
c92e76b17e
GSdx-gui: Change internal resolution drop down list names.
...
This should make things a bit easier for users when picking resolutions.
Native (PS2)
2x Native (~720p)
3x Native (~1080p)
4x Native (~1440p 2K)
5x Native (~1620p 3K)
6x Native (~2160p 4K)
8x Native (~2880p 5K)
Custom (Not Recommended)
2018-10-16 16:48:50 +02:00
lightningterror
933e43cb58
GSdx: Change how crc hacks work on native res.
...
Change the code so that some crc hacks on some games that remove
ghosting/blur issues on upscaled resolutions are disabled on native
resolution if crc hack level is below Aggressive state (most of the time).
They aren't needed then so why don't we aim for better accuracy.
2018-10-15 20:41:23 +02:00
lightningterror
5f9ddd2f83
SPU2-X: Adjust NextA case comments a bit.
2018-10-15 15:16:12 +02:00
lightningterror
eb955592ee
SPU2-X: Also include the registers from case 5 since it makes more sense to have both NextA writable.
...
Continuation from:
6b22450a1b
2018-10-15 13:15:40 +02:00
lightningterror
6b22450a1b
SPU2-X: Fixes a regression with Wallace And Gromit: Curse Of The Were-Rabbit sound cutting off.
...
Follow up from PR #2315
Partially reverts commit:
https://github.com/PCSX2/pcsx2/commit/57cbc901b
2018-10-15 13:03:31 +02:00
Shanoah Alkire
6ad4345a39
A few more flags that slipped by the last commits.
2018-10-13 14:45:13 -07:00
Shanoah Alkire
149f30c7fa
Removing some warnings from GSdx and pcsx2 because gcc 8 spams them mercilessly. They should probably be fixed properly, but in the meantime, this'll prevent them from masking other compiler warnings.
2018-10-13 13:56:38 -07:00
Shanoah Alkire
70033020a3
Update compiler flags, as a number of plugins didn't have them set. Setting -Wno-parentheses across the board to suppress warnings about gtk from gcc 8.
2018-10-13 11:05:27 -07:00
Shanoah Alkire
af646895f4
onepad_legacy: Separate the wx dialog code from the linux code here, too.
2018-10-12 23:09:24 -07:00
Shanoah Alkire
a892a95af7
onepad: Start to separate wx dialog code from linux code, as wxWidgets is multiplatform.
2018-10-12 22:29:38 -07:00
lightningterror
fa53968b3c
GSdx-gui: Forgot to update the buttons in Capture Settings.
2018-10-10 21:44:11 +02:00
lightningterror
f3610b7c5c
GSdx-gui: Minor spacing changes to some buttons.
2018-10-10 21:35:00 +02:00
Shanoah Alkire
b5e8a2166b
Onepad_legacy: Add missing header copyright notices.
2018-10-09 23:25:40 -07:00
Shanoah Alkire
7837d69021
Remove the -fpermissive flag, as it doesn't actually seem necessary, and it generates a compiler warning.
2018-10-09 23:13:31 -07:00
Daniel Nowak
a84a315473
Dev9ghzdrk: Get host mac correctly on Windows. ( #2619 )
...
Follow up from #2586 which ensures that MAC address is unique on Xlink Kai when using Windows.
Previous build was returning last two bytes as 00:00 rather than last two bytes of host adapter's MAC.
2018-10-09 20:37:41 +02:00
lightningterror
eac7527b93
GSdx-d3d: 24bit no alpha channel port from OpenGL.
...
Commit:
419dfe0544
2018-10-09 20:25:37 +02:00
lightningterror
b360c07253
glsl, fx: Update point sampler comment.
2018-10-09 09:07:45 +02:00
lightningterror
b1ca6ba528
GSdx-d3d: Use a pretty enum for ate_second_pass.
2018-10-08 23:58:15 +02:00
lightningterror
0dcd60b524
GSdx-d3d: Remove point sampler from d3d9.
...
It did nothing.
2018-10-08 21:22:34 +02:00
lightningterror
c337ab6a66
GSdx-d3d: Use Colormask instead of GSDXRecoverableError on d3d9 texture shuffle.
...
Might be better.
2018-10-08 21:12:05 +02:00
lightningterror
201e7d1430
GSdx-d3d: Reformat GSRendererDX11.cpp.
2018-10-08 07:19:07 +02:00
lightningterror
e5565d32b1
GSdx-d3d: Port directly set impossible mode in the blending table from OpenGL.
...
Commit:
97b38d9e1b
2018-10-08 01:06:45 +02:00
Shanoah Alkire
f965502187
onepad_legacy: delete dead code.
2018-10-06 23:05:01 -07:00
Shanoah Alkire
896c9cccec
onepad_legacy: reformat code.
2018-10-06 22:54:47 -07:00
Shanoah Alkire
f800ed9c2e
Onepad-legacy: Even if std is used all over the place, lets not put the entire project in std's namespace.
2018-10-06 20:01:23 -07:00
lightningterror
e44fc33d48
GSdx-d3d: Add some comments in blendmap enums.
2018-10-06 08:26:45 +02:00
lightningterror
4a2549ef24
GSdx-d3d: Make blend enums easier to read.
...
Easier on the eyes this way.
2018-10-06 08:00:25 +02:00
Shanoah Alkire
db18a01a7b
Update Onepad's controller list.
2018-10-05 13:48:18 -07:00
lightningterror
379d9e4b88
GSdx-d3d: optimize colclip 0 port from OpenGL.
...
Commits:
7979dec5b0
15b934eb2a
2018-10-05 08:40:01 +02:00
KrossX
5719c6c3c0
glsl: remove signed int cast side (masks and offsets are unsigned to begin with.
...
Issue #2617
2018-10-04 20:47:03 +02:00
lightningterror
614209be2d
GSdx-d3d: Change DATE variable to local.
2018-10-04 05:39:01 +02:00
lightningterror
940263d490
GSdx-gui: Adjust space/rows on some tooltips so they fit better, rename Auto to Automatic list on adv. gl settings in hw hacks.
2018-10-03 15:27:42 +02:00
KrossX
2d094cbc3b
tfx.fs: Remove whitespaces.
2018-10-03 15:21:46 +02:00
KrossX
9d562a454b
GSdx: Limit Wrap negative UV when PS_FST is 0 only.
2018-10-03 15:21:46 +02:00
Daniel Nowak
da1eb056a3
Add network capability for Linux ( #2586 )
2018-10-02 21:37:34 -07:00
lightningterror
694546e870
GSdx-d3d: Add colclip_wrap variable.
2018-10-03 05:50:54 +02:00
lightningterror
ef29daa9d0
GSdx-d3d: purge GSDrawingContext* context and GSDrawingEnvironment env from GSRendererDX.h
...
Not used anywhere in dx code and the code is already defined in
GSState.h with member variable names.
2018-10-03 04:41:17 +02:00
Shanoah Alkire
7641d6726f
New helper include for gtk for use in plugins. Mostly based on the gtk 2/3 helper functions I added to spu2-x for the moment.
2018-10-02 01:20:54 -07:00
lightningterror
08a270a429
GSdx-d3d: Reformat GSRendererDX.cpp.
...
Let's keep the file clean and use 1 type of formatting and not a bunch.
It's easier to read this way and looks tidy.
Also correct some commented out code in Texture Sampler.
2018-10-02 02:16:38 +02:00
lightningterror
2aedb97796
GSdx: Add a crc id for Burnout Revenge EU.
2018-10-01 23:29:46 +02:00
lightningterror
f6ba6cc3a9
GSdx-gui: Remove Xenosaga tooltip from TC Offset hack.
...
No longer needed since the issue is fixed.
Commit:
629d2bd425
2018-10-01 22:42:17 +02:00
KrossX
629d2bd425
GSdx: Wrap negative UV on region repeat wrap mode.
...
Makes UV coord be on the range [0, SIZE) before applying mask and
offset. This fixes Xenosaga's hair for example, which has negative UV
coords.
2018-10-01 22:38:22 +02:00
KrossX
e90c87a8ef
GSdx-d3d: Keep fract in [0;1] range port from OpenGL.
...
Fixes texture flickering in Oni on d3d11.
Commit:
a8968257db
2018-09-28 02:33:58 +02:00
KrossX
560966c539
GSdx-d3d: Update nvidia hack with vendor id detection.
...
Hack will no longer be active on Intel or AMD gpus.
Also remove UserHacks_disable_NV_hack. sprite hack
basically does the same thing so it's kinda useless.
2018-09-25 08:35:05 +02:00
KrossX
e063be3043
GSdx-d3d: Port mipmap max_layer calculation from opengl to direct3d.
...
Fixes texture corruption on direct3d when full mipmapping was used.
2018-09-25 08:35:05 +02:00
Jonathan Li
3fe9ff7ac8
gsdx: Split TC offset hack into X and Y components
2018-09-20 01:01:49 +01:00
Jonathan Li
2f5ba10e6b
gsdx:hw: Move TC offset variables to GSRendererHW
...
Also rename them for consistency.
2018-09-20 01:01:49 +01:00
lightningterror
728fa2c1a4
GSdx-d3d: tfx.fx correct texture shuffle shaders.
...
Some values were incorrect, now I'm no expert but looking at the code
and behavior seemed a bit wrong compared to gl.
Improves d3d rendering on Sonic Unleashed, the purple screen is gone
matching it with gl visuals.
2018-09-17 14:26:08 +02:00
lightningterror
8acc319a4a
GSdx-d3d: Mask alpha channel on 24bit format.
...
dfmt is not supported but we can use the variable to select the
frame buffer format and later disable writting to the alpha channel.
MGS3 sees an improvement, and possibly other games as well.
So far didn't spot any regressions.
2018-09-16 12:54:47 +02:00
lightningterror
14a62c3a3f
GSdx-tc: Update fb conversion hack comment with latest d3d changes.
...
D3D10/11 now supports fb conversion through a shader but only on native
res for now.
Nobody cares about D3D9 so don't ask :).
2018-09-15 14:27:04 +02:00
lightningterror
577bfaa8cd
GSdx-d3d: Move Selector reset states in to a separate function.
...
Also move vs_sel def in header file and rename it using the member name.
Code is easier to read/move/adjust similar to GL.
2018-09-15 05:49:18 +02:00
lightningterror
f40c1de919
GSdx: GPU accelerate 8 bits texture conversion port from OpenGL to Direct3D11.
...
Commit:
d29e375f72
Only native res is supported currently, but it's still great progress.
Someone needs to port the ScalingFactor to D3D from commit:
6121677aa1
Credits to KrossX for porting the shader.
2018-09-13 19:56:59 +02:00
lightningterror
6b52cc9829
GSdx-gui: Minor osd gui adjustments.
...
Grey out scrolling speed and maximum onscreen messages when
Enable Log is not checked.
2018-09-13 03:23:36 +02:00
lightningterror
ad143d92da
GSdx: Add Yakuza ntsc-u demo crc id.
2018-09-12 11:33:07 +02:00
lightningterror
6b2fcbd070
SPU2-X-gui: Small corrections requested by turtleli.
2018-09-03 20:58:26 +02:00
lightningterror
c39dc3dd78
GSdx-gui: Minor adjustements.
...
Purge unused IDC_CHECK_DISABLE_ALL_HACKS tooltip from old GSdx versions.
Rename TC Offsets to Texture Offsets.
2018-09-03 20:48:17 +02:00
lightningterror
e1fcd569e7
SPU2-X: More gui adjustements.
...
Adjust gui accross various gui windows.
Adjust naming, positioning of buttons, spacing ...etc.
The different windows should look more similar and not be different.
Also purge IDD_XAUDIO2 window that wasn't used anywhere.
2018-09-03 11:31:41 +02:00
lightningterror
96a62351ac
GSdx: GSHwHack.cpp adjust a few lines I forgot in the previous commit.
2018-09-03 04:51:53 +02:00
lightningterror
38366c084e
GSdx: Adjust Yakuza games crc hacks and do some reformatting.
...
Add a missing crc id for the US version,
, move the crc to DX level - effect is emulated correctly on OpenGL with
depth,
merge the two Yakuza hacks together and reformat it making it easier to
be read.
Skip 3 also seems to work on Yakuza 2.
Related commit:
7f0f19ee02
Reformat the code a bit, ocd satisfaction.
2018-09-03 04:36:11 +02:00
lightningterror
5b9e93c652
GSdx: Add Sly2 Internal prototype disc crc id.
2018-09-01 03:03:20 +02:00
lightningterror
846f31851e
GSdx-gui: Grey out Texture filtering and Interlacing on Null.
2018-08-29 02:12:00 +02:00
Jonathan Li
22f1048e8f
gsdx:windows: Show different adapters for each renderer
...
OpenGL does not allow an adapter to be selected, and the available
adapters for D3D11 and D3D9 may be slightly different.
2018-08-29 00:48:16 +01:00
Jonathan Li
e4dd0069ca
gsdx:windows: Don't refer to D3D10
...
Direct3D11 is used even if the user's GPU only supports Direct3D feature
level 10.0.
2018-08-29 00:48:16 +01:00
Jonathan Li
05004450a0
gsdx:windows: Refactor D3D11/9 adapter enumeration code
...
Move the code into separate functions.
2018-08-29 00:48:16 +01:00
Jonathan Li
3e8f9ac518
gsdx:windows: Init hacks dialog member variables in constructor
...
The skipdraw variables can now be initialised in the constructor as the
dialog no longer preserves state when it is reopened.
2018-08-29 00:48:16 +01:00
Jonathan Li
4d8dea0892
gsdx:windows: Open sub dialogs using temporary objects
...
This prevents the dialog from preserving state after it is closed, which
simplifies the logic slightly for reopening the dialog.
Also remove an unused variable.
2018-08-29 00:48:16 +01:00
Gregory Hainaut
eb104f60e2
round count in constructor (to squash)
2018-08-28 15:30:56 +02:00
Gregory Hainaut
b6db0a3c30
gsdx ogl: allow to reallocate the vertex/index buffer
...
Replace some raw pointers with unique_ptr
When Vertex buffer is updated, we should set again the layout
2018-08-28 15:30:56 +02:00
Gregory Hainaut
5694ef56ca
gsdx ogl: use vector for layout parameter of Vertex Array
...
And keep the state in the object
2018-08-28 15:30:56 +02:00
lightningterror
d09ac6d589
GSdx: Add some crc ids for HarryPotterATPOA KO/JP.
2018-08-27 21:26:19 +02:00
lightningterror
122f730608
glsl: Replace leftover tabs with spaces in shaderboost.
...
I believe all glsl files are cleaned up now.
2018-08-27 14:01:25 +02:00
arcum42
7c33694c1a
SPU2-X (Linux): Lets try this again. GTK 3 fixes. Volume slider added. Latency slider shows ms. Debug button disables and reenables. Various dialog box tweaks.
2018-08-25 15:20:14 -07:00
arcum42
78282c7ed7
Revert my last couple commits because they don't meet a robot's code formatting standards.
2018-08-24 19:34:48 -07:00
arcum42
33db759a77
Attempt to placate evil spirits.
2018-08-24 18:58:43 -07:00
arcum42
10ac426fd5
Spu2-x(Linux): Debug button greys out when appropriate. Minor cleanup on last commit.
2018-08-24 16:09:37 -07:00
arcum42
4c9525c9d9
Spu2-X (Linux): Dialog cleanup. Add volume control. Switch Ok/Cancel buttons to be the same as other plugins on Linux. Add in code for GTK 3 to get rid of depreciation warnings.
2018-08-24 13:41:56 -07:00
lightningterror
bcb7805c11
GSdx-gui: Don't disable Anisotropic Filtering on gl when Allow 8-bit textures is enabled.
...
Anisotropic works even with 8bit textures enabled.
2018-08-24 13:12:26 +02:00
lightningterror
1aeec47b30
glsl: Replace leftover tabs with spaces in tfx_fs.
2018-08-22 20:12:53 +02:00