[PATCH vkd3d 5/5] vkd3d-shader/hlsl: Correctly calculate offsets for array elements.

Giovanni Mascellani gmascellani at codeweavers.com
Fri Feb 18 07:52:24 CST 2022


Hi,

Il 16/02/22 06:29, Zebediah Figura ha scritto:
> +% In SM4, arrays are always aligned to the next vec4, although structs are not.

Another minor comment: the point here is not the alignment of "arrays", 
but of "array elements". Which kind of implies the alignment for the 
whole array, but it's a stricter condition.

Giovanni.



More information about the wine-devel mailing list