From: Jerome Glisse Date: Thu, 6 Sep 2012 19:09:21 +0000 (-0400) Subject: r600g: fix num of dwords needed for alphatest_state atom X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=935a72944751e6bc0a5df779eef44766c7b52baa;p=mesa.git r600g: fix num of dwords needed for alphatest_state atom Signed-off-by: Jerome Glisse --- diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index 68f53c64eb0..26af6f609a5 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -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); }