mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 11:20:11 +01:00
i965: Compile fp64 funcs only if we do not have 64-bit hardware support
Brown bag fix...
This commit is contained in:
parent
8ea8727a87
commit
32e266a9a5
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ brw_create_nir(struct brw_context *brw,
|
||||||
|
|
||||||
nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir));
|
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_shader *fp64 = compile_fp64_funcs(ctx, options, ralloc_parent(nir), stage);
|
||||||
|
|
||||||
nir_validate_shader(fp64, "fp64");
|
nir_validate_shader(fp64, "fp64");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue