diff options
author | Matt Turner <[email protected]> | 2019-01-10 15:14:35 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2019-01-10 15:22:17 -0800 |
commit | 32e266a9a5897bb2bb1560f142ac820e69fdae35 (patch) | |
tree | db4890f71d5eba1e6d2f079c73673bac2533db0d /src/mesa/drivers/dri/i965 | |
parent | 8ea8727a87b7fe0ee89aa8fcb583b126b57ed3f9 (diff) |
i965: Compile fp64 funcs only if we do not have 64-bit hardware support
Brown bag fix...
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c index 168a2bd5f50..78dc4709e05 100644 --- a/src/mesa/drivers/dri/i965/brw_program.c +++ b/src/mesa/drivers/dri/i965/brw_program.c @@ -155,7 +155,7 @@ brw_create_nir(struct brw_context *brw, nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir)); - if (nir->info.uses_64bit) { + if (!devinfo->has_64bit_types && nir->info.uses_64bit) { nir_shader *fp64 = compile_fp64_funcs(ctx, options, ralloc_parent(nir), stage); nir_validate_shader(fp64, "fp64"); |