tgsi: Dump source register divide component.
authorMichal Krol <michal@tungstengraphics.com>
Wed, 12 Mar 2008 10:37:02 +0000 (11:37 +0100)
committerMichal Krol <michal@tungstengraphics.com>
Wed, 12 Mar 2008 10:37:12 +0000 (11:37 +0100)
src/gallium/auxiliary/tgsi/util/tgsi_dump.c

index 59be14a748c7a721741e90b8152ce8313b5ed449..a393c65da6f40766aa0741dfbe7d5cbed9353e4a 100644 (file)
@@ -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;
    }