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