Signed-off-by: Zebediah Figura zfigura@codeweavers.com --- 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 5a4e9077d5f..47889704edc 100644 --- a/dlls/d3dcompiler_43/hlsl.y +++ b/dlls/d3dcompiler_43/hlsl.y @@ -848,6 +848,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;