r600g: fix num of dwords needed for alphatest_state atom
authorJerome Glisse <jglisse@redhat.com>
Thu, 6 Sep 2012 19:09:21 +0000 (15:09 -0400)
committerJerome Glisse <jglisse@redhat.com>
Thu, 6 Sep 2012 19:09:14 +0000 (15:09 -0400)
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/r600_state_common.c

index 68f53c64eb0fec4cea11e77b53181568767970b2..26af6f609a5ee388b8aeb54aafd29ad9490396a7 100644 (file)
@@ -108,7 +108,7 @@ void r600_init_common_atoms(struct r600_context *rctx)
 {
        r600_init_atom(&rctx->surface_sync_cmd.atom,    r600_emit_surface_sync,         5, EMIT_EARLY);
        r600_init_atom(&rctx->r6xx_flush_and_inv_cmd,   r600_emit_r6xx_flush_and_inv,   2, EMIT_EARLY);
-       r600_init_atom(&rctx->alphatest_state.atom,     r600_emit_alphatest_state,      3, 0);
+       r600_init_atom(&rctx->alphatest_state.atom,     r600_emit_alphatest_state,      6, 0);
        r600_atom_dirty(rctx, &rctx->alphatest_state.atom);
 }