0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-23 03:25:48 +00:00
ryujinx-fork/src/Ryujinx.Headless.SDL2
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
..
OpenGL Make IOpenGLContext.HasContext context dependent (#6290) 2024-02-10 20:13:10 +01:00
Vulkan editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
HeadlessDynamicTextInputHandler.cs Infra: Capitalisation Consistency (#6296) 2024-02-11 03:09:18 +01:00
HeadlessHostUiTheme.cs Infra: Capitalisation Consistency (#6296) 2024-02-11 03:09:18 +01:00
Options.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
Program.cs Vulkan: Feedback loop detection and barriers (#7226) 2024-09-01 21:28:16 -03:00
Ryujinx.bmp Move solution and projects to src 2023-04-27 23:51:14 +02:00
Ryujinx.Headless.SDL2.csproj Add linux specific files to local builds (#6762) 2024-05-14 16:06:40 +02:00
SDL2Mouse.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
SDL2MouseDriver.cs [Ryujinx.Headless.SDL2] Address dotnet-format issues (#5379) 2023-06-28 19:03:27 +02:00
StatusUpdatedEventArgs.cs editorconfig: Set default encoding to UTF-8 (#5793) 2023-12-04 14:17:13 +01:00
WindowBase.cs Infra: Capitalisation Consistency (#6296) 2024-02-11 03:09:18 +01:00