compiler/nir: add an is_conversion field to nir_op_info
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 12 Feb 2019 11:55:28 +0000 (12:55 +0100)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 6 Mar 2019 17:24:57 +0000 (17:24 +0000)
commitca2b5e9069177ea603efbe250e675dc7d194ef90
tree5bccf4ec9c9aefc5beacfa1214aed9a1c10bdb94
parent55e6454d5e9dae6f8f29992af83f99217446da38
compiler/nir: add an is_conversion field to nir_op_info

This is set to True only for numeric conversion opcodes.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/nir/nir.h
src/compiler/nir/nir_opcodes.py
src/compiler/nir/nir_opcodes_c.py