Create typedef for IDs

There was a code, where id for something was u32, and
u16 for other things. I have created a typedef to fix
that

Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
This commit is contained in:
Piotr Krygier committed 2026-02-10 10:25:01 +01:00
1 parent 55e0ee261e
commit 954876549d
13 files changed
+117 -105

No files matched your search

+2 -2
View File
@@ -20,7 +20,7 @@
#include "utilities/commons.h"
rse_err_t shader_create_module(struct graphics_context_t* context,
uint16_t* shader_module_id,
rse_id_t* shader_module_id,
const char* shader_path,
const VkShaderStageFlagBits shader_stage);
@@ -42,7 +42,7 @@ rse_err_t pipeline_builder_init(struct pipeline_t* pipeline);
*/
rse_err_t pipeline_add_shader_stage(struct graphics_context_t* context,
struct pipeline_t* pipeline,
const uint32_t shader_id);
const rse_id_t shader_id);
/**
* @brief Add vertex input binding to pipeline