Sign in
dawn
/
dawn
/
dcca7d2859fc692222dc070d3225215f946d999f
/
.
/
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
;
}
}
}