mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/ir: Use vsir_data_type_get_name() in vsir_validate_throw_invalid_dst_type_error_with_flags().
This commit is contained in:
Notes:
Henri Verbeet
2025-09-10 12:04:15 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1720
@@ -11902,7 +11902,8 @@ static void vsir_validate_throw_invalid_dst_type_error_with_flags(struct validat
|
||||
enum vsir_data_type dst_data_type = instruction->dst[0].reg.data_type;
|
||||
|
||||
validator_error(ctx, VKD3D_SHADER_ERROR_VSIR_INVALID_DATA_TYPE,
|
||||
"Invalid destination data type %#x for operation \"%s\" (%#x) with flags %#x.", dst_data_type,
|
||||
"Invalid destination data type \"%s\" (%#x) for operation \"%s\" (%#x) with flags %#x.",
|
||||
vsir_data_type_get_name(dst_data_type, "<unknown>"), dst_data_type,
|
||||
vsir_opcode_get_name(instruction->opcode, "<unknown>"), instruction->opcode, instruction->flags);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user