2020-09-17 22:20:26 +00:00
|
|
|
### Compilation failed:
|
|
|
|
|
2021-11-01 21:29:40 +00:00
|
|
|
error: 1: 'gl_FragCoord' is a reserved word
|
2022-04-06 22:24:52 +00:00
|
|
|
void fragcoord() { float x = gl_FragCoord.x; }
|
|
|
|
^^^^^^^^^^^^
|
2020-09-17 22:20:26 +00:00
|
|
|
error: 1: unknown identifier 'gl_FragCoord'
|
2022-04-06 22:24:52 +00:00
|
|
|
void fragcoord() { float x = gl_FragCoord.x; }
|
|
|
|
^^^^^^^^^^^^
|
2021-11-01 21:29:40 +00:00
|
|
|
error: 2: 'gl_FragColor' is a reserved word
|
2022-04-06 22:24:52 +00:00
|
|
|
void fragcolor() { float r = gl_FragColor.r; }
|
|
|
|
^^^^^^^^^^^^
|
2020-09-17 22:20:26 +00:00
|
|
|
error: 2: unknown identifier 'gl_FragColor'
|
2022-04-06 22:24:52 +00:00
|
|
|
void fragcolor() { float r = gl_FragColor.r; }
|
|
|
|
^^^^^^^^^^^^
|
2021-11-01 21:29:40 +00:00
|
|
|
4 errors
|