Unknown W. Brackets
0981c28224
Build: Skip install of list_cpu_features.
2023-02-26 15:58:40 -08:00
Henrik Rydgård
e685dc910f
Merge pull request #17008 from unknownbrackets/msvc-cleanup
...
Build: Cleanup some MSVC optimization settings
2023-02-26 21:16:10 +01:00
Unknown W. Brackets
c062b78b55
Build: Cleanup some MSVC optimization settings.
2023-02-26 11:27:46 -08:00
Unknown W. Brackets
0943bebc48
Build: Fix an MSVC warning, normalize a bit.
2023-02-26 11:25:54 -08:00
Henrik Rydgård
b3ce31c61e
Address feedback
2023-02-26 19:54:30 +01:00
Henrik Rydgård
a18b7a8d38
Merge pull request #17006 from hrydgard/move-more-stuff-gpucommonhw
...
Move more stuff to GPUCommonHW
2023-02-26 14:52:17 +01:00
Henrik Rydgård
72bed6f2b5
Some DeviceLost/DeviceRestore cleanup
2023-02-26 11:05:52 +01:00
Henrik Rydgård
231f4efbbb
Move some more stuff to GPUCommonHW
2023-02-26 10:33:11 +01:00
Henrik Rydgård
3dc47c7fef
Unify TextureCache ::StartFrame as much as possible.
...
Tiny optimization avoiding a Vulkan pool reset on most frames.
2023-02-25 23:20:41 +01:00
Henrik Rydgård
4c45f8a4b0
Pass in draw directly in GPUCommon::DeviceRestore, instead of awkwardly fetching it
2023-02-25 23:04:27 +01:00
Henrik Rydgård
3e942f6b7b
Merge pull request #17004 from hrydgard/gpu-common-hw-move-exec
...
Move more stuff to GPUCommonHW
2023-02-25 19:48:57 +01:00
Henrik Rydgård
af2fd7b038
Move Vulkan clear detection logic into DrawEngine like the other backends.
2023-02-25 19:23:07 +01:00
Henrik Rydgård
526ba74d05
Move the shaderManager_ to GPUCommonHW
2023-02-25 19:23:07 +01:00
Henrik Rydgård
c3ceb9bf70
Move assorted debug functions and similar to GPUCommonHW
2023-02-25 19:23:07 +01:00
Henrik Rydgård
807d40e095
Move the matrix loading exec functions too
2023-02-25 19:23:07 +01:00
Henrik Rydgård
8520e1dec5
Move SetDisplayFramebuffer to GPUCommonHW
2023-02-25 19:23:07 +01:00
Henrik Rydgård
71ed265c57
Move sawExactEqualDepth to GPUCommonHW
2023-02-25 19:23:07 +01:00
Henrik Rydgård
bcd38bc9e8
Move some more commands to GPUCommonHW. Get rid of ugly cast.
2023-02-25 19:23:07 +01:00
Henrik Rydgård
d22a22569a
Move the drawing commands to GPUCommonHW
2023-02-25 19:23:07 +01:00
Henrik Rydgård
05209a3968
Merge pull request #17002 from hrydgard/gpu-common-hw-moves
...
Move a bunch of stuff that belongs in GPUCommonHW into it
2023-02-25 19:23:02 +01:00
Henrik Rydgård
8fb75e0c12
Unify most of the DebugGetShader* functions
2023-02-25 16:42:09 +01:00
Henrik Rydgård
92ee6e6a75
Remove more redundant functions
2023-02-25 16:33:09 +01:00
Henrik Rydgård
c2c479b217
Remove function InitClear. Was only implemented for DX9, and only barely meaningful in non-buffered.
2023-02-25 16:32:50 +01:00
Henrik Rydgård
7bcc21b0e3
Move msaaLevel_ to GPUCommonHW
2023-02-25 16:27:00 +01:00
Henrik Rydgård
8b54a14bf2
Move the big command table to where it belongs, GPUCommonHW
2023-02-25 16:20:34 +01:00
Henrik Rydgård
9d6c3c329e
Move CheckGPUFeatures() to GPUCommonHW
2023-02-25 16:13:54 +01:00
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