Fix some piglit constant buffer tests fail.
authorYang Rong <rong.r.yang@intel.com>
Wed, 19 Jun 2013 07:36:34 +0000 (15:36 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 19 Jun 2013 07:52:32 +0000 (15:52 +0800)
commit42967d27534cbaea4e6571f3dbfb547ff8be051a
treeb8298370dcd9ec388d37e3a29c998a4390df6639
parent89c8e77f9245c4acab6c18390b0fef07b1ba78f2
Fix some piglit constant buffer tests fail.

If indirect move's source is scalrar reg, such as using cb[0] in kernel,
should not unpack.

Change test case compiler_function_constant0 to trigger this bug.

Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Ruiling Song <ruiling.song@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
backend/src/backend/gen_context.cpp
kernels/compiler_function_constant0.cl
utests/compiler_function_constant0.cpp