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