Skip to content

Commit

Permalink
Require buffer bindings to have non-zero size (gpuweb#2419)
Browse files Browse the repository at this point in the history
  • Loading branch information
kainino0x authored Dec 16, 2021
1 parent 4586d8a commit 8f1fa3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3872,7 +3872,7 @@ A {{GPUBindGroup}} object has the following internal slots:
- |resource| is a {{GPUBufferBinding}}.
- |resource|.{{GPUBufferBinding/buffer}} is [$valid to use with$] |this|.
- The bound part designated by |resource|.{{GPUBufferBinding/offset}} and
|resource|.{{GPUBufferBinding/size}} resides inside the buffer.
|resource|.{{GPUBufferBinding/size}} resides inside the buffer and has non-zero size.
- [$effective buffer binding size$](|resource|), is greater than or equal to
|layoutBinding|.{{GPUBindGroupLayoutEntry/buffer}}.{{GPUBufferBindingLayout/minBindingSize}}.

Expand Down

0 comments on commit 8f1fa3c

Please sign in to comment.