• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1struct FSIn {
2    @builtin(front_facing) sk_Clockwise: bool,
3};
4struct FSOut {
5    @location(0) sk_FragColor: vec4<f32>,
6};
7fn main(_stageOut: ptr<function, FSOut>) {
8    (*_stageOut).sk_FragColor = vec4<f32>(1.0);
9}
10@fragment fn fragmentMain(_stageIn: FSIn) -> FSOut {
11    var _stageOut: FSOut;
12    main(&_stageOut);
13    return _stageOut;
14}
15