• 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};
7struct _GlobalUniforms {
8    colorGreen: vec4<f32>,
9    colorRed: vec4<f32>,
10    _array: array<vec4<f32>, 5>,
11};
12@binding(0) @group(0) var<uniform> _globalUniforms: _GlobalUniforms;
13fn main() -> vec4<f32> {
14    return vec4<f32>(_globalUniforms.colorGreen.x, _globalUniforms.colorRed.x, 0.0, 1.0);
15}
16@fragment fn fragmentMain(_stageIn: FSIn) -> FSOut {
17    var _stageOut: FSOut;
18    _stageOut.sk_FragColor = main();
19    return _stageOut;
20}
21