From 2b1d3a4a2ab40b216f5365e3c02cbffd1c765a57 Mon Sep 17 00:00:00 2001 From: Robert Konrad Date: Mon, 16 Oct 2023 17:56:47 +0200 Subject: [PATCH] Make clang happy --- Sources/backends/spirv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/backends/spirv.c b/Sources/backends/spirv.c index 332592c..35ac259 100644 --- a/Sources/backends/spirv.c +++ b/Sources/backends/spirv.c @@ -548,6 +548,7 @@ static uint32_t write_op_variable_with_initializer(instructions_buffer *instruct operands[2] = (uint32_t)storage; operands[3] = initializer; write_instruction(instructions, WORD_COUNT(operands), SPIRV_OPCODE_VARIABLE, operands); + return result; } static struct {