diff options
author | Marek Olšák <[email protected]> | 2012-09-10 05:56:46 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-09-13 20:18:44 +0200 |
commit | c383a3cfb22a36f38a0d57300a701c253311c052 (patch) | |
tree | 2b943f43d29f6009e88e472d00668f09173e5041 /src/gallium/drivers/r600/evergreen_state.c | |
parent | 263045afbc731fe669b43013a32c6dfa457e46ad (diff) |
r600g: initialize the first CS just like any other CS
by reusing the CS initialization in r600_context_flush.
Reviewed-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_state.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index c0615767be2..4c010060e50 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -2186,16 +2186,10 @@ void evergreen_init_state_functions(struct r600_context *rctx) r600_init_atom(rctx, &rctx->sample_mask.atom, id++, cayman_emit_sample_mask, 4); } rctx->sample_mask.sample_mask = ~0; - r600_atom_dirty(rctx, &rctx->sample_mask.atom); r600_init_atom(rctx, &rctx->cb_misc_state.atom, id++, evergreen_emit_cb_misc_state, 0); - r600_atom_dirty(rctx, &rctx->cb_misc_state.atom); - r600_init_atom(rctx, &rctx->alphatest_state.atom, id++, r600_emit_alphatest_state, 6); - r600_atom_dirty(rctx, &rctx->alphatest_state.atom); - r600_init_atom(rctx, &rctx->db_misc_state.atom, id++, evergreen_emit_db_misc_state, 7); - r600_atom_dirty(rctx, &rctx->db_misc_state.atom); rctx->context.create_blend_state = evergreen_create_blend_state; rctx->context.create_depth_stencil_alpha_state = evergreen_create_dsa_state; |