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

Use now available enum values. #2

Open
wants to merge 92 commits into
base: gpu_render
Choose a base branch
from

Conversation

bartwe
Copy link

@bartwe bartwe commented Aug 12, 2024

depends upon thatcosmonaut#163

thatcosmonaut and others added 30 commits August 9, 2024 11:16
Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com>
Co-authored-by: Ethan Lee <flibitijibibo@gmail.com>
Co-authored-by: Zakary Strange <zakarystrange@gmail.com>
Always check return value of VULKAN_INTERNAL_QuerySwapchainSupport(), if 1st call to vkGetPhysicalDeviceSurfacePresentModesKHR() fails then outputDetails->formatsLength is not 0 but outputDetails->formats is still not initialised.
Always free outputDetails->formats on error in VULKAN_INTERNAL_QuerySwapchainSupport().
Use correct type for allocation of commandBuffer->presentDatas.
Do some allocations later to avoid memory leaks on error.
This should clarify the usage of the parameters in the Upload/Download functions.
Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com>
Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com>
@Akaricchi Akaricchi force-pushed the gpu_render branch 6 times, most recently from 66aaf8e to c5fafed Compare August 19, 2024 22:46
@Akaricchi Akaricchi force-pushed the gpu_render branch 4 times, most recently from ec68b78 to c021268 Compare August 29, 2024 00:26
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.

7 participants