Sign in
dawn
/
dawn
/
145436e43ab374b266bdabce34208bfef9dafb5d
/
.
/
test
/
tint
/
bug
/
tint
/
1820.wgsl.expected.wgsl
blob: 5fa9cd94872f4659f420b117c2d3a8ceed0aef75 [
file
] [
log
] [
blame
]
fn foo
(
x
:
f32
)
{
switch
(
i32
(
x
))
{
default
:
{
}
}
}
var
<private>
global
:
i32
;
fn baz
(
x
:
i32
)
->
i32
{
global
=
42
;
return
x
;
}
fn bar
(
x
:
f32
)
{
switch
(
baz
(
i32
(
x
)))
{
default
:
{
}
}
}
fn main
()
{
}