Closed Bug 1641044 Opened 4 years ago Closed 1 month ago

Document the safety expectations of wgpu-core

Categories

(Core :: Graphics: WebGPU, task, P2)

task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: kvark, Unassigned)

References

(Blocks 2 open bugs)

Details

/gfx/wgpu/wgpu-core is a Rust API layer that essentially gets a lot of raw input. We have to do a lot of pointer to reference conversions there, and it's obviously not safe. It is, however, safe, if the client of wgpu-core guarantees that any pointer is either NULL, or points to a valid structure. This documentation should be put in the root of wgpu-core somewhere.

Blocks: webgpu-v1
Priority: -- → P2
Blocks: webgpu-phase-2
No longer blocks: webgpu-v1
Blocks: 1886808

Wontfixing: this should be tracked in GitHub.

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.