Skip to content

Implement api,validation,encoding,programmable,pipeline_bind_group_compat - #777

Merged
haoxli merged 3 commits into
gpuweb:mainfrom
haoxli:pipeline-bind-group-compat-impl
Nov 12, 2021
Merged

haoxli merged 3 commits into
gpuweb:mainfrom
haoxli:pipeline-bind-group-compat-impl

Conversation

@haoxli

@haoxli haoxli commented Oct 14, 2021 •

Copy link
Copy Markdown
Contributor
  • Complete unimplemented tests
  • Refactor/Combine existing tests
  • Use existing ValidBindableResource for resource types

Author checklist for test code/plans:

  • All outstanding work is tracked with "TODO" in a test/file description or .unimplemented() on a test.
  • New helpers, if any, are documented using /** doc comments */ and can be found via helper_index.txt.
  • (Optional, sometimes not possible.) Tests pass (or partially pass without unexpected issues) in an implementation. (Add any extra details above.)

Reviewer sign-off for test code/plans: (Note: feel free to pull in other reviewers at any time for any reason.)

  • The test path is reasonable, the description "describes the test, succinctly, but in enough detail that a reader can read only the test plans in a file or directory and evaluate the completeness of the test coverage."
  • Tests appear to cover this area completely, except for outstanding TODOs. Validation tests use control cases.
    (This is critical for coverage. Assume anything without a TODO will be forgotten about forever.)
  • Existing (or new) test helpers are used where they would reduce complexity.
  • TypeScript code is readable and understandable (is unobtrusive, has reasonable type-safety/verbosity/dynamicity).

…mpat

- Complete unimplementated tests
- Refactor/Combine existing tests
- Use existing ValidBindableResource for resource types
@github-actions

Copy link
Copy Markdown

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

@haoxli
haoxli requested a review from kainino0x October 14, 2021 05:12

@Kangz Kangz 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.

I started the review but won't have time to finish it. Kai is OOO for now, can you ask another reviewer to take a look like @austinEng or @Jiawei-Shao ?

'Tests the binding resource type in bindGroups[i].layout and pipelineLayout.bgls[i] must be matched'
`
Tests the binding resource type in bindGroups[i].layout and pipelineLayout.bgls[i] must be matched
- TODO: Test externalTexture

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

[1]

@github-actions

Copy link
Copy Markdown

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

@kainino0x

Copy link
Copy Markdown
Collaborator

hey folks, I just noticed this stale PR. Looks like comments were addressed? Should I review from scratch?

@haoxli

haoxli commented Nov 10, 2021

Copy link
Copy Markdown
Contributor Author

Is there any better suggestion for the naming of parameter useU32Array? All other comments have been resolved.

@Kangz

Kangz commented Nov 10, 2021

Copy link
Copy Markdown
Collaborator

If you don't mind I'll let @austinEng finish this review.

@austinEng austinEng left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't have any better naming suggestions, so LGTM.

@haoxli
haoxli merged commit 5e8ac49 into gpuweb:main Nov 12, 2021
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