Mesa (master): zink: remove no-longer-needed hack

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Nov 12 15:02:10 UTC 2019


Module: Mesa
Branch: master
Commit: 5b09a7e2e48c9940fea96beb0d4ce54f99ac4e30
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5b09a7e2e48c9940fea96beb0d4ce54f99ac4e30

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Thu Nov  7 17:48:32 2019 +0100

zink: remove no-longer-needed hack

It seems whatever was causing this is no longer an issue. So let's get
rid of the hack here.

Signed-off-by: Erik Faye-Lund <erik.faye-lund at collabora.com>

---

 src/gallium/drivers/zink/zink_context.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c
index 2be6ce351be..ffc24daf159 100644
--- a/src/gallium/drivers/zink/zink_context.c
+++ b/src/gallium/drivers/zink/zink_context.c
@@ -1311,11 +1311,6 @@ blit_resolve(struct zink_context *ctx, const struct pipe_blit_info *info)
                      dst->image, dst->layout,
                      1, &region);
 
-   /* HACK: I have no idea why this is needed, but without it ioquake3
-    * randomly keeps fading to black.
-    */
-   flush_batch(ctx);
-
    return true;
 }
 
@@ -1391,11 +1386,6 @@ blit_native(struct zink_context *ctx, const struct pipe_blit_info *info)
                   1, &region,
                   filter(info->filter));
 
-   /* HACK: I have no idea why this is needed, but without it ioquake3
-    * randomly keeps fading to black.
-    */
-   flush_batch(ctx);
-
    return true;
 }
 




More information about the mesa-commit mailing list