Skip to content

Update tests following changes to GPUFragmentState validation - #655

Merged
kainino0x merged 1 commit into
gpuweb:mainfrom
austinEng:fragment-state-validation
Jul 22, 2021
Merged

kainino0x merged 1 commit into
gpuweb:mainfrom
austinEng:fragment-state-validation

Conversation

@austinEng

Copy link
Copy Markdown
Contributor

Tests that use fragment shaders that don't write to the output
must declare the color target with writeMask 0.

Spec PR: gpuweb/gpuweb#1918
Bug: crbug.com/dawn/962


Author checklist for test code/plans:

Updated tests + the Dawn patch that implements this pass.

  • 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).

Tests that use fragment shaders that don't write to the output
must declare the color target with writeMask 0.

Spec PR: gpuweb/gpuweb#1918
Bug: crbug.com/dawn/962
@austinEng
austinEng requested a review from kainino0x July 22, 2021 02:15
@kainino0x
kainino0x merged commit c9b72f0 into gpuweb:main Jul 22, 2021
@austinEng
austinEng deleted the fragment-state-validation branch July 22, 2021 20:21
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