Sign in
dawn
/
dawn
/
ece2ced03079e0a58d55e46b6b412c694395cfdf
/
.
/
test
/
tint
/
statements
/
switch
/
case_default_mixed.wgsl.expected.glsl
blob: a2c208a5c48fa301682f46c0f6f55d459827da44 [
file
] [
log
] [
blame
]
#version 310 es
layout
(
local_size_x
=
1
,
local_size_y
=
1
,
local_size_z
=
1
)
in
;
void
main
()
{
int
i
=
0
;
int
result
=
0
;
switch
(
i
)
{
case
0
:
{
result
=
10
;
break
;
}
case
1
:
default
:
{
result
=
22
;
break
;
}
case
2
:
{
result
=
33
;
break
;
}
}
}