Sign in
dawn
/
tint
/
refs/heads/chromium/4600
/
.
/
test
/
unittest
/
reader
/
spirv
/
SpvModuleScopeVarParserTest_BuiltinPosition_StorePositionMember_OneAccessChain.spvasm.expected.wgsl
blob: 45d50df8f168529ea1412246d9e7496dd6de84b4 [
file
] [
log
] [
blame
] [
edit
]
var
<private>
gl_Position
:
vec4
<f32>
;
fn main_1
()
{
gl_Position
.
y
=
0.0
;
return
;
}
struct
main_out
{
[[
builtin
(
position
)]]
gl_Position
:
vec4
<f32>
;
};
[[
stage
(
vertex
)]]
fn main
()
->
main_out
{
main_1
();
return
main_out
(
gl_Position
);
}