spirv: Add and use vtn_type_without_array() helper
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Thu, 2 May 2019 23:12:07 +0000 (16:12 -0700)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Mon, 20 May 2019 17:53:38 +0000 (10:53 -0700)
commitf9336751bc0c0977b26a58faa13ce37fd0bd5b08
tree46fc1be0441c2f37135aaf25d7e8e7faa1b0bc9d
parent8af9de0a38ff9ed2e50a9ad05a3e21551f211f0b
spirv: Add and use vtn_type_without_array() helper

v2: Renamed from vtn_interface_type. (Jason)
    Accept any type not only pointers.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_private.h
src/compiler/spirv/vtn_variables.c