clover: Factor input validation of clCompileProgram into a new function v2
authorTom Stellard <thomas.stellard@amd.com>
Tue, 21 Oct 2014 14:31:56 +0000 (10:31 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 31 Oct 2014 19:24:00 +0000 (15:24 -0400)
commite5468dfa523be2a7a0d04bb9efcf8ae780957563
treef63800b7dab9a3724092f5761d508ea996c73c79
parent1f4e48d5b53e73605832971f3fb06cb3402f97a5
clover: Factor input validation of clCompileProgram into a new function v2

This factors out the validation that is common with clBuildProgram().

v2:
  - Code cleanups.

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