Sign in
dawn
/
dawn
/
refs/heads/main
/
.
/
test
/
tint
/
bug
/
tint
/
2121.wgsl
blob: 5b9f056f7798221350e34093838462e5e92ad499 [
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
;
}