vkd3d-shader: Print the previous location for redefinition errors.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2021-03-02 15:34:43 -06:00
committed by Alexandre Julliard
parent 2fe6d26dfc
commit 3d5a4f133a
3 changed files with 49 additions and 42 deletions

View File

@@ -130,6 +130,7 @@ struct hlsl_type
struct hlsl_struct_field
{
struct list entry;
struct vkd3d_shader_location loc;
struct hlsl_type *type;
const char *name;
const char *semantic;