summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/tgsi/exec
diff options
context:
space:
mode:
authorMichal <michal@tungstengraphics.com>2007-11-28 18:10:31 +0000
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2007-12-09 14:06:01 +0000
commit6cdcebe8017b56e2f823dd3f6d805e55056f7e9b (patch)
tree3322662179fa32220d9603d1d0a15cd9beea338b /src/mesa/pipe/tgsi/exec
parent273f6e769897032b15a8739394669fd11f76f145 (diff)
Allow tgsi_dump print-out to stderr or a string buffer.
Handle source register complement modifier in exec and dump.
Diffstat (limited to 'src/mesa/pipe/tgsi/exec')
-rw-r--r--src/mesa/pipe/tgsi/exec/tgsi_exec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_exec.c b/src/mesa/pipe/tgsi/exec/tgsi_exec.c
index d036e9d383..ab83f27c1b 100644
--- a/src/mesa/pipe/tgsi/exec/tgsi_exec.c
+++ b/src/mesa/pipe/tgsi/exec/tgsi_exec.c
@@ -1066,6 +1066,10 @@ fetch_source(
case TGSI_UTIL_SIGN_KEEP:
break;
}
+
+ if (reg->SrcRegisterExtMod.Complement) {
+ micro_sub( chan, &mach->Temps[TEMP_1_I].xyzw[TEMP_1_C], chan );
+ }
}
static void