diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-04-05 01:00:25 -0700 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-04-05 01:00:25 -0700 |
commit | ce7963f338ab95b06619074bc6aaf99c96ff5f11 (patch) | |
tree | f53e1e361b07345c0be4bcf160c61db7457bd44e /src/gallium/drivers/r300/r300_debug.c | |
parent | 484795ff14faa794b7a150f29554a73e0113f67d (diff) | |
download | external_mesa3d-ce7963f338ab95b06619074bc6aaf99c96ff5f11.zip external_mesa3d-ce7963f338ab95b06619074bc6aaf99c96ff5f11.tar.gz external_mesa3d-ce7963f338ab95b06619074bc6aaf99c96ff5f11.tar.bz2 |
r300-gallium: Properly interface with Draw for vert shaders.
Diffstat (limited to 'src/gallium/drivers/r300/r300_debug.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_debug.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_debug.c b/src/gallium/drivers/r300/r300_debug.c index 8d44756..dd63136 100644 --- a/src/gallium/drivers/r300/r300_debug.c +++ b/src/gallium/drivers/r300/r300_debug.c @@ -224,3 +224,15 @@ void r500_fs_dump(struct r500_fragment_shader* fs) } } } + +void r300_vs_dump(struct r300_vertex_shader* vs) +{ + int i; + + for (i = 0; i < vs->instruction_count; i++) { + debug_printf("inst0: 0x%x\n", vs->instructions[i].inst0); + debug_printf("inst1: 0x%x\n", vs->instructions[i].inst1); + debug_printf("inst2: 0x%x\n", vs->instructions[i].inst2); + debug_printf("inst3: 0x%x\n", vs->instructions[i].inst3); + } +} |