summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
authorGrigori Goronzy <[email protected]>2017-06-29 04:39:22 +0200
committerGrigori Goronzy <[email protected]>2017-07-14 21:23:40 +0200
commit2bbe235053ca28334eaf4ed7214e2f35b9733bd8 (patch)
treef8d540ccb6556b52b992d61db6eb36b6cf712908 /src/mesa/state_tracker/st_context.h
parent7299e82fa444c86f4c5e22593424715454182e9a (diff)
st/mesa: Add support for KHR_no_error flag
Add a new context flag and plumb it through the various layers of the context creation code to set up dispatch tables for the no-error mode. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 43c8b0853bf..4c742ca8dde 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -398,7 +398,8 @@ extern struct st_context *
st_create_context(gl_api api, struct pipe_context *pipe,
const struct gl_config *visual,
struct st_context *share,
- const struct st_config_options *options);
+ const struct st_config_options *options,
+ bool no_error);
extern void
st_destroy_context(struct st_context *st);