aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include
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/gallium/include
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/gallium/include')
-rw-r--r--src/gallium/include/state_tracker/st_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/st_api.h b/src/gallium/include/state_tracker/st_api.h
index 3fd5f011f7d..30a4866a7af 100644
--- a/src/gallium/include/state_tracker/st_api.h
+++ b/src/gallium/include/state_tracker/st_api.h
@@ -90,6 +90,7 @@ enum st_api_feature
#define ST_CONTEXT_FLAG_FORWARD_COMPATIBLE (1 << 1)
#define ST_CONTEXT_FLAG_ROBUST_ACCESS (1 << 2)
#define ST_CONTEXT_FLAG_RESET_NOTIFICATION_ENABLED (1 << 3)
+#define ST_CONTEXT_FLAG_NO_ERROR (1 << 4)
/**
* Reasons that context creation might fail.