From 650f39011f7fe6721a8ef1bd3b561b0af0e7ee54 Mon Sep 17 00:00:00 2001 From: Robert Konrad Date: Wed, 14 Aug 2024 18:17:37 +0200 Subject: [PATCH] Put in the SPIR-V vendor id (see https://github.com/KhronosGroup/SPIRV-Headers/pull/443) --- Sources/backends/spirv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/backends/spirv.c b/Sources/backends/spirv.c index e26b915..e622541 100644 --- a/Sources/backends/spirv.c +++ b/Sources/backends/spirv.c @@ -236,7 +236,7 @@ static void write_version_number(instructions_buffer *instructions) { } static void write_generator_magic_number(instructions_buffer *instructions) { - instructions->instructions[instructions->offset++] = 0; // TODO: Register a number at https://github.com/KhronosGroup/SPIRV-Headers + instructions->instructions[instructions->offset++] = 44; } static uint32_t next_index = 1;