Skip to content

Vulkan Renderer: Successfully create Vulkan Swapchain surface #49

@MattGuerrette

Description

@MattGuerrette

Currently, I've implemented the following classes in HatchitGraphics for the purpose of wrapping the functionality involved with setting up the following:

Vulkan Application Instance:
https://github.com/thirddegree/HatchitGraphics/blob/dev/include/vulkan/ht_vkapplication.h

Vulkan Device (GPU):
https://github.com/thirddegree/HatchitGraphics/blob/dev/include/vulkan/ht_vkdevice.h

Vulkan SwapChain:
https://github.com/thirddegree/HatchitGraphics/blob/dev/include/vulkan/ht_vkswapchain.h

Now, the swapchain class is the current issue. I've partially implemented it to the point of creating the initial swapchain surface from the GLFW window handle. Unfortunately, there is something wrong with code in either the VKApplication or VKDevice which causes the surface that is created to be garbage data (mem address of 0x00000001) something similar to that.

We need to narrow down and correct this issue, so the rest of the swapchain class can be implemented and move onto an implementation of a basic renderer that can clear the screen to a solid color.

As for samples to help narrow this issue, there are the great Sascha Willems examples found here:
https://github.com/SaschaWillems/Vulkan

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions