Skip to content

val: Implement 'empty_bind_group_layouts_requires_empty_bind_groups' test - #1910

Merged
Gyuyoung merged 1 commit into
gpuweb:mainfrom
Gyuyoung:empty-bind-group
Oct 14, 2022
Merged

Gyuyoung merged 1 commit into
gpuweb:mainfrom
Gyuyoung:empty-bind-group

Conversation

@Gyuyoung

@Gyuyoung Gyuyoung commented Oct 12, 2022 •

Copy link
Copy Markdown
Collaborator

This PR implements a new test to ensure that empty bind groups should be set by setBindGroup if the pipeline has empty bind group layouts.

The test is implemented in setBindGroup.spec.ts file.

Issue: #1903


Requirements for PR author:

  • All missing test coverage is tracked with "TODO" or .unimplemented().
  • New helpers are /** documented */ and new helper files are found in helper_index.txt.
  • Test behaves as expected in a WebGPU implementation. (If not passing, explain above.)

Requirements for reviewer sign-off:

  • Tests are properly located in the test tree.
  • Test descriptions allow a reader to "read only the test plans and evaluate coverage completeness", and accurately reflect the test code.
  • Tests provide complete coverage (including validation control cases). Missing coverage MUST be covered by TODOs.
  • Helpers and types promote readability and maintainability.

When landing this PR, be sure to make any necessary issue status updates.

@github-actions

Copy link
Copy Markdown

Previews, as seen when this build job started (85fec96):
Run tests | View tsdoc

@Gyuyoung
Gyuyoung requested a review from kainino0x October 12, 2022 06:33
@Gyuyoung
Gyuyoung marked this pull request as ready for review October 12, 2022 06:33
@github-actions

Copy link
Copy Markdown

Previews, as seen when this build job started (d07dc8b):
Run tests | View tsdoc

@kainino0x kainino0x left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM with a small fix

…test

This PR implements a new test to ensure that empty bind groups should be
set by setBindGroup if the pipeline has empty bind group layouts.

The test is implemented in pipeline_bind_group_compat.spec.ts file.

Issue: gpuweb#1903
@github-actions

Copy link
Copy Markdown

Previews, as seen when this build job started (73b1abf):
Run tests | View tsdoc

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.

2 participants