Commit Graph

35760 Commits

Author SHA1 Message Date
Henrik Rydgård
8ba665e258 More unification work 2023-02-25 16:12:24 +01:00
Henrik Rydgård
c74f5b2189 Prepare for unifying more stuff 2023-02-25 16:01:32 +01:00
Henrik Rydgård
e136ad795a Some slight unification 2023-02-25 15:15:34 +01:00
Henrik Rydgård
b6846646af Remove some uses of gfxCtx_ 2023-02-25 15:15:34 +01:00
Henrik Rydgård
59236dc71c
Merge pull request #17001 from hrydgard/gpu-common-hw
Introduce GPUCommonHW (code cleanup)
2023-02-25 15:15:14 +01:00
Henrik Rydgård
9e8f1d3cb3 Make the DoState stuff less ugly 2023-02-25 14:42:15 +01:00
Henrik Rydgård
285ffbaa52 Unify CopyDisplayToOutput 2023-02-25 14:42:15 +01:00
Henrik Rydgård
18999c3687 Create the GPUCommonHW class. 2023-02-25 14:42:10 +01:00
Henrik Rydgård
c4f4439b8c
Merge pull request #17000 from hrydgard/more-rendering-cleanup
More rendering cleanup
2023-02-25 13:11:05 +01:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct (#16998)
* Wrap the display globals in a struct

Makes it easier to search/replace these, for future refactorings.

* Some renaming

* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)

* Attempt at buildfixing ios

* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård
0d57f3beee Unify GPUCommon::DoState. 2023-02-25 12:21:03 +01:00
Henrik Rydgård
609a8f6d36 Unify ExecuteOp between the accelerated backends 2023-02-25 12:21:03 +01:00
Henrik Rydgård
6b91647209 Remove unused ExeuteOp in GPUCommon.cpp 2023-02-25 12:21:03 +01:00
Henrik Rydgård
3823c08771 Remove PreExecuteOp from GPUInterface 2023-02-25 12:21:03 +01:00
Henrik Rydgård
ed03348c65 Unify PreExecuteOp, keep the soft GPU as a special case 2023-02-25 12:21:03 +01:00
Henrik Rydgård
da561aa9de Unify CheckFlushOp 2023-02-25 12:21:03 +01:00
Henrik Rydgård
16eded4e1c Comment on why FinishDeferred is not unified. 2023-02-25 12:21:03 +01:00
Henrik Rydgård
30120560ab Include file cleanup in framebuffer managers 2023-02-25 12:21:00 +01:00
Henrik Rydgård
3e98d313a8
Merge pull request #16995 from hrydgard/cleanup-texture-dirty
Some minor code cleanups (merge two functions, remove a parameter)
2023-02-25 08:42:12 +01:00
Henrik Rydgård
7a14c4d426
Merge pull request #16997 from hrydgard/fix-uwp-build
Retarget UWP projects for latest VS version
2023-02-25 07:15:29 +01:00
Henrik Rydgård
e332259e7a Oops (fix UWP) 2023-02-25 07:12:53 +01:00
Henrik Rydgård
49e5460c9c Remove count parameter from SetViewports. No use foreseen. 2023-02-25 07:12:53 +01:00
Henrik Rydgård
1b5148bb6c Remove kinda-duplicate function. 2023-02-24 23:54:04 +01:00
Henrik Rydgård
61c5b9e0ca Retarget UWP projects for latest VS build
19061 is the oldest SDK installed by default.

Also disable "SDL" (security development lifecycle) checks in
SPIRV-Cross because it doesn't build with it...
2023-02-24 23:08:41 +01:00
Henrik Rydgård
f5d844d282
Merge pull request #16996 from hrydgard/upgrade-spirv-cross
Update SPIRV-Cross to a version that builds in debug mode on the latest VS.
2023-02-24 23:08:25 +01:00
Henrik Rydgård
0cb051a37f Update SPIRV-Cross to a version that builds in debug mode on the latest VS.
The old bug that used to cause a warning now fails outright, so the
upgrade is necessary.
2023-02-24 22:45:49 +01:00
Henrik Rydgård
cbc224b7ed
Merge pull request #16994 from Nemoumbra/base-pointer
Debugger: copy PSP memory base to clipboard
2023-02-24 22:41:54 +01:00
Nemoumbra
aab4a3034c Added new MainWindow menu item "copy PSP memory base pointer" 2023-02-24 23:54:45 +03:00
Nemoumbra
c6b44cd5d7 Update gitignore 2023-02-24 23:44:32 +03:00
Henrik Rydgård
bec429ed72 MacOS buildfix for some reason 2023-02-23 20:21:41 +01:00
Henrik Rydgård
24ef088448
Merge pull request #16987 from GABO1423/uwp-stuff
(UWP) File Tweaks
2023-02-23 14:49:30 +01:00
Henrik Rydgård
9d5b95616d
Merge pull request #16988 from unknownbrackets/debugger
Debugger: Lock memory during stack walk
2023-02-23 14:42:37 +01:00
Unknown W. Brackets
cd3fc26190 samplerjit: Prevent thread local stale cache read.
If the generation count happens to match, would still get a stale pointer
and crash.  Let's just make the generation count static so it always
increases.
2023-02-22 21:15:03 -08:00
Unknown W. Brackets
cbc1ed4bfe Debugger: Lock memory during stack walk.
In case of shutdown during it.
2023-02-22 21:14:33 -08:00
Gabriel Morazán
37ca5d5e95
(UWP) File Tweaks 2023-02-22 18:03:12 -04:00
Henrik Rydgård
febba1886c
Merge pull request #16981 from Narugakuruga/patch-18
Update zh_CN.ini
2023-02-18 17:25:53 +01:00
Narugakuruga
be4af6874f
Update zh_CN.ini 2023-02-18 22:32:38 +08:00
Henrik Rydgård
34e6dcb287 compat/perf: Enable BlockTransferAllowCreateFB for Naruto Shippuden: Ultimate Ninja Heroes 3
See issue #16733
2023-02-17 22:51:52 +01:00
Henrik Rydgård
203590a15a
Merge pull request #16976 from unknownbrackets/riscv-vertexjit
riscv: Implement skinning in vertexjit
2023-02-17 22:47:37 +01:00
Unknown W. Brackets
335788a932 Vulkan: Remove logspam. 2023-02-16 19:34:44 -08:00
Unknown W. Brackets
df1bd64662 riscv: Add morph+skin to vertexjit. 2023-02-16 18:45:10 -08:00
Unknown W. Brackets
71f4b116fe riscv: Implement skinning in vertexjit. 2023-02-16 18:32:58 -08:00
Unknown W. Brackets
27e60a9f2e riscv: Sum weighted matrices in vertexjit.
Not yet doing pos/norm, so not used yet.
2023-02-16 18:32:58 -08:00
Unknown W. Brackets
04ce3a0572 riscv: Allow subset of B extension to be used. 2023-02-16 16:09:22 -08:00
Henrik Rydgård
be833550ec
Merge pull request #16974 from hrydgard/tilt-fixes
Tilt: Fix sensitivity for digital mappings, simplify things
2023-02-16 11:53:33 +01:00
Henrik Rydgård
64e80423a6 Simplify the tilt code, tweak a bit 2023-02-16 11:07:57 +01:00
Henrik Rydgård
3e286b7a27 Apply sensitivity before deadzone. Feels more intuitive 2023-02-16 10:35:38 +01:00
Henrik Rydgård
a288c59841 Simplify tilt, step 1 2023-02-16 10:33:47 +01:00
Henrik Rydgård
99b2349d6b
Merge pull request #16971 from hrydgard/rainbow-six-perf-fix
Add a heuristic avoiding joining framebuffers horizontally...
2023-02-16 00:25:27 +01:00
Henrik Rydgård
adda49d05d Add a heuristic avoiding joining framebuffers horizontally
...when texturing from the other one.

Greatly improves GPU performance in Rainbow Six: Vegas.

Fixes #9324.
2023-02-15 15:35:28 +01:00