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

That's correct. The hello triangle samples deliberately do their own sync to make them as stand-alone as possible. Other samples use different (and simplier) means of syncing. If you want to learn how to properly sync in Vulkan take a look at one of the hello triangle samples. #1165

Closed
bioorg opened this issue Nov 9, 2024 · 2 comments

Comments

@bioorg
Copy link

bioorg commented Nov 9, 2024

Hello, Sascha
Thank you for your answer just before
and sorry for this reposting

But I have one question

May I change the name of the variable waitFences (in Triangle example) to something like waitTriangleFences ?
Is it not better to have different names ?
I wonder why we have the same name for two different variables

Please help me more about this. Thank you

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

          That's correct. The hello triangle samples deliberately do their own sync to make them as stand-alone as possible. Other samples use different (and simplier) means of syncing. If you want to learn how to properly sync in Vulkan take a look at one of the hello triangle samples.

See #871 for plans on updating other samples to use that way of sync.

Originally posted by @SaschaWillems in #1164 (comment)

@SaschaWillems
Copy link
Owner

Please note, this is for reporting issues regarding the samples. I don't answer general Vulkan questions in here. This has some community links where you can ask such questions: https://vulkan.org/learn

@bioorg
Copy link
Author

bioorg commented Nov 9, 2024

OK, I understand. Have a nice weekend, Sascha

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

2 participants