Type size_t is used in the file without importing any header which
defines it. This only works when the translation unit includes one of
the appropriate headers anyway or when the appropriate header is included
internally by other standard C headers; none of those strategies should
be relied upon.
--
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/747
In substring expansion of variables, the length computation wasn't the same between:
- magic variables: length doesn't include terminating NUL
- regular variables: length does include terminating NUL
This led to incorrect substring operation for magic variables.
Always set length to not include terminating NUL. Took the opportunity to not
recompute length (as it's already computed by called functions).
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5428
I'm working on adding all the intrinsics we haven't implemented yet. Here's sinh, cosh, and tanh.
Sinh/cosh are implemented in the same commit because they forward to the same backing function (because the identities used only differ by a plus or minus).
--
v2: vkd3d-shader/hlsl: Implement tanh.
vkd3d-shader/hlsl: Implement hyperbolic sin and cos.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/740