John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame^] | 1 | errors.frag |
| 2 | ERROR: 0:1: 'main' : function cannot take any parameter(s) |
| 3 | ERROR: 0:1: 'int' : main function cannot return a value |
| 4 | ERROR: 2 compilation errors. No code generated. |
| 5 | |
| 6 | |
| 7 | Shader version: 100 |
| 8 | ERROR: node is still EOpNull! |
| 9 | 0:1 Function Definition: main(i1; (global mediump int) |
| 10 | 0:1 Function Parameters: |
| 11 | 0:1 'foo' (in mediump int) |
| 12 | 0:3 Sequence |
| 13 | 0:3 Branch: Return with expression |
| 14 | 0:3 Constant: |
| 15 | 0:3 1 (const int) |
| 16 | 0:? Linker Objects |
| 17 | |
| 18 | |
| 19 | Linked fragment stage: |
| 20 | |
| 21 | |
| 22 | Shader version: 100 |
| 23 | ERROR: node is still EOpNull! |
| 24 | 0:1 Function Definition: main(i1; (global mediump int) |
| 25 | 0:1 Function Parameters: |
| 26 | 0:1 'foo' (in mediump int) |
| 27 | 0:3 Sequence |
| 28 | 0:3 Branch: Return with expression |
| 29 | 0:3 Constant: |
| 30 | 0:3 1 (const int) |
| 31 | 0:? Linker Objects |
| 32 | |