Henrik Rydgård
9f1f75ddab
Refactor: Merge the ChooseDevice function into CreateDevice
2024-07-17 10:31:49 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
3e1d131754
Vulkan: Fall back to extension if core functions won't load.
2024-06-23 15:42:35 +02:00
Henrik Rydgård
2c257e2628
Vulkan submit: If submit-type is FinishFrame, always trigger the fence.
...
Should fix #19277
2024-06-19 10:52:40 +02:00
Henrik Rydgård
87ead3f492
Fix bad framebuffer bind in Parappa The Rapper
2024-05-29 12:23:54 +02:00
Henrik Rydgård
606a895985
iOS: Update recents paths on load
...
Fixes the main part of #19211
2024-05-29 10:12:20 +02:00
Henrik Rydgård
35c40196d4
Implement UI for setting up the iOS audio modes
2024-05-27 15:17:47 +02:00
Henrik Rydgård
6817858d61
Use a hacked MoltenVK that can be loaded (but doesn't work) on iOS 12.
...
See https://github.com/KhronosGroup/MoltenVK/issues/2240
2024-05-26 16:45:29 +02:00
Henrik Rydgård
740219a65b
Plumb the restart event into AppDelegate
2024-05-23 14:16:07 +02:00
Henrik Rydgård
5f79046e01
Get Vulkan rendering on iOS (still, need to hook up input etc)
2024-05-23 09:41:00 +02:00
Henrik Rydgård
47f12dfeec
Make linking to MoltenVK work
2024-05-23 09:41:00 +02:00
Henrik Rydgård
fea6727ffd
Add a convenience method to VulkanContext to reduce code duplication
...
Will need the exact same code for iOS.
2024-05-23 02:13:54 +02:00
Henrik Rydgård
336732afa8
Remove accidental enabling of Mali driver workaround on other GPUs.
...
May help #19133
2024-05-12 00:08:33 +02:00
Henrik Rydgård
c38ce2a5be
Fix an issue when bringin up the dev menu with transparent background disabled
2024-05-11 21:28:26 +02:00
Eric Warmenhoven
81846cd737
macOS: Update VulkanLoader for MoltenVK 1.2.8-style framework finding
2024-05-08 12:21:47 -04:00
Henrik Rydgård
28ab4518ed
Add a workaround and an assert, trying to fix #18982
...
Not sure what it is if this doesn't fix #18982 .
We already seem to be doing things correctly.
2024-04-29 13:32:26 +02:00
Eric Warmenhoven
e50ca3808a
iOS: Update VulkanLoader for MoltenVK 1.2.8-style framework finding
2024-04-19 09:30:43 -04:00
Henrik Rydgård
22fa5f787b
Optimize some barrier flags down to what's actually necessary.
2024-04-08 09:03:04 +02:00
Henrik Rydgård
b592473416
Vulkan: Add a missing barrier that got lost in the refactor
2024-04-08 09:00:44 +02:00
Henrik Rydgård
036c386b35
More barrier optimizations
2024-04-07 22:20:37 +02:00
Henrik Rydgård
60f350056c
Vulkan: Optimize away a barrier in case of no depth buffer
2024-04-07 21:43:06 +02:00
Henrik Rydgård
78c0be3d8a
Delete now-unused code
2024-04-07 21:25:04 +02:00
Henrik Rydgård
d949331f67
More use of the auto image layout transition functions
2024-04-07 21:24:25 +02:00
Henrik Rydgård
7769bf06f1
Add a simplified wrapper for Transition*ImageAuto that takes a VKRImage
2024-04-07 21:14:45 +02:00
Henrik Rydgård
3e91095313
Replace the "FromOptimal" layout transitions with auto. This fixes some rendering errors on NV.
2024-04-07 21:14:45 +02:00
Henrik Rydgård
9c4dd32db0
Replace the "ToOptimal" layout transitions with the auto ones
2024-04-07 21:14:45 +02:00
Henrik Rydgård
ada76e30ca
Add new capabilities to the auto image layout transition functions
2024-04-07 21:14:45 +02:00
Henrik Rydgård
58fea04b8a
Split the auto image layout transition function (color/depth-stencil)
2024-04-07 21:14:45 +02:00
Henrik Rydgård
6ac5a21846
Update the layout from within TransitionImageAuto
2024-04-07 21:14:45 +02:00
Henrik Rydgård
0bdbffd12f
Revert minor optimization that needs some more work first
2024-04-07 21:14:45 +02:00
Henrik Rydgård
a66affe5db
Delete the function TransitionImageLayout2
2024-04-06 17:12:40 +02:00
Henrik Rydgård
a3d0cb1f12
Switch away from TransitionImageLayout2
2024-04-06 17:12:32 +02:00
Henrik Rydgård
e00f1f10a3
More barrier code simplification
2024-04-06 17:03:44 +02:00
Henrik Rydgård
4a5eb4bdfb
More cleanup
2024-04-06 17:03:40 +02:00
Henrik Rydgård
d28e9dc006
Minor cleanup
2024-04-06 17:03:40 +02:00
Henrik Rydgård
ae6e0d182e
Vulkan: Fix function loading regression affecting MSAA
...
When loading function that have been merged into core, use the core
names.
2024-04-05 17:28:37 +02:00
Henrik Rydgård
eae0504627
Vulkan: Don't use explicit swizzle channels when not needed
2024-04-04 15:47:39 +02:00
Henrik Rydgård
4ea58b64d4
Merge our two different Vulkan barrier batch implementations
2024-04-04 15:32:48 +02:00
Henrik Rydgård
9f9881dfe3
Move some code, minor cleanup.
...
See #18987
2024-04-04 12:30:41 +02:00
Henrik Rydgård
32fe47d761
Fix or ignore some various Vulkan validation errors
2024-04-03 13:37:40 +02:00
Henrik Rydgård
f9c31072d2
Disable Vulkan/MoltenVK on x64 macs
...
Keep getting reports of radeon and intel GPUs that don't work with Vulkan.
2024-03-28 11:17:47 +01:00
Henrik Rydgård
c5791764d8
Make the i18n T function use std::string_view
...
Buildfixes, crashfixes
One more
Android buildfix
Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård
8dc4d6e026
Temporarily disable MSAA on Adreno GPUs. See issue #18818
2024-02-03 18:40:03 +01:00
Henrik Rydgård
3802d4ee16
Try to resolve another race condition. Improve an assert.
2024-02-03 10:54:16 +01:00
Henrik Rydgård
d4a71a2268
More fixes
2024-02-03 00:20:08 +01:00
Henrik Rydgård
6ce4933db8
Split the discard-stencil-bug flag into separate flags for Adreno and Mali
2024-02-02 11:11:31 +01:00
Henrik Rydgård
86ea5665f0
Show some more Vulkan extensions in sysinfo
2024-02-01 17:08:54 +01:00
Henrik Rydgård
c0bc6446dd
Improve assert, cleanup
2024-02-01 16:33:01 +01:00
Henrik Rydgård
c7ed87b352
Assorted paranoia and improved checks
2024-01-31 10:22:03 +01:00
Henrik Rydgård
25a1e6aa14
Some renaming, add a bunch of sanity debug-asserts
2024-01-30 11:14:21 +01:00