Henrik Rydgård
bdb5f3a91b
Reorganize the depth vertex pipeline for future optimizations
2024-12-21 14:27:59 +01:00
Henrik Rydgård
dd31518272
DepthRaster: Merge the decode and transform steps
2024-12-21 14:27:59 +01:00
Henrik Rydgård
c7f0eabc65
DepthRaster: Premultiply world-view-proj matrices
2024-12-21 14:27:59 +01:00
Henrik Rydgård
c92b3b6521
Move prototype cross simd wrapper structs to CrossSIMD.h
2024-12-21 14:27:59 +01:00
Henrik Rydgård
72c954d8c3
Add convenient wrappers
2024-12-21 14:27:59 +01:00
Henrik Rydgård
09afe363ca
One less operation in the inner loop
2024-12-21 14:27:59 +01:00
Henrik Rydgård
d27d8c9dae
Remove subpixel precision. Some sketching.
2024-12-21 14:27:55 +01:00
Henrik Rydgård
c5ad81e3d5
Add DepthRaster.cpp/h. Rasterize depth rectangles, some triangles
2024-12-21 14:27:53 +01:00
Henrik Rydgård
b442183259
Add "Realtime" checkbox to pixel viewer
2024-12-21 14:19:50 +01:00
Henrik Rydgård
58adb379ea
GE debugger improvements
2024-12-20 20:31:58 +01:00
Henrik Rydgård
bff2498a3f
Merge pull request #19753 from hrydgard/more-simd
...
Implement fp64's color conversion function in ConvertRGBA8888ToRGBA5551
2024-12-20 11:07:57 +01:00
Henrik Rydgård
6481fc9989
Implement fp64's color conversion function in ConvertRGBA8888ToRGBA5551
2024-12-20 10:45:17 +01:00
Henrik Rydgård
7b3640ee03
Merge pull request #19751 from hrydgard/simd-cleanup
...
SIMD include cleanup
2024-12-20 08:31:33 +01:00
Henrik Rydgård
1c2f11a468
Buildfix
2024-12-19 16:57:57 +01:00
Henrik Rydgård
d5bfc1b5eb
Finish up this cleanup (move _M_SSE compat define out of Common.h)
2024-12-19 16:23:20 +01:00
Henrik Rydgård
d2a96dc7b5
Replace some SSE4-specific operations with SSE2 sequences.
2024-12-19 16:08:59 +01:00
Henrik Rydgård
e93c80db4e
Cleaning up our SIMD header includes, using the new header
2024-12-19 16:08:48 +01:00
Henrik Rydgård
5326d87f9c
Rename CrossSIMD to SIMDHeader, but also keep CrossSIMD.h (will have a future use)
2024-12-19 15:15:43 +01:00
Henrik Rydgård
53cb014c07
Merge pull request #19750 from bslenul/lr-crash-fix
...
[Libretro] Crash fix
2024-12-19 13:12:08 +01:00
Bobby Smith
c522e53e79
[Libretro] Crash fix
2024-12-19 12:43:55 +01:00
Henrik Rydgård
bf0f08b331
Merge pull request #19749 from hrydgard/restore-algorithm-includes
...
Restore removed <algorithm> includes.
2024-12-19 11:00:53 +01:00
Henrik Rydgård
c91169e702
Restore removed <algorithm> includes.
...
Turns out these were needed after all. For some reason, on Windows and
Mac, <algorithm> gets auto-included by something else so I don't notice
when it's missing, and MSVC's include dependency tracker doesn't see it
either.
2024-12-19 09:53:07 +01:00
Henrik Rydgård
fb76bd6722
Merge pull request #19747 from hrydgard/move-stuff
...
Move some stuff to SoftwareTransformCommon, lots of #include cleanup
2024-12-18 17:28:54 +01:00
Henrik Rydgård
4dd3621fa0
Remove some unnecessary <algorithm> includes.
2024-12-18 17:04:27 +01:00
Henrik Rydgård
45cf6d423e
Buildfixes
2024-12-18 13:57:29 +01:00
Henrik Rydgård
3e198c53b2
More include cleanup
2024-12-18 13:57:26 +01:00
Henrik Rydgård
df6ed8cfc9
Do some cleanup of #includes in GPU
2024-12-18 13:57:26 +01:00
Henrik Rydgård
ee297e974d
Move more code into SoftwareTransformCommon, cleanup
2024-12-18 13:57:26 +01:00
Henrik Rydgård
fdaf37b9ec
Merge pull request #19746 from hrydgard/avoid-extra-lookups
...
Actually avoid looking up the vertex decoder more than once
2024-12-18 12:30:24 +01:00
Henrik Rydgård
0b06cd1379
Actually avoid looking up the vertex decoder more than once
2024-12-17 22:42:07 +01:00
Henrik Rydgård
9da80ac8d5
Merge pull request #19745 from hrydgard/despam-port-error
...
De-spam an error message about ports
2024-12-17 22:40:20 +01:00
Henrik Rydgård
eb2871f766
Minor debugger fixes
2024-12-17 20:24:55 +01:00
Henrik Rydgård
c1ffebf54c
Fix some logic in LogManager, cocoa warning fix
2024-12-17 20:22:58 +01:00
Henrik Rydgård
660a1f76b8
Despam some OSD messages
2024-12-17 20:22:58 +01:00
Henrik Rydgård
365f78a3ae
Merge pull request #19744 from hrydgard/single-decoder-lookup-take-2
...
Cleanup: Avoid looking up the decoder multiple times per draw
2024-12-17 20:22:30 +01:00
Henrik Rydgård
34148f46e2
Merge pull request #19743 from hrydgard/vertex-decoder-minor-cleanup
...
Vertex decoder code cleanup
2024-12-17 19:33:43 +01:00
Henrik Rydgård
15b4f0c299
Lookup the decoder outside of DrawEngine
2024-12-17 19:27:01 +01:00
Henrik Rydgård
61b14df329
Delete obsolete empty function ClearTrackedVertexArrays
2024-12-17 19:15:25 +01:00
Henrik Rydgård
fe4504f612
Small simplification
2024-12-17 19:15:06 +01:00
Henrik Rydgård
a2a089b8c1
Remove the member function NormalizeVertices
2024-12-17 19:15:03 +01:00
Henrik Rydgård
a07da939ef
Some NormalizeVertices interface cleanup
2024-12-17 19:13:38 +01:00
Henrik Rydgård
fec232f8a8
GPU: Move things around a little, out of DrawEngine.
2024-12-17 19:13:38 +01:00
Henrik Rydgård
abb2558535
When overriding skinning in sw transform mode, don't write/restore member variables
2024-12-17 18:52:49 +01:00
Henrik Rydgård
20ecbfdf57
Pass the VertexDecoder pointer around
2024-12-17 18:24:26 +01:00
Henrik Rydgård
e74101a2fb
applySkinInDecode belongs in the VertexTypeID, not in the options.
2024-12-17 18:24:18 +01:00
Henrik Rydgård
ee2f221938
Merge pull request #19742 from hrydgard/more-debugger-work
...
Fix more GE debugger bugs, add break-on-count
2024-12-17 12:59:28 +01:00
Henrik Rydgård
0af8c558a0
Fix the prim counting to act as before
2024-12-17 12:02:24 +01:00
Henrik Rydgård
b5ed3051e5
Add rudimentary block transfer visualization (in text form)
2024-12-17 11:35:04 +01:00
Henrik Rydgård
db13c09c41
Add break-on-count (with rudimentary UI), break on block transfer
2024-12-17 11:24:07 +01:00
Henrik Rydgård
3a97479116
Correct prim counting when stepping
2024-12-17 10:58:23 +01:00