[PATCH 2/5] d3dcompiler: Set the struct base type to HLSL_TYPE_VOID.
Zebediah Figura
z.figura12 at gmail.com
Wed Apr 29 21:54:40 CDT 2020
Signed-off-by: Zebediah Figura <zfigura at 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;
--
2.26.2
More information about the wine-devel
mailing list