From 9175a2cad76e52b3f8f20c8bb8746a896ccbf5ef Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 18 Feb 2012 21:29:29 -0800 Subject: [PATCH] i965: Only set Last Render Target Select on the last FB write. Fixes GPU hangs in OilRush, which does depth buffer clears with MRT. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index 839f6c3..179b59a 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -2270,7 +2270,7 @@ void brw_fb_WRITE(struct brw_compile *p, msg_type, msg_length, header_present, - 1, /* last render target write */ + eot, /* last render target write */ response_length, eot, 0 /* send_commit_msg */); -- 1.7.7.6