Sign in
dawn
/
dawn
/
c0fbce65d8c6e67b1cc1397ad76097486b8ac60b
/
.
/
test
/
shader_io
/
vertex_output_builtins_struct.wgsl.expected.wgsl
blob: 77d3b510ddea464dbbed47004f3df4f6ade3f28d [
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
));
}