Skip to content

Reject redundant map requests early so there are never multiple pending promises#3348

Merged
kainino0x merged 2 commits intogpuweb:mainfrom
kainino0x:single-map
Aug 22, 2022
Merged

Reject redundant map requests early so there are never multiple pending promises#3348
kainino0x merged 2 commits intogpuweb:mainfrom
kainino0x:single-map

Conversation

@kainino0x
Copy link
Copy Markdown
Contributor

Fixes #3271

@kainino0x kainino0x added the copyediting Pure editorial stuff (copyediting, *.bs file syntax, etc.) label Aug 18, 2022
@kainino0x kainino0x added this to the V1.0 milestone Aug 18, 2022
@kainino0x kainino0x requested review from jimblandy and toji August 18, 2022 03:36
Copy link
Copy Markdown
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

@kainino0x
Copy link
Copy Markdown
Contributor Author

Not sure if Jim is still out, but @nical you might be interested in reviewing this change (sorry, should have cc'd you originally, forgot)

@nical
Copy link
Copy Markdown

nical commented Aug 22, 2022

LGTM

@kainino0x kainino0x merged commit 2a7aa5e into gpuweb:main Aug 22, 2022
@kainino0x kainino0x deleted the single-map branch August 22, 2022 17:36
@kainino0x kainino0x added the needs-cts-issue This change requires tests (or would need tests if accepted), but may not have a CTS issue filed yet label Aug 30, 2022
@kainino0x kainino0x removed the needs-cts-issue This change requires tests (or would need tests if accepted), but may not have a CTS issue filed yet label Nov 22, 2022
takahirox added a commit to takahirox/cts that referenced this pull request Nov 26, 2022
With this WebGPU spec change
gpuweb/gpuweb#3348

buffer.mapAsync() rejects immediately if it is pending map.
This commit adds a test to check it.
kainino0x pushed a commit to gpuweb/cts that referenced this pull request Nov 29, 2022
With this WebGPU spec change
gpuweb/gpuweb#3348

buffer.mapAsync() rejects immediately if it is pending map.
This commit adds a test to check it.
blueboxd pushed a commit to blueboxd/dawn that referenced this pull request Nov 30, 2022
To reflect the WebGPU spec change at
gpuweb/gpuweb#3348

Bug: chromium:1355994
Change-Id: I0159cbd9e1977a05453e3c562a2b0649a0ff930f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/110448
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Takahiro <hogehoge@gachapin.jp>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

copyediting Pure editorial stuff (copyediting, *.bs file syntax, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GPUBuffers shouldn't have to accumulate a list of mapAsync promises to reject

3 participants