From 935a72944751e6bc0a5df779eef44766c7b52baa Mon Sep 17 00:00:00 2001 From: Jerome Glisse Date: Thu, 6 Sep 2012 15:09:21 -0400 Subject: [PATCH] r600g: fix num of dwords needed for alphatest_state atom Signed-off-by: Jerome Glisse --- src/gallium/drivers/r600/r600_state_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2