zink: remove no-longer-needed hack
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 7 Nov 2019 16:48:32 +0000 (17:48 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 12 Nov 2019 13:30:35 +0000 (13:30 +0000)
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@collabora.com>
src/gallium/drivers/zink/zink_context.c

index 2be6ce351be68a821499cd31430bb1f8e524b29c..ffc24daf159a907b094b9814d12432c2099779fd 100644 (file)
@@ -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;
 }