From ba75e41e41f70d8a4ab01399fe2cd0ab15f09b39 Mon Sep 17 00:00:00 2001 From: michal Date: Thu, 9 Aug 2007 12:55:50 +0100 Subject: [PATCH] Update opcode list. --- src/mesa/pipe/tgsi/core/tgsi_dump.c | 55 +++++++++++++++++++++++++++- src/mesa/pipe/tgsi/core/tgsi_token.h | 2 +- 2 files changed, 54 insertions(+), 3 deletions(-) diff --git a/src/mesa/pipe/tgsi/core/tgsi_dump.c b/src/mesa/pipe/tgsi/core/tgsi_dump.c index c3d796afee5..51d3bb703dc 100644 --- a/src/mesa/pipe/tgsi/core/tgsi_dump.c +++ b/src/mesa/pipe/tgsi/core/tgsi_dump.c @@ -317,7 +317,33 @@ static const char *TGSI_OPCODES[] = "OPCODE_NOISE2", "OPCODE_NOISE3", "OPCODE_NOISE4", - "OPCODE_NOP" + "OPCODE_NOP", + "OPCODE_TEXBEM", + "OPCODE_TEXBEML", + "OPCODE_TEXREG2AR", + "OPCODE_TEXM3X2PAD", + "OPCODE_TEXM3X2TEX", + "OPCODE_TEXM3X3PAD", + "OPCODE_TEXM3X3TEX", + "OPCODE_TEXM3X3SPEC", + "OPCODE_TEXM3X3VSPEC", + "OPCODE_TEXREG2GB", + "OPCODE_TEXREG2RGB", + "OPCODE_TEXDP3TEX", + "OPCODE_TEXDP3", + "OPCODE_TEXM3X3", + "OPCODE_TEXM3X2DEPTH", + "OPCODE_TEXDEPTH", + "OPCODE_BEM", + "OPCODE_M4X3", + "OPCODE_M3X4", + "OPCODE_M3X3", + "OPCODE_M3X2", + "OPCODE_NRM4", + "OPCODE_CALLNZ", + "OPCODE_IFC", + "OPCODE_BREAKC", + "OPCODE_TXP" }; static const char *TGSI_OPCODES_SHORT[] = @@ -428,7 +454,32 @@ static const char *TGSI_OPCODES_SHORT[] = "NOISE2", "NOISE3", "NOISE4", - "NOP" + "NOP", + "TEXBEM", + "TEXBEML", + "TEXREG2AR", + "TEXM3X2PAD", + "TEXM3X2TEX", + "TEXM3X3PAD", + "TEXM3X3TEX", + "TEXM3X3SPEC", + "TEXM3X3VSPEC", + "TEXREG2GB", + "TEXREG2RGB", + "TEXDP3TEX", + "TEXDP3", + "TEXM3X3", + "TEXM3X2DEPTH", + "TEXDEPTH", + "BEM", + "M4X3", + "M3X4", + "M3X3", + "M3X2", + "NRM4", + "CALLNZ", + "IFC", + "BREAKC", }; static const char *TGSI_SATS[] = diff --git a/src/mesa/pipe/tgsi/core/tgsi_token.h b/src/mesa/pipe/tgsi/core/tgsi_token.h index 8e82c9b2758..3552331e79f 100644 --- a/src/mesa/pipe/tgsi/core/tgsi_token.h +++ b/src/mesa/pipe/tgsi/core/tgsi_token.h @@ -818,7 +818,7 @@ struct tgsi_immediate_float32 /* TGSI_OPCODE_CND */ /* TGSI_OPCODE_TEXREG2RGB */ /* TGSI_OPCODE_TEXDP3TEX */ -#define TEXM3X2DEPTH 121 +#define TGSI_OPCODE_TEXM3X2DEPTH 121 /* TGSI_OPCODE_TEXDP3 */ /* TGSI_OPCODE_TEXM3X3 */ /* CMP - use TGSI_OPCODE_CND0 */ -- 2.30.2