Sign in
dawn
/
tint
/
aff58c6cac121df36508c9e1469054ae333fc105
/
.
/
test
/
switch-selector-expression-must-be-scalar-integer-type.fail.wgsl
blob: da4951466d33ff68081a7056d45345a8463c1582 [
file
] [
log
] [
blame
]
# v-switch01: line 6: switch statement selector expression must be of a scalar integer type
entry_point vertex
=
main
;
fn main
()
->
void
{
var
a
:
f32
=
3.14
;
switch
(
a
)
{
default
:
{}
}
return
;
}