clover: Fix bug when binary programs are passed to clBuildProgram() v2
authorTom Stellard <thomas.stellard@amd.com>
Tue, 21 Oct 2014 14:33:21 +0000 (10:33 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 31 Oct 2014 19:24:00 +0000 (15:24 -0400)
commit64b0fac5e25370224b383c748f1a56b4ef1eb2d6
tree350be50cd38e3e7d2a92d6a9938b58d15befb4f5
parente5468dfa523be2a7a0d04bb9efcf8ae780957563
clover: Fix bug when binary programs are passed to clBuildProgram() v2

This was a regression introduced by
611d66fe4513e53bde052dd2bab95d448c909a2a

Passing a binary program to clBuildProgram() is legal, but passing one
to clCompileProgram() is not.

v2:
  - Code cleanups.

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