Module: Mesa
Branch: 9.0
Commit: 41d14eaf193c6b1eb87fe1998808a887f1c6c698
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=41d14eaf193c6b1eb87fe1998808a887f1c6c698

Author: Jerome Glisse <jgli...@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 <jgli...@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);
 }
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to