summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/drivers/r300/compiler/radeon_program.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mesa/src/gallium/drivers/r300/compiler/radeon_program.h')
-rw-r--r--lib/mesa/src/gallium/drivers/r300/compiler/radeon_program.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/drivers/r300/compiler/radeon_program.h b/lib/mesa/src/gallium/drivers/r300/compiler/radeon_program.h
index 67be1b9f2..41af9815f 100644
--- a/lib/mesa/src/gallium/drivers/r300/compiler/radeon_program.h
+++ b/lib/mesa/src/gallium/drivers/r300/compiler/radeon_program.h
@@ -42,7 +42,7 @@ struct rc_src_register {
unsigned int File:4;
/** Negative values may be used for relative addressing. */
- signed int Index:(RC_REGISTER_INDEX_BITS+1);
+ unsigned int Index:RC_REGISTER_INDEX_BITS;
unsigned int RelAddr:1;
unsigned int Swizzle:12;