i965/gen6: Fix LogicOp handling for GL_COPY and/or floating-point RTs.
authorEric Anholt <eric@anholt.net>
Fri, 29 Apr 2011 22:11:11 +0000 (15:11 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 29 Apr 2011 22:27:02 +0000 (15:27 -0700)
commit6a02679f0120f095d2678eec4532e27e9627b26d
treeff07ef93e239ff48f2f3c2e5a91d14fe22814d7b
parent3032582d032a28381dd4c2f4093d82c79e73129e
i965/gen6: Fix LogicOp handling for GL_COPY and/or floating-point RTs.

We were accidentally leaving blending enabled for LogicOp GL_COPY,
which ARB_color_buffer_float/GL_RGBA32F-render (and friends) caught.
Additionally, the GL spec says that no LogicOp should be done to
floating-point targets, and the GPU gets really angry even if you say
to LogicOp GL_COPY to float.
src/mesa/drivers/dri/i965/gen6_cc.c