Commit Graph

2854 Commits

Author SHA1 Message Date
Lander Gallastegi
7545ae33b1 x64 backend base 2025-04-10 02:33:09 +02:00
Lander Gallastegi
fff2383c5e Flattening pass adjustments 2025-04-10 02:33:09 +02:00
Lander Gallastegi
057df5d3d1 clang-format 2025-04-10 02:33:09 +02:00
Lander Gallastegi
b6e9406652 Fixed ImmValue compute 2025-04-10 02:33:09 +02:00
Lander Gallastegi
faf479dcd5 Adjust SPIR-V EmitReadConst 2025-04-10 02:33:09 +02:00
Lander Gallastegi
1f8ef4e1f6 Fix GCC build 2025-04-10 02:33:09 +02:00
Lander Gallastegi
67dd111dcc Fix TrackSharp 2025-04-10 02:33:09 +02:00
Lander Gallastegi
52650d2c55 Finish IR 2025-04-10 02:33:09 +02:00
Lander Gallastegi
da65ae3bcb Num executions 2025-04-10 02:33:09 +02:00
Lander Gallastegi
418f7daa57 clang-format 2025-04-10 02:33:09 +02:00
Lander Gallastegi
301f51e57d ComputeValue rewrite 2025-04-10 02:33:09 +02:00
Lander Gallastegi
47cc275203 Compute value 2025-04-10 02:33:09 +02:00
Lander Gallastegi
21aeccad36 Typo 2025-04-10 02:33:09 +02:00
Lander Gallastegi
85b44af270 Operation codes 2025-04-10 02:33:09 +02:00
Lander Gallastegi
79f4648c77 Use correct types 2025-04-10 02:33:09 +02:00
Lander Gallastegi
676b06db0f Squashed commit of the following:
commit 39328be45ed83d252e491b61da5cb4d767ff100d
Author: Lander Gallastegi <landergallastegi@gmail.com>
Date:   Tue Mar 11 15:40:44 2025 +0100

    Fix trivialy copiable

commit f0633525b343dab7ea75cd7c809c936cb67e572f
Author: Lander Gallastegi <landergallastegi@gmail.com>
Date:   Tue Mar 11 00:29:42 2025 +0100

    Compute value

commit 8c42a014ee925b61c5ea5721423da3211a635eb8
Author: Lander Gallastegi <landergallastegi@gmail.com>
Date:   Tue Mar 11 00:29:31 2025 +0100

    Add missing operations
