From 867fe223461f5e9d57722e8716ad186dbbc8e833 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Wed, 29 Apr 2020 21:54:40 -0500 Subject: [PATCH] d3dcompiler: Set the struct base type to HLSL_TYPE_VOID. Signed-off-by: Zebediah Figura Signed-off-by: Matteo Bruni Signed-off-by: Alexandre Julliard --- 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 56acd02c551..3b812de410e 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;