Skip to content

Clarify some wgpuSurfaceConfigure() error behavior#550

Merged
kainino0x merged 2 commits into
webgpu-native:mainfrom
kainino0x:configure-steps
Jun 20, 2025
Merged

Clarify some wgpuSurfaceConfigure() error behavior#550
kainino0x merged 2 commits into
webgpu-native:mainfrom
kainino0x:configure-steps

Conversation

@kainino0x
Copy link
Copy Markdown
Collaborator

  • Handle the case where there's no device.
  • Clarify what happens when the device is lost. (Lost devices don't report errors so we allow ImplementationDefinedLogging but otherwise squelch the errors. We also still validate that the device isn't lost, but this never results in a normative error because the error won't be reported.)
  • Clarify that struct chaining errors also produce device errors.

- Handle the case where there's no device.
- Clarify what happens when the device is lost. (Lost devices don't
  report errors so we allow ImplementationDefinedLogging but otherwise
  squelch the errors. We also still validate that the device isn't
  lost, but this never results in a normative error because the error
  won't be reported.)
- Clarify that struct chaining errors also produce device errors.
@kainino0x kainino0x requested a review from Kangz June 18, 2025 21:07
@kainino0x kainino0x enabled auto-merge (squash) June 20, 2025 20:37
@kainino0x kainino0x merged commit 592137b into webgpu-native:main Jun 20, 2025
5 checks passed
@kainino0x kainino0x deleted the configure-steps branch June 20, 2025 20:41
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.

3 participants