#80
As a followup, we were thinking about rewriting OperationOutput to an enum which effectively forces matching and make it less easy to miss the .messages field containing compiler warnings (than the current let shader = compile()?.blob;).
This however meant removing Result<> from most types if the enum in question is going to contain its own OperationResult::Failed (note renaming OperationOutput back to OperationResult), which is not a Result and does not play well with ?, causing lots of code churn to map & return things.
If someone has a good idea to make this API both explicit and hassle-free (👀) I'm all ears.