vkd3d-shader/hlsl: Drop extra '\n' from hlsl_error() messages.

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:
Matteo Bruni
2022-04-06 10:53:29 +02:00
committed by Alexandre Julliard
parent 4ab4d42468
commit 233157649c
2 changed files with 5 additions and 5 deletions

View File

@@ -1417,7 +1417,7 @@ static void write_sm4_sample(struct hlsl_ctx *ctx, struct vkd3d_bytecode_buffer
if (!encode_texel_offset_as_aoffimmi(&instr, texel_offset))
{
hlsl_error(ctx, &texel_offset->loc, VKD3D_SHADER_ERROR_HLSL_INVALID_TEXEL_OFFSET,
"Offset must resolve to integer literal in the range -8 to 7.\n");
"Offset must resolve to integer literal in the range -8 to 7.");
return;
}
}