summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-03-12 11:37:02 +0100
committerMichal Krol <michal@tungstengraphics.com>2008-03-12 11:37:12 +0100
commitfeb02084a88ca6e23c34fa06e963765c890f0b65 (patch)
tree5c7958efee67cadbe5ab6f2521b68ef476992e7a /src/gallium
parent221adbd60116d6334996a6b71a8dd133e229a3e9 (diff)
tgsi: Dump source register divide component.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/tgsi/util/tgsi_dump.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_dump.c b/src/gallium/auxiliary/tgsi/util/tgsi_dump.c
index 59be14a748..a393c65da6 100644
--- a/src/gallium/auxiliary/tgsi/util/tgsi_dump.c
+++ b/src/gallium/auxiliary/tgsi/util/tgsi_dump.c
@@ -1047,6 +1047,11 @@ dump_instruction_short(
CHR( ')' );
}
+ if (src->SrcRegisterExtSwz.ExtDivide != TGSI_EXTSWIZZLE_ONE) {
+ CHR( '/' );
+ ENM( src->SrcRegisterExtSwz.ExtDivide, TGSI_EXTSWIZZLES_SHORT );
+ }
+
first_reg = FALSE;
}