From: Eric Engestrom Date: Tue, 21 Jul 2020 00:27:33 +0000 (+0200) Subject: bin/khronos-update: add support for the SPIRV files X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa5c3911d6721f40a0a1b91ccb557af0b987ee38;p=mesa.git bin/khronos-update: add support for the SPIRV files Signed-off-by: Eric Engestrom Part-of: --- 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',