From aa5c3911d6721f40a0a1b91ccb557af0b987ee38 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 21 Jul 2020 02:27:33 +0200 Subject: [PATCH] bin/khronos-update: add support for the SPIRV files Signed-off-by: Eric Engestrom Part-of: --- bin/khronos-update.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/bin/khronos-update.py b/bin/khronos-update.py index 68801d507e0..6f93c71f831 100755 --- a/bin/khronos-update.py +++ b/bin/khronos-update.py @@ -140,6 +140,17 @@ SOURCES = [ ], }, + { + 'api': 'spirv', + 'sources': [ + Source('src/compiler/spirv/spirv.h', 'https://github.com/KhronosGroup/SPIRV-Headers/raw/master/include/spirv/unified1/spirv.h'), + Source('src/compiler/spirv/spirv.core.grammar.json', 'https://github.com/KhronosGroup/SPIRV-Headers/raw/master/include/spirv/unified1/spirv.core.grammar.json'), + Source('src/compiler/spirv/OpenCL.std.h', 'https://github.com/KhronosGroup/SPIRV-Headers/raw/master/include/spirv/unified1/OpenCL.std.h'), + Source('src/compiler/spirv/GLSL.std.450.h', 'https://github.com/KhronosGroup/SPIRV-Headers/raw/master/include/spirv/unified1/GLSL.std.450.h'), + Source('src/compiler/spirv/GLSL.ext.AMD.h', 'https://github.com/KhronosGroup/glslang/raw/master/SPIRV/GLSL.ext.AMD.h'), # FIXME: is this the canonical source? + ], + }, + { 'api': 'vulkan', 'inc_folder': 'vulkan', -- 2.30.2