Mesa (master): iris: Delete stale comment in iris_lost_context_state
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Mar 22 19:06:07 UTC 2021
Module: Mesa
Branch: master
Commit: a30d091a10fbabb1e0e0ddb3bb2310f9c2153e19
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a30d091a10fbabb1e0e0ddb3bb2310f9c2153e19
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Mon Mar 22 07:05:20 2021 -0700
iris: Delete stale comment in iris_lost_context_state
Hasn't been necessary since b338bb70e0df3839718315140f217d173cc6d460.
Caught by Dave Airlie.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9752>
---
src/gallium/drivers/iris/iris_context.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/gallium/drivers/iris/iris_context.c b/src/gallium/drivers/iris/iris_context.c
index 01fad9d0d7c..cd306ad1aa7 100644
--- a/src/gallium/drivers/iris/iris_context.c
+++ b/src/gallium/drivers/iris/iris_context.c
@@ -74,11 +74,6 @@ iris_set_debug_callback(struct pipe_context *ctx,
void
iris_lost_context_state(struct iris_batch *batch)
{
- /* The batch module doesn't have an iris_context, because we want to
- * avoid introducing lots of layering violations. Unfortunately, here
- * we do need to inform the context of batch catastrophe. We know the
- * batch is one of our context's, so hackily claw our way back.
- */
struct iris_context *ice = batch->ice;
if (batch->name == IRIS_BATCH_RENDER) {
More information about the mesa-commit
mailing list