Stenzek
5bab8af38f
GS/HW: Rename and improve dirty alpha to valid alpha
2023-05-12 14:19:58 +01:00
Stenzek
61f344dd66
GS/HW: Handle texture shuffles using region repeat
...
Ace Combat 04 reads RG, writes to RGBA by setting a MINU of 1015.
2023-05-12 14:19:58 +01:00
Stenzek
1811955fce
GameDB: Add SW FMV render to Poinie's Poin
...
Game does 640x1232 draws to clear out most (but not all) of GS memory,
then 224 high draws to 1216 high targets, presumably moving GS memory
around.
Enabling SW FMV render isn't needed for the FMV, it's just a convenient
way to remove these targets from the TC, as the clearing/copying mess
happens before the FMVs play.
2023-05-12 12:37:00 +01:00
lightningterror
449da42108
USB: Fix struct member not used warnings.
...
Codacy.
2023-05-11 19:57:34 +02:00
Stenzek
9493d3e9c9
USB/GunCon2: Adjust calibration timer
...
Credit to @pcnimdock for debugging.
2023-05-11 16:24:27 +01:00
Stenzek
e5c1052062
GS: Add option to disable vertex shader expand
...
And automatically disable it on Fermi (buggy driver).
2023-05-11 16:18:01 +01:00
Stenzek
7edc4e2cb3
GS: Remove CRC hack levels
...
Replace it with a boolean "Disable Render Fixes" option.
2023-05-11 16:16:15 +01:00
Stenzek
7ca28fc796
GS/HW: Remove aggressive CRC hacks
...
GSC_AceCombat4 - couldn't get this to trigger.
GSC_FFXGames - dunno what this did, but FFX has been fine for some time.
GSC_Okami - breaks a bunch of the game's effects, downsample is intentional.
GSC_RedDeadRevolver - working as intended, patch on forums.
GSC_ShinOnimusha - breaks effects, only saves 5-10% GPU at 8x.
GSC_XenosagaE3 - breaks cutscenes, minimal perf difference.
2023-05-11 16:16:15 +01:00
refractionpcsx2
72f9bf83fd
SIF: Correct junk data behaviour. Fixes True Crime Streets of LA
2023-05-11 16:03:13 +01:00
forrvalhalla
2695ddc9fc
GameDB: Various fixes
2023-05-11 09:23:54 +01:00
JordanTheToaster
fbcc8671ac
GameDB: Various fixes
...
Fixes for broken refraction effect in Crash WOC and broken FMVs in Army Men 2.
2023-05-10 13:27:29 +01:00
Stenzek
7e76230cf8
GameDB: Enable TexInRT for Project Snowblind
...
Seems it does the same target offset thing:
```
TC: Target 0x3600 detected in front of TBP 0x3560 with 64,32 offset (5 pages)
```
2023-05-10 13:26:19 +01:00
Stenzek
ba27221bf2
GameDB: Enable TexInRT for Enthusia - Professional Racing
...
Fixes reflections (C32 target with offset C24 texture).
2023-05-10 13:26:19 +01:00
Stenzek
6cf1501050
GameDB: Change Destroy All Humans to base tex-in-rt
...
Since it handles offset targets now, there's no need to use the merge
path, and the former is cheaper (no copy).
However, I'm keeping it around for Guitar Hero III (eventually I'll get
back to that..)
2023-05-10 13:26:19 +01:00
Stenzek
a30ca0ce2a
GS/HW: Remove Tomb Raider CRC hacks
...
It works correctly with tex-in-rt now.
2023-05-10 13:26:19 +01:00
Stenzek
5e3e988846
GS/HW: Allow finding targets offset behind FBP for tex-in-rt
2023-05-10 13:26:19 +01:00
Stenzek
bb42353c81
GS/HW: Make regions signed, and use compatible bits for tex-in-rt
2023-05-10 13:26:19 +01:00
Stenzek
61740fc9ed
GS/HW: Break channel shuffle on CBP change
...
Needed for Tomb Raider: Underworld
2023-05-10 13:26:19 +01:00
Stenzek
ea30c90a6c
GS/HW: Use source resolution rather than CRTC for channel shuffle
2023-05-10 13:26:19 +01:00
Stenzek
3968a82775
GS/HW: Turn GT4 CRC hack into a GSC instead
...
Keep the hacks with the rest of the hacks.
2023-05-10 13:26:19 +01:00
Goatman13
6e40081dd9
GameDB: Remove DOA2 iop patches.
...
Fixed in https://github.com/PCSX2/pcsx2/pull/3778
2023-05-09 18:41:40 +01:00
Stenzek
2b8b43c94c
GS/Vulkan: Simplify and refactor swap chains
2023-05-09 13:44:56 +01:00
Stenzek
3f0ecc2284
GS/Vulkan: Submit cmdbuffer each frame even when surfaceless
...
Stops out-of-descriptor scenarios which are not realistic in the GS
runner.
2023-05-08 20:48:14 +01:00
Stenzek
828e86bdf4
GS: Skip draws when scissor is invalid
...
i.e. the bottom-right is greater than the top-left.
tombraidertitle.gs.xz hits this.
2023-05-08 20:48:14 +01:00
Stenzek
159d0c060f
GS/Vulkan: Clear out previous texture binding when it's RT/DS
2023-05-08 20:48:14 +01:00
Stenzek
4a29fdb3f2
GS/Vulkan: Ensure restarted render passes don't clear
...
We don't want to wipe out what's done, and we don't know the clear
values anyway.
2023-05-08 20:48:14 +01:00
Stenzek
29da1bb9ef
GS: Make context scissor.in an integer vector
...
Doesn't make sense for it to be floats, and saves a bunch of
conversions.
2023-05-08 20:48:14 +01:00
Stenzek
47636bb30f
Config: Fix incorrect key for DisableShaderCache
2023-05-08 20:48:14 +01:00
Stenzek
5fe64396b4
GS/Vulkan: Fix incorrect layout during copy to self
...
Of course this happened in Dark Cloud 2.
2023-05-08 20:48:14 +01:00
Stenzek
75b782f261
GS/Vulkan: Enable geometryShader for Primitive ID
...
Apparently it is needed..
2023-05-08 20:48:14 +01:00
Stenzek
4a5cf0efb9
GS: Combine texture classes and add custom layout for Vulkan
2023-05-08 20:48:14 +01:00
PCSX2 Bot
cfdae77331
PAD: Update to latest controller database.
2023-05-08 18:51:41 +02:00
lightningterror
ec0aaff8ac
GS: Replace EmuConfig.GS with GSConfig.
...
EmuConfig isn't safe to run on the gs thread.
2023-05-08 12:47:56 +02:00
refractionpcsx2
f651d8e26a
GameDB: Add text fix for State of Emergency 2
2023-05-06 17:43:05 +01:00
Stenzek
0526769808
GS/Vulkan: Remove more unused code
2023-05-06 07:18:55 +01:00
Connor McLaughlin
1866745936
GS/DX12: Fix building in debug
2023-05-06 04:02:29 +01:00
Stenzek
920c5ab266
Qt: Expose disable shader cache option
2023-05-06 03:40:00 +01:00
Stenzek
c57d8980a1
GS: Move Vulkan helpers from common to GS
2023-05-06 03:40:00 +01:00
Stenzek
0ed418834a
GS: Move OpenGL helpers from common to GS
2023-05-06 03:40:00 +01:00
Stenzek
083969a3d2
GS: Move DirectX helpers from common to GS
2023-05-06 03:40:00 +01:00
Ty Lamontagne
6740fff179
Profiling: Fix missing cast breaking VTune builds on Linux
...
Also remove now-pointless SW-JIT VTune code.
2023-05-06 03:15:46 +01:00
JordanTheToaster
25e24d1d09
GameDB: More Juiced 1 FIxes
...
Fixes for broken headlights and enforcing high blending for more accuracy.
2023-05-06 00:52:47 +01:00
refractionpcsx2
76cc9c8b21
GS: Only update dirty on local invalidate if bp matches
2023-05-05 14:58:41 +01:00
Regan Green
7dcf6b70d9
GameDB: Apply THUG2 GS HW fixes to THAW
2023-05-05 13:00:44 +01:00
Regan Green
f26b26b73e
GameDB: Tony Hawk's post-processing fixes
2023-05-05 13:00:44 +01:00
JordanTheToaster
055beaa27a
GameDB: Juiced 1 FIxes
...
Fixes for broken window and shadow rendering headlight brightness and overbightness in hardware mode.
2023-05-05 10:21:25 +01:00
lightningterror
a4623c3c63
Qt: Sort checkbox upscale and renderer hw hacks in alphabetical order.
2023-05-05 00:31:01 +02:00
Zwip-Zwap Zapony
4e3a94809d
GameDB: Secret Agent Clank compat and bloom fix
2023-05-04 22:37:58 +01:00
JordanTheToaster
5ff64899e6
GameDB: True Crime LA Fixes
...
Fixes for the sun going through buildings.
2023-05-04 18:00:51 +01:00
lightningterror
971f172c91
GS: Cleanup GSRenderer.
...
Constants, casting.
2023-05-04 16:37:39 +02:00