Open abisxir opened 4 years ago
Sorry, not possible at the moment. PRs are welcome though :)
Started learning nimsl yesterday, but lack of this feature is probably enough for me to stop using nimsl entirely.
How could one implement this feature, to be able to send that mentioned PR? Also, how extensive is this change? Are you sending us to PRs because of your lack of time due to external reasons, or because the feature could take a big amount of time to develop and you don't see its benefit?
Sorry if I sounded abrasive, I really like this library and want to use it for all my shader code, but this is a showstopper for me. So trying to see if there are any ways to navigate around it in a sensible way.
@heysokam at the moment I'm not interested in putting more effort into nimsl apart from keeping it working with newer nim versions, and maybe reviewing PRs. That might change anytime, but now it is what it is.
As for the feature I don't see it overly complex. On the nim side locations could be defined with pragmas, and then it has to be passed along to codegen.
Is it possible to support something like this:
I looked inside code but could not find a way, maybe it is possible but just it is not documented.