vkd3d-shader: Handle preprocessor parsing errors.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2020-12-15 17:13:20 -06:00
committed by Alexandre Julliard
parent cdfca2fab7
commit 5304cabf46
4 changed files with 59 additions and 2 deletions

View File

@@ -27,7 +27,11 @@ struct preproc_ctx
{
void *scanner;
struct vkd3d_shader_message_context *message_context;
struct vkd3d_string_buffer buffer;
struct vkd3d_shader_location location;
bool error;
};
#endif