mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Implement hlsl_error() and hlsl_warning().
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:
committed by
Alexandre Julliard
parent
24537d3693
commit
6124aa664f
@@ -65,7 +65,8 @@ ANY (.)
|
||||
{RESERVED4} {
|
||||
struct hlsl_ctx *ctx = yyget_extra(yyscanner);
|
||||
|
||||
hlsl_error(ctx, *yylloc, "Reserved keyword \"%s\" used.\n", yytext);
|
||||
hlsl_error(ctx, *yylloc, VKD3D_SHADER_ERROR_HLSL_INVALID_SYNTAX,
|
||||
"Reserved keyword \"%s\" used.", yytext);
|
||||
}
|
||||
|
||||
BlendState {return KW_BLENDSTATE; }
|
||||
|
||||
Reference in New Issue
Block a user