Mesa (mesa_7_7_branch): i965: fix invalid assertion in emit_xpd()
Brian Paul
brianp at kemper.freedesktop.org
Tue Jan 5 22:55:23 UTC 2010
Module: Mesa
Branch: mesa_7_7_branch
Commit: e555146fa35c897554a1af2d010187a6acccdd59
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e555146fa35c897554a1af2d010187a6acccdd59
Author: Brian Paul <brianp at vmware.com>
Date: Tue Jan 5 15:53:01 2010 -0700
i965: fix invalid assertion in emit_xpd()
Invalid assertion found by Roel Kluin <roel.kluin at gmail.com>
---
src/mesa/drivers/dri/i965/brw_wm_emit.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_wm_emit.c b/src/mesa/drivers/dri/i965/brw_wm_emit.c
index 66fb611..4a30028 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_emit.c
@@ -692,7 +692,7 @@ void emit_xpd(struct brw_compile *p,
{
GLuint i;
- assert(!(mask & WRITEMASK_W) == WRITEMASK_X);
+ assert(!(mask & WRITEMASK_W) == WRITEMASK_W);
for (i = 0 ; i < 3; i++) {
if (mask & (1<<i)) {
More information about the mesa-commit
mailing list