Commit Graph

29256 Commits

Author SHA1 Message Date
Henrik Rydgård
d7de08c4ff Add checkbox to enable/disable driver bug workarounds. 2021-01-31 15:20:23 +01:00
Henrik Rydgård
ae50534918 Add a new command in developer tools to list and load framedumps from framedump.ppsspp.org/repro/
Useful to make it easy to test GPU driver bugs etc, without having to
use real games or copying files around.
2021-01-31 14:42:40 +01:00
Henrik Rydgård
e15064b2fc Framedump test screen. Downloads a list of framedumps. 2021-01-31 13:13:42 +01:00
Henrik Rydgård
ce2e47f353
Merge pull request #14033 from sum2012/warmup_patch6
Mpeg:Only allow firmware >= 6 for warmup
2021-01-31 11:09:07 +01:00
Henrik Rydgård
95a14be6f9
Merge pull request #14034 from unknownbrackets/ge-pause
Ge: Restore saved context when ending a list
2021-01-31 10:52:55 +01:00
Unknown W. Brackets
1b00da2f3a Common: Sign extend w/func not chained casts.
Should be clearer to read and easier to get right.
2021-01-31 01:25:52 -08:00
Unknown W. Brackets
f2ad47512b Ge: Restore saved context when ending a list.
Otherwise another list queued by a Head push could use the wrong context
data.  See #13346.
2021-01-31 00:28:42 -08:00
Unknown W. Brackets
5041a898a2 Ge: Improve some logging and memchecks.
Explicitly trigger memchecks on readback.
2021-01-31 00:22:49 -08:00
sum2012
1d2150d2ae Mpeg:Only allow firmware >= 6 for warmup
Fix blue screen in #13146
2021-01-31 15:32:29 +08:00
Unknown W. Brackets
8205f9b6f2
Merge pull request #14030 from hrydgard/fix-mipmap-transition-issue
Vulkan: Fix image layout issues after compute shader uploads.
2021-01-30 14:38:01 -08:00
Henrik Rydgård
719aae4730
Merge pull request #14029 from unknownbrackets/iso-endian
Io: Consistently use LE values of ISO entries
2021-01-30 23:10:50 +01:00
Henrik Rydgård
c48bdf7efc Vulkan: Fix image layout issues after compute shader uploads.
We're already in GENERAL so probably not worth to transfer to DST just
to do even more transfers due to the silliness of GenerateMip.

I'm planning to rework the whole texture upload thing to be far more
optimal with some kind of TextureUploadManager

Fixes #13987
2021-01-30 23:09:42 +01:00
Henrik Rydgård
de02c7e90e
Merge pull request #14028 from glebm/fix-log-flags-2
Only force the log level if it set via an argv
2021-01-30 21:36:42 +01:00
Unknown W. Brackets
49e9400670 Io: Consistently use LE values of ISO entries.
Better to be consistent across big endian and little endian, in case
something was mastered wrong.
2021-01-30 12:00:40 -08:00
Henrik Rydgård
c84ddaa9e0
Merge pull request #14027 from unknownbrackets/mips-cleanup
Core: Correct branch analysis truncation
2021-01-30 20:57:17 +01:00
Gleb Mazovetskiy
892ab51585 Only force the log level if it set via an argv
Follow-up to #14019
2021-01-30 19:54:07 +00:00
Unknown W. Brackets
d12d890e25
Merge pull request #14023 from hrydgard/ubsan-shift32-fix
Attempt to fix #14022
2021-01-30 11:45:10 -08:00
Unknown W. Brackets
e99c69f19e jit: Be very clear on sign extension. 2021-01-30 11:41:30 -08:00
Unknown W. Brackets
e397754587 Core: Correct branch analysis truncation. 2021-01-30 11:22:46 -08:00
Henrik Rydgård
9a24bcdd9f Vertex cache minihash: Round up the starting address to a multiple of 4. 2021-01-30 18:40:18 +01:00
Henrik Rydgård
1eeebccd04 Fix Apple gpu detection 2021-01-30 18:31:39 +01:00
Henrik Rydgård
09b02a8a71
Merge pull request #14019 from glebm/fix-log-flags
Fix logging flags
2021-01-30 18:18:57 +01:00
Henrik Rydgård
58f19051cd Attempt to fix #14022 2021-01-30 18:03:46 +01:00
Gleb Mazovetskiy
f372a2112b Fix logging flags
1. The logging flags were being ignored (-v, -d)
2. Adds a `--loglevel` argument. Useful when using the debug build for
   ASAN/UBSAN to hide extremely noisy debug messages.
2021-01-30 16:10:27 +00:00
Henrik Rydgård
53b249ff19
Merge pull request #14018 from glebm/fix-ubsan-warning-x64-emitter
x64Emitter: Fix unaligned store UBSAN errors
2021-01-30 15:34:54 +01:00
Henrik Rydgård
a367191b9f
Merge pull request #14017 from glebm/fix-ubsan-neg-shift-mips-code-utils
Fix left shift of negative value in MIPSCodeUtils
2021-01-30 15:32:10 +01:00
Gleb Mazovetskiy
7305ba9d9b x64Emitter: Fix unaligned store UBSAN errors
This compiles to the same assembly as before even without optimizations and avoids UB.

