nir: Add int64/doubles options into nir_shader_compiler_options
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 26 Feb 2019 01:13:48 +0000 (17:13 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 2 Mar 2019 22:33:41 +0000 (14:33 -0800)
commit31b35916dd29ac4578f061bdeac873cea5f91104
treecd1c2c2edda9830a68fedaf38bb716b29a45ac61
parentbae0c3675174b63c7d7e25556266027b2d4f2b87
nir: Add int64/doubles options into nir_shader_compiler_options

This will allow the options to be visible under nir_shader->options,
which will allow the gallium state_tracker to use the driver preferred
settings during glsl_to_nir.

Suggested-by: Kenneth Graunke <kenneth@whitecape.org>
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/compiler/nir/nir.h