clover: Fix clBuildProgram piglit regression
authorTom Stellard <thomas.stellard@amd.com>
Mon, 3 Nov 2014 14:14:01 +0000 (09:14 -0500)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 3 Nov 2014 15:35:07 +0000 (10:35 -0500)
commit263eb7fa39a16bcce7d64a4b8343c6adbc3e916c
treee434c99098a073f0fac69e821184a3d9b24c0279
parentbfd453f94256a674194bc5f273db2260821c6c18
clover: Fix clBuildProgram piglit regression

Should trigger CL_INVALID_VALUE if device_list is NULL and num_devices
is greater than zero.

Introduced by e5468dfa523be2a7a0d04bb9efcf8ae780957563

Reported by: EdB

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/api/program.cpp