diff options
author | Marek Olšák <[email protected]> | 2018-11-02 16:08:26 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-11-09 14:55:04 -0500 |
commit | 4bec5025ac4baf616944f1eac64a50f1983de9b6 (patch) | |
tree | e0ec4bdbf666682775e179db0a2e779b68217aa3 /src/gallium/include | |
parent | 9dc776f3f2913df9e0ed93619c2458bda752d43b (diff) |
gallium: add PIPE_CONTEXT_LOSE_CONTEXT_ON_RESET
Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index dacedf5b936..693f041b1da 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -401,6 +401,9 @@ enum pipe_flush_flags */ #define PIPE_CONTEXT_LOW_PRIORITY (1 << 5) +/** Stop execution if the device is reset. */ +#define PIPE_CONTEXT_LOSE_CONTEXT_ON_RESET (1 << 6) + /** * Flags for pipe_context::memory_barrier. */ |