projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fc5732
)
i965: Ignore execution mask for the mov(m0, g0) of VS URB write header on SNB.
author
Eric Anholt
<eric@anholt.net>
Fri, 19 Mar 2010 22:04:17 +0000
(15:04 -0700)
committer
Eric Anholt
<eric@anholt.net>
Mon, 22 Mar 2010 22:04:46 +0000
(15:04 -0700)
Otherwise, we may not get the FFTID set up which would break freeing
of resources.
src/mesa/drivers/dri/i965/brw_eu_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_eu_emit.c
b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index d2395dec288ab53624922fb644f879651a110aec..c33c3def30413bcccfafb4f29c62deb1afd0c044 100644
(file)
--- 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);
}