aff58c6cac
This CL adds wgsl tests for the following rules: v-switch01: switch statement selector expression must be of a scalar integer type v-0008: switch statement must have exactly one default clause v-switch03: the case selector values must have the same type as the selector expression the case selectors for a switch statement v-switch04: a literal value must not appear more than once in the case selectors for a switch statement v-switch05: a fallthrough statement must not appear as the last statement in last clause of a switch Bug: tint: 6 Change-Id: Ia12b7d13d47b01e970a5a1e58d61ef05dd9f3830 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/28320 Commit-Queue: David Neto <dneto@google.com> Reviewed-by: David Neto <dneto@google.com> |
||
---|---|---|
.. | ||
compute_boids.wgsl | ||
cube.wgsl | ||
function-must-be-declared-before-use-fail.wgsl | ||
function.wgsl | ||
simple.wgsl | ||
switch-case-selector-must-have-the-same-type-as-the-selector-expression-2.fail.wgsl | ||
switch-case-selector-must-have-the-same-type-as-the-selector-expression.fail.wgsl | ||
switch-case-selector-value-must-be-unique.fail.wgsl | ||
switch-fallthrough-must-not-be-last-stmt-of-last-clause.fail.wgsl | ||
switch-must-have-exactly-one-default-clause-2.fail.wgsl | ||
switch-must-have-exactly-one-default-clause.fail.wgsl | ||
switch-selector-expression-must-be-scalar-integer-type.fail.wgsl | ||
triangle.wgsl | ||
undefined-variable-global-scope.wgsl | ||
undefined-variable-inner-block.wgsl |