summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichal <michal@michal-laptop.(none)>2007-08-06 17:18:25 +0100
committermichal <michal@michal-laptop.(none)>2007-08-06 17:18:25 +0100
commit2cd6291c624625368050d7c6104e11f01c605ebb (patch)
tree79fdfc9f8394c5d78af955a34ead4aae1a77ee5d
parent76478a470660becaceb09c7217b8c73601b1e92a (diff)
Add GLSL ops.
-rw-r--r--src/mesa/pipe/tgsi/core/tgsi_exec.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/mesa/pipe/tgsi/core/tgsi_exec.c b/src/mesa/pipe/tgsi/core/tgsi_exec.c
index 9a42878e0a9..7cf48021de2 100644
--- a/src/mesa/pipe/tgsi/core/tgsi_exec.c
+++ b/src/mesa/pipe/tgsi/core/tgsi_exec.c
@@ -2103,6 +2103,7 @@ exec_instruction(
break;
case TGSI_OPCODE_TRUNC:
+ /* TGSI_OPCODE_INT */
assert (0);
break;
@@ -2181,6 +2182,41 @@ exec_instruction(
mach->Primitives[mach->Temps[TEMP_PRIMITIVE_I].xyzw[TEMP_PRIMITIVE_C].u[0]] = 0;
break;
+ case TGSI_OPCODE_BGNLOOP2:
+ assert( 0 );
+ break;
+
+ case TGSI_OPCODE_BGNSUB:
+ assert( 0 );
+ break;
+
+ case TGSI_OPCODE_ENDLOOP2:
+ assert( 0 );
+ break;
+
+ case TGSI_OPCODE_ENDSUB:
+ assert( 0 );
+ break;
+
+ case TGSI_OPCODE_NOISE1:
+ assert( 0 );
+ break;
+
+ case TGSI_OPCODE_NOISE2:
+ assert( 0 );
+ break;
+
+ case TGSI_OPCODE_NOISE3:
+ assert( 0 );
+ break;
+
+ case TGSI_OPCODE_NOISE4:
+ assert( 0 );
+ break;
+
+ case TGSI_OPCODE_NOP:
+ break;
+
default:
assert( 0 );
}