1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-30 12:56:01 +00:00
Commit graph

3445 commits

Author SHA1 Message Date
Jimmy Reichley
ecbea211b4
Merge remote-tracking branch 'origin/master' into feature/auto-load-extra-files 2024-09-07 10:08:40 -04:00
riperiperi
ca59c3f499
Vulkan: Feedback loop detection and barriers (#7226)
* Vulkan: Feedback loop improvements

This PR allows the Vulkan backend to detect attachment feedback loops. These are currently used in the following ways:

- Partial use of VK_EXT_attachment_feedback_loop_layout
  - All renderable textures have AttachmentFeedbackLoopBitExt
  - Compile pipelines with Color/DepthStencil feedback loop flags when present
- Support using FragmentBarrier for feedback loops (fixes regressions from https://github.com/Ryujinx/Ryujinx/pull/7012 )

TODO:
- AMD GPUs may need layout transitions for it to properly allow textures to be used in feedback loops.
- Use dynamic state for feedback loops. The background pipeline will always miss since feedback loop state isn't known on the GPU project.
- How is the barrier dependency flag used? (DXVK just ignores it, there's no vulkan validation...)
- Improve subpass dependencies to fix validation errors

* Mark field readonly

* Add feedback loop dynamic state

* fix: add MoltenVK resolver workaround

fix: add MoltenVK resolver workaround

* Formatting

* Fix more complaints

* RADV dcc workaround

* Use dynamic state properly, cleanup.

* Use aspects flags in more places
2024-09-01 21:28:16 -03:00
gdkchan
fdd7ee791c
Fix incorrect depth texture 3D flag (#7262) 2024-09-01 17:58:01 -03:00
riperiperi
398fa1c238
Vulkan: Update Silk.NET to 2.21 (#7266)
* Update Silk.NET version

* fix: add MoltenVK resolver workaround

fix: add MoltenVK resolver workaround

* Cleanup

* Readonly ref warnings

* Remove driver id todo
2024-09-01 17:33:11 -03:00
Jimmy Reichley
401e60e4cb
Merge remote-tracking branch 'origin/master' into feature/auto-load-extra-files 2024-08-31 16:14:48 -04:00
Emmanuel Hansen
2c5c0392f9
Make HLE project AOT friendly (#7085)
* add hle service generator

remove usage of reflection in device state

* remove rd.xml generation

* make applet manager reflection free

* fix typos

* fix encoding

* fix style report

* remove rogue generator reference

* remove double assignment
2024-08-31 11:39:26 -03:00
Emmanuel Hansen
e0acde04bb
Replace ImageSharp with SkiaSharp everywhere (#7030)
* replace ImageSharp with SkiaSharp for inline keyboard applet rendering

* fix avalonia inline keyboard input

* remove image sharp from gtk3 project

* add skiasharp linux assets

* fix whitespace

* fix format

* fix ico image offset when saving shortcut to windows
2024-08-31 11:32:53 -03:00
David McFarland
3c61d560c3
Fix deadlock in background translation thread shutdown (#7239)
TryDequeue checks for _disposed before taking the lock.  If another
thread calls Dispose before it takes the lock, it won't get woken up by
the PulseAll call, and will deadlock in Monitor.Wait.

Double-checking _disposed with the lock taken should avoid this.
2024-08-27 19:10:24 +02:00
Jimmy Reichley
b3f3b196d3
Merge remote-tracking branch 'origin/master' into feature/auto-load-extra-files 2024-08-24 11:11:38 -04:00
dependabot[bot]
b45a81458a
nuget: bump DynamicData from 9.0.1 to 9.0.4 (#7220)
Bumps [DynamicData](https://github.com/reactiveui/DynamicData) from 9.0.1 to 9.0.4.
- [Release notes](https://github.com/reactiveui/DynamicData/releases)
- [Changelog](https://github.com/reactivemarbles/DynamicData/blob/main/ReleaseNotes.md)
- [Commits](https://github.com/reactiveui/DynamicData/compare/9.0.1...9.0.4)

---
updated-dependencies:
- dependency-name: DynamicData
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-21 12:30:43 +02:00
gdkchan
460f9faf4e
Fix NRE when using buffer image array (#7159) 2024-08-21 00:49:17 +01:00
Jimmy Reichley
bb24688b4d
Some comments 2024-08-20 18:19:07 -04:00
Toni Förster
552c15739c
nuget: bump ImageSharp from 2.1.8 to 2.1.9 (#7160)
While building I got some warnings, so I updated the dependency.

`warning NU1903: Package 'SixLabors.ImageSharp' 2.1.8 has a known high severity vulnerability, https://github.com/advisories/GHSA-63p8-c4ww-9cg7`
2024-08-20 22:26:32 +01:00
Jimmy Reichley
e7f3f9ceef
Fix locale string bug 2024-08-19 20:35:58 -04:00
Jimmy Reichley
e4399b4733
Remove stale todo 2024-08-19 20:35:58 -04:00
Jimmy Reichley
aa26421310
Remove ApplicationAdded event; always enumerate nsp when autoloading 2024-08-19 20:35:58 -04:00
Jimmy Reichley
13bac28e43
Fix list enumeration 2024-08-19 20:35:58 -04:00
Jimmy Reichley
cd062ee811
Format 2024-08-19 20:35:57 -04:00
Jimmy Reichley
14c90d1c5d
Dont reload entire library on game version change 2024-08-19 20:35:57 -04:00
Jimmy Reichley
2b0e121b17
Better cache lookup for apps 2024-08-19 20:35:57 -04:00
Jimmy Reichley
4bf437180f
Reduce size of settings sections 2024-08-19 20:35:57 -04:00
Jimmy Reichley
6bdf194ebc
Add title update autoloading 2024-08-19 20:35:57 -04:00
Jimmy Reichley
3d7ede533f
Begin extracting updates to match DLC refactors 2024-08-19 20:35:57 -04:00
Jimmy Reichley
7f854c3527
Formatter 2024-08-19 20:35:57 -04:00
Jimmy Reichley
665d1d4f6f
Remove autoload content checkbox 2024-08-19 20:35:56 -04:00
Jimmy Reichley
eb5487229e
Set autoload dirs explicitly 2024-08-19 20:35:56 -04:00
Jimmy Reichley
130135699a
Add localization; stub out bulk load updates 2024-08-19 20:35:56 -04:00
Jimmy Reichley
50cd3add3f
Stub out bulk dlc menu item 2024-08-19 20:35:56 -04:00
Jimmy Reichley
20e0dbe97f
Remove dead code; bind to AppLibrary apps directly in mainwindow 2024-08-19 20:35:56 -04:00
Jimmy Reichley
bc60126a24
Add setting for autoloading dlc/updates 2024-08-19 20:35:56 -04:00
Jimmy Reichley
a381cea311
Autoload DLC 2024-08-19 20:35:55 -04:00
Jimmy Reichley
867bc7021f
Auto-load bundled DLC on startup 2024-08-19 20:35:55 -04:00
Jimmy Reichley
57de6a7dc5
Refactor more logic out of DLC manager VM 2024-08-19 20:35:55 -04:00
Jimmy Reichley
1eb7146b90
Run formatter for real 2024-08-19 20:35:55 -04:00
Jimmy Reichley
47e2cc6f02
Run formatter 2024-08-19 20:35:55 -04:00
Jimmy Reichley
7850a2b2aa
Move more DLC logic out of view model 2024-08-19 20:35:55 -04:00
Jimmy Reichley
a90a6b2786
Extract DLC json load logic 2024-08-19 20:35:55 -04:00
Jimmy Reichley
472feb9680
Fix a bug with DLC window; rework some logic 2024-08-19 20:35:54 -04:00
Jimmy Reichley
48b7517284
Make dlc/updates records; use ApplicationLibrary for loading logic 2024-08-19 20:35:54 -04:00
Jimmy Reichley
8073b8d189
Use new models in ApplicationLibrary 2024-08-19 20:35:54 -04:00
Jimmy Reichley
e1171086f4
Initial moving of DLC/updates to UI.Common 2024-08-19 20:35:54 -04:00
Jimmy Reichley
2e93c96c86
Trigger DLC/update load on games refresh 2024-08-19 20:35:54 -04:00
Jimmy Reichley
5e0b1ccd6e
Add hooks to ApplicationLibrary for loading DLC/updates 2024-08-19 20:35:54 -04:00
Tsubasa0504
0137c9e635
nim:eca : Stub CreateServerInterface2 (#7128)
* Add files via upload

* Add files via upload

* Update src/Ryujinx.HLE/HOS/Services/Nim/IShopServiceAccessServerInterface.cs

---------

Co-authored-by: Ac_K <Acoustik666@gmail.com>
2024-08-17 09:57:22 +01:00
Logan Stromberg
23fa5f4c9c
Fix arbitrary game ordering when sorting by Favorites (#7170)
* Fix arbitrary sorting by "Favorite" in the UI by making it the same as sorting alphabetically while giving favorites priority.

* Use a more engineered solution rather than string hacks.

* Address code style warnings. Add null checking. Make title name comparison case insensitive.

* one more style fix

---------

Co-authored-by: Logan Stromberg <lostromb@microsoft.com>
2024-08-13 15:23:11 +02:00
gdkchan
4f75e26ec7
Clamp amount of mipmap levels to max allowed for all backends (#7197)
* Clamp amount of mipmap levels to max allowed for all backends

* XML docs

* Remove using
2024-08-12 17:45:25 -03:00
gdkchan
8d8983049e
Implement UQADD16, UQADD8, UQSUB16, UQSUB8, VQRDMULH, VSLI and VSWP Arm32 instructions (#7174) 2024-08-08 17:07:24 -03:00
jhorv
7969fb6bba
Replace and remove obsolete ByteMemoryPool type (#7155)
* refactor: replace usage of ByteMemoryPool with MemoryOwner<byte>

* refactor: delete unused ByteMemoryPool and ByteMemoryPool.ByteMemoryPoolBuffer types

* refactor: change IMemoryOwner<byte> return types to MemoryOwner<byte>

* fix(perf): get span via `MemoryOwner<T>.Span` directly instead of `MemoryOwner<T>.Memory.Span`

* fix(perf): get span via MemoryOwner<T>.Span directly instead of `MemoryOwner<T>.Memory.Span`

* fix(perf): get span via MemoryOwner<T>.Span directly instead of `MemoryOwner<T>.Memory.Span`
2024-08-05 21:09:08 -03:00
gdkchan
4a4b11871e
Fix same textures with unmapped start being considered different (#7141)
* Fix same textures with unmapped start being considered different

* Consolidate IsInvalid check

* InvalidAddress const

* Fix typo

Co-authored-by: riperiperi <rhy3756547@hotmail.com>

---------

Co-authored-by: riperiperi <rhy3756547@hotmail.com>
2024-08-05 11:00:41 -03:00
Julien Lebosquain
e85ee673b1
Fix LocaleExtension SetRawSource usages + language perf improvement (#7121)
* Avoid Avalonia CompiledBindingPathBuilder.SetRawSource

* Improve UI language change performance
2024-08-04 19:04:12 +01:00