This first MR create an internal structured representation of the CFG and computes the domination relationship. Over a few other MRs I will implement an algorithm inspired to [this article](https://medium.com/leaningtech/solving-the-structured-control-flow… to compute a better structure than the one we already have, but for the moment the computed data is immediately wasted.
--
v2: vkd3d-shader/ir: Dump the domination relationship.
vkd3d-shader/ir: Compute the domination relationship.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/656
On Mon Feb 19 22:15:56 2024 +0000, Henri Verbeet wrote:
> How about the
> [attached](/uploads/d104ebd37a462b4fd375640b9e97eb93/patches.mbox.xz)
> series? I turns out that it's a bit awkward to make the
> "rasteriser_ordered" flag specific to UAVs due to the way
> "resource_format" is currently used, but making it a resource flag seems
> close enough to me. The series has a minor conflict with 569.
I guess `hlsl_types_are_equal()` should be updated too?
--
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/652#note_61968