From 19e134051c1025bbfe3838108492d705ab2b5b8b Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 5 Mar 2009 23:32:00 -0800 Subject: intel: Fix bpp setting of blits to 8bpp targets. This was causing hangs in cairogears, as we would blit to the 8bpp target (A8 texture) as 16bpp, and stomp over state objects. --- src/mesa/drivers/dri/intel/intel_blit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/drivers') diff --git a/src/mesa/drivers/dri/intel/intel_blit.c b/src/mesa/drivers/dri/intel/intel_blit.c index 2d680b292a7..4e033082b4d 100644 --- a/src/mesa/drivers/dri/intel/intel_blit.c +++ b/src/mesa/drivers/dri/intel/intel_blit.c @@ -332,6 +332,8 @@ intelEmitCopyBlit(struct intel_context *intel, switch (cpp) { case 1: + CMD = XY_SRC_COPY_BLT_CMD; + break; case 2: case 3: BR13 |= (1 << 24); -- cgit v1.2.3