Commit Graph

31912 Commits

Author SHA1 Message Date
Unknown W. Brackets
3387ab1711 samplerjit: Fix reg corruption in DXT funcs.
We'd cache something in a reg, but it'd no longer be there.
2022-01-29 20:29:08 -08:00
Unknown W. Brackets
d200ef40de samplerjit: Compile sampler funcs together.
We can't have the cache clear between nearest/linear, because then we'll
call a bunch of int3's.
2022-01-29 20:28:20 -08:00
Unknown W. Brackets
0d93200faf softjit: Add tests for compile success. 2022-01-29 18:47:36 -08:00
Unknown W. Brackets
e266eb78ad Common: Avoid assert hang in CI. 2022-01-29 18:39:21 -08:00
Unknown W. Brackets
3dde3efa9f softjit: Fix stencil bug running out of regs.
To apply the stencil test mask, we need another gen reg.
2022-01-29 18:31:40 -08:00
Unknown W. Brackets
df454d2ce2 Build: Enable ccache for GitHub Actions. 2022-01-29 15:31:44 -08:00
Henrik Rydgård
078c61cfc9
Merge pull request #15360 from unknownbrackets/samplerjit-opt
Cleanup register usage a bit in samplerjit
2022-01-30 00:31:01 +01:00
Henrik Rydgård
00411320e2
Merge pull request #15361 from unknownbrackets/unittest
Run unit tests in GitHub Actions
2022-01-30 00:29:42 +01:00
Unknown W. Brackets
00e809341f Build: Run unit tests after build. 2022-01-29 14:07:26 -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
1a787a2bca Headless: Add flag to run failing tests. 2022-01-29 14:07:26 -08:00
Unknown W. Brackets
7099df6619 unittest: Skip D3D shader compile on non-Windows.
Tests were just failing before.
2022-01-29 14:07:26 -08:00
Unknown W. Brackets
95e292ef63 unittest: Correct Windows-specific Path tests. 2022-01-29 13:36:50 -08:00
Unknown W. Brackets
ce775af76d softgpu: Skip new CLUT if identical.
Games often reupload CLUT data that is already there, this skips some
copying later in the bin manager.
2022-01-29 12:55:34 -08:00
Unknown W. Brackets
7b4006045d unittest: Use more consistent output executable.
PPSSPPHeadless has PPSSPP as a prefix, so should PPSSPPUnitTest.
2022-01-29 12:31:13 -08:00
Unknown W. Brackets
a181c9f7c4 unittest: Correct failing unit test.
Was just an invalid flag combination.
2022-01-29 12:22:11 -08:00
Unknown W. Brackets
5976cad797 samplerjit: Reduce register waste.
A few registers were allocated longer than needed, which made requiring
stack more likely.
2022-01-29 09:47:06 -08:00
Henrik Rydgård
368baec587
Merge pull request #15359 from ANR2ME/network
[Network] An attempt to fix GetIPList on Darwin (MacOS/iOS)
2022-01-29 11:00:16 +01:00
Unknown W. Brackets
eb70a90347 samplerjit: Avoid frac uv transfer to gen regs.
It should just stay in vec, this is more convenient anyway.
2022-01-28 23:50:54 -08:00
ANR2ME
171e2b5713 Added another attempt to detect GETIFADDRS availability, which is more common on newer OS 2022-01-29 05:43:07 +07:00
ANR2ME
c37a58d39c We might be missing the SIOCGIFADDR 2022-01-29 05:43:06 +07:00
ANR2ME
cdea71e901 Added logs for error within SIOCGIFCONF section. 2022-01-29 05:43:06 +07:00
ANR2ME
7aa3b1398e Change a confusing variable naming 2022-01-29 05:43:06 +07:00
Henrik Rydgård
99cfff3ac6
Merge pull request #15355 from unknownbrackets/mp3
Add some Mp3 fixes from a bit ago, pass several mp3 tests
2022-01-27 15:12:06 +01:00
Henrik Rydgård
6446008a25
Merge pull request #15356 from stuken/libretro_2xbrz_option
Expose 2xBRZ texture filter option for libretro.
2022-01-27 09:38:08 +01:00
Henrik Rydgård
5634d9baf1
Merge pull request #15354 from unknownbrackets/tests-minor
Kernel: Fail threads with invalid priority
2022-01-27 09:33:42 +01:00
Stuart Kenny
1a3fed4344 Expose 2xBRZ texture filter option. 2022-01-27 08:27:04 +00:00
Unknown W. Brackets
864d0200fb Mp3: Delay low level init. 2022-01-27 00:24:10 -08:00
Unknown W. Brackets
d45fe93588 Mp3: Output PCM data using even/odd buffer slot.
This makes sense since the audio APIs are all async.
2022-01-27 00:22:44 -08:00
Unknown W. Brackets
914d022eef Mp3: Allow decode with NULL out pointer. 2022-01-27 00:22:44 -08:00
Unknown W. Brackets
4903e14aae Mp3: Cleanup AuCtx constructor. 2022-01-27 00:22:43 -08:00
Unknown W. Brackets
9d1be08473 Kernel: Fail threads with invalid priority.
No real reports so far except what looks like garbage data, which
probably crashes anyway.
2022-01-27 00:02:18 -08:00
Unknown W. Brackets
49a17e9ab8
Merge pull request #15349 from hrydgard/list-hdr-formats
Vulkan: Add support for listing all the available surface formats in system info.
2022-01-26 06:48:55 -08:00
Henrik Rydgård
1bc60f6003 UWP buildfix 2022-01-26 14:33:09 +01:00
Henrik Rydgård
30756acf9d Quick hack attempt around build failures 2022-01-26 13:28:59 +01:00
Henrik Rydgård
c955ea942a
Merge pull request #15351 from unknownbrackets/tests-minor
Correct an Rtc test and a savedata test
2022-01-26 10:08:23 +01:00
Unknown W. Brackets
9e688eaa7c Rtc: Fix day of week stack bounds issue.
Also, add a couple other tests showing as passing now.
2022-01-26 00:43:05 -08:00
Unknown W. Brackets
e75d2a097b Savedata: Fix indeterminate timing of field update.
This makes the test pass consistently, instead of depending on thread
timing.
2022-01-26 00:31:30 -08:00
Henrik Rydgård
54053b6b8b
Merge pull request #15347 from unknownbrackets/samplerjit-opt
Improve samplerjit code a bit with mipmaps
2022-01-26 09:19:06 +01:00
Henrik Rydgård
678cc2c940
Merge pull request #15350 from unknownbrackets/softgpu-fixes
Fix a few broken tests in software renderer
2022-01-26 09:18:01 +01:00
Unknown W. Brackets
f1254b1976 Ge: Fix sceGeBreak error case.
Seems to be some compiler optimization.
2022-01-25 19:50:35 -08:00
Unknown W. Brackets
e82b54e4b6 softgpu: Cull no-pos and through s8 pos verts.
Seems like these just don't draw anything, ever.
2022-01-25 19:29:11 -08:00
Unknown W. Brackets
61e30e8f8b softgpu: Fix cull in throughmode.
Was only an issue for triangles used to draw rectangles, but caused our
test to fail.

Also move a test that was failing due to an outdated prx to passing.
2022-01-25 19:07:33 -08:00
Henrik Rydgård
8dc8fae16d Vulkan: Add support for listing all the available surface formats in system info.
Enabling the EXT_swapchain_colorspace extension lets the driver expose
all the formats it really supports.

Used this to discover that my Galaxy S21 supports Display-P3 which is a wider
gamut than sRGB. Might be able to do some color boosting mode for fun.

Or, use this stuff to play around with HDR?
2022-01-25 19:22:49 +01:00
Unknown W. Brackets
99d6d569f0 samplerjit: Reduce transfers in nearest texel calc.
This benefits a few games, mostly where there's lots of UI or similar.
2022-01-24 21:28:04 -08:00
Unknown W. Brackets
c1e657ed47 samplerjit: Better vectorize UV linear calc.
Gives about 1-2% when mips are used.
2022-01-24 20:42:07 -08:00
Unknown W. Brackets
733046962f samplerjit: Reuse XMM reg for sizes.
Gives just under 1% overall improvement in games using mips.
2022-01-24 19:01:23 -08:00
Henrik Rydgård
0e2f5d66b6
Merge pull request #15345 from unknownbrackets/softgpu-blend
Fix some minor softgpu blending bugs
2022-01-24 09:37:59 +01:00
Henrik Rydgård
fbc965fb59
Merge pull request #15343 from unknownbrackets/gpu-region
GPU: Log and report when region1 is non-zero
2022-01-24 09:18:17 +01:00
Henrik Rydgård
1c18c172a1
Merge pull request #15339 from unknownbrackets/softgpu-flags
Use dirty flags for softgpu state updates
2022-01-24 09:17:37 +01:00