mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/hlsl: Change warning code for unknown loop attributes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Alexandre Julliard
parent
1153f6bb34
commit
89eda51855
Notes:
Alexandre Julliard
2023-08-24 23:11:51 +02:00
Approved-by: Zebediah Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/303
@ -493,11 +493,11 @@ static struct hlsl_block *create_loop(struct hlsl_ctx *ctx, enum loop_type type,
|
|||||||
|| !strcmp(attr->name, "fastopt")
|
|| !strcmp(attr->name, "fastopt")
|
||||||
|| !strcmp(attr->name, "allow_uav_condition"))
|
|| !strcmp(attr->name, "allow_uav_condition"))
|
||||||
{
|
{
|
||||||
hlsl_fixme(ctx, loc, "Unhandled attribute %s.", attr->name);
|
hlsl_fixme(ctx, loc, "Unhandled attribute '%s'.", attr->name);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
hlsl_warning(ctx, loc, VKD3D_SHADER_ERROR_HLSL_NOT_IMPLEMENTED, "Unrecognized attribute %s.", attr->name);
|
hlsl_warning(ctx, loc, VKD3D_SHADER_WARNING_HLSL_UNKNOWN_ATTRIBUTE, "Unrecognized attribute '%s'.", attr->name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user