From: Michal Krol Date: Wed, 12 Mar 2008 10:37:02 +0000 (+0100) Subject: tgsi: Dump source register divide component. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=feb02084a88ca6e23c34fa06e963765c890f0b65;p=mesa.git tgsi: Dump source register divide component. --- diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_dump.c b/src/gallium/auxiliary/tgsi/util/tgsi_dump.c index 59be14a748c..a393c65da6f 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; }