Skip to content

Misc: WoA build fixes - #14916

Open
TheLastRar wants to merge 10 commits into
PCSX2:masterfrom
TheLastRar:WoA-fixes
Open

TheLastRar wants to merge 10 commits into
PCSX2:masterfrom
TheLastRar:WoA-fixes

Conversation

@TheLastRar

@TheLastRar TheLastRar commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Description of Changes

Re-add compile fixes to VIXL.
Adds DirectX Headers to ARM deps.
Adds ffmpeg to ARM deps.
A copy/paste fix for building Qt Tools.
Use a dedicated ASM file for WoA fastjmp.
Add workaround for Adreno not liking one of our DX12 optimisations,
Include GSDeviceVK based on ENABLE_VULKAN define instead of by architecture.
Don't gate linking WinPixRuntime behind enabling OGL.
Disable Vulkan, OpenGL & RAIntegration when building for WoA with CMake,

Rationale behind Changes

3rdParty changes and additional deps are required to buid for WoA.

Using an ASM file instead of inline ASM matches x64 Windows builds.
An ASM file would also be needed to eventually enable MSVC arm builds.

Our DX12 backend would skip ending the renderpass for some barrier draws.
While this optimisation isn't strictly spec compliant, it only causes issues with Adreno drivers, so only avoid it for those drivers.

The DX12 backend includes WinPixEventRuntime on debug builds, but linking to that lib in CMake builds where previously dependent on ENABLE_OPENGL, which if disabled would cause the build to fail.

MSBuild disables Vulkan, OpenGL & RAIntegration for ARM builds
The OGL compatibility layer is buggy and doesn't render correctly.
It seems that barrier draws cause device loss on Adreno's Vulkan drivers.
RAIntegration currently do not provide an ARM64 dll.

On Windows, we build arm deps to deps-arm64, ensure CMake copies from this directory for WoA builds.

Suggested Testing Steps

Test building for ARM
Test that it runs (or walks given the missing jit)
Test video recording on the different codecs

Did you use AI to help find, test, or implement this issue or feature?

No

@TheLastRar
TheLastRar marked this pull request as ready for review September 13, 2026 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants