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

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 6f156b5..12eaebb 100644
--- a/src/mesa/drivers/dri/r600/r700_state.c
+++ b/src/mesa/drivers/dri/r600/r700_state.c
@@ -614,7 +614,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