diff options
author | Brian Paul <[email protected]> | 2008-08-11 15:01:35 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-08-11 15:21:40 -0600 |
commit | d506fc0acf68c861c4e160a3d931a3f81757242b (patch) | |
tree | 77f61577b02b690d8b26cb3d71a9d9a09d7b44ec /src/gallium/drivers | |
parent | 22604727e469f4a9881f722be319670d5cde4519 (diff) |
gallium: debug/print vertex tweak
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_setup.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/softpipe/sp_setup.c b/src/gallium/drivers/softpipe/sp_setup.c index b48eec730b2..14aacd73c23 100644 --- a/src/gallium/drivers/softpipe/sp_setup.c +++ b/src/gallium/drivers/softpipe/sp_setup.c @@ -1272,10 +1272,7 @@ void setup_prepare( struct setup_context *setup ) } /* Note: nr_attrs is only used for debugging (vertex printing) */ - { - const struct sp_fragment_shader *fs = setup->softpipe->fs; - setup->quad.nr_attrs = fs->info.num_inputs + 1; /* +1 for vert pos */ - } + setup->quad.nr_attrs = draw_num_vs_outputs(sp->draw); sp->quad.first->begin(sp->quad.first); |