Zebediah Figura : d3dcompiler: Set the struct base type to HLSL_TYPE_VOID.

Alexandre Julliard julliard at winehq.org
Thu Apr 30 15:24:08 CDT 2020


Module: wine
Branch: master
Commit: 867fe223461f5e9d57722e8716ad186dbbc8e833
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=867fe223461f5e9d57722e8716ad186dbbc8e833

Author: Zebediah Figura <z.figura12 at 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 at codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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;




More information about the wine-cvs mailing list