Skip to content

Pass a typed null for V3 Vulkan device count queries - #35

Merged
antono3 merged 1 commit into
masterfrom
fix/v3-device-count-query
Oct 2, 2026
Merged

antono3 merged 1 commit into
masterfrom
fix/v3-device-count-query

Conversation

@antono3

@antono3 antono3 commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

Current strict V3 generates a non-null pointer to a null handle for the untyped nil output argument in vkEnumeratePhysicalDevices. Vulkan treats that as an output-buffer call with zero capacity, so the player incorrectly reports no devices. Use an explicitly typed null pointer for the count-only query instead.

The latest-master advisory job already passes all 3 parser tests after #34; device discovery was its remaining failure. The local clean upstream V3/TinyCC build now passes the existing Lavapipe loader smoke test and lists llvmpipe. Full pinned Linux/Windows and latest-master CI will validate this change. This tests loader dispatch and discovery only, not H.264 hardware decoding.

@antono3
antono3 merged commit b97941a into master Oct 2, 2026
6 checks passed
@antono3
antono3 deleted the fix/v3-device-count-query branch October 2, 2026 01:36
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