cts icon indicating copy to clipboard operation
cts copied to clipboard

Move builtin must_use tests into per-builtin validation suites

Open jrprice opened this issue 11 months ago • 1 comments

We have tests that the results of most builtins must be used in must_use.spec.ts, but we have also started adding equivalent tests inside the per-builtin validation suites, e.g. #3496.

We should probably move all of these must_use tests into the per-builtin suites to make it clearer what should be covered when adding a new builtin. The dedicated must_use suite would then focus on user-specified @must_use attributes.

jrprice avatar Mar 14 '24 15:03 jrprice

Don't neglect src/webgpu/shader/validation/expression/call/builtin/value_constructor.spec.ts.

alan-baker avatar May 07 '24 15:05 alan-baker