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/r600_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/r600_state.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index abe886c5e2a..c3fafc3dac1 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -2065,20 +2065,12 @@ void r600_init_state_functions(struct r600_context *rctx) r600_init_atom(rctx, &rctx->vertex_buffer_state.atom, id++, r600_emit_vertex_buffers, 0); r600_init_atom(rctx, &rctx->seamless_cube_map.atom, id++, r600_emit_seamless_cube_map, 3); - r600_atom_dirty(rctx, &rctx->seamless_cube_map.atom); - r600_init_atom(rctx, &rctx->sample_mask.atom, id++, r600_emit_sample_mask, 3); rctx->sample_mask.sample_mask = ~0; - r600_atom_dirty(rctx, &rctx->sample_mask.atom); r600_init_atom(rctx, &rctx->cb_misc_state.atom, id++, r600_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++, r600_emit_db_misc_state, 4); - r600_atom_dirty(rctx, &rctx->db_misc_state.atom); rctx->context.create_blend_state = r600_create_blend_state; rctx->context.create_depth_stencil_alpha_state = r600_create_dsa_state; |