Zebediah Figura : d3dcompiler: Set the struct base type to HLSL_TYPE_VOID.
Module: wine Branch: master Commit: 867fe223461f5e9d57722e8716ad186dbbc8e833 URL: https://source.winehq.org/git/wine.git/?a=commit;h=867fe223461f5e9d57722e871... Author: Zebediah Figura <z.figura12(a)gmail.com> Date: Wed Apr 29 21:54:40 2020 -0500 d3dcompiler: Set the struct base type to HLSL_TYPE_VOID. Signed-off-by: Zebediah Figura <zfigura(a)codeweavers.com> Signed-off-by: Matteo Bruni <mbruni(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/d3dcompiler_43/hlsl.y | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/d3dcompiler_43/hlsl.y b/dlls/d3dcompiler_43/hlsl.y index 56acd02c55..3b812de410 100644 --- a/dlls/d3dcompiler_43/hlsl.y +++ b/dlls/d3dcompiler_43/hlsl.y @@ -817,6 +817,7 @@ static struct hlsl_type *new_struct_type(const char *name, struct list *fields) return NULL; } type->type = HLSL_CLASS_STRUCT; + type->base_type = HLSL_TYPE_VOID; type->name = name; type->dimx = type->dimy = 1; type->e.elements = fields;
participants (1)
-
Alexandre Julliard