18 Apr
2023
18 Apr
'23
8:16 p.m.
On Tue Apr 18 20:16:35 2023 +0000, Henri Verbeet wrote:
```diff + if (!(c = hlsl_new_constant(ctx, hlsl_get_vector_type(ctx,
HLSL_TYPE_FLOAT, 4), loc)))
+ return false; + c->value[0].f = 255.001953f; + c->value[1].f = 255.001953f; + c->value[2].f = 255.001953f; + c->value[3].f = 255.001953f; ``` "255.001953f" doesn't seem quite as readable/obvious as e.g. "255.0f + (0.5f / 256.0f)". Sure, pushed that as well.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/161#note_30398