clover: Store map result into a temporary vector in clCreateProgramWithBinary.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 14 Jan 2014 20:47:46 +0000 (21:47 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 15 Jan 2014 15:45:05 +0000 (16:45 +0100)
commitefcc84f425f26905e0c6627993108e5927bd81b3
tree668ff0a796f756e4ac208784810c6424bf2408e7
parent83db4a30b84215d105a0a53353cb4d3a4e1aacb1
clover: Store map result into a temporary vector in clCreateProgramWithBinary.

This avoids the inefficient multiple evaluation of the map result in
the code below.  It should cause no functional changes.

Tested-by: "Dorrington, Albert" <albert.dorrington@lmco.com>
src/gallium/state_trackers/clover/api/program.cpp