18 May
2023
18 May
'23
8:28 p.m.
On Thu May 18 20:23:30 2023 +0000, Ethan Lee wrote:
This change seems like it would break the result - do we want it to be more like ``` bool success = true; ... case HLSL_TYPE_INT: /* Always evaluate this expression... */ dst->value.u[k].i = abs(src->value.u[k].i); /* ... but if we try abs(INT_MIN), mark this fold as invalid */ if (src->value.u[k].i == INT_MIN) { success = false; } break; ... return success; ``` I don't understand, why would it break the result?
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/203#note_33142