Skip to content

wrapper: enable native Mali descriptor folding for Hades II - #63

Open
butilly wants to merge 1 commit into
wrapper-25from
fix/wrapper-hades2-descriptor-fix
Open

butilly wants to merge 1 commit into
wrapper-25from
fix/wrapper-hades2-descriptor-fix

Conversation

@butilly

@butilly butilly commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

Game: Hades II; executable: Hades2.exe; thread: 1569125869803405463.

Evidence: the initial report fails in vkd3d_create_pipeline_layout: Root signature requires 8 descriptor sets, but device only supports 7. Latest report retains Mali-G925, wrapper-gamenative, vkd3d 3.0b, and logs Forcing device creation with a NULL pNext chain; no thermal or memory pressure. The latest diagnostic redirects subsequent D3D logging, so the original root-signature failure is the measured target.

The existing wrapper fold implementation remaps descriptor layouts, updates, bindings and SPIR-V but is gated on emulate_vulkan13. Native Vulkan Mali therefore never reaches it. Enable that implementation only for Hades2.exe with the ARM proprietary driver and exactly seven native sets, retaining the vkd3d and kill-switch guards. Do not inflate the underlying hardware limit or change Vulkan core emulation. The current base also masks unsupported requested features before device creation; this patch makes no additional feature-chain change.

Verification: diff check passed; CI compiles and packages the wrapper. On-device acceptance requires the fold activation log, removal of the eight-versus-seven root-signature error, and successful rendering beyond the white screen. Watch for fold-cap truncation or a remaining device-creation failure; neither runtime success nor descriptor-cap sufficiency has been established on this device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant