Commit Graph

31962 Commits

Author SHA1 Message Date
Henrik Rydgård
1826a4f423
Merge pull request #15375 from unknownbrackets/samplerjit-dxt
Precalculate offsets for linear DXT in software renderer
2022-02-06 17:13:19 +01:00
Unknown W. Brackets
459bb83c23 GE Debugger: Allow modify/breakpoint on matrix. 2022-02-06 00:16:35 -08:00
Unknown W. Brackets
72b2fbf635 GE Debugger: Cleanup right click on state.
Oops, was toggling breakpoint on "Change..." if you right clicked the
icon.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets
9f434fa14d GE Debugger: Allow setting secondary values.
This makes it convenient to update the bufw of textures or similar.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets
1bb1f34af0 GE Debugger: Add breakpoint icon in state. 2022-02-05 19:27:28 -08:00
Unknown W. Brackets
4de217d3e4 GE Debugger: Cleanup vertex list redraw.
When you're scrolled down and it deletes items, it was previously
scrolling up an extra step, and not redrawing.  This tries to force
workaround the bug.
2022-02-05 19:27:28 -08:00
Unknown W. Brackets
4a8d320479 GE Debugger: Flush downcount when changing lists.
In case you step ahead or similar.
2022-02-05 19:27:25 -08:00
Unknown W. Brackets
1d37f24e17 GE Debugger: Reduce playback command noise.
No need to reassert these values each prim.
2022-02-05 19:27:20 -08:00
Unknown W. Brackets
99d7703d33 samplerjit: Precalculate DXT1/3/5 offsets.
This improves WALL-E by 8% overall.
2022-02-05 13:04:17 -08:00
CelesteBlue-dev
d28307847d
Delete pauth_tool, useless since pauth keys known
pauth_tool was added because of #4074
pauth_tool can be removed because of #12559
2022-02-05 00:23:03 +01:00
Unknown W. Brackets
c91b51c8e1 samplerjit: Reduce DXT5 decode code size a bit. 2022-02-03 20:42:34 -08:00
Henrik Rydgård
f58d4dfcfe
Merge pull request #15372 from unknownbrackets/bmi2
Optimize jits with a bit of BMI2
2022-02-01 09:43:35 +01:00
Unknown W. Brackets
c2dd59084d samplerjit: Optimize DXT calc using BMI2. 2022-02-01 00:18:56 -08:00
Henrik Rydgård
c3ecd41e2c
Merge pull request #15371 from unknownbrackets/flushbefore
softgpu: Avoid flush on END
2022-02-01 08:03:03 +01:00
Unknown W. Brackets
3e4afe2a0c samplerjit: Avoid RCX gymanstics with BMI2. 2022-01-31 22:33:09 -08:00
Unknown W. Brackets
4cadcea6da samplerjit: Decode colors with BMI2.
This only happens with nearest, though, so very small benefit.
2022-01-31 22:05:34 -08:00
Unknown W. Brackets
367525f875 softjit: Use PEXT to downsample colors.
This gives between 1-2% in many games.
2022-01-31 21:40:54 -08:00
Unknown W. Brackets
10bf375712 softjit: Use BMI2 to speed up dst color loads.
This is about 1% overall gain in some games.
2022-01-31 21:27:51 -08:00
Unknown W. Brackets
ad43380ef6 softjit: Use BMI to simplify some masking. 2022-01-31 19:50:48 -08:00
Unknown W. Brackets
16dca4f69b x86jit: Use BMI2 for variable shifts.
We don't actually regalloc ECX, but this still saves a copy, and on modern
CPUs these seem to be pretty fast.
2022-01-31 19:38:17 -08:00
Unknown W. Brackets
bd06569609
Merge pull request #15370 from hrydgard/remove-flushbefore
GPUCommon: Remove misleading flag FLUSHBEFORE.
2022-01-31 19:35:25 -08:00
Unknown W. Brackets
be8c74cabe softgpu: Avoid flush on END.
We only, but always, flush when exiting list interp in FinishDeferred.
It's not necessary at END, and hurts for simple signals that don't stop
list processing.
2022-01-31 19:32:46 -08:00
Henrik Rydgård
2a82d392e3 Remove double flush in GE_CMD_END 2022-02-01 00:05:32 +01:00
Henrik Rydgård
6d31562ea7 GPUCommon: Remove misleading flag FLUSHBEFORE.
Fixes the new problem in #13967

Though of course doesn't fix the vertical lines.
2022-01-31 23:57:56 +01:00
Henrik Rydgård
748eef05d0
Merge pull request #15369 from unknownbrackets/include-cleanup
Global: Reduce includes of common headers
2022-01-31 15:23:21 +01:00
Unknown W. Brackets
edcc1a7104 HLE: Fix some type convert warnings.
Almost missed these.
2022-01-30 22:06:54 -08: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
5e185f3d87 Common: Remove some unused files. 2022-01-30 15:11:57 -08:00
Henrik Rydgård
cd7cea90a9
Merge pull request #15368 from unknownbrackets/display-stats
Refactor display stats, prevent flush while stepping
2022-01-31 00:08:44 +01:00
Unknown W. Brackets
f24e255268 Core: Skip stats reset while stepping.
This way, you can use it to actually see the stats.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets
129a603832 Display: Account for stepping time in graphs.
Frame times should count that as sleep too.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets
48b597a1b9 Display: Move core counters/stats to HW file.
This separates things better, so not everything is pulling in HLE.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets
ad2e380987 Display: Move listeners to separate HW file.
Mixing this in with the HLE management funcs was messy.
2022-01-30 09:41:08 -08:00
Henrik Rydgård
9f9f86d468
Merge pull request #15367 from unknownbrackets/headless-speed
Improve the speed of headless tests
2022-01-30 17:49:17 +01: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
664d18cc9d Debugger: Encourage better meminfo accounting.
This makes MSVC generate a tighter loop and inline.
2022-01-30 08:03:54 -08:00
Henrik Rydgård
4a9ffb6b89
Merge pull request #15366 from unknownbrackets/unittest-fix
Build: Fix Windows unit tests
2022-01-30 16:42:15 +01:00
Unknown W. Brackets
693439b710 Build: Fix Windows unit tests. 2022-01-30 06:56:05 -08:00
Henrik Rydgård
77502db4c4
Merge pull request #15363 from unknownbrackets/softjit-unittest
Add unit test to verify compilation of sampler/pixel jits
2022-01-30 10:47:30 +01:00
Henrik Rydgård
c50f5d7faf
Merge pull request #15362 from unknownbrackets/actions-ccache
Build: Enable ccache for GitHub Actions
2022-01-30 10:46:35 +01:00
Henrik Rydgård
8dd059936e
Merge pull request #15364 from unknownbrackets/warnings
Cleanup a few warnings
2022-01-30 10:46:24 +01:00
Henrik Rydgård
524486e342
Merge pull request #15365 from unknownbrackets/kernel-timing
Kernel: Adjust timings of LwMutex and EventFlag
2022-01-30 10:46:06 +01:00
Unknown W. Brackets
41da6d9f48 Kernel: Adjust timings of LwMutex and EventFlag.
This better matches tests on real firmware.  These funcs are sometimes
often used.  See #15348 - Corpse Party.
2022-01-29 23:19:53 -08:00
Unknown W. Brackets
cb0bc8543b Build: Ignore nullable completeness on Android.
Gives a bunch of warning spam with Vulkan Memory Allocator.
2022-01-29 22:36:21 -08:00
Unknown W. Brackets
43819fcd16 UI: Cleanup some reference warnings. 2022-01-29 22:36:08 -08:00
Unknown W. Brackets
1b2cf52bfe samplerjit: Fix non-shared CLUT on Linux.
Oops, good that CI will catch this now - I've broken this more than once.
2022-01-29 22:20:46 -08:00
Unknown W. Brackets
a40d32d581 samplerjit: Validate compile in a unit test. 2022-01-29 20:31:18 -08:00
Unknown W. Brackets
26a8d498d7 samplerjit: Correct level lookup in nearest. 2022-01-29 20:29:43 -08:00