cts icon indicating copy to clipboard operation
cts copied to clipboard

Test usage field of GPUTextureViewDescriptor

Open vonture opened this issue 1 year ago • 0 comments

Add variants of existing view format writing tests to cover end2end inherited and minimal view usage.

Add validation tests for texture view creation with usage and texture view usage compatability in render passes/bind groups.

fixes: #3953


Requirements for PR author:

  • [x] All missing test coverage is tracked with "TODO" or .unimplemented().
  • [x] New helpers are /** documented */ and new helper files are found in helper_index.txt.
  • [x] Test behaves as expected in a WebGPU implementation. (If not passing, explain above.)
  • [x] Test have be tested with compatibility mode validation enabled and behave as expected. (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.

vonture avatar Sep 18 '24 20:09 vonture