Sign in
dawn
/
tint
/
c6d967b4dd3fd313af5e6c6e906eeb9a9e3603cf
/
.
/
test
/
shader_io
/
vertex_output_builtins_struct.wgsl
blob: afdcdf5524d57042a62722d942588124be70053f [
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
));
}