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