diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c index 5dedca5a719..5b7c1afe55a 100644 --- a/src/mesa/drivers/dri/i965/brw_program.c +++ b/src/mesa/drivers/dri/i965/brw_program.c @@ -158,7 +158,8 @@ brw_create_nir(struct brw_context *brw, nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir)); - if (!devinfo->has_64bit_types && nir->info.uses_64bit) { + if ((options->lower_doubles_options & nir_lower_fp64_full_software) && + nir->info.uses_64bit) { nir_shader *fp64 = compile_fp64_funcs(ctx, options, ralloc_parent(nir), stage); nir_validate_shader(fp64, "fp64"); |