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