st/mesa: don't use resource_copy_region for CopyPixels with conditional render
authorMarek Olšák <maraeo@gmail.com>
Sun, 29 May 2011 04:21:39 +0000 (06:21 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 30 May 2011 08:51:06 +0000 (10:51 +0200)
commit1b37a41661f791b22f12b8477053a8dff6e33d6d
tree6a5bf22a660108c2aebd3ff04622f805cbbf2a27
parent8d45bbc4221d83bc2bfd0295f56b0f6d35b16a99
st/mesa: don't use resource_copy_region for CopyPixels with conditional render

The conditional rendering should be able to kill CopyPixels.
I assume the render condition has no effect on resource_copy_region.

This fixes piglit:
- NV_conditional_render/copypixels

NOTE: This is a candidate for the 7.10 branch.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_cb_drawpixels.c