mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 20:48:08 +02:00
i965: more meaningful message for unsupported opcodes.
This commit is contained in:
parent
c5945c2d17
commit
831bfb9053
2 changed files with 8 additions and 3 deletions
|
|
@ -1155,7 +1155,10 @@ void brw_vs_emit(struct brw_vs_compile *c )
|
|||
case OPCODE_ENDSUB:
|
||||
break;
|
||||
default:
|
||||
_mesa_printf("Unsupport opcode %d in vertex shader\n", inst->Opcode);
|
||||
_mesa_printf("Unsupported opcode %i (%s) in vertex shader\n",
|
||||
inst->Opcode, inst->Opcode < MAX_OPCODE ?
|
||||
_mesa_opcode_string(inst->Opcode) :
|
||||
"unknown");
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1302,8 +1302,10 @@ void brw_wm_emit( struct brw_wm_compile *c )
|
|||
break;
|
||||
|
||||
default:
|
||||
_mesa_printf("unsupport opcode %d in fragment program\n",
|
||||
inst->opcode);
|
||||
_mesa_printf("Unsupported opcode %i (%s) in fragment shader\n",
|
||||
inst->opcode, inst->opcode < MAX_OPCODE ?
|
||||
_mesa_opcode_string(inst->opcode) :
|
||||
"unknown");
|
||||
}
|
||||
|
||||
for (i = 0; i < 4; i++)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue