Sign in
dawn
/
dawn
/
545f4e0f77288894237aa75bccb80ea91ec8f7e5
/
.
/
test
/
shader_io
/
vertex_output_builtins_struct.wgsl
blob: 9e09d38218cdc1f783bce533d8af46009e677069 [
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
));
}