summaryrefslogtreecommitdiff
path: root/utests/compiler_copy_image_1d.cpp
diff options
context:
space:
mode:
authorJunyan He <junyan.he@linux.intel.com>2014-06-13 15:07:31 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-06-13 14:41:37 +0800
commitb0aaecc42e292e455289d728dabe06544f85609f (patch)
treedf975d2777a015af7ab9af4e94b7ed0a47c354f4 /utests/compiler_copy_image_1d.cpp
parentf3b94f587ef998270a98798bbec0b82e5527a433 (diff)
Add the support for 1D image in backend
1. Delete the is3D member in instruction class. Because we need more than 1 bit to represent 1D 2D and 3D. We now add an invalid register in ir profile, and comparing the coords to it to judge the dimension. 2. Rename all the xxx_image to xxx_image2D to make its meaning clear. 3. Update the according Sampler and Typed_Write instruction in selection and Gen IR generation. v2: fix the use of InvalidRegister. Use ir::ocl::invalid only. Signed-off-by: Junyan He <junyan.he@linux.intel.com> Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Diffstat (limited to 'utests/compiler_copy_image_1d.cpp')
0 files changed, 0 insertions, 0 deletions