Commit Graph

374 Commits

Author SHA1 Message Date
Henrik Rydgård
7950a00c14 Headless buildfix. Crashfix in shader generator test. 2022-12-01 22:49:00 +01:00
Henrik Rydgård
a0f27c7442 Implement depth/stencil resolve. (We probably only need depth resolve since we don't texture from stencil, but whatever). 2022-12-01 22:49:00 +01:00
Henrik Rydgård
75dc856e2c Test fix 2022-11-23 08:52:46 +01:00
Henrik Rydgård
c91e7912bf Change "Simulate block transfer" to "Skip GPU Readbacks". Group the speed hacks together 2022-11-06 19:30:38 +01:00
Henrik Rydgård
519db766b6 Change "Rendering Mode" to just a "Skip buffer effects" checkbox. Reuse translations. 2022-11-06 19:26:56 +01:00
Unknown W. Brackets
21573f4302 headless: Fix crash running some tests on Vulkan.
If there's no frame display, tests were crashing because no backbuffer
present blit happened.  This allows those tests to run.
2022-10-18 21:34:59 -07:00
Unknown W. Brackets
f009d15078 headless: Allow screenshot to not be 512x272.
Ended up with a cropped screenshot for a frame dump, which just silently
crashed.  Could reject, but easy enough to support.
2022-10-18 21:33:47 -07:00
Henrik Rydgård
d30d8bf35c Removes the option, autodetect instead - only enable if the GPU doesn't support bitwise ops. 2022-10-11 16:09:57 +02:00
lainon
fec708489a Correct cleaning string and remove unused vars 2022-09-30 12:26:30 +03:00
Unknown W. Brackets
1dc1b2c35b headless: Use display buf for compare screenshot.
This is what the test actually uses too.
2022-09-20 14:05:50 -07:00
Unknown W. Brackets
c65880fa90 headless: Add some new and passing tests. 2022-09-18 06:40:15 -07:00
Unknown W. Brackets
749268c7f7 headless: Benchmark a test or frame dump.
This outputs the average time for comparison.
2022-09-17 14:14:08 -07:00
Unknown W. Brackets
25d92c8a84 headless: Add option for MSE pass threshold.
This makes it easier to allow a certain amount of deviation across
devices.
2022-09-17 14:14:08 -07:00
Unknown W. Brackets
f32e8e11ab headless: Switch screenshot error to MSE.
This is more useful than 1/0 on whether a pixel doesn't match, when many
are close but not exact.
2022-09-17 14:13:26 -07:00
Unknown W. Brackets
d703c934dd Headless: Small cleanup of options handling.
To be able to add additional options.
2022-09-17 14:13:22 -07:00
Unknown W. Brackets
fc50860f55 headless: Fix startup on latest Android versions.
Otherwise it tries to use deprecated ashmem and chokes.
2022-09-03 21:06:32 -07:00
Unknown W. Brackets
05ad644c69 Headless: Set softgpu config flag.
This affects dump playback (whether it updates RAM with what's in the
frame dump), so it's confusing when it's not set matching the core.
2022-08-21 15:52:18 -07:00
Unknown W. Brackets
1b72311e7d Headless: Fix comparison for oversized buffers.
At least when not flipping.
2022-08-21 15:51:56 -07:00
Unknown W. Brackets
dedb63532b Headless: Correct bad pointer without gfx context. 2022-08-12 23:22:32 -07:00
Unknown W. Brackets
5246d901ce Headless: Cleanup unused/leak warnings. 2022-08-07 12:10:17 -07:00
Unknown W. Brackets
170441313c Net: Ignore SIGPIPE errors on POSIX systems.
This should work on BSD/macOS/Linux/iOS/similar.
2022-04-03 06:57:45 -07:00
Unknown W. Brackets
2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets
3df6cb704f Global: Fix some type conversion warnings.
Hidden by some warning disables.
2022-01-30 16:09:33 -08:00
Unknown W. Brackets
7e814decc7 Headless: Improve total test time on Windows.
This improves it by almost 40%.
2022-01-30 08:27:22 -08:00
Unknown W. Brackets
e062c31a82 Headless: Improve test init time. 2022-01-30 08:04:35 -08:00
Unknown W. Brackets
9c695aea9a Headless: Remove stack corruption workaround.
This doesn't seem necessary anymore, was made static in 2013.
2022-01-29 14:07:26 -08:00
Unknown W. Brackets
1cbbd197b2 Headless: Return an exit code on test failure. 2022-01-22 00:14:16 -08:00
Unknown W. Brackets
85d868a369 Headless: Fix font tests on Linux. 2022-01-22 00:14:15 -08:00
Unknown W. Brackets
a45eeb56ed Headless: Fix compare of smaller buffers.
When the buffer is smaller, we need to flip properly to compare the
correct pixels.
2022-01-08 16:06:17 -08:00
Unknown W. Brackets
0ef1df79b9 headless: Enable softgpu jit for tests. 2021-11-28 15:54:48 -08:00
Unknown W. Brackets
fb69d56387 Headless: Generate a difference highlighting png.
Only for graphics tests that generate a screenshot, including ppdmp.
2021-11-07 11:05:17 -08:00
Unknown W. Brackets
92f9d3dc46 Headless: Move screenshot compare to class. 2021-11-07 10:03:49 -08:00
Unknown W. Brackets
0875c217c6 Headless: Fix ppdmp compare. 2021-11-07 10:01:16 -08:00
Unknown W. Brackets
b6c6a5bb3f GPU: Default vertex cache to off.
Previously, it was defaulted on only for OpenGL, where it didn't work.
2021-09-14 23:43:29 -07:00
Henrik Rydgård
928bc88b01 Rename Unthrottle to Fast-forward globally 2021-08-18 09:28:13 +02:00
Henrik Rydgård
d62899efcd
Merge pull request #14711 from unknownbrackets/reverb-volume
Sas: Add option to control reverb volume
2021-08-10 13:02:30 +02:00
Unknown W. Brackets
ff9b9f7321 Sas: Add option to control reverb volume.
This also allows you to turn it off.
2021-08-09 20:47:24 -07:00
Unknown W. Brackets
0a5a3d4ef4 Headless: Cleanup extraneous output. 2021-08-07 17:55:22 -07:00
Henrik Rydgård
81f0c3a8e4 Address feedback (except the mailbox refcount) 2021-06-13 10:16:53 +02:00
Henrik Rydgård
0fa27ff9d7 Autodetect number of threads (remove setting). Fix some bugs. 2021-06-12 21:06:59 +02:00
Unknown W. Brackets
f2b2f26e8e Common: Use Path for GetExeDirectory(). 2021-05-15 11:12:54 -07:00
Unknown W. Brackets
7b175627b3 VFS: Use Path for DirectoryAssetReader. 2021-05-15 11:12:04 -07:00
Unknown W. Brackets
2558022afe Config: Move data path settings to Paths. 2021-05-15 11:11:37 -07:00
Unknown W. Brackets
ed2ade4e22 headless: Correct tests. 2021-05-14 22:44:05 -07:00
Henrik Rydgård
2e16e83159 It never ends... 2021-05-13 10:39:16 +02:00
Henrik Rydgård
a40b1dec5f Use Path for fullName in dirlisting. Bugfixes.
Buildfixes

UWP: Buildfix.

headless: Buildfix.

Common: Buildfix.

iOS: Buildfixes.

libretro: Buildfix.

Qt: Buildfix.
2021-05-13 10:39:16 +02:00
Henrik Rydgård
ae06499a0c Change Copy, Rename to use Path. Remove std::string version of Exists().
Buildfixes

Buildfix
2021-05-13 10:39:16 +02:00
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård
d775bf4e4c
Merge pull request #14442 from unknownbrackets/path-extension
Update path extension and PSP/GAME/ handling
2021-05-10 21:05:05 +02:00
Henrik Rydgård
a40bb2eaa1 headless: Avoid empty string compares for mountIso. 2021-05-09 17:24:04 -07:00