Mesa (master): i965: Ignore execution mask for the mov(m0, g0) of VS URB write header on SNB.
Eric Anholt
anholt at kemper.freedesktop.org
Mon Mar 22 22:05:34 UTC 2010
Module: Mesa
Branch: master
Commit: a9acde6a723c8f343f65243d1ccac6836215ba0c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a9acde6a723c8f343f65243d1ccac6836215ba0c
Author: Eric Anholt <eric at anholt.net>
Date: Fri Mar 19 15:04:17 2010 -0700
i965: Ignore execution mask for the mov(m0, g0) of VS URB write header on SNB.
Otherwise, we may not get the FFTID set up which would break freeing
of resources.
---
src/mesa/drivers/dri/i965/brw_eu_emit.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index d2395de..c33c3de 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
@@ -1416,7 +1416,10 @@ void brw_urb_WRITE(struct brw_compile *p,
* and the first message register index comes from src0.
*/
if (intel->gen >= 6) {
+ brw_push_insn_state(p);
+ brw_set_mask_control( p, BRW_MASK_DISABLE );
brw_MOV(p, brw_message_reg(msg_reg_nr), src0);
+ brw_pop_insn_state(p);
src0 = brw_message_reg(msg_reg_nr);
}
More information about the mesa-commit
mailing list