nir/spirv: Remove unneeded parameters from pointer_to_offset
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 29 Jun 2017 17:33:31 +0000 (10:33 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 5 Jul 2017 22:26:53 +0000 (15:26 -0700)
commit2e92d6a3929aec3bfbcec25dca771160db4133ee
treeefd890b4f47710073bd13bf1a3690a2e4831c9f6
parent6d30f33307cd95e2ee16de10b80a0d9881f788fd
nir/spirv: Remove unneeded parameters from pointer_to_offset

Everyone now calls it with stop_at_matrix = false.  Since we're now
always walking all the way to the end of the access chain, the type
returned is just the same as ptr->type;

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_private.h
src/compiler/spirv/vtn_variables.c