clover: Move down canonicalization of memory object flags into validate_flags().
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 18 Sep 2015 16:42:55 +0000 (18:42 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 28 Sep 2015 15:10:39 +0000 (18:10 +0300)
commit92666b90c0db8bb51fd54bcf22db3d288a5556e7
tree374a01885e37a2493c029e1aaf812bbc703b5d54
parent2b9248dc58c1aec1fe6e7fd4cb07ee883f70161b
clover: Move down canonicalization of memory object flags into validate_flags().

This will be used to share the same logic between buffer and image
creation.

v2: Make memory flag set constants local to validate_flags. (Serge
    Martin)
src/gallium/state_trackers/clover/api/memory.cpp