Skip to content

fix(webgpu): finish the wgpu sync port for napi and Windows - #220

Merged
triniwiz merged 1 commit into
masterfrom
fix/wgpu-sync-napi-windows
Nov 14, 2026
Merged

triniwiz merged 1 commit into
masterfrom
fix/wgpu-sync-napi-windows

Conversation

@triniwiz

Copy link
Copy Markdown
Member

Finishes the wgpu sync port from #219. The Linux and Windows native builds failed on master:

  • canvas-napi: map the new snorm10-10-10-2 vertex format (napi enum, both conversions, and the VERTEX_FORMATS table).
  • Windows: pass the new drop_callback argument (None) to dx12::Device::texture_from_raw.
  • Add the enum value to both canvas_native.h copies.

canvas-napi did not map the new snorm10-10-10-2 vertex format, and the
dx12 texture_from_raw call was missing the new drop callback argument.
Also adds the enum value to the generated C headers.
@coderabbitai

coderabbitai Bot commented Nov 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6a2ac4e2-2d64-4f83-802b-c100225fc971

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@triniwiz
triniwiz merged commit 3cd9101 into master Nov 14, 2026
11 of 24 checks passed
@triniwiz
triniwiz deleted the fix/wgpu-sync-napi-windows branch November 14, 2026 10:47
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