intel/compiler: Move int64/doubles lowering options
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 26 Feb 2019 01:17:29 +0000 (17:17 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 2 Mar 2019 22:33:44 +0000 (14:33 -0800)
commit10c5579921979c944978b477db8bdd639d3c9559
tree9942f28ba265b4e414658735cff4b7609b8db3c6
parent31b35916dd29ac4578f061bdeac873cea5f91104
intel/compiler: Move int64/doubles lowering options

Instead of calculating the int64 and doubles lowering options each
time a shader is preprocessed, save and use the values in
nir_shader_compiler_options.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_compiler.c
src/intel/compiler/brw_nir.c