clover: Append buffers that use CL_MEM_USE_HOST_PTR.
authorJan Vesely <jan.vesely@rutgers.edu>
Sun, 15 Dec 2013 22:28:16 +0000 (17:28 -0500)
committerFrancisco Jerez <currojerez@riseup.net>
Wed, 18 Dec 2013 15:21:59 +0000 (16:21 +0100)
commit56647c5d8f8e60269f0a3277e3caa7ee57d1fe6a
tree65ef0f7f21723056c0ef61f3eee6e78e66670579
parent21f82188ce389a2543c894dd6d88fbebb25cc796
clover: Append buffers that use CL_MEM_USE_HOST_PTR.

Specs say it's legal for implementations to use internal copies, and
the write synchronization seems to work.  Fixes clCreateBuffer
(together with previous patches) and buffer-flags piglits.

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Acked-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/state_trackers/clover/core/memory.cpp