Commit Graph

1353 Commits

Author SHA1 Message Date
microsoftv
e006f3a6af clang 2024-08-17 01:46:56 -04:00
microsoftv
c92203e9f1 do correct vdata set (still fails) 2024-08-17 01:10:31 -04:00
microsoftv
fa3a37133d clang 2024-08-17 00:35:33 -04:00
microsoftv
9d7e97a6dc failed attempt to fix 2024-08-17 00:29:39 -04:00
microsoftv
386e6f9e5b Merge remote-tracking branch 'upstream/main' 2024-08-16 18:45:59 -04:00
microsoftv
3471051ede attempt fix shader comp 2024-08-16 18:45:55 -04:00
Dzmitry Dubrova
dcb057dd7f
misc changes, part ?/? (#441)
* gui: add option to boot a game by choosing elf file

* core: some small implementations

* fs: implement open func

* add some validations

* spirv: add image format

* video_core: add eR16Uint to formats
2024-08-16 20:16:15 +03:00
Dzmitry Dubrova
9e810b7524
core: Some small pad stubs (#424)
* core: Some small pad stubs

* core: handle scePadSetLightBar wrong lightbar setting
2024-08-16 20:11:55 +03:00
TheTurtle
1d1c88ad31
control_flow_graph: Initial divergence handling (#434)
* control_flow_graph: Initial divergence handling

* cfg: Handle additional case

* spirv: Handle tgid enable bits

* clang format

* spirv: Use proper format

* translator: Add more instructions
2024-08-16 20:05:37 +03:00
Vinicius Rangel
ff33b00c3a
gpu: primitive_restart bit check typo (#454) 2024-08-16 20:03:19 +03:00
Alexandre Bouvier
154771cca5
cmake: prefer system renderdoc library (#452) 2024-08-16 19:49:32 +03:00
Vinicius Rangel
444cdfbba5
gpu: check right register for primitive restart index (#453)
@red-prig suggestion

Not sure if it is possible to have trash in the register (maybe if primitive restart is toggled off), but just to make sure.
2024-08-16 19:49:15 +03:00
Alexandre Bouvier
ad60ae1d40
cmake: prefer system ffmpeg library (#451) 2024-08-16 18:56:47 +03:00
Herman Semenov
c1fb5d5bca
core,shader_recompiler: added const ref filesystem::path and removed if type size less 16 (#446) 2024-08-16 11:36:05 +03:00
georgemoralis
3197ad336e
Merge pull request #400 from vladmikhalin/basic-av-player
Basic AvPlayer implementation
2024-08-16 11:17:56 +03:00
Vladislav Mikhalin
23dddca1f0 last minute fixes 2024-08-16 10:30:48 +03:00
georgemoralis
5c70adc6ab
Merge pull request #449 from squidbus/libc++
Enable -fexperimental-library when using clang libc++
2024-08-16 10:28:03 +03:00
squidbus
62741434db Enable -fexperimental-library when using clang libc++ 2024-08-15 23:22:38 -07:00
Vladislav Mikhalin
b3ef959b25 Fixed threading, migrated to CVs, added looping 2024-08-15 22:02:04 +03:00
Vladislav Mikhalin
5c4ac98d49 fixing build on linux and mac 2024-08-15 22:00:51 +03:00
Vladislav Mikhalin
0d6e8e227a Fixed some sound and threading issues.
Details:
* Switched SDL audio mutex to RW lock. This fixes games that continiously call SetVolume in a different thread (like Ghostbusters)
* Added contition to buffer audio packets independent of video packets. This fixes choppy audio across many games.
* Increased the number of audio frame buffers from 2 to 4. Just in case.
* Migrated to std::jthread and std::mutex from pthreads.
* Fixed a race condition with joins on avplayer close that caused a crash.
2024-08-15 22:00:51 +03:00
Vladislav Mikhalin
e33ff10212 Added some logs, fixed some crashes, fixed align. 2024-08-15 22:00:51 +03:00
Vladislav Mikhalin
b5c69189e5 avplayer WIP 2024-08-15 22:00:51 +03:00
georgemoralis
e96e66eedd starting 0.2.1 2024-08-15 19:58:18 +03:00
georgemoralis
da9b26fa1e tagged 0.2.0 release 2024-08-15 19:41:42 +03:00
psucien
d32e584839 libraries: vide_out: redundant assert removed 2024-08-15 17:41:53 +02:00
¥IGA
0b1d7839a3
Qt-GUI: Cleaning the option menu (#443) 2024-08-15 17:49:13 +03:00
Vinicius Rangel
d45563f92c
gpu: handle primitive restart index register (#438) 2024-08-15 15:43:27 +03:00
¥IGA
a0fb47b0ab
Qt-GUI: Adding User Name selection (#440)
* Qt-GUI: Adding User Name selection

* fix

* fix 2

* fix 3 (thanks Poly)

* Change the username emplacement
2024-08-15 15:06:09 +03:00
microsoftv
b582f5b8eb side effects 2024-08-15 07:41:02 -04:00
microsoftv
cd59b6529c opcodes 2024-08-15 06:43:57 -04:00
¥IGA
8c77d4dde6
Ability to change username (#432) 2024-08-15 12:33:10 +03:00
microsoftv
58394d24cb resolve 2024-08-15 05:18:48 -04:00
microsoftv
b4f82eedfa rm vscode 2024-08-14 19:52:26 -04:00
microsoftv
b0a41bacb6 reuse 2024-08-14 19:51:17 -04:00
microsoftv
ba1ebeb854 rebase to upstream 2024-08-14 19:48:51 -04:00
microsoftv
9de11cd6bb Shared Atomics 2024-08-14 19:02:25 -04:00
psucien
9adc638220
shader_recompiler: basic implementation of BUFFER_STORE_FORMAT_ (#431)
* shader_recompiler: basic implementation of buffer store w\ fmt conversion

* added `Format16` dfmt
2024-08-15 00:15:07 +02:00
microsoftv
89e564a400 Merge remote-tracking branch 'upstream/main' 2024-08-14 17:24:16 -04:00
Dzmitry Dubrova
6f4e1a47b9
core: misc changes (#430)
* core: misc changes

* video_core: add some formats for detiling

* clang format
2024-08-14 20:37:05 +02:00
Stephen Miller
5f963772a0
scePthreadAttrSetstack implementation (#391)
* scePthreadAttrSetstack implementation

Used by Final Fantasy XV

* Address Comments

Verify parameters before calling the pthread_attr_setstack function.
Swap uses of SCE prefix with ORBIS prefix.

* Quick fix

Addresses the newest review and appears to fix issues caused in games by my previous commit.
2024-08-14 18:43:00 +02:00
TheTurtle
d332a5e611
spirv: Simplify shared memory handling (#427)
* spirv: Simplify shared memory handling

* spirv: Ignore clip plane

* spirv: Fix image offsets

* ir_pass: Implement shared memory lowering pass

* NVIDIA doesn't like using shared mem in fragment shader and softlocks driver

* spirv: Add log for ignoring pos1
2024-08-14 19:01:17 +03:00
georgemoralis
4b11dabd9e
Merge pull request #429 from polybiusproxy/memory-vq
core/memory: Fix error on virtual queries of reserved regions
2024-08-14 17:16:46 +03:00
Daniel R.
6cc4a682fd
core/memory: Fix error on virtual queries of reserved regions 2024-08-14 15:34:17 +02:00
Lizardy
b7771fd58f
Merge branch 'shadps4-emu:main' into main 2024-08-14 09:08:14 -04:00
psucien
27cb218584
video_core: CPU flip relay (#415)
* video_core: cpu flip is propagated via gpu thread now

* tentative fix for cpu flips racing

* libraries: videoout: better flip status handling
2024-08-14 11:36:11 +02:00
microsoftv
3f1a85c969 clang 2024-08-14 05:15:32 -04:00
microsoftv
ac80849860 no crash on compile 2024-08-14 05:13:46 -04:00
microsoftv
fcf4b20f30 clang 2024-08-14 02:28:15 -04:00
microsoftv
d4dab94acd Clang Format & UNREACHABLE_MSG 2024-08-14 02:26:05 -04:00