mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
gallium: translate DP2, DP2A, NRM3, NRM4, SSG opcodes
This commit is contained in:
parent
3059ceb7f8
commit
8343d0f6e4
1 changed files with 15 additions and 0 deletions
|
|
@ -346,6 +346,12 @@ compile_instruction(
|
|||
case OPCODE_DDY:
|
||||
fullinst->Instruction.Opcode = TGSI_OPCODE_DDY;
|
||||
break;
|
||||
case OPCODE_DP2:
|
||||
fullinst->Instruction.Opcode = TGSI_OPCODE_DP2;
|
||||
break;
|
||||
case OPCODE_DP2A:
|
||||
fullinst->Instruction.Opcode = TGSI_OPCODE_DP2A;
|
||||
break;
|
||||
case OPCODE_DP3:
|
||||
fullinst->Instruction.Opcode = TGSI_OPCODE_DP3;
|
||||
break;
|
||||
|
|
@ -443,6 +449,12 @@ compile_instruction(
|
|||
case OPCODE_NOP:
|
||||
fullinst->Instruction.Opcode = TGSI_OPCODE_NOP;
|
||||
break;
|
||||
case OPCODE_NRM3:
|
||||
fullinst->Instruction.Opcode = TGSI_OPCODE_NRM;
|
||||
break;
|
||||
case OPCODE_NRM4:
|
||||
fullinst->Instruction.Opcode = TGSI_OPCODE_NRM4;
|
||||
break;
|
||||
case OPCODE_POW:
|
||||
fullinst->Instruction.Opcode = TGSI_OPCODE_POW;
|
||||
break;
|
||||
|
|
@ -492,6 +504,9 @@ compile_instruction(
|
|||
case OPCODE_SNE:
|
||||
fullinst->Instruction.Opcode = TGSI_OPCODE_SNE;
|
||||
break;
|
||||
case OPCODE_SSG:
|
||||
fullinst->Instruction.Opcode = TGSI_OPCODE_SSG;
|
||||
break;
|
||||
case OPCODE_SUB:
|
||||
fullinst->Instruction.Opcode = TGSI_OPCODE_SUB;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue