projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0ec7c1
)
intel: Fix bpp setting of blits to 8bpp targets.
author
Eric Anholt
<eric@anholt.net>
Fri, 6 Mar 2009 07:32:00 +0000
(23:32 -0800)
committer
Eric Anholt
<eric@anholt.net>
Fri, 6 Mar 2009 07:43:43 +0000
(23:43 -0800)
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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_blit.c
b/src/mesa/drivers/dri/intel/intel_blit.c
index 2d680b292a736ff1774c3c93c9679b5a92a0f522..4e033082b4d6e7af655718fa7be2ec181cca5b65 100644
(file)
--- 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);