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.
This commit is contained in:
Eric Anholt
2009-03-05 23:32:00 -08:00
parent d0ec7c109c
commit 19e134051c
+2
View File
@@ -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);