diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-05-28 21:48:30 +0900 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-05-28 21:48:30 +0900 |
commit | 7a986792dabe6556c63b2f2a997c7c6217604e2d (patch) | |
tree | ab2823befded5b701ff21adb581d58ce7f8cbdad /src | |
parent | 4767c10cbb87a77e6cb24c53815c38bd5887c771 (diff) |
tgsi: Observe constness.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/tgsi/util/tgsi_dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_dump.c b/src/gallium/auxiliary/tgsi/util/tgsi_dump.c index 648afa2a51b..b018ea9fa1c 100644 --- a/src/gallium/auxiliary/tgsi/util/tgsi_dump.c +++ b/src/gallium/auxiliary/tgsi/util/tgsi_dump.c @@ -754,7 +754,7 @@ tgsi_dump_instruction( } for( i = 0; i < inst->Instruction.NumDstRegs; i++ ) { - struct tgsi_full_dst_register *dst = &inst->FullDstRegisters[i]; + const struct tgsi_full_dst_register *dst = &inst->FullDstRegisters[i]; if( !first_reg ) { CHR( ',' ); @@ -812,7 +812,7 @@ tgsi_dump_instruction( } for( i = 0; i < inst->Instruction.NumSrcRegs; i++ ) { - struct tgsi_full_src_register *src = &inst->FullSrcRegisters[i]; + const struct tgsi_full_src_register *src = &inst->FullSrcRegisters[i]; if( !first_reg ) { CHR( ',' ); |