diff options
author | Nicolai Hähnle <[email protected]> | 2009-10-06 21:24:44 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2009-10-06 21:24:44 +0200 |
commit | 57abb76e1095d14f54ea8b8d0d2220e209b8656f (patch) | |
tree | cd5a5e338127997a22b77b275b2151a8e6cc44f8 /src/mesa | |
parent | bcfba138cc7ffbf8163b29dc4a89520369a00f96 (diff) |
r300/compiler: Fix R300 vertex program dumps
The source register field has 8 bits.
Signed-off-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/r3xx_vertprog_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/r3xx_vertprog_dump.c b/src/mesa/drivers/dri/r300/compiler/r3xx_vertprog_dump.c index 980ef3eaea1..66f9b0529f2 100644 --- a/src/mesa/drivers/dri/r300/compiler/r3xx_vertprog_dump.c +++ b/src/mesa/drivers/dri/r300/compiler/r3xx_vertprog_dump.c @@ -146,7 +146,7 @@ static void r300_vs_op_dump(uint32_t op) static void r300_vs_src_dump(uint32_t src) { fprintf(stderr, " reg: %d%s swiz: %s%s/%s%s/%s%s/%s%s\n", - (src >> 5) & 0x7f, r300_vs_src_debug[src & 0x3], + (src >> 5) & 0xff, r300_vs_src_debug[src & 0x3], src & (1 << 25) ? "-" : " ", r300_vs_swiz_debug[(src >> 13) & 0x7], src & (1 << 26) ? "-" : " ", |