shinra-electric
cbe1628cf2
remove deprecated VK_MVK_moltenvk and replace with mvk_config.h
...
VK_MVK_moltenvk extension has been removed.
Will try with `mvk_config.h`, but it this doesn't work `mvk_deprecated_api.h` should work instead.
2023-05-25 08:54:44 +02:00
kd-11
976a3ed3bf
Formatting fixes
2023-05-23 14:37:13 +03:00
kd-11
98c0944419
vk: Fix some sampler load crashes
2023-05-23 14:37:13 +03:00
kd-11
bf78b197a3
vk: Reimplement sampler disposal using the new pool mechanism
2023-05-23 14:37:13 +03:00
kd-11
427960fee8
vk: Fix compiler warning
2023-05-23 14:37:13 +03:00
kd-11
75da7d80dc
vk: Reimplement sampler caching to take border color into account
2023-05-23 14:37:13 +03:00
kd-11
7eb730ee03
vk: Integrate custom border colors when supported
2023-05-23 14:37:13 +03:00
kd-11
4b9fa7a417
vk: Require customBorderColorWithoutFormat feature
2023-05-23 14:37:13 +03:00
kd-11
6163acc8c5
vk: Add border color extension detection
2023-05-23 14:37:13 +03:00
kd-11
4add5b6bf0
vk: Minor refactoring of optional features
2023-05-23 14:37:13 +03:00
kd-11
08c1a14b13
Fix init order for gpu_debug_marker
2023-05-18 18:10:46 +03:00
kd-11
4a138aa918
Fix init order
2023-05-18 18:10:46 +03:00
kd-11
6fd76054b4
vk: Rename the debug marker to something more appropriate
2023-05-18 18:10:46 +03:00
kd-11
c80be9e54b
Fixup - command buffer wrapping
2023-05-18 18:10:46 +03:00
kd-11
56ebae773c
vk: C++-ify the debug marker sync object member names
2023-05-18 18:10:46 +03:00
kd-11
fad6647255
vk: Do not use raw GPU command buffer handles for any wrapped API calls
...
- There is no reason to do so and we seriously hamper debugging efforts
2023-05-18 18:10:46 +03:00
kd-11
d894ccb4ea
vk: Preliminary support for debug markers
2023-05-18 18:10:46 +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
e06c6b5ac8
vk: Refactor memory allocators to easily inspect device properties
2023-05-15 12:28:19 +03:00
kd-11
a6dada6c36
vk: Use gc to clean up stale surface cache resources instead of fudging with frame counters.
...
- This whole surface cache garbage management needs to be merged with gc
2023-05-15 12:28:19 +03:00
kd-11
a058cf2ff0
vk: Rewrite draw call setup sequence to avoid OOM situations introducing stale descriptors
2023-05-15 12:28:19 +03:00
kd-11
142d25c0d7
vk: Don't erase texture cache images directly. Use gc instead.
2023-05-15 12:28:19 +03:00
kd-11
4e6231a321
vk: Implement max VRAM override in config
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
kd-11
4e2f3a289c
vk: Tune resource quotas
...
- Tuned for 1G. The system requires about 128M for scratch and system data.
2023-05-15 12:28:19 +03:00
kd-11
db70cd058a
vk: Improve spill robustness
...
- Removes some incorrect checks that asserted incorrectly
- Make the collapsible check recursive
2023-05-15 12:28:19 +03:00
kd-11
b6cdf18165
vk: Lower scratch dimension alignment to 256 to minimize wastage
2023-05-15 12:28:19 +03:00
kd-11
7d710cbf8c
rsx: Do not allow 'compatible' check to pass if the size does not match
...
- It's not worth it. We end up with a mish-mash of internal configuration parameters that don't match the surface.
Maybe with more abstraction it can work, but there is little benefit.
2023-05-15 12:28:19 +03:00
oltolm
b0de5970ce
Get the font directory from Windows ( #13825 )
2023-05-13 20:58:59 +02:00
oltolm
db2341c842
fix ASAN error: make overlay_pass destructor virtual
2023-05-06 10:17:58 +02:00
Megamouse
6555de6ef5
fix warnings
2023-04-21 16:41:06 +02:00
kd-11
47b65868f4
Try even lower
2023-04-12 18:47:14 +03:00
kd-11
8735a06f3c
vk: GTX970 workaround
2023-04-12 18:47:14 +03:00
headassbtw
ec3114d6d8
Add alternate 3D display modes ( #13582 )
2023-04-07 20:08:07 +02:00
Megamouse
603b775f4a
llvm: fix submodule path
...
- Use official llvm repo
- Move llvm to 3rdparty
- Ignore SPIRV submodules in CI
2023-04-07 18:25:59 +02:00
kd-11
82dedb1fbb
vk: Fix vendor detection for apple
2023-03-29 17:31:06 +03:00
kd-11
04c0f309be
vk: Obey safe/unsafe hint for D16F emulation
2023-03-29 17:31:06 +03:00
kd-11
ad3e740c09
vk: Separate vertex and fragment stage push constant updates for overlays
2023-03-23 21:14:23 +03:00
Megamouse
2d4e02f277
overlays: add ppu compile message if the progress dialog is unavailable
2023-03-05 02:55:59 +01:00
Megamouse
92ae57c9ee
Windows: log more descriptive errors
2023-03-04 18:34:56 +01:00
kd-11
a3ededdcf1
rsx: Implement deferred buffer allocations for GPU write
2023-03-02 12:48:58 +03:00
kd-11
0a9d646bd7
rsx: Workaround for clang build
2023-03-01 01:10:06 +03:00
kd-11
0bb8127372
rsx: Use emplace when constructing in-place.
...
- Unexpectedly high gains for msvc builds. GCC doesn't care, clang shits itself.
2023-03-01 01:10:06 +03:00
kd-11
1b8a69154f
rsx: Use non-owning container to ellide a derpy allocation with msvc
2023-03-01 01:10:06 +03:00
oltolm
19ded3809f
fix out-of-bounds in VKGSRenderTypes.hpp
2023-02-26 22:20:07 +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
Margen67
5bb89328d0
Remove whitespace
2023-02-15 08:58:02 +01:00
kd-11
dc8652806e
rsx/overlays: Support disabling vertex-snap on a per-draw-call basis
2023-02-05 01:30:20 +03:00