https://godbolt.org/z/4G5edM

While the UB here is benign, this improves signal-to-noise ratio of UBSAN errors.

Fixes #14005
2021-01-30 12:26:01 +00:00
Gleb Mazovetskiy
78ad98e6c4 jpge.cpp: Remove malloc.h include
`malloc.h` is deprecated and doesn't exist on macOS.
`stdlib.h` provides malloc.

Fix sent upstream in https://github.com/richgel999/jpeg-compressor/pull/18
2021-01-30 12:13:13 +00:00
Gleb Mazovetskiy
5a09bc3d30 Update ext/jpge
From aeb7d3b463

Fixes #14012

Also now comes with SSE2 SIMD
2021-01-30 12:13:08 +00:00
Gleb Mazovetskiy
c17685646e Fix left shift of negative value in MIPSCodeUtils
Fixes a benign UBSAN error to improve the signal-to-noise ratio of
UBSAN errors.

Fixes #14015
2021-01-30 12:03:40 +00:00
Henrik Rydgård
c251d69eab Minimize the Adreno shader compiler bug repro test 2021-01-30 10:21:14 +01:00
Henrik Rydgård
c18142b41e
Merge pull request #13997 from ANR2ME/adhoc
[Adhoc] Fix connection issue on Dynasty Warriors (Shin Sangoku Musou) games
2021-01-30 10:00:54 +01:00
Henrik Rydgård
dea573a3c9
Merge pull request #14007 from nassau-tk/pgf-fixltn8to15-Russian
Fix Russian characters ltn8~15.pgf
2021-01-30 09:58:50 +01:00
Henrik Rydgård
0af0aed25f
Merge pull request #14008 from glebm/fix-align-filesystem
Fix alignment issues in ISOFileSystem
2021-01-30 09:58:12 +01:00
Henrik Rydgård
e7aeeb90ac
Merge pull request #14009 from unknownbrackets/branch-shift
jit: Make branch shift more obvious
2021-01-30 09:24:34 +01:00
ANR2ME
d907906c74 Fix connection issue on Dynasty Warriors (Shin Sangoku Musou) games when playing with more than 2 players. 2021-01-30 15:20:24 +07:00
Henrik Rydgård
23992141f9
Merge pull request #14001 from glebm/ubsan
CMake: Add USE_UBSAN
2021-01-30 09:14:35 +01:00
Unknown W. Brackets
c179cad5c2 jit: Make branch shift more obvious.
And also not technically undefined behavior.
2021-01-29 20:53:41 -08:00
Gleb Mazovetskiy
093a36eec5 Fix alignment issues in ISOFileSystem
Fixes #14002
2021-01-30 00:28:34 +00:00
nassau-tk
da40ed6e81 Fix Russian characters ltn8~15.pgf 2021-01-30 09:18:23 +09:00
Gleb Mazovetskiy
08dbec532a CMake: Fix UBSAN link error 2021-01-29 23:29:54 +00:00
Gleb Mazovetskiy
0fb42e07a6 CMake: Rename USE_ADDRESS_SANITIZER to USE_ASAN
For consistency with USE_UBSAN
2021-01-29 23:10:22 +00:00
Gleb Mazovetskiy
3bd3046315 CMake: Add USE_UBSAN 2021-01-29 23:08:00 +00:00
Henrik Rydgård
54849075aa
Merge pull request #13999 from sum2012/mpeg_minor
Mpeg:Only allow firmware >= 3 for warmup
2021-01-29 22:17:25 +01:00
sum2012
02f1b6452b Try to build fix on non-windows 2021-01-29 22:45:30 +08:00
sum2012
6bc3cb4dfa Mpeg:Only allow firmware >= 3 for warmup
Fix #13996
2021-01-29 22:26:45 +08:00
Henrik Rydgård
1e0dc11dac
Merge pull request #13998 from jdgleaver/gitlab-windows
(.gitlab-ci.yml) Add windows-x64 target
2021-01-29 11:51:54 +01:00
jdgleaver
32aa4bfdd0 (.gitlab-ci.yml) Add windows-x64 target 2021-01-29 10:29:13 +00:00
Henrik Rydgård
8471a31c9c
Merge pull request #13994 from glebm/fix-find-ffmpeg
FindFFmpeg: Fix a few issues
2021-01-29 09:17:24 +01:00
Gleb Mazovetskiy
4c203c5d5f FindFFmpeg: Fix a few issues
1. postproc now looks for postprocess.h (there is no postproc.h header).
2. pkg-config fallback condition now works (find_path/library set the
   variable to ${var}-NOTFOUND but it was checking for an empty string).
2021-01-29 00:24:12 +00:00