Mesa (gallium-0.2): mesa: fix opcode table order bug
Brian Paul
brianp at kemper.freedesktop.org
Fri Nov 7 20:03:31 UTC 2008
Module: Mesa
Branch: gallium-0.2
Commit: 6dc91b8371f04f9bab61c1f6504236264feac8b4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6dc91b8371f04f9bab61c1f6504236264feac8b4
Author: Brian Paul <brian.paul at tungstengraphics.com>
Date: Fri Nov 7 12:59:08 2008 -0700
mesa: fix opcode table order bug
---
src/mesa/shader/prog_instruction.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/shader/prog_instruction.c b/src/mesa/shader/prog_instruction.c
index 54df3fb..f5c0a49 100644
--- a/src/mesa/shader/prog_instruction.c
+++ b/src/mesa/shader/prog_instruction.c
@@ -196,14 +196,14 @@ static const struct instruction_info InstInfo[MAX_OPCODE] = {
{ OPCODE_MIN, "MIN", 2, 1 },
{ OPCODE_MOV, "MOV", 1, 1 },
{ OPCODE_MUL, "MUL", 2, 1 },
- { OPCODE_NOT, "NOT", 1, 1 },
{ OPCODE_NOISE1, "NOISE1", 1, 1 },
{ OPCODE_NOISE2, "NOISE2", 1, 1 },
{ OPCODE_NOISE3, "NOISE3", 1, 1 },
{ OPCODE_NOISE4, "NOISE4", 1, 1 },
- { OPCODE_OR, "OR", 2, 1 },
+ { OPCODE_NOT, "NOT", 1, 1 },
{ OPCODE_NRM3, "NRM3", 1, 1 },
{ OPCODE_NRM4, "NRM4", 1, 1 },
+ { OPCODE_OR, "OR", 2, 1 },
{ OPCODE_PK2H, "PK2H", 1, 1 },
{ OPCODE_PK2US, "PK2US", 1, 1 },
{ OPCODE_PK4B, "PK4B", 1, 1 },
More information about the mesa-commit
mailing list