Tom Stellard <thomas.stell...@amd.com> writes: > This is required by the spec. > > CC: "10.2" <mesa-sta...@lists.freedesktop.org> > --- > src/gallium/state_trackers/clover/api/queue.cpp | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/src/gallium/state_trackers/clover/api/queue.cpp > b/src/gallium/state_trackers/clover/api/queue.cpp > index a136018..06a2863 100644 > --- a/src/gallium/state_trackers/clover/api/queue.cpp > +++ b/src/gallium/state_trackers/clover/api/queue.cpp > @@ -58,7 +58,11 @@ clRetainCommandQueue(cl_command_queue d_q) try { > > CLOVER_API cl_int > clReleaseCommandQueue(cl_command_queue d_q) try { > - if (obj(d_q).release()) > + auto &q = obj(d_q); > + > + q.flush(); > + > + if (q.release()) > delete pobj(d_q); > > return CL_SUCCESS;
For this patch: Reviewed-by: Francisco Jerez <curroje...@riseup.net> Thanks. > -- > 1.8.1.5
pgp5VPWS2e_pg.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev