vtn: handle bitcast with pointer src/dest
authorKarol Herbst <kherbst@redhat.com>
Sat, 9 Mar 2019 19:32:52 +0000 (20:32 +0100)
committerKarol Herbst <kherbst@redhat.com>
Sat, 4 May 2019 10:27:51 +0000 (12:27 +0200)
commitc91ea6343f6b54d8cd3f8c72708a2425cc94d575
treea26dcb5f76fb2e6c3769e5256867cf3c8daacb44
parentc989661985dc67ed3ec31887e37e0ce455b5b381
vtn: handle bitcast with pointer src/dest

v2: use vtn_push_ssa and vtn_ssa_value

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_alu.c
src/compiler/spirv/vtn_private.h