[Mesa-dev] [PATCH 2/8] spirv: Add a prepass to set types on vtn_values

Rob Herring robh at kernel.org
Tue Dec 12 14:46:15 UTC 2017


On Thu, Dec 7, 2017 at 10:12 AM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> This autogenerated pass will automatically find and set the type field
> on all vtn_values.  This way we always have the type and can use it for
> validation and other checks.
> ---
>  src/compiler/Makefile.nir.am             |   4 +
>  src/compiler/nir/meson.build             |  11 ++-
>  src/compiler/spirv/spirv_to_nir.c        |   6 +-
>  src/compiler/spirv/vtn_gather_types_c.py | 125 +++++++++++++++++++++++++++++++
>  src/compiler/spirv/vtn_private.h         |   4 +
>  5 files changed, 148 insertions(+), 2 deletions(-)
>  create mode 100644 src/compiler/spirv/vtn_gather_types_c.py

This is missing the necessary android changes.

Rob


More information about the mesa-dev mailing list