Sign in
dawn
/
dawn
/
refs/heads/main
/
.
/
test
/
tint
/
bug
/
tint
/
2121.wgsl.expected.wgsl
blob: beed357bca3f48ba8b350b6b4181983338deecf1 [
file
] [
log
] [
blame
]
struct
VSOut
{
@builtin
(
position
)
pos
:
vec4
<f32>
,
}
fn foo
(
out
:
ptr
<
function
,
VSOut
>)
{
var
pos
=
vec4f
(
1
,
2
,
3
,
4
);
(*(
out
)).
pos
=
pos
;
}
@vertex
fn main
()
->
VSOut
{
var
out
:
VSOut
;
foo
(&(
out
));
return
out
;
}