Lines Matching defs:opcode
48 static inline const char *d3dsio_to_string(unsigned opcode);
343 /* NOTE: 0 is a valid TGSI opcode, but if handler is set, this parameter
346 unsigned opcode; /* TGSI_OPCODE_x */
364 D3DSHADER_INSTRUCTION_OPCODE_TYPE opcode;
385 if (insn->opcode == D3DSIO_DCL)
395 DUMP("%s", d3dsio_to_string(insn->opcode));
397 switch (insn->opcode) {
419 if (insn->opcode == D3DSIO_DEF ||
420 insn->opcode == D3DSIO_DEFI ||
421 insn->opcode == D3DSIO_DEFB)
538 if (insn->opcode == D3DSIO_CRS)
1303 if (!IS_VS && tx->insn.opcode == D3DSIO_TEXKILL) { /* maybe others, too */
1417 if (!tx->insn.ndst || !tx->insn.dst[0].shift || tx->insn.opcode == D3DSIO_TEXKILL)
1518 d3dsio_to_string( unsigned opcode )
1620 if (opcode < ARRAY_SIZE(names)) return names[opcode];
1622 switch (opcode) {
2601 if (tx->insn.opcode == D3DSIO_TEXBEM) {
2603 } else if (tx->insn.opcode == D3DSIO_TEXBEML) {
2835 switch (tx->insn.opcode) {
3235 ureg_insn(tx->ureg, tx->insn.info->opcode,
3389 switch (tx->insn.opcode) {
3470 insn->opcode = tok & D3DSI_OPCODE_MASK;
3475 if (insn->opcode < ARRAY_SIZE(tx->op_info_map)) {
3476 int k = tx->op_info_map[insn->opcode];
3482 if (insn->opcode == D3DSIO_PHASE) info = &inst_phase;
3483 if (insn->opcode == D3DSIO_COMMENT) info = &inst_comment;
3486 DBG("illegal or unhandled opcode: %08x\n", insn->opcode);
3500 DBG("opcode not supported in this shader version: %x <= %x <= %x\n",
3514 if (insn->opcode == D3DSIO_DEF ||
3515 insn->opcode == D3DSIO_DEFI ||
3516 insn->opcode == D3DSIO_DEFB)