mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/hlsl: Use a more sensible source location in add_constructor().
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com> Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Francisco Casas <fcasas@codeweavers.com> Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
07e38212ec
commit
9ad6ad7065
@@ -2049,7 +2049,7 @@ static struct list *add_constructor(struct hlsl_ctx *ctx, struct hlsl_type *type
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
initialize_var_components(ctx, params->instrs, var, &idx, arg, &loc);
|
initialize_var_components(ctx, params->instrs, var, &idx, arg, &arg->loc);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(load = hlsl_new_var_load(ctx, var, loc)))
|
if (!(load = hlsl_new_var_load(ctx, var, loc)))
|
||||||
|
Reference in New Issue
Block a user