2025-04-10 02:33:09 +02:00
Lander Gallastegi
c36b6d6adf clang-format 2025-04-10 02:33:09 +02:00
Lander Gallastegi
5536febd73 Better documentation 2025-04-10 02:33:09 +02:00
Lander Gallastegi
eebd557efc ImmValue 2025-04-10 02:33:09 +02:00
Lander Gallastegi
c1a577b598 Fix subprogram generation 2025-04-10 02:33:09 +02:00
Lander Gallastegi
068573e9d6 clang-format 2025-04-10 02:33:09 +02:00
Lander Gallastegi
0f6912cf18 Subprogram creation 2025-04-10 02:33:09 +02:00
Lander Gallastegi
920efdf37c Usefulness of conditional tree 2025-04-10 02:33:09 +02:00
Lander Gallastegi
ad488a26af Add conditional tree 2025-04-10 02:33:09 +02:00
Lander Gallastegi
7e1159bdaf Fix unreacheable ASL dump 2025-04-10 02:33:09 +02:00
Lander Gallastegi
85334a924a ASL dumping 2025-04-10 02:33:09 +02:00
Lander Gallastegi
e100783357 Handle non inmediate offset on S_LOAD_DWORD 2025-04-10 02:33:09 +02:00
Lander Gallastegi
da118e3bd9 Dump IR program 2025-04-10 02:33:09 +02:00
Dmugetsu
5abec2a291
Enabling Depth Bias Explicity (#2766) 2025-04-09 17:06:54 -07:00
squidbus
e3b1c041d0 documents: Update macOS version in quickstart guide. 2025-04-09 00:59:33 -07:00
squidbus
2965656325
build: Target same CPU architecture level as PS4. (#2763) 2025-04-09 00:54:39 -07:00
squidbus
03b1fef331
renderer_vulkan: Only update dynamic state when changed. (#2751) 2025-04-08 07:22:16 -07:00
kalaposfos13
08731303d8
Fix incorrect calculation setting the center of the joysticks one value off causing stick drift in games that assume already corrected input values (#2760) 2025-04-07 13:58:00 -07:00
Missake212
7fee289b66
Add information about firmware files (sys modules) in the README (#2758)
* Update README.md

* Update README.md

* Update README.md
2025-04-07 11:29:51 -07:00
squidbus
040fd79ef7
Revert "build: Target same CPU architecture level as PS4. (#2745)" (#2757)
* Revert "build: Target same CPU architecture level as PS4. (#2745)"

This reverts commit 54b4d7fc78.

Causing issues on M1 CPUs for some reason.

* build: Update architecture comments and set mtune=generic.
2025-04-07 10:57:39 -07:00
kalaposfos13
473b66649f
Fix compatibility related issues in the GUI (#2755)
Some checks failed
Build and Release / reuse (push) Has been cancelled
Build and Release / clang-format (push) Has been cancelled
Build and Release / get-info (push) Has been cancelled
Build and Release / windows-sdl (push) Has been cancelled
Build and Release / windows-qt (push) Has been cancelled
Build and Release / macos-sdl (push) Has been cancelled
Build and Release / macos-qt (push) Has been cancelled
Build and Release / linux-sdl (push) Has been cancelled
Build and Release / linux-qt (push) Has been cancelled
Build and Release / linux-sdl-gcc (push) Has been cancelled
Build and Release / linux-qt-gcc (push) Has been cancelled
Build and Release / pre-release (push) Has been cancelled
Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
2025-04-07 12:25:49 +03:00
squidbus
b8f6ef1c0b
externals: Update MoltenVK (#2754) 2025-04-07 12:23:04 +03:00
squidbus
9d2175180e
build: Move versioning to CMake file. (#2752) 2025-04-07 12:22:51 +03:00
squidbus
0c6f2b470f
renderer_vulkan: Use more depth-stencil dynamic state. (#2749)
Some checks failed
Build and Release / reuse (push) Has been cancelled
Build and Release / clang-format (push) Has been cancelled
Build and Release / get-info (push) Has been cancelled
Build and Release / windows-sdl (push) Has been cancelled
Build and Release / windows-qt (push) Has been cancelled
Build and Release / macos-sdl (push) Has been cancelled
Build and Release / macos-qt (push) Has been cancelled
Build and Release / linux-sdl (push) Has been cancelled
Build and Release / linux-qt (push) Has been cancelled
Build and Release / linux-sdl-gcc (push) Has been cancelled
Build and Release / linux-qt-gcc (push) Has been cancelled
Build and Release / pre-release (push) Has been cancelled
Update Translation / Update Translation (push) Has been skipped
2025-04-05 23:14:27 +03:00
squidbus
54b4d7fc78
build: Target same CPU architecture level as PS4. (#2745)
Some checks failed
Update Translation / Update Translation (push) Has been skipped
Build and Release / reuse (push) Has been cancelled
Build and Release / clang-format (push) Has been cancelled
Build and Release / get-info (push) Has been cancelled
Build and Release / windows-sdl (push) Has been cancelled
Build and Release / windows-qt (push) Has been cancelled
Build and Release / macos-sdl (push) Has been cancelled
Build and Release / macos-qt (push) Has been cancelled
Build and Release / linux-sdl (push) Has been cancelled
Build and Release / linux-qt (push) Has been cancelled
Build and Release / linux-sdl-gcc (push) Has been cancelled
Build and Release / linux-qt-gcc (push) Has been cancelled
Build and Release / pre-release (push) Has been cancelled
2025-04-04 15:13:13 +03:00
squidbus
1ee2016902 doc: Update README macOS details
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Update Translation / Update Translation (push) Has been skipped
2025-04-03 12:44:16 -07:00
georgemoralis
7bb49d85d3
New Crowdin updates (#2724)
* New translations en_us.ts (Arabic)

* New translations en_us.ts (Albanian)

* New translations en_us.ts (German)
2025-04-03 22:43:04 +03:00
squidbus
806b2ddc89
cpu_patches: Remove CPU patches for macOS and bump minimum OS version to 15.4 (#2743)
* cpu_patches: Remove CPU patches for macOS and bump minimum OS version to 15.4

* cpu_patches: Remove BMI1 patches

These are now only good for very old Intel CPUs that:
* Still do not currently function due to other CPU instruction issues.
* Will probably be too slow to run shadPS4 well.
2025-04-03 22:39:08 +03:00
squidbus
afd0251dd2
shader_recompiler: Use VK_AMD_shader_trinary_minmax when available. (#2739)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
* shader_recompiler: Use VK_AMD_shader_trinary_minmax when available.

* shader_recompiler: Simplify signed/unsigned trinary instruction variants.
2025-04-02 23:36:54 +03:00
Stephen Miller
eb300d0aa7
libraries: Proper ulobjmgr stubs (#2740)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Update Translation / Update Translation (push) Has been skipped
* Better ulobjmgr stubs

Main goal is to stop all the Unknown stub spam in titles using libSceUlt.

* Address review comments

* Update ulobjmgr.cpp
2025-04-02 02:41:40 +02:00
Stephen Miller
f6cc245e40
Only log fd warning if there's a file getting closed (#2737) 2025-04-01 13:36:31 -07:00
georgemoralis
9ee5d066a2 hotfix: issue with cmake 4
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
Update Translation / Update Translation (push) Has been skipped
2025-04-01 13:22:32 +03:00
Stephen Miller
01243fb8e5
Fix libSceNgs2 HLE regressions (#2732)
* Fix sceNgs2SystemCreateWithAllocator

The cause of the exceptions without libraries.

* Remove error handling for unimplemented functions

Since nothing exists to create any VoiceHandle or RackHandle, we were consistently hitting those error returns.
Also promotes logs for stubbed functions back to LOG_ERROR, with the exception of two functions that get spammed pretty frequently.

* Use Core::ExecuteGuest to execute allocator alloc and free

* Clang

* Fix function definitions in ngs2.h

These should be using the SYSV ABI

* Fix function defs in ngs2_impl.h

This will (hopefully) fix compilation

* Clang

* Clang

again
2025-04-01 08:57:47 +03:00
Alexandre Bouvier
a2a1ecde0a
cmake: fix system libusb discovery (#2731)
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
2025-03-31 22:29:52 +03:00
Alexandre Bouvier
a5958bf7f0
cmake: remove leftover from #2707 (#2730) 2025-03-31 22:29:24 +03:00