Module: Mesa
Branch: master
Commit: 3198cd4a65b135005515c6dd35d006330ce31c94
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3198cd4a65b135005515c6dd35d006330ce31c94

Author: Maciej Cencora <m.cenc...@gmail.com>
Date:   Wed Mar 10 22:31:53 2010 +0100

radeon: fallback to sw ReadPixels if color logicop is enabled

Fixes glean/logicOp (regressed after introducing hw accelerated support for 
ReadPixels)

---

 src/mesa/drivers/dri/radeon/radeon_pixel_read.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/radeon/radeon_pixel_read.c 
b/src/mesa/drivers/dri/radeon/radeon_pixel_read.c
index 2784193..b180c1d 100644
--- a/src/mesa/drivers/dri/radeon/radeon_pixel_read.c
+++ b/src/mesa/drivers/dri/radeon/radeon_pixel_read.c
@@ -96,7 +96,7 @@ do_blit_readpixels(GLcontext * ctx,
         return GL_FALSE;
     }
 
-    if (ctx->_ImageTransferState) {
+    if (ctx->_ImageTransferState || ctx->Color._LogicOpEnabled) {
         return GL_FALSE;
     }
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to