summaryrefslogtreecommitdiff
path: root/engine/render/vulkan/context.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-08-04root: restructuringDanny Holman1-0/+0
Restructure the root of the project such that the engine is siloed from the rest of the toolchain. Add two new subdirectories that contain an editor and an offline profiling data analyzer. Signed-off-by: Danny Holman <dholman@gymli.org>
2025-03-21render: vulkan: add check for null pointer for debugDanny Holman1-1/+7
Add a check for a NULL pointer during initialization of debugging extensions. Signed-off-by: Danny Holman <dholman@gymli.org>
2025-03-21render: vulkan: replace depreciated version macroDanny Holman1-7/+24
Replace the depreciated versioning macros with a simple function call that converts a version string to a uint32_t. Signed-off-by: Danny Holman <dholman@gymli.org>
2025-03-20render: vulkan: make all types opaqueDanny Holman1-32/+81
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>
2024-10-28render: move get_vkerr_str into vkassert.hDanny Holman1-33/+3
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>
2024-10-25render: fix a build bug in the vulkan rendererDanny Holman1-1/+0
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>
2024-10-25render: create the rendering subsystemDanny Holman1-0/+176
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>