summaryrefslogtreecommitdiff
path: root/drivers/spirv-reflect
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2019-07-28 13:42:15 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 11:53:29 +0100
commit60c7498cee169b2cd652045ec19bb526d76f9d61 (patch)
tree60f8c149be49c07ec70b24f9bc8529695e964c39 /drivers/spirv-reflect
parent0586e184490fd132f99acb1a67c788959cfdbade (diff)
Replaced GLSLang reflection by SPIRV-Reflect, eventually allowing to move GLSLang out.
Diffstat (limited to 'drivers/spirv-reflect')
-rw-r--r--drivers/spirv-reflect/SCsub16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/spirv-reflect/SCsub b/drivers/spirv-reflect/SCsub
new file mode 100644
index 0000000000..f6b40ac433
--- /dev/null
+++ b/drivers/spirv-reflect/SCsub
@@ -0,0 +1,16 @@
+#!/usr/bin/env python
+
+Import('env')
+
+env_spirv_reflect = env.Clone()
+
+thirdparty_dir = "#thirdparty/spirv-reflect/"
+thirdparty_sources = [
+ "spirv_reflect.c"
+]
+
+thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
+
+env_spirv_reflect.add_source_files(env.drivers_sources, thirdparty_sources)
+
+Export('env')