i965: Don't use fast copy blit in case of logical operations other than GL_COPY
authorAnuj Phogat <anuj.phogat@gmail.com>
Wed, 25 May 2016 18:33:51 +0000 (11:33 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Thu, 26 May 2016 17:57:09 +0000 (10:57 -0700)
commit0c02d7002d6c005b4c1fe997b5ef5916978dd183
treeb14d3b5d321003b305ce280ff159c8f61c68b7d3
parent97f0f91cc191d9d024588458f23a229b91acb84d
i965: Don't use fast copy blit in case of logical operations other than GL_COPY

XY_FAST_COPY_BLT command doesn't have a field for raster operation. So, fall
back to using XY_SRC_COPY_BLT to handle those cases.

Fixes piglit test gl-1.1-xor-copypixels when fast copy blit is enabled
for all tiling formats.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/intel_blit.c