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