prototype for spirv linking

This commit is contained in:
2026-04-30 22:03:31 +03:00
parent 9569555347
commit 386c2fc045
10 changed files with 120 additions and 34 deletions

View File

@@ -353,6 +353,11 @@ static inline void mspv_write_op( mspv_spv *as, SpvOp op, uint16_t ops )
mspv_array_push((*as), op | (ops+1) << 16);
};
static inline uint32_t mspv_make_op( SpvOp op, uint16_t ops )
{
return op | (ops+1) << 16;
};
static inline void mspv_write_string( mspv_spv *as, mspv_string_view s )
{
uint32_t u;