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