refractionpcsx2
e040b83b2c
GS: Fix debug builds
2023-07-15 00:48:33 +01:00
TellowKrinkle
4f4b9956b3
GS: Reduce cutoff for primid destination alpha
2023-07-14 13:44:08 +02:00
TellowKrinkle
ba37a0f3a9
GS:MTL: Allow disabling fbfetch
...
For testing and stuff
2023-07-14 13:44:08 +02:00
Stenzek
2887baefb8
GS/DX12: Combine GSDevice12 and D3D12Context
2023-07-14 12:21:51 +10:00
Stenzek
9678bf1e2f
GS/Vulkan: Combine GSDeviceVK and VKContext
...
Less indirection.
2023-07-14 12:21:51 +10:00
Stenzek
e2fc68ff2d
GS/Vulkan: Use VK_EXT_attachment_feedback_loop_layout when supported
2023-07-13 22:35:34 +10:00
refractionpcsx2
719b83bf42
GS: Only clamp tex coords to bounds in hardware.
2023-07-12 10:18:16 +01:00
refractionpcsx2
fd6f47f5ca
GS/HW: Tempfix alignment problem with texture replacements
2023-07-11 16:07:45 +01:00
Stenzek
8524fbbaf9
GS/HW: Decompress replacement textures to get alpha min/max
2023-07-11 13:30:47 +01:00
Stenzek
a371c5b7d0
GS/HW: Calculate alpha values for sources
2023-07-11 02:01:57 +01:00
refractionpcsx2
ef7ce4dfc8
GS/HW: Don't use DATE_one when alpha 128 (1.0) is masked
2023-07-11 02:01:57 +01:00
refractionpcsx2
189f6fa2a3
GS/HW: Calculate target alpha min/max
2023-07-11 02:01:57 +01:00
refractionpcsx2
472f4922bd
GS/HW: Improve double half clear for strange strip drawing
2023-07-11 02:01:35 +01:00
Sestain
8ba2f342df
OSD: Input recording overlap fixed ( #9211 )
2023-07-11 02:01:17 +01:00
Stenzek
9c4788432d
GS/HW: Avoid tex-is-fb when incompatible clamp is used
2023-07-10 22:19:47 +10:00
lightningterror
4ded2caa0b
GS-ogl: Comment out intel vendor set. ( #9203 )
...
Fixes Wunused-but-set-variable warning.
2023-07-10 07:30:15 +02:00
refractionpcsx2
df75d70df4
VIF: Add missing internal DMA stall flag
2023-07-09 22:03:23 +01:00
KrossX
32aa24f6fd
GS: Add fancy downsampling shaders.
2023-07-09 14:04:06 +01:00
refractionpcsx2
7fbc63b8e8
EE/IOP Sync: Optimize EE/IOP sync for more intelligent syncing
2023-07-09 13:53:00 +01:00
refractionpcsx2
443adcdd5b
EE/IOP Sync: Calculate IOP interrupt delta after running IOP
2023-07-09 13:53:00 +01:00
refractionpcsx2
05b064d513
IOP/Counters: Fix off by 1 error
2023-07-09 13:53:00 +01:00
refractionpcsx2
b327033333
Counters: Process overflow before Target in case of Target = 0
2023-07-09 13:53:00 +01:00
refractionpcsx2
36c9b68b6c
EE/Counters: Update HBlank before recalculating Next Event
2023-07-09 13:53:00 +01:00
refractionpcsx2
7d8d16091e
EE/DMA: Try to avoid very small DMA loops
2023-07-09 13:53:00 +01:00
refractionpcsx2
c1c6bde429
Counters: Only schedule an EE interruption if they interrupt
2023-07-09 13:53:00 +01:00
Stenzek
8f0901e7a5
VMManager: Flag BIOS missing error for translation
2023-07-09 21:52:02 +10:00
Stenzek
6edba3820b
GameList: Don't repeatedly scan invalid files every startup
2023-07-09 21:52:02 +10:00
Stenzek
db1e1bcc1f
CDVD: Rewrite ISO parser
2023-07-09 21:52:02 +10:00
Stenzek
51aeaeb508
CDVD: Ignore version information when loading ELF
2023-07-09 21:52:02 +10:00
Stenzek
dcd0a1f002
GS/HW: Add render fix for complex moves
...
And use it to fix Growlanser.
2023-07-09 17:42:21 +10:00
Stenzek
819b61937f
GS: Slim down GSState.h includes
2023-07-09 15:34:59 +10:00
Stenzek
9da7628083
GS: Move PCRTC function definitions to GSState.cpp
2023-07-09 15:34:59 +10:00
Ziemas
c5f47a8db3
mipsanalyst: sign extend 32 bit regs
2023-07-08 18:51:36 +01:00
Stenzek
c2786b91ce
GS/OGL: Fix sampling from cleared targets
...
And merge GLLoader into GSDeviceOGL while we're at it.
2023-07-09 00:46:52 +10:00
Stenzek
4290c16997
GS/DX11: Fix sampling from cleared targets
2023-07-09 00:46:52 +10:00
Stenzek
475e90b654
GS/HW: Don't invalidate buffers on partial clear
2023-07-09 00:45:16 +10:00
Stenzek
ebb291e06d
GS/DX12: Fix targets getting stuck undirtied
2023-07-08 14:33:21 +10:00
Stenzek
a2c9069dda
GameDB: Add eeCycleRate option
...
For those pesky games with cache/DMA issues only!
2023-07-08 14:28:30 +10:00
Stenzek
48cfe9ca73
Config: Make SpeedHack a scoped enum
...
And get rid of the redundant "SpeedHack" suffix on all values.
2023-07-08 14:28:30 +10:00
Stenzek
b53e9856b8
USB/usb-mic: Fix buffer handling
...
- RingBuffer would store a size of zero if you wrote the entire
the entire buffer in one call.
- ResetBuffers() should be called before starting the stream,
otherwise you risk a race where the callback happens before
the buffer is allocated.
- Fix incorrect latency being passed into Cubeb.
2023-07-08 14:27:51 +10:00
Stenzek
20420da326
Input/SDL: Don't pass stdio handle to SDL
...
Apparently on cmake, SDL isn't compiled with stdio support...
2023-07-08 14:21:02 +10:00
Stenzek
c049f6814b
Input/SDL: Load controller DB after init
...
Tries to lock a non-existant mutex on Windows otherwise.
2023-07-07 21:06:53 +10:00
Sanjay Govind
0716abdbf8
USB: Fix DJ Hero Turntable Labels
2023-07-07 17:25:46 +10:00
Stenzek
45c564749c
GS/HW: Improve striped double clear detection
...
Co-authored-by: refractionpcsx2 <refraction@gmail.com>
2023-07-07 12:35:19 +10:00
Stenzek
a62737b244
GS/HW: Be more strict with double half clear detection
...
And less strict with letting depth mem clears go through.
2023-07-07 12:35:19 +10:00
Stenzek
1fa3111e67
Qt: Sync video capture state
2023-07-07 12:34:58 +10:00
Stenzek
0e78f3f3bc
GS: Improve capture robustness
...
Automatically restart capture on renderer or hardware reset.
2023-07-07 12:34:58 +10:00
lightningterror
c78f3b4e24
Savestate: Fix Wsign-compare warning.
2023-07-06 12:58:48 +02:00
lightningterror
51aa7c8ecf
GS-hw: Fix warnings.
...
Wunused-variable,
Wunused-lambda-capture.
2023-07-06 12:58:48 +02:00
Stenzek
8f9f351940
Qt: Don't allow creation of memory cards with invalid names
2023-07-06 12:30:35 +10:00
Stenzek
ecabadbf95
CMake: Use FindWayland from ECM
...
Fixes previously-broken FindWayland.cmake which had local modifications
that prevented PCSX2 from being compiled on OpenSUSE.
2023-07-06 12:30:05 +10:00
Stenzek
455aa28724
GS/HW: Use minimum UV as a channel shuffle heuristic
...
Used by Ape Escape 2, Everybody's Tennis/Golf, Okage, and Valkyrie
Profile 2.
2023-07-05 12:19:58 +10:00
Stenzek
5fa862b346
GS: Fix uninitialized data in deinterlacing
2023-07-04 19:45:48 +10:00
Stenzek
d5c6c318ba
GS: Move VSync flush to caller
2023-07-04 19:45:33 +10:00
refractionpcsx2
02133a0290
GS/HW: Missed a Div 0 in previous push.
2023-07-04 10:32:38 +01:00
refractionpcsx2
92b6c1c08d
GS/HW: avoid divide by zero's in draw rect calculations
2023-07-04 10:26:38 +01:00
Stenzek
08649b7aa8
GS/Vulkan: Work around NVIDIA driver clear issue
...
NVIDIA drivers appear to return random garbage when sampling the
RT via a feedback loop, if the load op for the render pass is CLEAR.
Using vkCmdClearAttachments() doesn't work, so we have to clear the
image instead.
I'm not sure if this is a spec violation, or what we're doing just
happens to be undefined. Given attachment clear doesn't work, I'm
inclined to go with the former.
2023-07-04 18:53:11 +10:00
Stenzek
9e19ef0d03
GS/DX12: Fix initial state of expand index buffer
2023-07-04 18:53:11 +10:00
Stenzek
33af3392aa
GS: Move clear functions to base GSDevice class
2023-07-04 18:53:11 +10:00
Stenzek
e5a5cf0ef0
GS/Vulkan: Fix merging non-black cleared target
2023-07-04 18:53:11 +10:00
Stenzek
c1ca3888ec
GS/HW: Handle more edge cases in double-half clears
...
Fixes Siren, God of War 2.
2023-07-04 17:33:17 +10:00
Stenzek
1b76bf59a1
GS/HW: Improve accuracy of PrimitiveCoversWithoutGaps()
2023-07-04 17:33:17 +10:00
Stenzek
699c6bf13d
GS/HW: Detect one-page-offset RT+Z clear
...
Gran Turismo 4 Online uses it.
2023-07-03 00:52:33 +01:00
RedDevilus
d9dbf2c5e9
Qt: Add Polish flag
...
Polish were neglected, that ends now. Flag will be used when it sees a Polish entry in the gamelist.
Fixes https://github.com/PCSX2/pcsx2/issues/9137
Bumps the gamelist cache version from 32 to 33
Adds to enumeration
And make it visible in both gamelist and per-game summary view
Update GameList.cpp
2023-07-02 21:14:40 +01:00
Stenzek
972135e184
GS/Vulkan: Use attachment clear for clears when inside render pass
2023-07-02 13:00:16 +10:00
Stenzek
96fad124ac
GS/HW: Improve detection of clears
...
- Detect "normal" target clears and HLE accordingly
- Rewrite double-half clears to mask Z or FRAME, reducing false target creation.
- Handle split single-page-wide clears, and attempt to get a real FBW.
- Propogate clear values between targets, instead of blitting.
2023-07-02 13:00:16 +10:00
Stenzek
ce7c466041
GS/HW: Fix mem clear when width != fbw
2023-07-02 13:00:16 +10:00
Sanjay Govind
f91f257a7d
USB: Add DJ hero turntable emulation
2023-07-01 20:42:48 +10:00
Stenzek
4192de7dac
USB: Fix some default strings not being translatable
2023-07-01 14:17:29 +10:00
lightningterror
d38ad1df94
GS-hw: Change some blend operations in hw blend table.
...
Change the operations for Cs in table to CONST_ZERO as we want it to be 0.
2023-06-30 20:10:12 +02:00
refractionpcsx2
1fd7bcf9a9
GS: Update draw number on combined EE transfers
2023-06-30 16:31:12 +01:00
refractionpcsx2
06abb70624
GS/HW: Don't use unsigned values when calculating rect
2023-06-30 16:31:12 +01:00
Stenzek
78e20868df
GS/OpenGL: Fix potentially-incorrect line width
2023-06-30 23:06:51 +10:00
Stenzek
e52766d047
Misc: Fix a few warnings
2023-06-30 21:37:44 +10:00
Stenzek
3c408de5c9
Build: Disable exceptions in the compiler
2023-06-30 21:37:44 +10:00
Stenzek
ea803ff2d4
Build: Always use bundled soundtouch
...
Because we're disabling exceptions in it.
Might gain a bit of speed by -Ofast as well.
2023-06-30 21:37:44 +10:00
Stenzek
adca796d94
Common: Remove SafeArray
...
And replace with std::vector.
2023-06-30 21:37:44 +10:00
Stenzek
732aa96656
Common: Remove AlignedBuffer
...
And replace its one use site (texture dumping).
2023-06-30 21:37:44 +10:00
Stenzek
6beaec8ba1
Common: Remove Exceptions
...
The satisfaction is immeasurable.
2023-06-30 21:37:44 +10:00
Stenzek
2ae78f6e2f
Misc: Clean up the last places exceptions were used
2023-06-30 21:37:44 +10:00
Stenzek
a889acb332
GS: Remove exceptions
2023-06-30 21:37:44 +10:00
Stenzek
81236209db
SaveState: Remove exceptions
2023-06-30 21:37:44 +10:00
Stenzek
52266d7ac0
CDVD: Remove exceptions (completely this time)
...
The actual reads are still missing error checking...
2023-06-30 21:37:44 +10:00
Stenzek
d0ce4c52b0
GS/Vulkan: Set line width unconditionally on line draw
2023-06-30 14:16:35 +10:00
Stenzek
64ed6f5572
VMManager: Fix cheats warning showing with per-game HC mode
2023-06-29 20:30:10 +01:00
Stenzek
987bebffc7
GS/Vulkan: Make line width dynamic
2023-06-29 20:29:59 +01:00
lightningterror
8c09daa22d
Revert "Sio: Fix Wunused-variable warning."
...
This reverts commit 9254403a51
.
Apparently there were new changes that made use of the variable.
2023-06-28 23:11:39 +02:00
lightningterror
7ebc04bc34
Interpreter: Cleanup constants, casts, formatting.
2023-06-28 22:59:58 +02:00
lightningterror
9254403a51
Sio: Fix Wunused-variable warning.
2023-06-28 22:59:58 +02:00
Connor McLaughlin
b4250965e6
ElfObject: Fix inverted condition
2023-06-29 00:32:06 +10:00
Stenzek
3fbe704e21
Sio: Replace reinsert spam with a single message
2023-06-28 22:44:54 +10:00
Stenzek
4bfbc355a2
R5900: Fully get rid of exceptions
2023-06-28 22:44:54 +10:00
Stenzek
4d22102fd1
Interpreter: Use local variables for action PCs
2023-06-28 22:44:54 +10:00
Stenzek
828fb8972c
GS/HW: Use range erase instead of vector swap for draw transfers
2023-06-28 20:59:18 +10:00
Stenzek
29b97209fe
GS/HW: Split LookupTarget() and CreateTarget()
2023-06-28 20:59:18 +10:00
Stenzek
db42792abf
GS/HW: When page aligned, dirty page rects instead of SO
...
Fixes broken scrolling effects in Onimusha 3.
2023-06-27 17:50:04 +10:00
Stenzek
16e47f1d6b
Qt: Move audio backend names to core and allow translation
2023-06-27 09:21:23 +02:00
refractionpcsx2
d51d51b3cc
Memcard: Stop Folder memcards double reindexing
2023-06-26 14:45:50 +01:00
refractionpcsx2
c40e132284
SIO/MCD: hugely improved memcard swapping + reinsertion
2023-06-26 14:45:50 +01:00
Stenzek
8fe9282bd9
Qt: De-duplicate AppIcon
2023-06-26 17:52:39 +10:00