Sign in
dawn
/
dawn
/
4bc30b7ba2c21d380bdc84baf2ebb98f6e055906
/
.
/
test
/
tint
/
shader_io
/
vertex_output_builtins_struct.wgsl
blob: 7f5d2a7f0ddc5d144e1c8e3c30ea551d4de8f6ed [
file
] [
log
] [
blame
]
struct
VertexOutputs
{
@builtin
(
position
)
position
:
vec4
<f32>
,
};
@stage
(
vertex
)
fn main
()
->
VertexOutputs
{
return
VertexOutputs
(
vec4
<f32>
(
1.0
,
2.0
,
3.0
,
4.0
));
}