Sign in
dawn
/
tint
/
ce982d8a06926f1af07fda17ed635a87eb38bd5c
/
.
/
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
));
}