[Mesa-dev] [PATCH 1.2/8 v2] spirv: Generate spirv_info.c

Emil Velikov emil.l.velikov at gmail.com
Tue Jul 18 11:09:52 UTC 2017


On 17 July 2017 at 20:31, Ian Romanick <idr at freedesktop.org> wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> The old table based spirv_*_to_string functions would return NULL for
> any values "inside" the table that didn't have entries.  The tables also
> needed to be updated by hand each time a new spirv.h was imported.
> Generate the file instead.
>
> v2: Make this script work more like src/mesa/main/format_fallback.py.
> Suggested by Jason.  Remove SCons supports.  Suggested by Jason and
> Emil.  Put all the build work in Makefile.nir.am in lieu of adding a new
> Makefile.spirv.am.  Suggested by Emil.  Add support for Android builds
> based on code provided by Emil.
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> Suggested-by: Jason Ekstrand <jason at jlekstrand.net>
For the build bits
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

-Emil


More information about the mesa-dev mailing list