Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update coding guide with some basics on branching in shader code #12490

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ggetz
Copy link
Contributor

@ggetz ggetz commented Feb 20, 2025

Description

I went down a bit of a rabbit hole today on this topic, and figured it'd be useful to document this for people like me who do not have a formal education in graphics. Based on my understanding from those more knowledgeable than I:

  • Added a few basics around branching in shader code and how it could potentially affect performance
  • Cleaned up some minor formatting issues in the GLSL section of the guide

Issue number and link

N/A

Testing plan

N/A — Review the guide content.

Author checklist

  • I have submitted a Contributor License Agreement
  • I have added my name to CONTRIBUTORS.md
  • I have updated CHANGES.md with a short summary of my change
  • I have added or updated unit tests to ensure consistent code coverage
  • I have updated the inline documentation, and included code examples where relevant
  • I have performed a self-review of my code

@ggetz ggetz requested a review from jjhembd February 20, 2025 16:14
Copy link

Thank you for the pull request, @ggetz!

✅ We can confirm we have a CLA on file for you.

@ggetz
Copy link
Contributor Author

ggetz commented Feb 27, 2025

@jjhembd Would you mind taking a quick pass on this when you have the time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant