Libretro Slang Documentation Open Discussion

Sorry I don’t mean to offend anyone’s hard work. I just wanted to offer something back to the community based on my own shader experience. Of course we have documentation for the Slang format here: Slang Shader Development. But it doesn’t cover everything, so I tried to improve it here by asking Github Copilot to read it and give me follow-up question a hypothetical developer might have. So I tried adding new content and clarifying how it all works. This was the result:

Eventually I hope to get a revision pulled, but want to get visibility since seems most of the shader developers congregate here and maybe don’t follow this doc GitHub. If you have any suggestions or find anything wrong/confusing I’d love to hear about it.

Here is the pull request as well if you want to look at commits:

5 Likes

I just want to say, this is actually one of the best use cases for an Ai tool I have seen.

3 Likes

I only had a chance to read over less than 1/4th of it last night, but what I read looked good.

1 Like

The main thing I still need to add is how to do HDR.

1 Like