diff options
author | Brian <[email protected]> | 2007-01-17 15:54:14 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-01-17 15:54:14 -0700 |
commit | 0bad236cfbaabfc0ed4f20088e64fa89f81934ce (patch) | |
tree | d4a05aed1680f8837fb2f1719f0f46cb34333593 /src/mesa/shader | |
parent | 46a924124895a99b4028138c0e5997e0648b626c (diff) |
Added OPCODE_INT to convert 4 floats to 4 ints.
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/prog_instruction.c | 1 | ||||
-rw-r--r-- | src/mesa/shader/prog_instruction.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_instruction.c b/src/mesa/shader/prog_instruction.c index bebc3ecb69f..1379018d4ac 100644 --- a/src/mesa/shader/prog_instruction.c +++ b/src/mesa/shader/prog_instruction.c @@ -135,6 +135,7 @@ static const struct instruction_info InstInfo[MAX_OPCODE] = { { OPCODE_EXP, "EXP", 1 }, { OPCODE_FLR, "FLR", 1 }, { OPCODE_FRC, "FRC", 1 }, + { OPCODE_INT, "INT", 1 }, { OPCODE_KIL, "KIL", 1 }, { OPCODE_KIL_NV, "KIL", 0 }, { OPCODE_LG2, "LG2", 1 }, diff --git a/src/mesa/shader/prog_instruction.h b/src/mesa/shader/prog_instruction.h index d825e6e0a37..b6598796510 100644 --- a/src/mesa/shader/prog_instruction.h +++ b/src/mesa/shader/prog_instruction.h @@ -148,6 +148,7 @@ typedef enum prog_opcode { OPCODE_EXP, /* X X */ OPCODE_FLR, /* X X 2 X */ OPCODE_FRC, /* X X 2 X */ + OPCODE_INT, /* */ OPCODE_KIL, /* X */ OPCODE_KIL_NV, /* X */ OPCODE_LG2, /* X X 2 X */ |