Runtime: enable border color state support.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Fri, 6 Sep 2013 05:43:06 +0000 (13:43 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 18 Sep 2013 06:45:07 +0000 (14:45 +0800)
commite48b3ec98b8fee940a8f97f4abd54e260bb35185
tree86ebda2754c9ce476f87af8c27fe381a0dcc80ec
parentcd70e614156b4c4c5f83f031ed65e7dc050f613d
Runtime: enable border color state support.

Also fix the wrong clamp mode for CL_ADDRESS_CLAMP.
According to Gen Bspec, when the surface format is
int/uint, it doesn't support clamp border. We need
to workaround it in the kernel side.

v2: move compiler_copy_image1 to the have issue utest set.
As this patch can really enable to use clamp to border
mode for a int/uint surface. We have issues for this
combination. Need to be fixed.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Reviewed-by: He Junyan <junyan.he@inbox.com>
src/intel/intel_gpgpu.c
src/intel/intel_structs.h
utests/compiler_copy_image1.cpp