Supersedes !482.
Instead of only storing the value that each variable's component has at
the moment of the instruction currently handled by copy-prop, we store
the trace of all the historic values with their timestamps, i.e. the
instruction index on which the value was stored.
This allow us to query the value that the variable's component had at the time of a swizzle's load instead of the swizzle instead, which also preempts copy-prop from getting stuck in an infinite loop, as which the added tests.
--
v4: vkd3d-shader/hlsl: Use values at the time of the swizzle's load in copy-propagation.
vkd3d-shader/hlsl: Record trace of stored values in copy-propagation.
vkd3d-shader/hlsl: Move index_instructions() up.
tests: Test current failure when propagating swizzles.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/487
The RoShade installer crashes because of ole32 trying to release
the OLE drop target from another process (which can't be accessed
despite it being a valid pointer).
Windows probably supports this behavior (but implementing it here
would require extra work and this is enough to make this app work).
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54912
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4511