mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
vkd3d-shader: Remove explicit newlines from hlsl_fixme() messages.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
b5ac6ac636
commit
f090d1e80d
Notes:
Alexandre Julliard
2024-05-23 23:24:14 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Elizabeth Figura (@zfigura) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/881
@ -2051,7 +2051,7 @@ static void write_sm1_cast(struct hlsl_ctx *ctx, struct vkd3d_bytecode_buffer *b
|
||||
case HLSL_TYPE_BOOL:
|
||||
/* Casts to bool should have already been lowered. */
|
||||
default:
|
||||
hlsl_fixme(ctx, &expr->node.loc, "SM1 cast from %s to %s.\n",
|
||||
hlsl_fixme(ctx, &expr->node.loc, "SM1 cast from %s to %s.",
|
||||
debug_hlsl_type(ctx, src_type), debug_hlsl_type(ctx, dst_type));
|
||||
break;
|
||||
}
|
||||
@ -2459,7 +2459,7 @@ static void write_sm1_jump(struct hlsl_ctx *ctx, struct vkd3d_bytecode_buffer *b
|
||||
}
|
||||
|
||||
default:
|
||||
hlsl_fixme(ctx, &jump->node.loc, "Jump type %s.\n", hlsl_jump_type_to_string(jump->type));
|
||||
hlsl_fixme(ctx, &jump->node.loc, "Jump type %s.", hlsl_jump_type_to_string(jump->type));
|
||||
}
|
||||
}
|
||||
|
||||
@ -2547,7 +2547,7 @@ static void write_sm1_resource_load(struct hlsl_ctx *ctx, struct vkd3d_bytecode_
|
||||
break;
|
||||
|
||||
default:
|
||||
hlsl_fixme(ctx, &instr->loc, "Resource load type %u\n", load->load_type);
|
||||
hlsl_fixme(ctx, &instr->loc, "Resource load type %u.", load->load_type);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -2579,7 +2579,7 @@ static void write_sm1_store(struct hlsl_ctx *ctx, struct vkd3d_bytecode_buffer *
|
||||
|
||||
if (store->lhs.var->data_type->class == HLSL_CLASS_MATRIX)
|
||||
{
|
||||
hlsl_fixme(ctx, &instr->loc, "Lower matrix writemasks.\n");
|
||||
hlsl_fixme(ctx, &instr->loc, "Lower matrix writemasks.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -2988,7 +2988,7 @@ static bool lower_ternary(struct hlsl_ctx *ctx, struct hlsl_ir_node *instr, stru
|
||||
|
||||
if (cond->data_type->class > HLSL_CLASS_VECTOR || instr->data_type->class > HLSL_CLASS_VECTOR)
|
||||
{
|
||||
hlsl_fixme(ctx, &instr->loc, "Lower ternary of type other than scalar or vector.\n");
|
||||
hlsl_fixme(ctx, &instr->loc, "Lower ternary of type other than scalar or vector.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user