summaryrefslogtreecommitdiff
path: root/render/vulkan/device.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* render: create a vkqueue struct for Vulkan queuesDanny Holman2024-11-191-98/+92
| | | | | | | | | 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>
* render: error check when creating device queuesDanny Holman2024-10-281-0/+16
| | | | | | | | When creating Vulkan device queues, the returned queue objects should be check for NULL values. If any queue is invalid, the process must be aborted. Signed-off-by: Danny Holman <dholman@gymli.org>
* render: move get_vkerr_str into vkassert.hDanny Holman2024-10-281-4/+4
| | | | | | | | | 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>
* render: create the rendering subsystemDanny Holman2024-10-251-0/+213
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>