[PATCH vkd3d v2 6/6] vkd3d-shader/hlsl: Reroute initialization towards a generic variable initializer.

Zebediah Figura (she/her) zfigura at codeweavers.com
Thu Feb 24 23:58:14 CST 2022


On 2/22/22 16:13, Francisco Casas wrote:
> Signed-off-by: Francisco Casas <fcasas at codeweavers.com>
> Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>
> 

This patch seems to be doing a couple things at once:

* remove the redundant component count validation from 
struct_var_initializer();

* factor out initialization into initialize_generic_var()

* allow initializing a struct from a single argument

Could it be split?



More information about the wine-devel mailing list