cepl icon indicating copy to clipboard operation
cepl copied to clipboard

Inline pipelines get 2 errors for each gpu-code issue

Open cbaggers opened this issue 7 years ago • 2 comments

The gpu-function fails and then it it compiled into the pipeline which if called (which is usually the case due to livecoding) fails again.

related to https://github.com/cbaggers/cepl/issues/260 as it is more evidence that we need a special codepath for this feature, not just a macro that expands to defun-g + non-inline-defpipeline

cbaggers avatar Apr 22 '18 17:04 cbaggers

AH! we could emit define-vari-function instead of defun-g. This solves this and the other bug :)

cbaggers avatar Apr 22 '18 17:04 cbaggers

of course then we need a way to compile vari functions, but it's a place to start :)

cbaggers avatar Apr 22 '18 17:04 cbaggers