spirv: Use the generic dereference function for OpArrayLength
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 12 Jan 2019 16:57:28 +0000 (10:57 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 5 Mar 2019 16:06:50 +0000 (10:06 -0600)
commit9f7ee4f8e5b2aa492804367dd64fd5497cb23d1d
tree2faf5c82242a275e780bf8b9d119a7da15194f4e
parentf1dbc7e97d3dcb2104b9438d32cace9529575208
spirv: Use the generic dereference function for OpArrayLength

With the new deref changes, the old pointer_offset version may not be
the right one to call.  Just call the generic one and let it sort it
out.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/compiler/spirv/vtn_variables.c