2021-09-10 15:57:46 +00:00
|
|
|
### Compilation failed:
|
|
|
|
|
2021-09-16 14:42:24 +00:00
|
|
|
error: 1: function 'half4 blend_src_over(half4 src, half4 dst)' was already defined
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 blend_src_over(half4 src, half4 dst) {
|
|
|
|
^...
|
2021-09-10 15:57:46 +00:00
|
|
|
error: 5: shader 'main' must be main() or main(float2)
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 main(half4 src, half4 dst) {
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-09-16 14:42:24 +00:00
|
|
|
error: 6: unknown identifier 'src'
|
2022-04-06 22:24:52 +00:00
|
|
|
return blend_src_over(src, half4(1) - dst);
|
|
|
|
^^^
|
2021-09-16 14:42:24 +00:00
|
|
|
error: 6: unknown identifier 'dst'
|
2022-04-06 22:24:52 +00:00
|
|
|
return blend_src_over(src, half4(1) - dst);
|
|
|
|
^^^
|
2021-09-16 14:42:24 +00:00
|
|
|
4 errors
|