+ /* 1/ln(2) */ + if (!(coeff = hlsl_new_float_constant(ctx, 1.442695, loc))) + return false;
hlsl_new_float_constant() takes a float argument, but we're passing it a double here. Some compilers complain about that, but it seems good practice to use a float literal here in any case.