• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1struct Varyings {
2    float2 position;
3};
4
5float3 main(const Varyings varyings, out half4 c) {
6    return position.xxx;
7}
8
9
10/*%%*
11'main' must return: 'vec2' or 'float2'
12*%%*/
13