vkd3d-shader/d3d-asm: Dump unknown types as "<unknown>".

In analogy with "<continued>" and "<unused>".
This commit is contained in:
Giovanni Mascellani 2023-11-30 11:55:20 +01:00 committed by Alexandre Julliard
parent 1caaf90ee2
commit e7fdf2e97f
Notes: Alexandre Julliard 2023-12-12 23:17:24 +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/502

View File

@ -633,7 +633,7 @@ static void shader_dump_data_type(struct vkd3d_d3d_asm_compiler *compiler, enum
if (type < ARRAY_SIZE(data_type_names)) if (type < ARRAY_SIZE(data_type_names))
name = data_type_names[type]; name = data_type_names[type];
else else
name = "unknown"; name = "<unknown>";
vkd3d_string_buffer_printf(&compiler->buffer, "%s", name); vkd3d_string_buffer_printf(&compiler->buffer, "%s", name);
} }