Module: Mesa
Branch: mesa_7_7_branch
Commit: c9c54180e431f690af4071a804a94c09cf824092
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c9c54180e431f690af4071a804a94c09cf824092

Author: Matthew W. S. Bell <[email protected]>
Date:   Mon Mar 15 01:18:02 2010 +0000

Correct GL_EQUIV code in r67/7xx.

>From 247e121106e8d3e389f2e5a6edf13ea70ac18df7 Mon Sep 17 00:00:00 2001

These seem to be documented in
<http://www.svgopen.org/2003/papers/RasterOperationsUsingFilterElements/index.html>.

---

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

diff --git a/src/mesa/drivers/dri/r600/r700_state.c 
b/src/mesa/drivers/dri/r600/r700_state.c
index 25a8074..11b298b 100644
--- a/src/mesa/drivers/dri/r600/r700_state.c
+++ b/src/mesa/drivers/dri/r600/r700_state.c
@@ -616,7 +616,7 @@ static GLuint translate_logicop(GLenum logicop)
        case GL_XOR:
                return 0x66;
        case GL_EQUIV:
-               return 0xaa;
+               return 0x99;
        case GL_AND_REVERSE:
                return 0x44;
        case GL_AND_INVERTED:

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to