gpu: verify optionality of all descriptors, fields, etc. #182

Closed
opened 2022-03-17 18:06:31 +00:00 by emidoots · 2 comments
emidoots commented 2022-03-17 18:06:31 +00:00 (Migrated from github.com)

In https://github.com/hexops/mach/pull/179 there are a number of descriptor fields which are actually supposed to be optional, and null pointers in the webgpu.h API. These are difficult to determine from the webgpu.h API itself, we will need to review each parameter/field (not just descriptors) as part of adding documentation from the WebGPU spec (which does denote optional in the IDL.)

In https://github.com/hexops/mach/pull/179 there are a number of descriptor fields which are actually supposed to be optional, and `null` pointers in the `webgpu.h` API. These are difficult to determine from the `webgpu.h` API itself, we will need to review each parameter/field (not just descriptors) as part of adding documentation from the WebGPU spec (which does denote `optional` in the IDL.)
emidoots commented 2022-04-09 19:30:04 +00:00 (Migrated from github.com)

At least one instance of this:

image
At least one instance of this: <img width="886" alt="image" src="https://user-images.githubusercontent.com/3173176/162588988-217700b2-5dec-456b-8c17-76f5e29d9eb5.png">
emidoots commented 2022-07-26 06:48:21 +00:00 (Migrated from github.com)

https://github.com/hexops/mach/pull/403 will ultimately resolve this.

https://github.com/hexops/mach/pull/403 will ultimately resolve this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
hexops/mach#182
No description provided.