Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3rdParty: Bump MoltenVK to 1.2.5 - Vulkan SDK 1.3.261 #14496

Merged
merged 6 commits into from Aug 18, 2023

Conversation

shinra-electric
Copy link
Contributor

Bumps MoltenVK to 1.2.5 matching Vulkan SDK 1.3.261

Changelog:

  • Add support for extensions:
    • VK_KHR_incremental_present
    • VK_KHR_shader_non_semantic_info
    • VK_EXT_4444_formats
    • VK_EXT_calibrated_timestamps
    • VK_EXT_pipeline_creation_feedback
    • VK_EXT_shader_demote_to_helper_invocation
    • VK_EXT_shader_subgroup_ballot
    • VK_EXT_shader_subgroup_vote
  • Add support for VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN.
  • Support building MoltenVK for visionOS.
  • Ensure non-dispatch compute commands don't interfere with compute encoding state used by dispatch commands.
  • Support maximizing the concurrent executing compilation tasks via - MVKConfiguration::shouldMaximizeConcurrentCompilation
  • Support VK_PRESENT_MODE_IMMEDIATE_KHR if VkPresentTimeGOOGLE::desiredPresentTime is zero.
  • Add support for VK_PRESENT_MODE_IMMEDIATE_KHR to macOS Cube demo.
  • Allow both renderPass and VkPipelineRenderingCreateInfo to be missing.
  • Fix sync delay between calls to vkQueueSubmit() on non-Apple-Silicon devices.
  • Ensure Xcode simulator always uses 256B buffer alignment.
  • Don't attempt to force the window system to use the same high-power GPU as the app, on every swapchain creation.
  • Log more info about SPIR-V to MSL conversion errors.
  • Implement Deferred Host Operations.
  • Support MSL Version 3.1.
  • Drop official support for using Xcode 11 to build MoltenVK.
  • To allow building MoltenVK without an internet connection, don't fetch a submodule if the commit is already known.
  • Update dependency libraries to match Vulkan SDK 1.3.261.
  • Update to latest SPIRV-Cross:
    • MSL: Fix argument buffer padding when content includes arrays.
    • MSL: ray-query intersection params
    • MSL: Support SPV_KHR_shader_ballot and SPV_KHR_subgroup_vote.
    • Skip line directives when emitting loop condition blocks.
    • MSL: Consider changed array types for array-of-constant-bool in struct.
    • MSL: Consider bool-short remapping for constant expressions as well.
    • Minor cleanup in constant_expression().
    • MSL: Add test for bool-in-struct edge cases.
    • MSL: Handle more complex array copy scenarios with bool <-> short.
    • MSL: Handle stores to struct bool[].
    • MSL: Consider bool/short remapping when dealing with composites.
    • MSL: fix function constant deduplication misfire

@shinra-electric shinra-electric marked this pull request as draft August 16, 2023 20:18
@shinra-electric
Copy link
Contributor Author

Marked as draft, since we need to wait for homebrew to update, and add their build to the CI.

@Megamouse Megamouse added Driver: MoltenVK Open-source macOS Vulkan driver Render: Vulkan OS: Mac Build and CI Anything related to the build process and continuous integration labels Aug 16, 2023
@shinra-electric shinra-electric marked this pull request as ready for review August 17, 2023 09:47
@shinra-electric
Copy link
Contributor Author

This PR should allow for the removal of the various triangle fan workarounds on macOS.

@Megamouse Megamouse merged commit 454cb69 into RPCS3:master Aug 18, 2023
5 checks passed
@shinra-electric shinra-electric deleted the moltenvk-125 branch August 27, 2023 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build and CI Anything related to the build process and continuous integration Driver: MoltenVK Open-source macOS Vulkan driver OS: Mac Render: Vulkan
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants