i965: Print the opcode name for unrecognized opcodes in the GLSL path.
This commit is contained in:
parent
9a7ba79b2b
commit
f77c1cd7df
|
@ -2026,8 +2026,9 @@ static void brw_wm_emit_glsl(struct brw_context *brw, struct brw_wm_compile *c)
|
|||
}
|
||||
break;
|
||||
default:
|
||||
printf("unsupported IR in fragment shader %d\n",
|
||||
inst->Opcode);
|
||||
printf("unsupported opcode %d (%s) in fragment shader\n",
|
||||
inst->Opcode, inst->Opcode < MAX_OPCODE ?
|
||||
_mesa_opcode_string(inst->Opcode) : "unknown");
|
||||
}
|
||||
|
||||
/* Release temporaries containing any unaliased source regs. */
|
||||
|
|
Loading…
Reference in New Issue