Skip to content

Restrict barriers to compute shader stage - #1751

Merged
dneto0 merged 1 commit into
gpuweb:mainfrom
alan-baker:barrier-compute-only
May 19, 2021
Merged

dneto0 merged 1 commit into
gpuweb:mainfrom
alan-baker:barrier-compute-only

Conversation

@alan-baker

Copy link
Copy Markdown
Contributor

We only have workgroup barriers so restrict barrier to compute shader stage.

@alan-baker alan-baker added the wgsl WebGPU Shading Language Issues label May 19, 2021
@alan-baker
alan-baker requested review from dneto0 and kvark May 19, 2021 17:55
@dneto0
dneto0 merged commit 77d490e into gpuweb:main May 19, 2021
ben-clayton pushed a commit to ben-clayton/gpuweb that referenced this pull request Sep 6, 2022
* Add a query_set_type test to beginComputePass tests

This PR adds a `timestampWrites,query_set_type` test to
beginComputePass.spec.ts in order to check if a validation
error is generated when all query types are not timestamp.

Additionally, this PR adds tryComputePass utility method to
avoid using duplicated validation checks.

Issue: gpuweb#1743

* Add a query_index_count test to beginComputePass tests

This PR adds a timestampWrites,query_index_count test to
beginComputePass.spec.ts in order to check if a validation
error is generated when querySet.count is not greater than
timestampWrite.queryIndex.

Issue: gpuweb#1743
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wgsl WebGPU Shading Language Issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants