Skip to content

val: Use doCompute,doRender helpers in empty_bind_group_layouts_requires_empty_bind_groups.* tests - #1919

Merged
kainino0x merged 2 commits into
gpuweb:mainfrom
Gyuyoung:use-do-render-compute
Oct 28, 2022
Merged

kainino0x merged 2 commits into
gpuweb:mainfrom
Gyuyoung:use-do-render-compute

Conversation

@Gyuyoung

@Gyuyoung Gyuyoung commented Oct 17, 2022 •

Copy link
Copy Markdown
Collaborator

We can simply call doCompute, doRender helper methods instead of calling dispatchWorkgroups and draw functions.

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.

…res_empty_bind_groups.* tests

We can simply call doCompute, doRender helper methods instead of calling
dispatchWorkgroups and draw functions.

Issue: gpuweb#1903
@github-actions

Copy link
Copy Markdown

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

@Gyuyoung
Gyuyoung requested a review from kainino0x October 17, 2022 03:19
@Gyuyoung
Gyuyoung marked this pull request as ready for review October 17, 2022 03:19
…equires_empty_bind_groups

This PR adds more parameters to test more render,compute commands in
empty_bind_group_layouts_requires_empty_bind_groups.

Issue: gpuweb#1903
@github-actions

Copy link
Copy Markdown

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

@kainino0x
kainino0x merged commit 7fc3ca0 into gpuweb:main Oct 28, 2022
@Gyuyoung
Gyuyoung deleted the use-do-render-compute branch October 29, 2022 02:22
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