Commit Graph
761 Commits
Author SHA1 Message Date
Henrik Rydgård e0c12c9547 More lint warning fixes 2024-10-10 10:52:45 +02:00
Henrik Rydgård 21c6594961 Fix a bunch of Android Studio lint warnings 2024-10-10 10:24:40 +02:00
Henrik Rydgård 8d380e260a Fix a wrong assert 2024-10-03 16:52:34 +02:00
Henrik Rydgård 8c8b34aac4 Vulkan: Separate the instance and device API versions, for extension loading purposes 2024-09-25 18:38:31 +02:00
Henrik Rydgård b2d9ac54dd Make InfoField an "enum class", extract function FormatAPIVersion 2024-09-25 16:34:33 +02:00
Henrik Rydgård de0f50158b More refactoring 2024-09-25 16:19:29 +02:00
Henrik Rydgård f4e3252966 Refactor LOAD_INSTANCE_FUNC_CORE 2024-09-25 16:08:37 +02:00
Henrik Rydgård 12ecf25618 Refactor the LOAD_INSTANCE_FUNC macro to load a function 2024-09-25 16:04:36 +02:00
Henrik Rydgård 4f9f0acd32 VulkanLoader: Improve logging 2024-09-25 15:59:24 +02:00
Henrik RydgårdandGitHub a6dbb4dfdb Merge pull request #19468 from hrydgard/german-static-const-override
Code cleanup: Add some const and static modifiers
2024-09-17 17:35:06 +02:00
Henrik Rydgård eccd7f3767 More const/static-ification 2024-09-17 15:22:37 +02:00
Henrik Rydgård b21efd6728 Revert possibly problematic parts 2024-09-17 14:55:20 +02:00
Herman SemenovandHenrik Rydgård dcb8b4f81b [GPU/Core/Debugger] Reduced struct sizes using align for x64 platforms, fields carefully moved
Then revert changes that aren't worth it
2024-09-16 13:32:48 +02:00
Henrik Rydgård c631fe355f Fix the MGS2 Acid renderpass merge optimization
Failed to merge the specified renderAreas, leading to AMD skipping
rendering of much of the screen.

Fixes #17680
2024-09-09 18:12:53 +02:00
Henrik Rydgård 1ce416a366 Remove the Vulkan option on Moto G54. See issue #18681
See #18681
2024-09-08 17:34:47 +02:00
Henrik Rydgård 144b3a8a98 Vulkan validation error cleanups 2024-07-28 08:08:48 -06:00
Henrik Rydgård 417d346e03 Vulkan validation warning fix 2024-07-19 11:43:35 +02:00
Henrik Rydgård 7c817f3ecd Add helper for Vulkan struct chaining 2024-07-19 09:45:02 +02:00
Henrik Rydgård 665f03ff62 Add provoking vertex to caps, flip the flag around 2024-07-17 14:40:52 +02:00
Henrik Rydgård 138193a776 Add support for the EXT_provoking_vertex Vulkan extension, allowing us to skip software transform for this case. 2024-07-17 10:41:25 +02:00
Henrik Rydgård 2a35a92514 Vulkan: Check the device features *after* the extension checks. Necessary for the next step. 2024-07-17 10:32:47 +02:00
Henrik Rydgård 9f1f75ddab Refactor: Merge the ChooseDevice function into CreateDevice 2024-07-17 10:31:49 +02:00
Henrik RydgårdandGitHub 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