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

Document that shader slot indices are relative to resource types #114

Open
TheSpydog opened this issue Jul 21, 2024 · 0 comments
Open

Document that shader slot indices are relative to resource types #114

TheSpydog opened this issue Jul 21, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@TheSpydog
Copy link
Collaborator

I read the new documentation about shader resource binding. At first I thought that you should pass the same value as in the shader for firstSlot in SDL_GpuBind* functions, but that not the case. You should document that firstSlot start at 0 for each resource type and that SDL_Gpu does the translation to match binding point of the shader.

@TheSpydog TheSpydog added the documentation Improvements or additions to documentation label Jul 21, 2024
@flibitijibibo flibitijibibo added Required to Ship documentation Improvements or additions to documentation and removed documentation Improvements or additions to documentation labels Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants