Skip to content

Conversation

@kainino0x
Copy link
Contributor

@kainino0x kainino0x commented Jun 4, 2021

The dynamicOffsetsDataStart and dynamicOffsetsDataLength are used to select a range of the dynamicOffsetsData. If they are out of bounds, this should be an exception, because it's analogous to constructing a new Uint32Array pointing at a subrange of dynamicOffsetsData.

Also deduplicates the rest of the implementation by calling into the other overload.


Preview | Diff

@kainino0x kainino0x requested review from kvark and toji June 4, 2021 21:47
@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2021

Previews, as seen when this build job started (61e8c32):
WebGPU | IDL
WGSL
Explainer

@github-actions
Copy link
Contributor

github-actions bot commented Jun 4, 2021

Previews, as seen when this build job started (4e3edba):
WebGPU | IDL
WGSL
Explainer

Copy link
Member

@toji toji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kvark kvark merged commit 63b617d into gpuweb:main Jun 7, 2021
@kainino0x kainino0x deleted the setbindgroup-range branch June 7, 2021 21:03
github-actions bot added a commit that referenced this pull request Jun 7, 2021
SHA: 63b617d
Reason: push, by @kvark

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Jun 7, 2021
SHA: 63b617d
Reason: push, by @kvark

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Jun 7, 2021
SHA: 63b617d
Reason: push, by @kvark

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
austinEng added a commit to austinEng/webgpu-cts that referenced this pull request Jul 16, 2021
…h check

Related spec pr: gpuweb/gpuweb#1811
Dawn issue: crbug.com/dawn/984
austinEng added a commit to gpuweb/cts that referenced this pull request Jul 16, 2021
…h check (#640)

Related spec pr: gpuweb/gpuweb#1811
Dawn issue: crbug.com/dawn/984
jiangzhaoming pushed a commit to jiangzhaoming/cts that referenced this pull request Jul 21, 2021
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants