Conversation
|
Regarding syntax, opinions on (small anecdote; I've typo'd "where optional" as "where optionally" roughly 50% of the time so far 😄) |
|
I am open to supporting |
csyonghe
left a comment
There was a problem hiding this comment.
what's the implementation status of this? should give it a number, e.g. 039. Otherwise looks good to me.
|
The implementation status is that it was merged in shader-slang/slang#7422 but has an outstanding bug shader-slang/slang#9367 that makes it not function in many cases involving generics. I tried to fix that issue in shader-slang/slang#9149, but couldn't find a way to lower it in the desirable way. Due to that issue, I ended up refactoring my own code to not use this feature, so I currently don't have a motivating use case left for this. If we do keep this feature, then I'll still take another attempt at fixing that bug sometime in the future. |
Closes #18. Based on shader-slang/slang#7201 (comment). Implementation ongoing in shader-slang/slang#7422.
@csyonghe do I also add you as a co-author? The syntax is entirely based on your comments.