28 Apr
2023
28 Apr
'23
11:08 a.m.
On Thu Apr 27 14:31:32 2023 +0000, Ethan Lee wrote:
Pushed an update to do this, since it seems like if anything it'd be an optimization - as part of the update I've also added int versions of all the tests, to make sure it's doing the right thing for float and non-float types. Thanks. Notice, though, that
if (!(zero = hlsl_new_constant(ctx, arg->data_type, loc)))
return false;
does already everything you need. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/178#note_31489