Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a description of every descriptor member #2815

Open
toji opened this issue May 3, 2022 · 0 comments
Open

Provide a description of every descriptor member #2815

toji opened this issue May 3, 2022 · 0 comments
Assignees
Labels
copyediting Pure editorial stuff (copyediting, bikeshed, etc.)
Projects
Milestone

Comments

@toji
Copy link
Member

toji commented May 3, 2022

The WebGPU spec contains tons of descriptors for object creation or command arguments, but almost none of them have text to describe what effect they have (unless it happens to be given as part of validation somewhere.)

Similar to how most every function argument now has at least a sentence describing it's purpose, every single descriptor in the spec should have at least a basic description of what effect it's members have.

@toji toji added the copyediting Pure editorial stuff (copyediting, bikeshed, etc.) label May 3, 2022
@toji toji added this to the V1.0 milestone May 3, 2022
@toji toji self-assigned this May 3, 2022
toji added a commit that referenced this issue May 5, 2022
Part of #2815

Adds descriptor definitions for BlendComponent, MultisampleState,
PrimitiveState, and related descriptors and enums.
toji added a commit that referenced this issue May 6, 2022
Part of #2815, adds descriptions to buffer and texture descriptors
and usages.
toji added a commit that referenced this issue May 6, 2022
Part of #2815, adds descriptions to buffer and texture descriptors
and usages.
toji added a commit that referenced this issue May 10, 2022
Part of #2815

Adds or improves descriptions for the following dictionaries and
enums:
 - GPUMapMode
 - GPUTextureViewDescriptor
 - GPUTextureAspect
 - GPUSamplerDescriptor
 - GPUShaderStageFlags
 - GPUShaderStage
 - GPUShaderModuleDescriptor
 - GPUShaderModuleCompilationHint
 - GPUIndexFormat
 - GPUVertexStepMode
 - GPUVertexBufferLayout
 - GPUVertexAttribute
 - GPUImageDataLayout
 - GPUImageCopyBuffer
kainino0x added a commit that referenced this issue May 12, 2022
* Adds descriptions to multiple dictionary and enum members

Part of #2815

Adds or improves descriptions for the following dictionaries and
enums:
 - GPUMapMode
 - GPUTextureViewDescriptor
 - GPUTextureAspect
 - GPUSamplerDescriptor
 - GPUShaderStageFlags
 - GPUShaderStage
 - GPUShaderModuleDescriptor
 - GPUShaderModuleCompilationHint
 - GPUIndexFormat
 - GPUVertexStepMode
 - GPUVertexBufferLayout
 - GPUVertexAttribute
 - GPUImageDataLayout
 - GPUImageCopyBuffer

* Apply suggestions from code review

Co-authored-by: Kai Ninomiya <kainino@chromium.org>
toji added a commit that referenced this issue May 12, 2022
Part of #2815

Adds descriptor definitions for BlendComponent, MultisampleState,
PrimitiveState, and related descriptors and enums.
toji added a commit that referenced this issue May 16, 2022
Part of #2815

Adds or improves descriptions for the following dictionaries:

 - GPUBindGroupLayoutEntry
 - GPUBindGroupDescriptor
 - GPUBindGroupEntry
 - GPUBufferBinding
 - GPUPipelineLayoutDescriptor
toji added a commit that referenced this issue May 17, 2022
Part of #2815

Adds or improves descriptions for the following dictionaries:

 - GPUBindGroupLayoutEntry
 - GPUBindGroupDescriptor
 - GPUBindGroupEntry
 - GPUBufferBinding
 - GPUPipelineLayoutDescriptor
toji added a commit that referenced this issue May 17, 2022
Part of #2815

Adds or improves descriptions for the following dictionaries:

 - GPUBindGroupLayoutEntry
 - GPUBindGroupDescriptor
 - GPUBindGroupEntry
 - GPUBufferBinding
 - GPUPipelineLayoutDescriptor
jdarpinian pushed a commit to jdarpinian/gpuweb that referenced this issue Aug 12, 2022
Part of gpuweb#2815, adds descriptions to buffer and texture descriptors
and usages.
jdarpinian pushed a commit to jdarpinian/gpuweb that referenced this issue Aug 12, 2022
* Adds descriptions to multiple dictionary and enum members

Part of gpuweb#2815

Adds or improves descriptions for the following dictionaries and
enums:
 - GPUMapMode
 - GPUTextureViewDescriptor
 - GPUTextureAspect
 - GPUSamplerDescriptor
 - GPUShaderStageFlags
 - GPUShaderStage
 - GPUShaderModuleDescriptor
 - GPUShaderModuleCompilationHint
 - GPUIndexFormat
 - GPUVertexStepMode
 - GPUVertexBufferLayout
 - GPUVertexAttribute
 - GPUImageDataLayout
 - GPUImageCopyBuffer

* Apply suggestions from code review

Co-authored-by: Kai Ninomiya <kainino@chromium.org>
jdarpinian pushed a commit to jdarpinian/gpuweb that referenced this issue Aug 12, 2022
Part of gpuweb#2815

Adds descriptor definitions for BlendComponent, MultisampleState,
PrimitiveState, and related descriptors and enums.
jdarpinian pushed a commit to jdarpinian/gpuweb that referenced this issue Aug 12, 2022
Part of gpuweb#2815

Adds or improves descriptions for the following dictionaries:

 - GPUBindGroupLayoutEntry
 - GPUBindGroupDescriptor
 - GPUBindGroupEntry
 - GPUBufferBinding
 - GPUPipelineLayoutDescriptor
@kainino0x kainino0x modified the milestones: V1.0, Polish post-V1 Mar 2, 2023
@kainino0x kainino0x modified the milestones: Polish post-V1, V1.0 Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
copyediting Pure editorial stuff (copyediting, bikeshed, etc.)
Projects
No open projects
Main
Awaiting triage
Development

No branches or pull requests

2 participants