mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/ir: Use vsir_opcode_get_name() in vsir_program_lower_instructions().
This commit is contained in:
Notes:
Henri Verbeet
2025-06-10 18:06:20 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Francisco Casas (@fcasas) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1549
@@ -1416,8 +1416,8 @@ static enum vkd3d_result vsir_program_lower_instructions(struct vsir_program *pr
|
|||||||
case VKD3DSIH_TEXREG2GB:
|
case VKD3DSIH_TEXREG2GB:
|
||||||
case VKD3DSIH_TEXREG2RGB:
|
case VKD3DSIH_TEXREG2RGB:
|
||||||
vkd3d_shader_error(ctx->message_context, &ins->location, VKD3D_SHADER_ERROR_VSIR_NOT_IMPLEMENTED,
|
vkd3d_shader_error(ctx->message_context, &ins->location, VKD3D_SHADER_ERROR_VSIR_NOT_IMPLEMENTED,
|
||||||
"Aborting due to unimplemented feature: Combined sampler instruction %#x.",
|
"Aborting due to unimplemented feature: Combined sampler instruction \"%s\" (%#x).",
|
||||||
ins->opcode);
|
vsir_opcode_get_name(ins->opcode, "<unknown>"), ins->opcode);
|
||||||
return VKD3D_ERROR_NOT_IMPLEMENTED;
|
return VKD3D_ERROR_NOT_IMPLEMENTED;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user