26 Jan
2023
26 Jan
'23
4:56 p.m.
```diff + /* 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. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/72#note_22028