mesa: wire up EmitStringMarker for KHR_debug
authorRob Clark <robclark@freedesktop.org>
Sat, 5 Dec 2015 16:32:25 +0000 (11:32 -0500)
committerRob Clark <robclark@freedesktop.org>
Thu, 21 Jan 2016 22:19:05 +0000 (17:19 -0500)
commita6a99fbf05865efcb628ecb2a19d1d77db34c865
tree7f92c9216bbd5c95a9c3215bc550d001b70dc410
parent1f7a96e005be0c0941df5487a11c53f048ebd58a
mesa: wire up EmitStringMarker for KHR_debug

The extension spec[1] describes DEBUG_TYPE_MARKER as "Annotation of the
command stream".  So for DEBUG_TYPE_MARKER, also pass the buf to the
driver's EmitStringMarker() to be inserted in the command stream.

[1] https://www.opengl.org/registry/specs/KHR/debug.txt

Signed-off-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/errors.c