2019-06-28 06:38:53 +08:00
|
|
|
diff --git a/utils/generate_registry_tables.py b/utils/generate_registry_tables.py
|
2020-03-20 15:32:07 +08:00
|
|
|
index e662ba9..49f2718 100644
|
2019-06-28 06:38:53 +08:00
|
|
|
--- a/utils/generate_registry_tables.py
|
|
|
|
+++ b/utils/generate_registry_tables.py
|
2020-03-20 15:32:07 +08:00
|
|
|
@@ -14,7 +14,7 @@
|
|
|
|
# limitations under the License.
|
|
|
|
"""Generates the vendor tool table from the SPIR-V XML registry."""
|
2019-06-28 06:38:53 +08:00
|
|
|
|
|
|
|
-import distutils.dir_util
|
|
|
|
+#import distutils.dir_util
|
|
|
|
import os.path
|
|
|
|
import xml.etree.ElementTree
|
|
|
|
|
2020-03-20 15:32:07 +08:00
|
|
|
@@ -62,7 +62,7 @@ def main():
|
2019-06-28 06:38:53 +08:00
|
|
|
with open(args.xml) as xml_in:
|
|
|
|
registry = xml.etree.ElementTree.fromstring(xml_in.read())
|
|
|
|
|
|
|
|
- distutils.dir_util.mkpath(os.path.dirname(args.generator_output))
|
|
|
|
+ #distutils.dir_util.mkpath(os.path.dirname(args.generator_output))
|
2020-03-20 15:32:07 +08:00
|
|
|
with open(args.generator_output, 'w') as f:
|
|
|
|
f.write(generate_vendor_table(registry))
|
2019-06-28 06:38:53 +08:00
|
|
|
|