summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_debug.c
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-06-04 22:41:33 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-06-04 23:27:46 -0700
commit31609acbe9d80daea49e98f026196023a20258a0 (patch)
tree9ae82778a90ed5ec9e68819aac66360673381017 /src/gallium/drivers/r300/r300_debug.c
parentfb7d1fb0f0ce4137b6cb84198997241d190d13a8 (diff)
downloadexternal_mesa3d-31609acbe9d80daea49e98f026196023a20258a0.zip
external_mesa3d-31609acbe9d80daea49e98f026196023a20258a0.tar.gz
external_mesa3d-31609acbe9d80daea49e98f026196023a20258a0.tar.bz2
r300-gallium: vs: Add negation, SUB.
Doesn't work. WTF.
Diffstat (limited to 'src/gallium/drivers/r300/r300_debug.c')
-rw-r--r--src/gallium/drivers/r300/r300_debug.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_debug.c b/src/gallium/drivers/r300/r300_debug.c
index 32fa739..1a8c17b 100644
--- a/src/gallium/drivers/r300/r300_debug.c
+++ b/src/gallium/drivers/r300/r300_debug.c
@@ -167,10 +167,14 @@ static void r300_vs_op_dump(uint32_t op)
void r300_vs_src_dump(uint32_t src)
{
- debug_printf(" %s/%s/%s/%s\n",
+ debug_printf(" %s%s/%s%s/%s%s/%s%s\n",
+ src & (1 << 25) ? "-" : " ",
r300_vs_swiz_debug[(src >> 13) & 0x7],
+ src & (1 << 26) ? "-" : " ",
r300_vs_swiz_debug[(src >> 16) & 0x7],
+ src & (1 << 27) ? "-" : " ",
r300_vs_swiz_debug[(src >> 19) & 0x7],
+ src & (1 << 28) ? "-" : " ",
r300_vs_swiz_debug[(src >> 22) & 0x7]);
}