kd-11
3ef8046f5c
rsx: Fix fragment constants decoding for non-x86 platforms
2024-08-09 15:09:26 +03:00
kd-11
d545aa01b2
vk: Add support for NVK driver
2024-05-29 03:28:18 +03:00
kd-11
2162b7e67f
vk: Use std::set
2024-05-29 03:28:18 +03:00
kd-11
93040fc757
vk: Don't always preserve the renderpass for all drivers when doing transform hot-patch
2024-05-29 03:28:18 +03:00
Elad Ashkenazi
dae83c53fb
rsx/vk: Derstroy shader workers on thread exit
2024-05-21 14:19:12 +03:00
kd-11
fc92aef4d1
vk: Perform the buffer update without splitting the renderpasses
2024-05-12 21:26:25 +03:00
kd-11
0d0fc23f9e
rsx: Use range intersection to speed up xform constants patching
2024-05-12 21:26:25 +03:00
kd-11
3ef1eb8529
vk: Minor cleanup
2024-05-12 21:26:25 +03:00
kd-11
3a466d6fd2
vk: Whitespace fix
2024-05-12 21:26:25 +03:00
kd-11
3fa6064068
vk: Silence some warnings
2024-05-12 21:26:25 +03:00
kd-11
a09111052a
rsx/vk: Implement batched transform constant updates
2024-05-12 21:26:25 +03:00
kd-11
9e1019b1cf
rsx: Start splitting off some stuff into the graph backend class
2024-05-12 21:26:25 +03:00
kd-11
77b9e6560b
vk: Fix a spec violation
2024-05-12 21:26:25 +03:00
kd-11
279393337e
vk: Implement dynamic transform constant updates
2024-05-12 21:26:25 +03:00
kd-11
4594c912a6
rsx: Move SPIRV stuff into common code
2024-03-27 19:20:21 +02:00
kd-11
dfc626c99c
rsx/vk: Fix WCB/Blit flush deadlock
2024-02-14 21:09:02 +03:00
kd-11
8786516c58
vk: Implement fast RSX release if there is no pending GPU work
2024-02-14 21:09:02 +03:00
kd-11
c3c73c7e24
rsx: Allow native UI render even when we have pending draw calls if FIFO queue is empty.
2024-01-30 16:36:58 +03:00
kd-11
9a9b5860df
rsx: Forcefully disable writes to channels disabled on host
...
- Some formats may have dummy channels on host. Never write to them!
- This means that XRGB formats correctly only write 24 bits, not 32.
2024-01-21 12:30:37 +03:00
kd-11
51fc193395
rsx: De-spaghettify nv3089::image_in
...
- This function was a disaster with random code added in without much thought over a decade.
- Restructures the logic into decode and transfer steps for easier management.
2023-12-26 18:30:00 +03:00
Megamouse
3f2c75d920
overlays: move debug overlay to native overlay
2023-12-20 23:33:43 +01:00
Megamouse
907e0fa8c8
Fix fxo dependencies
2023-12-15 18:08:07 +01:00
Talkashie
dabb2cc9a0
Fix typos, improve consistency
...
Fixes typos where spelling or grammar is objectively wrong.
Changes wording and capitalization in some areas to be more consistent with other areas.
2023-07-28 13:09:06 +03:00
kd-11
d77a78cdf1
rsx: Rework texture coordinate handling to support clamping and a more sane scale-bias setup
2023-07-04 09:31:51 +03:00
kd-11
715e3856f2
vk: Update async compute (fast) to use the new sync API
2023-06-22 14:59:58 +03:00
kd-11
d5654d64d5
Nicer variable names
2023-06-16 15:29:36 +03:00
kd-11
06459eb37b
vk: Latch query copy requests to reduce number of vulkan commands used
2023-06-16 15:29:36 +03:00
kd-11
49c6c2c529
vk: Do not hard-sync on first sign of fragmentation
...
- It is very likely that the resource would be available if we just waited a while for the GPU queue to clear.
- Instead of also discarding the current work, first check if we can get by without a hard sync.
2023-06-14 01:12:11 +03:00
kd-11
c1d875d841
vk: Handle VK_ERROR_FRAGMENTATION when allocating descriptor pools
2023-06-14 01:12:11 +03:00
kd-11
97f7461aa9
rsx: Allow the vertex cache to be enabled independently of MTRSX
2023-06-10 01:36:10 +03:00
kd-11
6f834e99d2
vk: Disable conditional rendering on MacOS
2023-06-06 22:05:54 +03:00
kd-11
86c7b31b6d
Force disable conditional render on macOS
2023-06-06 22:05:54 +03:00
kd-11
f2f95a20a3
vk: Minor improvement to descriptor and garbage collector interaction
2023-06-01 19:25:50 +03:00
kd-11
12f213ffad
rsx: Trim the number of in-flight invalidated resources (temp cache)
...
- This drastically improves memory allocation behavior.
Holding too many invalidated resources can lead to a cascading overallocation error as old resources hold refs to even older resources and nothing gets deleted.
2023-06-01 19:25:50 +03:00
kd-11
6a2ea62f82
vk: Minor cleanup
2023-05-30 16:50:08 +03:00
kd-11
6cfd817b5a
vk: Fix descriptor-related crashes
2023-05-30 16:50:08 +03:00
kd-11
c99ef4b09f
vk: Refactor descriptor handling
2023-05-30 16:50:08 +03:00
kd-11
10171c19c3
vk: Unify descriptor allocation
...
- Pool management should be a backend implementation detail.
2023-05-30 16:50:08 +03:00
kd-11
57070aa8ff
vk: Minor refactor in OOM handler to skip scans if we already found a match
2023-05-15 12:28:19 +03:00
kd-11
29d87a3743
vk: Refactor the vram exhausted handler
...
- Mostly a de-uglify pass
2023-05-15 12:28:19 +03:00
kd-11
9a2b06f35f
vk: Refactor vram exhausted handler to minimize risk of UAF hazards
...
1. A hard sync before starting the routines on fatal will release some memory going in improving chances of a successful eviction elsewhere.
2. A hard sync on exit cleans up, ensuring no UAF (with caveats)
2023-05-15 12:28:19 +03:00
Megamouse
2d4e02f277
overlays: add ppu compile message if the progress dialog is unavailable
2023-03-05 02:55:59 +01:00
kd-11
1b8a69154f
rsx: Use non-owning container to ellide a derpy allocation with msvc
2023-03-01 01:10:06 +03:00
kd-11
7c04b00e2b
rsx/vk: Remove stale include
2023-02-24 00:46:53 +03:00
kd-11
ddc9e74aa8
rsx/overlays: Putting it all together
...
- Migrate dialogs with input-only threads to use the unified input
system
2023-02-24 00:46:53 +03:00
kd-11
78a588cacb
rsx: Use animated icon and message queue for shader compiler notifications
2023-02-03 09:13:27 +03:00
kd-11
5f0467b084
rsx: Remove framebuffer_status_valid flag and move to state
2023-01-26 11:42:39 +03:00
kd-11
6adcabda29
rsx: Fix graphics state foot-gun
2023-01-26 11:42:39 +03:00
kd-11
2752cd1390
rsx/vk: Fix some problems with dynamic state updates
2023-01-11 16:48:53 +03:00
kd-11
10b56415e8
vk: Avoid loading the whole dynamic state properties if only the shader changed
...
- Handles a common case where a game engine switches materials but uses the same configuration
e.g rendering two types of wall or ground may need different shaders but similar state properties
2023-01-11 16:48:53 +03:00