Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
--
v3: vkd3d-shader/fx: Fail effect writing on unsupported annotations.
vkd3d-shader/fx: Remove newlines from fixme messages.
vkd3d-shader/fx: Add initial support for writing fx_2_0 parameters.
vkd3d-shader/fx: Populate global variables list during context initialization.
vkd3d-shader/fx: Fix an instruction block leak.
vkd3d-shader/fx: Use type writing helper only for fx_4+.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/717
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
--
v2: vkd3d-shader/fx: Remove newlines from fixme messages.
vkd3d-shader/fx: Add initial support for writing fx_2_0 parameters.
vkd3d-shader/fx: Populate global variables list during context initialization.
vkd3d-shader/fx: Fix an instruction block leak.
vkd3d-shader/fx: Use type writing helper only for fx_4+.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/717
The commit adds a todo_wine statement to the tests that are currently failing on my macOS build.
The failing tests are in a conditional statement and the same tests in the `else` block already contain a `todo_wine` (see lines 8566 and 8571).
My guess is, that on most systems, the `else` block is executed and the `todo_wine` was just forgotten in the `else if` statement.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5309
This applies on top of !704, the last two commits belong here.
Here we finally emit the structured program, replacing the older simple structurizer. The advantage of the new structurizer is that the CFG if statically described in the generated program, without having to trace the value of a variable. Upcoming MRs will make the CFG even simpler, easier to read and hopefully to optimize for downstream compilers.
--
v2: vkd3d-shader/ir: Emit multilevel jumps in the structured program.
vkd3d-shader/ir: Emit the reconstructed structured program.
vkd3d-shader/ir: Dump the reconstructed structured program.
vkd3d-shader/ir: Add jumps to the structured programs.
vkd3d-shader/ir: Reconstruct a structured program.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/711
With some intermediate refactoring to make the code simpler.
I believe the failures that happened previously were coming from how NtGdiDdDDIOpenAdapterFromLuid initialized desc->hAdapter in win32u while winex11 was then relying on it. I missed this detail before and it should be working fine now that the vulkan path is only used to retrieve the physical device.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5306