Check that only storage allows an access mode (read or read_write)
Tests no access mode parameter and a trailing comma after address space separately
Tint currently fails webgpu:shader,validation,decl,var:address_space_access_mode:address_space="*";access_mode="";trailing_comma=true (see https://crbug.com/tint/2233).
webgpu:shader,validation,decl,var:address_space_access_mode:address_space="storage";access_mode="read";trailing_comma=truewebgpu:shader,validation,decl,var:address_space_access_mode:address_space="storage";access_mode="read_write";trailing_comma=true
Issue: #
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.)
Tint currently fails
webgpu:shader,validation,decl,var:address_space_access_mode:address_space="*";access_mode="";trailing_comma=true
(see https://crbug.com/tint/2233).webgpu:shader,validation,decl,var:address_space_access_mode:address_space="storage";access_mode="read";trailing_comma=true
webgpu:shader,validation,decl,var:address_space_access_mode:address_space="storage";access_mode="read_write";trailing_comma=true
Issue: #
Requirements for PR author:
.unimplemented()
./** documented */
and new helper files are found inhelper_index.txt
.Requirements for reviewer sign-off:
When landing this PR, be sure to make any necessary issue status updates.