clover: Factor out memory object flags validation to a helper function.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 21 Feb 2015 23:02:41 +0000 (01:02 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Tue, 24 Feb 2015 14:15:48 +0000 (16:15 +0200)
commit80d3c1e5372d56a55701b10b937173c27615e4b0
treedc52a7f4209afff9699ca446a00ec7500a1526ea
parent49d3c6a8e63ead43fafb7d52e2c770a1320eb2ee
clover: Factor out memory object flags validation to a helper function.

And define constants for commonly used subsets of flags to save some
typing.

Reviewed-and-tested-by: EdB <edb+mesa@sigluy.net>
src/gallium/state_trackers/clover/api/memory.cpp