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

Fix 2 separate issues. #1076

Closed
wants to merge 3 commits into from
Closed

Conversation

scottchou007
Copy link

1st commit:
This project's default build config is x64. When building with 32-bit Windows config, there will be the following errors:
"Vulkan\base\VulkanTools.cpp(440): error C2084: function 'uint32_t vks::tools::alignedSize(uint32_t,uint32_t)' already has a body"
This change fixed it, however if there is no plan to support 32-bit Windows build, this change is not necessary.

2nd commit:
Fixed some render problems on certain platforms.

size_t is same as uint32_t for WIN32. Function alignedSize is defined twice.

Fix build errors for WIN32 config
There is a resource dependency between compute and draw job from two different queues, explicit synchronization must be done to avoid potential problem. Also unset signal during the creation to align each compute to corresponding draw in every frame, starting from 1st frame.

Space alignment
@scottchou007
Copy link
Author

Created new pull to replace the old one, content revised and commits squashed.

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