Mesa (9.0): r600g: fix num of dwords needed for alphatest_state atom
Jerome Glisse
glisse at kemper.freedesktop.org
Thu Sep 6 19:27:07 UTC 2012
Module: Mesa
Branch: 9.0
Commit: 41d14eaf193c6b1eb87fe1998808a887f1c6c698
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=41d14eaf193c6b1eb87fe1998808a887f1c6c698
Author: Jerome Glisse <jglisse at redhat.com>
Date: Thu Sep 6 15:09:21 2012 -0400
r600g: fix num of dwords needed for alphatest_state atom
Signed-off-by: Jerome Glisse <jglisse at redhat.com>
---
src/gallium/drivers/r600/r600_state_common.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c
index 68f53c6..26af6f6 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);
}
More information about the mesa-commit
mailing list