summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/lima/lima_context.h
diff options
context:
space:
mode:
authorErico Nunes <[email protected]>2019-08-03 10:51:58 +0200
committerErico Nunes <[email protected]>2019-08-06 15:43:26 +0200
commit9e41a514a8aabe209e7cc999a609c9a0a252b3d7 (patch)
tree3046a06d9d0602ab95397065e9aa0fb9c4093ea2 /src/gallium/drivers/lima/lima_context.h
parent67f4e1e787965e98b59a5dababbbcc718da6eb14 (diff)
lima: add support for debug callback
This adds support for glDebugMessageCallback which is required to support shader-db reports. Signed-off-by: Erico Nunes <[email protected]> Reviewed-by: Qiang Yu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/lima_context.h')
-rw-r--r--src/gallium/drivers/lima/lima_context.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_context.h b/src/gallium/drivers/lima/lima_context.h
index c16baeef0ba..0b232d72d1d 100644
--- a/src/gallium/drivers/lima/lima_context.h
+++ b/src/gallium/drivers/lima/lima_context.h
@@ -242,6 +242,8 @@ struct lima_context {
struct lima_submit *pp_submit;
int id;
+
+ struct pipe_debug_callback debug;
};
static inline struct lima_context *