vkd3d-shader: Implement the "defined" keyword.

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
2021-01-14 14:47:51 -06:00
committed by Alexandre Julliard
parent 1a326d16c6
commit d31f288111
3 changed files with 32 additions and 0 deletions

View File

@@ -125,6 +125,7 @@ struct preproc_ctx
bool last_was_newline;
bool last_was_eof;
bool last_was_defined;
bool error;
};