Age | Commit message (Collapse) | Author |
|
Make all the types specific to Vulkan fully opaque. This brings most of
the rendering backend in line with the project coding style.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Centralize the type definitions for the Vulkan renderer. This removes
the possibility for cyclic dependencies in the include paths.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a vkqueue struct to the Vulkan device interface and shift queue
operations to helper functions that interact with this new struct. This
makes the initialization routines more readable and simplifies the
interface.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Move get_vkerr_str into vkassert.h and use its output in the vkassert
function. This reduces the need for an error message argument when
calling vkassert and makes error messages in logs consistent across the
entire Vulkan renderer.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Fix a bug causing the build to fail during the compile step of the
Vulkan renderer. The frame number has been moved into the swapchain
struct and no longer exists in the context struct. Therefore, its
initialization should be done inside the swapchain init function.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Create the rendering subsystem and populate it with a basic Vulkan
renderer. This renderer is not yet functional and should not be used
yet.
Signed-off-by: Danny Holman <dholman@gymli.org>
|