Skip to content

wrapper: preserve native Mali subgroup capabilities - #39

Open
butilly wants to merge 2 commits into
wrapper-25from
fix/sinking-star-wrapper-subgroup-fix-2
Open

butilly wants to merge 2 commits into
wrapper-25from
fix/sinking-star-wrapper-subgroup-fix-2

Conversation

@butilly

@butilly butilly commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Game: Order of the Sinking Star; exe: sinking_star.exe; thread: 1564911527365185589. Latest report with vkd3d gamenative-3.0.1-84c995f7 shows subgroupSize=16 but subgroupSupportedOperations=0 (required 0x9f) and subgroupSupportedStages=0 (required 0x30), WaveOps=0, native SM5.1 raised to SM6.0 by an existing feature-level override. Game log requires SM6.5 and startup remains idle at GPU 0 percent. Source inspection finds wrapper_GetPhysicalDeviceProperties2 clears both masks after querying the real driver, in both Vulkan11Properties and SubgroupProperties. Preserve the returned masks for ARM proprietary drivers in both paths; retain existing behavior for other drivers. No capability bits, shader models or feature levels are forced, no diagnostics added. Based on the previous buffer-query fix at 9163f1a so that correction remains installed. Validation: diff --check passes; CI must compile/package. Next run must show the native operation/stage masks, whether the base SM gate passes, and whether startup advances; downstream capability gates remain intact.

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