Skip to content

Regenerate bindings from wgpu4k v29 snapshot - #101

Merged
ygdrasil-io merged 12 commits into
masterfrom
feat/wgpu4k-v29-snapshot-bindings
Jul 16, 2026
Merged

Regenerate bindings from wgpu4k v29 snapshot#101
ygdrasil-io merged 12 commits into
masterfrom
feat/wgpu4k-v29-snapshot-bindings

Conversation

@ygdrasil-io

Copy link
Copy Markdown
Contributor

Summary

  • consume io.ygdrasil:wgpu4k-native-specs-jvm:v29.0.0-SNAPSHOT from a Sonatype snapshot repository restricted to io.ygdrasil
  • make optional IDL dictionary nullability idempotent so nullable unions are not emitted with ??
  • regenerate common, Web, and Native enum/bitflag bindings from the v29 webgpu.yml
  • update JVM, Android, and KLIB ABI baselines

API impact

  • replace GPUDeviceLostReason.InstanceDropped with CallbackCancelled
  • remove GPUVertexStepMode.VertexBufferNotUsed
  • add six GPUFeatureName entries, six GPUTextureFormat entries, and GPUTextureUsage.TransientAttachment
  • update Native enum values and Kotlin ordinals to follow the v29 YAML ordering; Web string payloads remain unchanged for existing entries
  • no descriptor, interface, typealias, or Web wrapper signature changes

Generation warnings

The generator still reports 24 native-only enumerations missing from the IDL and the IDL-only GPUAutoLayoutMode. These mismatches are preserved and no synthetic mapping is introduced.

Validation

  • ./gradlew generate-binding --console=plain
  • a second generation is idempotent (git diff --exit-code)
  • ./gradlew build --console=plain (BUILD SUCCESSFUL, 281 tasks)
  • independent per-task and whole-branch reviews

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown

Qodana for JVM

188 new problems were found

Inspection name Severity Problems
Redundant qualifier name 🔶 Warning 90
Redundant visibility modifier 🔶 Warning 61
Unused symbol 🔶 Warning 24
Unused import directive 🔶 Warning 6
Unstable API Usage 🔶 Warning 3
Class naming convention ◽️ Notice 2
Explicit 'get' or 'set' call ◽️ Notice 2

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@ygdrasil-io
ygdrasil-io marked this pull request as ready for review July 16, 2026 15:59
@ygdrasil-io
ygdrasil-io merged commit 14a09fe into master Jul 16, 2026
6 of 7 checks passed
@ygdrasil-io
ygdrasil-io deleted the feat/wgpu4k-v29-snapshot-bindings branch July 16, 2026 18:40
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