mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/ir: Emit an ERR() on validation errors.
This commit is contained in:
parent
0ef25ad137
commit
ca3f594ae3
Notes:
Alexandre Julliard
2023-11-07 22:40:09 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/444
@ -1492,6 +1492,7 @@ static void VKD3D_PRINTF_FUNC(3, 4) validator_error(struct validation_context *c
|
||||
va_end(args);
|
||||
|
||||
vkd3d_shader_parser_error(ctx->parser, error, "instruction %zu: %s", ctx->instruction_idx + 1, buf.buffer);
|
||||
ERR("VSIR validation error: instruction %zu: %s\n", ctx->instruction_idx + 1, buf.buffer);
|
||||
|
||||
vkd3d_string_buffer_cleanup(&buf);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user