Matteo Bruni : vkd3d-shader/hlsl: Drop extra '\n' from hlsl_fixme() messages.
Alexandre Julliard
julliard at winehq.org
Thu Apr 7 16:08:45 CDT 2022
Module: vkd3d
Branch: master
Commit: 4ab4d424687e98d7c6a44e54dfb24e1e2e917686
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=4ab4d424687e98d7c6a44e54dfb24e1e2e917686
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Wed Apr 6 10:53:28 2022 +0200
vkd3d-shader/hlsl: Drop extra '\n' from hlsl_fixme() messages.
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
libs/vkd3d-shader/hlsl_sm1.c | 2 +-
libs/vkd3d-shader/hlsl_sm4.c | 14 +++++++-------
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/libs/vkd3d-shader/hlsl_sm1.c b/libs/vkd3d-shader/hlsl_sm1.c
index f661dbc2..0cdd3917 100644
--- a/libs/vkd3d-shader/hlsl_sm1.c
+++ b/libs/vkd3d-shader/hlsl_sm1.c
@@ -790,7 +790,7 @@ static void write_sm1_instructions(struct hlsl_ctx *ctx, struct vkd3d_bytecode_b
}
else if (instr->data_type->type == HLSL_CLASS_OBJECT)
{
- hlsl_fixme(ctx, &instr->loc, "Object copy.\n");
+ hlsl_fixme(ctx, &instr->loc, "Object copy.");
break;
}
diff --git a/libs/vkd3d-shader/hlsl_sm4.c b/libs/vkd3d-shader/hlsl_sm4.c
index 872118c1..afc4d26b 100644
--- a/libs/vkd3d-shader/hlsl_sm4.c
+++ b/libs/vkd3d-shader/hlsl_sm4.c
@@ -1519,11 +1519,11 @@ static void write_sm4_cast(struct hlsl_ctx *ctx,
break;
case HLSL_TYPE_BOOL:
- hlsl_fixme(ctx, &expr->node.loc, "SM4 cast from bool to uint.\n");
+ hlsl_fixme(ctx, &expr->node.loc, "SM4 cast from bool to uint.");
break;
case HLSL_TYPE_DOUBLE:
- hlsl_fixme(ctx, &expr->node.loc, "SM4 cast from double to uint.\n");
+ hlsl_fixme(ctx, &expr->node.loc, "SM4 cast from double to uint.");
break;
default:
@@ -1532,15 +1532,15 @@ static void write_sm4_cast(struct hlsl_ctx *ctx,
break;
case HLSL_TYPE_HALF:
- hlsl_fixme(ctx, &expr->node.loc, "SM4 cast to half.\n");
+ hlsl_fixme(ctx, &expr->node.loc, "SM4 cast to half.");
break;
case HLSL_TYPE_DOUBLE:
- hlsl_fixme(ctx, &expr->node.loc, "SM4 cast to double.\n");
+ hlsl_fixme(ctx, &expr->node.loc, "SM4 cast to double.");
break;
case HLSL_TYPE_BOOL:
- hlsl_fixme(ctx, &expr->node.loc, "SM4 cast to bool.\n");
+ hlsl_fixme(ctx, &expr->node.loc, "SM4 cast to bool.");
break;
default:
@@ -2019,7 +2019,7 @@ static void write_sm4_store(struct hlsl_ctx *ctx,
if (store->lhs.var->data_type->type == HLSL_CLASS_MATRIX)
{
- hlsl_fixme(ctx, &store->node.loc, "Store to a matrix variable.\n");
+ hlsl_fixme(ctx, &store->node.loc, "Store to a matrix variable.");
return;
}
@@ -2072,7 +2072,7 @@ static void write_sm4_block(struct hlsl_ctx *ctx, struct vkd3d_bytecode_buffer *
}
else if (instr->data_type->type == HLSL_CLASS_OBJECT)
{
- hlsl_fixme(ctx, &instr->loc, "Object copy.\n");
+ hlsl_fixme(ctx, &instr->loc, "Object copy.");
break;
}
More information about the wine-cvs
mailing list