dan sinclair
dan sinclair
Is there a test that can be written for this? If we use the override it's accessed .... if we don't use it, how do we test that it wasn't...
* Size tests https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/validation/shader_io/size.spec.ts * Align tests https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/validation/parse/align.spec.ts * Struct tests https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/validation/types/struct.spec.ts
The majority of this is complete. The missing piece is to add testing of `textureDimensions` with a `texture_external` texture.
Add is tested in https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/validation/types/atomics.spec.ts others should probably be tested as well.
https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/validation/types/alias.spec.ts
https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/validation/types/textures.spec.ts
https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/validation/types/textures.spec.ts
* https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/validation/decl/var.spec.ts * https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/validation/decl/let.spec.ts * https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/validation/parse/var_and_let.spec.ts * https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/validation/decl/const.spec.ts * https://github.com/gpuweb/cts/blob/main/src/webgpu/shader/validation/decl/override.spec.ts
@jrprice will this be covered by the derivative tests you've been adding?