Ryujinx/src/Ryujinx.Common
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
..
Collections Implement host tracked memory manager mode (#6356) 2024-03-26 23:33:24 -03:00
Configuration Ava UI: Input Menu Refactor (#5826) 2024-04-17 18:52:12 -03:00
Extensions chore: remove repetitive words (#6690) 2024-04-19 09:45:51 -03:00
GraphicsDriver Vulkan: Feedback loop detection and barriers (#7226) 2024-09-01 21:28:16 -03:00
Logging Infra: Capitalisation Consistency (#6296) 2024-02-11 03:09:18 +01:00
Memory Replace and remove obsolete ByteMemoryPool type (#7155) 2024-08-05 21:09:08 -03:00
Pools editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
PreciseSleep editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
SystemInterop editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
Utilities Vulkan: Feedback loop detection and barriers (#7226) 2024-09-01 21:28:16 -03:00
AsyncWorkQueue.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
Hash128.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
PerformanceCounter.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
ReactiveObject.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
ReferenceEqualityComparer.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
ReleaseInformation.cs Make config filename changable for releases & Log to Ryujinx directory if application directory is not writable (#4707) 2024-01-29 19:58:18 +01:00
Ryujinx.Common.csproj Migrate to .NET 8 (#5887) 2023-11-15 17:41:31 +01:00
XXHash128.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00