i965: Compile the fp64 program based on nir options
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 5 Mar 2019 04:54:44 +0000 (22:54 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 6 Mar 2019 17:24:57 +0000 (17:24 +0000)
commit0ce1aea88b9a8bd037fbddfc0399ebc483349174
tree1b347b9927b1ca36ea2305fe8d496b922a5b9900
parent9314084237d50e109ab575fca8696da28cf76798
i965: Compile the fp64 program based on nir options

Instead of looking the devinfo directly, look at the lowering options we
provided to NIR.  This is more accurate as it's now checking for "do we
need full software lowering" rather than a hardware bit.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_program.c