02e60daf
by Henri Verbeet at 2026-03-05T21:10:34+01:00
vkd3d-shader/hlsl: Properly compare hlsl_constant_value_component values in find_constant().
The "d" field of the union is a double, making the size of the union 64
bits. The float array that we're comparing with contains 32-bit values,
of course. This issue was introduced by commit
a18c7fcc67cebc25093f5e9e7a4a80d56789c440; Francisco's original commit
accounted for the change from struct hlsl_vec4 to union
hlsl_constant_value_component[], but I messed it up while merging the
merge request.