[Mesa-dev] [v4 PATCH 3/6] spirv_extensions: add list of extensions and to_string method

Dylan Baker dylan at pnwbakers.com
Sun Mar 11 17:08:18 UTC 2018


Quoting Alejandro PiƱeiro (2018-03-08 07:00:16)
> Ideally this should be generated somehow. One option would be gather
> all the extension dependencies listed on the core grammar, but there
> would be the possibility of not including some of the extensions.
>
> Note that spirv-tools is doing it just slightly better, as it has a
> hardcoded list of extensions manually took from the registry, that
> they parse to get the enum and the to_string method (see
> generate_grammar_tables.py).

If there were extensions not in the core grammar that we wanted to or needed to
support, are they available in a different format that is still machine
readable?

Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180311/c1c36b2a/attachment.sig>


More information about the mesa-dev mailing list