-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add DeviceDescriptor.default_queue #4014
Copy link
Copy link
Open
Labels
area: apiIssues related to API surfaceIssues related to API surfacearea: correctnessWe're behaving incorrectlyWe're behaving incorrectlyarea: validationIssues related to validation, diagnostics, and error handlingIssues related to validation, diagnostics, and error handling
Milestone
Metadata
Metadata
Assignees
Labels
area: apiIssues related to API surfaceIssues related to API surfacearea: correctnessWe're behaving incorrectlyWe're behaving incorrectlyarea: validationIssues related to validation, diagnostics, and error handlingIssues related to validation, diagnostics, and error handling
Type
Projects
Status
No status
Description
A clear and concise description of what the bug is.
GPUDeviceDescriptor(viz., ourDeviceDescriptortype) should contain a field calleddefaultQueueof typeGPUBufferDescriptor, with default value set to{}.GPUBufferDescriptorinherits fromGPUObjectDescriptorBase, which means that alabelcan 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