nir: Expose double and int64 op_to_options_mask helpers
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 1 Mar 2019 23:39:54 +0000 (17:39 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 6 Mar 2019 17:24:57 +0000 (17:24 +0000)
commitebb3695376499c276d4e1508836ce6b38faf1390
tree0c2a2f25e3a022f02b53afdd297c35cdbe5dd663
parentca2b5e9069177ea603efbe250e675dc7d194ef90
nir: Expose double and int64 op_to_options_mask helpers

We already have one internally for int64 but we don't have a similar one
for doubles so we'll have to make one.

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_lower_double_ops.c
src/compiler/nir/nir_lower_int64.c