mesa/copyimage: make sure number of samples match.
authorDave Airlie <airlied@redhat.com>
Tue, 3 May 2016 06:09:38 +0000 (16:09 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 3 May 2016 10:13:29 +0000 (20:13 +1000)
commitc4a0cd4662efe32e95c3f1e68b2f058b60bdcb52
treee7705d226eb85f6d27654f0ea9c575ee30aadc4a
parent5989a2937f6a77e8f32ccc30cc7f9b3bd7bed9eb
mesa/copyimage: make sure number of samples match.

This fixes
GL43-CTS.copy_image.samples_missmatch
which otherwise asserts in the radeonsi driver.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/copyimage.c