Sign in
dawn
/
tint
/
8ebff3dc85e7997e39592c52e20a4e134baffca8
/
.
/
test
/
unittest
/
reader
/
spirv
/
SpvModuleScopeVarParserTest_BuiltinPosition_BuiltIn_Position_Initializer.spvasm.expected.wgsl
blob: ed9859a7d0b22636543884d9de1d2cecf0b872d7 [
file
] [
log
] [
blame
]
var
<private>
gl_Position
:
vec4
<f32>
=
vec4
<f32>
(
1.0
,
2.0
,
3.0
,
4.0
);
fn main_1
()
{
return
;
}
struct
main_out
{
[[
builtin
(
position
)]]
gl_Position
:
vec4
<f32>
;
};
[[
stage
(
vertex
)]]
fn main
()
->
main_out
{
main_1
();
return
main_out
(
gl_Position
);
}