diff options
author | Marek Olšák <[email protected]> | 2012-04-03 22:37:30 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-04-04 04:28:40 +0200 |
commit | 5ce0598a034179eaacff96f39eaebf0ba0f30d4c (patch) | |
tree | a50f4a45f05cf9bf24527658799f7ddc96fcbba4 /src/gallium/drivers/r300/r300_state.c | |
parent | 9ba3cecaa02eba07bc6456c441126e4e2e823da5 (diff) |
r300g/swtcl: don't print an error when getting ClipVertex
Draw can do it just fine.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 940443050ba..a623ff898a7 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -1759,10 +1759,10 @@ static void* r300_create_vs_state(struct pipe_context* pipe, vs->state.tokens = tgsi_dup_tokens(shader->tokens); if (r300->screen->caps.has_tcl) { - r300_init_vs_outputs(vs); + r300_init_vs_outputs(r300, vs); r300_translate_vertex_shader(r300, vs); } else { - r300_draw_init_vertex_shader(r300->draw, vs); + r300_draw_init_vertex_shader(r300, vs); } return vs; |