Module: Mesa
Branch: master
Commit: aa5c3911d6721f40a0a1b91ccb557af0b987ee38
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa5c3911d6721f40a0a1b91ccb557af0b987ee38

Author: Eric Engestrom <[email protected]>
Date:   Tue Jul 21 02:27:33 2020 +0200

bin/khronos-update: add support for the SPIRV files

Signed-off-by: Eric Engestrom <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6004>

---

 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',

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to