summaryrefslogtreecommitdiff
path: root/bin/khronos-update.py
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2020-07-21 02:27:33 +0200
committerMarge Bot <eric+marge@anholt.net>2020-07-24 11:10:13 +0000
commitaa5c3911d6721f40a0a1b91ccb557af0b987ee38 (patch)
tree13358a392b45ded9dc5168e8f924bb02dcc51912 /bin/khronos-update.py
parentccb91bc68c5b04d98d27a922a6a164928b789187 (diff)
downloadmesa-aa5c3911d6721f40a0a1b91ccb557af0b987ee38.tar.gz
mesa-aa5c3911d6721f40a0a1b91ccb557af0b987ee38.tar.bz2
mesa-aa5c3911d6721f40a0a1b91ccb557af0b987ee38.zip
bin/khronos-update: add support for the SPIRV files
Signed-off-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6004>
Diffstat (limited to 'bin/khronos-update.py')
-rwxr-xr-xbin/khronos-update.py11
1 files changed, 11 insertions, 0 deletions
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
@@ -141,6 +141,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',
'sources': [