|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| Retired/ | | 03-May-2024 | - | 1,557 | 1,082 |
| cereal/ | | 03-May-2024 | - | 10,124 | 7,645 |
| ci/ | | 03-May-2024 | - | 23 | 12 |
| htmldiff/ | | 03-May-2024 | - | 655 | 399 |
| spec_tools/ | | 03-May-2024 | - | 5,244 | 3,718 |
| README.adoc | D | 03-May-2024 | 3.5 KiB | 75 | 62 |
| __init__.py.docs | D | 03-May-2024 | 855 | 37 | 33 |
| cerealgenerator.py | D | 03-May-2024 | 27.5 KiB | 763 | 612 |
| cgenerator.py | D | 03-May-2024 | 17.7 KiB | 406 | 288 |
| checkXrefs | D | 03-May-2024 | 657 | 27 | 12 |
| check_html_xrefs.py | D | 03-May-2024 | 1.7 KiB | 61 | 35 |
| check_spec_links.py | D | 03-May-2024 | 5.3 KiB | 153 | 96 |
| comment_convert.py | D | 03-May-2024 | 6.6 KiB | 204 | 129 |
| compImages.sh | D | 03-May-2024 | 2.7 KiB | 128 | 75 |
| conventions.py | D | 03-May-2024 | 10.8 KiB | 359 | 254 |
| deperiodize_vuids.py | D | 03-May-2024 | 1.2 KiB | 41 | 21 |
| docgenerator.py | D | 03-May-2024 | 18.5 KiB | 451 | 326 |
| extensionmetadocgenerator.py | D | 03-May-2024 | 31.9 KiB | 637 | 497 |
| genRef.py | D | 03-May-2024 | 34 KiB | 999 | 689 |
| genRelease | D | 03-May-2024 | 8.3 KiB | 212 | 161 |
| genanchorlinks.py | D | 03-May-2024 | 884 | 27 | 15 |
| generate-core-block.rb | D | 03-May-2024 | 3.8 KiB | 126 | 96 |
| generator.py | D | 03-May-2024 | 40.4 KiB | 1,038 | 710 |
| genspec.py | D | 03-May-2024 | 5.6 KiB | 165 | 116 |
| genvk.py | D | 03-May-2024 | 27.1 KiB | 670 | 505 |
| globalizeIncludes | D | 03-May-2024 | 756 | 23 | 5 |
| hostsyncgenerator.py | D | 03-May-2024 | 6 KiB | 155 | 111 |
| indexExt.py | D | 03-May-2024 | 2.8 KiB | 91 | 45 |
| interfacedocgenerator.py | D | 03-May-2024 | 5 KiB | 119 | 81 |
| make_ext_dependency.py | D | 03-May-2024 | 7.5 KiB | 244 | 159 |
| makemanaliases.py | D | 03-May-2024 | 1.9 KiB | 58 | 33 |
| promote.py | D | 03-May-2024 | 6.4 KiB | 174 | 117 |
| pygenerator.py | D | 03-May-2024 | 15 KiB | 366 | 235 |
| reflib.py | D | 03-May-2024 | 23.4 KiB | 664 | 452 |
| reflow.py | D | 03-May-2024 | 33.2 KiB | 811 | 486 |
| reg.py | D | 03-May-2024 | 64.2 KiB | 1,386 | 933 |
| registry.rnc | D | 03-May-2024 | 20.8 KiB | 587 | 555 |
| spirvcapgenerator.py | D | 03-May-2024 | 11.4 KiB | 291 | 193 |
| testSpecVersion.py | D | 03-May-2024 | 2.5 KiB | 76 | 46 |
| test_check_spec_links.py | D | 03-May-2024 | 20.6 KiB | 644 | 415 |
| test_check_spec_links_api_specific.py | D | 03-May-2024 | 4.5 KiB | 123 | 73 |
| test_entity_db.py | D | 03-May-2024 | 692 | 33 | 12 |
| translate_math.js | D | 03-May-2024 | 1.1 KiB | 34 | 19 |
| validitygenerator.py | D | 03-May-2024 | 62.7 KiB | 1,485 | 991 |
| vk.xml | D | 03-May-2024 | 1.3 MiB | 15,273 | 15,210 |
| vkconventions.py | D | 03-May-2024 | 9.3 KiB | 262 | 196 |
| xml_consistency.py | D | 03-May-2024 | 10.9 KiB | 282 | 193 |
README.adoc
1// Copyright (c) 2014-2020 The Khronos Group Inc.
2//
3// SPDX-License-Identifier: CC-BY-4.0
4
5= Vulkan^(R)^ Specification Repository Scripts
6
7This directory contains scripts used in building the Vulkan API
8specification and related artifacts. For the most part, these scripts are
9invoked from the top-level directory or from the API Registry in
10../xml to build generated components of the specification.
11
12Scripts in this directory include:
13
14 * `genvk.py` - Python script to generate Vulkan headers and some other
15 targets, using the generators described below.
16 * `reg.py` - Python tools to read a registry XML file and call into
17 generators to create headers and other types of output.
18 * `conventions.py`, `vkconventions.py` - API-specific parameters and
19 formatting / style conventions used by generators.
20 * `generator.py` - output generator base class.
21 ** `cgenerator.py` - C header output generator.
22 ** `docgenerator.py` - Asciidoc interface language include generator.
23 ** `extensionmetadocgenerator.py` - Generator for Asciidoc extension
24 descriptions in spec appendices.
25 ** `hostsyncgenerator.py` - Asciidoc host sync table generator.
26 ** `pygenerator.py` - Generates python encoding of the API description.
27 ** `validitygenerator.py` - Asciidoc validity language generator.
28
29 * `check_spec_links.py` - validates a variety of markup and content in the
30 Asciidoctor specification source.
31 * `make_ext_dependency.py` - generate extension dependencies in Bash and
32 Python form for use when building the specification.
33 * `genRelease`, `genspec.py` - build HTML and PDF Specifications with a
34 variety of options to control target directories, extensions included
35 while building, etc.
36 * `genRef.py`, `reflib.py` - extract API reference pages from specification
37 source into single-page source documents.
38 * `indexExt.py` - generate HTML index of all extensions for inclusion into
39 the Vulkan registry index page.
40 * `reflow.py`, `reflow_count.py` - reflow specification source text to follow
41 style guidelines, and insert Valid Usage statements where they're
42 needed.
43 * `test_check_spec_links.py`, `test_check_spec_links_api_specific.py`,
44 `test_entity_db.py` - these are from another Khronos WG repository and
45 are unused by Vulkan at present.
46
47 * `compImages.sh` - compare images in two branches.
48 * `htmldiff/htmldiff` - HTML diff script (see below).
49 * `Retired/` - contains obsolete, unused, or single-purpose scripts. Not
50 maintained.
51
52HTML Diff Script for Vulkan
53===========================
54
55This is a first cut at a script to compare Vulkan HTML specifications. Usage
56is simply 'htmldiff file1.html file2.html > diff.html'. The script does not
57copy CSS and images required by the input specs, so it's best to generate
58the output in the same directory as one of the inputs. However, the script
59must be invoked from the directory it is located within.
60
61The scripts used require Python and Perl. Additionally, the python
62'utidylib' module and the underlying libtidy C library are required.
63On Debian Linux, it may be necessary to install the 'python-utidylib' and
64'libtidy' packages if they are not already present.
65
66The scripts are taken from the code backing the
67
68 http://services.w3.org/htmldiff
69
70website. `htmldiff` is the Python driver script. `htmldiff.pl` is the
71Perl script which generates the diff after preprocessing of the input
72HTML by `htmldiff`. `htmldiff.orig` is the original Python script from
73the website, modified to run at the command line instead of as a CGI
74script.
75