diff options
author | Kenneth Graunke <[email protected]> | 2019-07-03 15:12:17 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-07-03 22:24:44 -0700 |
commit | 10560f8506ebecf8a10ff46b8e02af5bd21db36d (patch) | |
tree | f18a3798074ea2179ef7e0d9cc6f8de68310dac6 /src/gallium/drivers/iris/iris_batch.c | |
parent | 6ab23805c3aa576c8805c9ae1293c00deb02a185 (diff) |
iris: Minor tidying
Diffstat (limited to 'src/gallium/drivers/iris/iris_batch.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_batch.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/iris/iris_batch.c b/src/gallium/drivers/iris/iris_batch.c index 60078499990..5508256e5af 100644 --- a/src/gallium/drivers/iris/iris_batch.c +++ b/src/gallium/drivers/iris/iris_batch.c @@ -679,10 +679,7 @@ _iris_batch_flush(struct iris_batch *batch, const char *file, int line) ret = 0; } - if (ret >= 0) { - //if (iris->ctx.Const.ResetStrategy == GL_LOSE_CONTEXT_ON_RESET_ARB) - //iris_check_for_reset(ice); - } else { + if (ret < 0) { #ifdef DEBUG const bool color = INTEL_DEBUG & DEBUG_COLOR; fprintf(stderr, "%siris: Failed to submit batchbuffer: %-80s%s\n", |