Add DeviceDescriptor.default_queue
#4014
Labels
area: api
Issues related to API surface
area: correctness
We're behaving incorrectly
area: validation
Issues related to validation, diagnostics, and error handling
Milestone
Description
A clear and concise description of what the bug is.
GPUDeviceDescriptor
(viz., ourDeviceDescriptor
type) should contain a field calleddefaultQueue
of typeGPUBufferDescriptor
, with default value set to{}
.GPUBufferDescriptor
inherits fromGPUObjectDescriptorBase
, which means that alabel
can be specified.☝🏻 We don't implement this yet. It's a relatively recent addition to the spec., so that's not a surprise, but we need it to fully implement the WebGPU spec.
Repro steps
Ideally, a runnable example we can check out.
TODO
Expected vs observed behavior
Clearly describe what you get, and how it goes across your expectations.
TODO
Extra materials
Screenshots to help explain your problem.
Validation logs can be attached in case there are warnings and errors.
Zip-compressed API traces and GPU captures can also land here.
It looks like the easiest way to implement this is to add the new field as the spec. specifies to
DeviceDescriptor
, and then use the label here.Platform
Information about your OS, version of
wgpu
, your tech stack, etc.N/A
The text was updated successfully, but these errors were encountered: