mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-01-22 12:19:27 +00:00
476e3f422d
* Update release number to 104. Public Issues: * Remove the incorrect line from "`Initial`" to "`Invalid`" state in the <<commandbuffer-lifecycle-diagram, Lifecycle of a command buffer>> diagram (public issue 881). * Add Fuchsia platform to <<boilerplate-wsi-header-table, Window System Extensions and Headers>> table (public pull request 933). * Change the type of slink:VkBufferDeviceAddressCreateInfoEXT::pname:deviceAddress from basetype:VkDeviceSize to basetype:VkDeviceAddress. These are both typedefs of code:uint64_t, so it is an ABI-compatible change (public issue 934). Internal Issues: * Remove generated header files and update the CI tests to build a copy of the headers for use by the hpp-generate / hpp-compile CI stages. Targets to generate the headers will not be removed, but keeping these generated files in the repository increased the frequency of conflicts between branches when merging to master (internal issue 745). * Reword "`undefined: behavior if *action*" to "`must: not do *action*`" in the places the old terminology was used, and add a new <<writing-undefined, Describing Undefined Behavior>> section of the style guide to explain how to write such language in the future (internal issue 1579). * Move almost all Python scripts into the toplevel `scripts/` directory. Apply extensive internal edits to clean up and simplify the scripts, and try to follow PEP8 guidelines. Generalize the scripts with the use of a Conventions object controlling many aspects of output generation, to enable their use in other Khronos projects with similar requirements. Autogenerate extension interface refpages (these are experimental and may be retired going forward). New Extensions: * `VK_AMD_display_native_hdr` * `VK_EXT_full_screen_exclusive` (internal issue 1439) * `VK_EXT_host_query_reset` * `VK_EXT_pipeline_creation_feedback` (internal issue 1560) * `VK_KHR_surface_protected_capabilities` (internal issue 1520)
= Vulkan^(R)^ Specification Repository Scripts This directory contains scripts used in building the Vulkan API specification and related artifacts. For the most part, these scripts are invoked from the top-level directory or from the API Registry in ../xml to build generated components of the specification. Scripts in this directory include: * genvk.py - Python script to generate Vulkan headers and some other targets, using the generators described below. * reg.py - Python tools to read a registry XML file and call into generators to create headers and other types of output. * conventions.py, vkconventions.py - API-specific parameters and formatting / style conventions used by generators. * generator.py - output generator base class. ** cgenerator.py - C header output generator. ** docgenerator.py - Asciidoc interface language include generator. ** extensionmetadocgenerator.py - Generator for Asciidoc extension descriptions in spec appendices. ** hostsyncgenerator.py - Asciidoc host sync table generator. ** pygenerator.py - Generates python encoding of the API description. ** validitygenerator.py - Asciidoc validity language generator. * checkXrefs - shell script to look for broken internal links in a generated HTML specification. * check_spec_links.py - validates a variety of markup and content in the Asciidoctor specification source. * extDependency.py - generate extension dependencies in Bash and Python form for use when building the specification. * genRelease, genspec.py - build HTML and PDF Specifications with a variety of options to control target directories, extensions included while building, etc. * genRef.py, reflib.py - extract API reference pages from specification source into single-page source documents. * indexExt.py - generate HTML index of all extensions for inclusion into the Vulkan registry index page. * reflow.py, reflow_count.py - reflow specification source text to follow style guidelines, and insert Valid Usage statements where they're needed. * test_check_spec_links.py, test_check_spec_links_api_specific.py, test_entity_db.py - these are from another Khronos WG repository and are unused by Vulkan at present. * htmldiff/htmldiff - HTML diff script (see below). * Retired/ - contains obsolete, unused, or single-purpose scripts. Not maintained. HTML Diff Script for Vulkan =========================== This is a first cut at a script to compare Vulkan HTML specifications. Usage is simply 'htmldiff file1.html file2.html > diff.html'. The script does not copy CSS and images required by the input specs, so it's best to generate the output in the same directory as one of the inputs. However, the script must be invoked from the directory it is located within. The scripts used require Python and Perl. Additionally, the python 'utidylib' module and the underlying libtidy C library are required, which may make it challenging to run the scripts on non-Linux platforms - I haven't checked and those requirements cannot be easily removed. On Debian Linux, it may be necessary to install the 'python-utidylib' and 'libtidy' packages if they are not already present. I haven't checked dependencies for other Linux distributions but they are probably similar. The scripts are taken from the code backing the http://services.w3.org/htmldiff website. 'htmldiff' is the Python driver script. 'htmldiff.pl' is the Perl script which generates the diff after preprocessing of the input HTML by 'htmldiff'. 'htmldiff.orig' is the original Python script from the website, modified to run at the command line instead of as a CGI script.