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

Rework descriptor setup #31

Open
SaschaWillems opened this issue Sep 22, 2023 · 0 comments
Open

Rework descriptor setup #31

SaschaWillems opened this issue Sep 22, 2023 · 0 comments

Comments

@SaschaWillems
Copy link
Collaborator

In the texture mapping chapter, the tutorial uses one one combined image sampler descriptor per frame in flight (same as uniform buffers). But unlike the uniform buffer, the combined image sampler will never be updated once the image has been loaded, so duplicating the descriptor per frame in flight feels odd and is kinda bad practice. We should rework that chapter and properly decouple the uniform buffer descriptors from the image descriptors using separate descriptor sets. This is then also a good spot for telling people about how to separate descriptors "per update rate".

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

No branches or pull requests

1 participant