Sitelet https://github.com/gpuweb/gpuweb/pull/2141/commits/30712154a6db1e86a22e23148f46faf4477fbac9
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove no-op minBindingSize text
minBindingSize is never undefined (it defaults to 0), so this "if"
wasn't doing anything.
  • Loading branch information
kainino0x committed Sep 24, 2021
commit 30712154a6db1e86a22e23148f46faf4477fbac9
12 changes: 5 additions & 7 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3804,13 +3804,11 @@ A {{GPUBindGroup}} object has the following internal slots:
- |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.
- If |layoutBinding|.{{GPUBindGroupLayoutEntry/buffer}}.{{GPUBufferBindingLayout/minBindingSize}}
is not `undefined`:
- The effective binding size, that is either explict in
|resource|.{{GPUBufferBinding/size}} or derived from
|resource|.{{GPUBufferBinding/offset}} and the full
size of the buffer, is greater than or equal to
|layoutBinding|.{{GPUBindGroupLayoutEntry/buffer}}.{{GPUBufferBindingLayout/minBindingSize}}.
- The effective binding size, that is either explict in
|resource|.{{GPUBufferBinding/size}} or derived from
|resource|.{{GPUBufferBinding/offset}} and the full
size of the buffer, is greater than or equal to
|layoutBinding|.{{GPUBindGroupLayoutEntry/buffer}}.{{GPUBufferBindingLayout/minBindingSize}}.

- If |layoutBinding|.{{GPUBindGroupLayoutEntry/buffer}}.{{GPUBufferBindingLayout/type}} is
<dl class="switch">
Expand Down