mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/dxil: Use strcmp() to check the entry point name.
Function names are case-sensitive.
This commit is contained in:
parent
57c4a13024
commit
4dec25cbde
Notes:
Alexandre Julliard
2024-01-23 23:04:48 +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/591
@ -6764,7 +6764,7 @@ static enum vkd3d_result sm6_parser_entry_point_init(struct sm6_parser *sm6)
|
||||
|
||||
sm6->entry_point = value->u.function.name;
|
||||
if (!sm6_metadata_value_is_string(entry_node->operands[1])
|
||||
|| ascii_strcasecmp(sm6->entry_point, entry_node->operands[1]->u.string_value))
|
||||
|| strcmp(sm6->entry_point, entry_node->operands[1]->u.string_value))
|
||||
{
|
||||
WARN("Entry point function name %s mismatch.\n", sm6->entry_point);
|
||||
vkd3d_shader_parser_warning(&sm6->p, VKD3D_SHADER_WARNING_DXIL_ENTRY_POINT_MISMATCH,
|
||||
|
Loading…
x
Reference in New Issue
Block a user