This is a simplified version of !748 that doesn't handle conditional jumps. I'll submit a cleaned up version of that after this.
-- v2: vkd3d-shader/hlsl: Implement loop unrolling. vkd3d-shader/hlsl: Parse loop and unroll loop attributes. vkd3d-shader/hlsl: Pull evaluate_static_expression_as_uint upwards. vkd3d-shader/hlsl: Defer bounds checks to after copy propagation. tests/hlsl: Add a test for dynamically indexed multisampled texture loads.