Fix the bug of forgetting release sampler in utest.
authorJunyan He <junyan.he@linux.intel.com>
Fri, 16 May 2014 07:13:34 +0000 (15:13 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Thu, 22 May 2014 05:44:16 +0000 (13:44 +0800)
commit6851a808e6811734f5719e77957f387b368ae1f8
treedfba50335c4236090afdbd5be31f3f48f31ae8dc
parent7b18ac91d3cb964d925fb114d0452092f72795dc
Fix the bug of forgetting release sampler in utest.

utest helper will not help us to free the sampler resource
as buffer and kernel. So we need to release it by ourself.

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
utests/compiler_copy_image.cpp
utests/compiler_copy_image1.cpp
utests/compiler_copy_image_3d.cpp
utests/compiler_movforphi_undef.cpp