diff options
author | Jerome Glisse <[email protected]> | 2010-09-01 18:04:38 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-09-01 18:05:52 -0400 |
commit | 67234b4b42a8285a9b14da48dd113cbe2ee871fd (patch) | |
tree | 5f05e9922f972f378d08e10359b7c1d48d7af6da /src/gallium/drivers/r600/r600_draw.c | |
parent | 4ff3467daf0ac07e4295c7d2e2ad3c3c8c89dff6 (diff) |
r600g: refix db/cb state
Signed-off-by: Dave Airlie <[email protected]>
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_draw.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_draw.c b/src/gallium/drivers/r600/r600_draw.c index bddc81e50a6..9cc26bbadad 100644 --- a/src/gallium/drivers/r600/r600_draw.c +++ b/src/gallium/drivers/r600/r600_draw.c @@ -91,8 +91,8 @@ static int r600_draw_common(struct r600_draw *draw) r = r600_pipe_shader_update(draw->ctx, rctx->ps_shader); if (r) return r; - radeon_draw_bind(&rctx->draw, &rctx->vs_shader->rstate); - radeon_draw_bind(&rctx->draw, &rctx->ps_shader->rstate); + radeon_draw_bind(&rctx->draw, &rctx->vs_shader->rstate[0]); + radeon_draw_bind(&rctx->draw, &rctx->ps_shader->rstate[0]); for (i = 0 ; i < rctx->vertex_elements->count; i++) { vs_resource = &rctx->vs_resource[i]; |