fix piglit clCreateProgramWithBinary fail.
authorLuo Xionghu <xionghu.luo@intel.com>
Mon, 10 Nov 2014 06:58:40 +0000 (14:58 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Mon, 10 Nov 2014 06:13:10 +0000 (14:13 +0800)
commit9353c602318bb4718fc9380c8ae6edc37e614b38
tree6a65c84f567d3b690bd8af28b781032b147b92e6
parent09bd0255f0c5bf81063882bc17ac8b887b556a2d
fix piglit clCreateProgramWithBinary fail.

the program should be deserialized and loaded when created from a
EXECUTABLE binary.

Signed-off-by: Luo Xionghu <xionghu.luo@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
src/cl_program.c