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