diff options
author | Zhigang Gong <zhigang.gong@linux.intel.com> | 2013-09-25 17:00:16 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@linux.intel.com> | 2013-09-26 16:55:59 +0800 |
commit | 187c17ed9f87a7cf235c7ca08823f956d9b06646 (patch) | |
tree | 744116781e0b69c57ed03c02c216f0b547db5502 /kernels | |
parent | 10924b4bb21d527e8f1ebb3392d7f8e44bee1415 (diff) |
GBE: Refine the curbe entry allocation for sampler/image information.
After the previous patch, we can move the image infomation curbe
entry allocation to prior to the instruction selection.
Then we can concentrate all curbe allocation before we do the
normal register allocation. This way can bring two advantages:
1. Avoid the image information curbe entry is allocated among the normal registers.
2. The register interval analyzing could handle the image/sampler information correctly.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
Diffstat (limited to 'kernels')
-rw-r--r-- | kernels/compiler_box_blur_image.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernels/compiler_box_blur_image.cl b/kernels/compiler_box_blur_image.cl index 7bcbdeb9..42f463b2 100644 --- a/kernels/compiler_box_blur_image.cl +++ b/kernels/compiler_box_blur_image.cl @@ -10,7 +10,7 @@ __kernel void compiler_box_blur_image(__read_only image2d_t src, for (offset.y = -1; offset.y <= 1; offset.y++) { for (offset.x = -1; offset.x <= 1; offset.x++) { - sum += read_imagef(src, sampler, coord + offset); + sum += read_imagef(src, sampler, coord + offset); } } |