nir: add i2d and u2d opcodes
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 12 Jan 2016 13:03:08 +0000 (14:03 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 11 Apr 2016 06:29:27 +0000 (08:29 +0200)
commitd5d6260329ed2df4aaffffac18d8998d4ad3676b
treec4d2dba64ff918492515f3378867b25542c49377
parentb16d06252e9179f5c279da69ee194cc0400ae403
nir: add i2d and u2d opcodes

v2:
- Assert supports_int and don't fallback to nir_fmov (Jason)

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/glsl_to_nir.cpp
src/compiler/nir/nir_opcodes.py