2021-08-24 14:11:56 +00:00
|
|
|
### Compilation failed:
|
|
|
|
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 11: no match for shader::eval(float2, half4)
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_shader_xy_color() { return s.eval(xy, color); }
|
|
|
|
^^^^^^^^^^^^^^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 12: no match for shader::eval(half4)
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_shader_color() { return s.eval(color); }
|
|
|
|
^^^^^^^^^^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 13: no match for shader::eval(half4, float2)
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_shader_color_xy() { return s.eval(color, xy); }
|
|
|
|
^^^^^^^^^^^^^^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 14: no match for shader::eval()
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_shader_empty() { return s.eval(); }
|
|
|
|
^^^^^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 15: no match for shader::eval(float3x3)
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_shader_matrix() { return s.eval(float3x3(1)); }
|
|
|
|
^^^^^^^^^^^^^^^^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 16: type mismatch: ',' cannot operate on 'int', 'shader'
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_shader_comma_expr() { return (i++, s).eval(xy); }
|
|
|
|
^^^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 18: no match for colorFilter::eval()
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_colorFilter_empty() { return f.eval(); }
|
|
|
|
^^^^^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 19: no match for colorFilter::eval(float2)
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_colorFilter_xy() { return f.eval(xy); }
|
|
|
|
^^^^^^^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 20: no match for colorFilter::eval(float2, half4)
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_colorFilter_xy_color() { return f.eval(xy, color); }
|
|
|
|
^^^^^^^^^^^^^^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 21: type mismatch: ',' cannot operate on 'shader', 'colorFilter'
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_colorFilter_comma_expr() { return (s, f).eval(color); }
|
|
|
|
^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 23: no match for blender::eval()
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_blender_empty() { return b.eval(); }
|
|
|
|
^^^^^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 24: no match for blender::eval(half4)
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_blender_color() { return b.eval(color); }
|
|
|
|
^^^^^^^^^^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 25: no match for blender::eval(float2)
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_blender_xy() { return b.eval(xy); }
|
|
|
|
^^^^^^^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 26: no match for blender::eval(float2, half4)
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_blender_xy_color() { return b.eval(xy, color); }
|
|
|
|
^^^^^^^^^^^^^^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
error: 27: type mismatch: ',' cannot operate on 'blender', 'blender'
|
2022-04-06 22:24:52 +00:00
|
|
|
half4 eval_blender_comma_expr() { return (b, b).eval(color, color); }
|
|
|
|
^^^^
|
2021-11-17 15:01:57 +00:00
|
|
|
15 errors
|