spirv: Implement OpConvertPtrToU and OpConvertUToPtr
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Jan 2019 00:20:46 +0000 (18:20 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 26 Jan 2019 19:41:50 +0000 (13:41 -0600)
commitfb282a68bc46a1e28eaedb2670be241401f2b9da
tree4cc458bf4f3413635244f9060458f64068fa2398
parent837ed2ba51b55598ca0d9d1e6b21c6a83fca6833
spirv: Implement OpConvertPtrToU and OpConvertUToPtr

This only implements the actual opcodes and does not implement support
for using them with specialization constants.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_variables.c