clover: Don't try to build programs created from a binary again.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 14 Jan 2014 20:55:29 +0000 (21:55 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 15 Jan 2014 15:48:05 +0000 (16:48 +0100)
commit5662602ba050a43a01c1e06bdfeea83ec792852e
treeee17f835ad155e2b6e8b267c58f22d2e97f3952b
parent5195f1d9c666bb6ac5faf39ea0df693ed28adbf0
clover: Don't try to build programs created from a binary again.

According to the spec it's allowed to call clBuildProgram() on a
program created from a user-specified binary.  We don't need to do
anything to build the program in that case.

Reported-and-tested-by: "Dorrington, Albert" <albert.dorrington@lmco.com>
src/gallium/state_trackers/clover/core/program.cpp
src/gallium/state_trackers/clover/core/program.hpp