radeonsi: ignore blitter when computing the PS shader key
authorMarek Olšák <marek.olsak@amd.com>
Tue, 10 Aug 2021 07:10:46 +0000 (03:10 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 14 Sep 2021 15:24:11 +0000 (15:24 +0000)
it doesn't have any effect

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12343>

src/gallium/drivers/radeonsi/si_state_shaders.c

index 69dc557..6d467d9 100644 (file)
@@ -1889,7 +1889,7 @@ static void si_ps_key_update_framebuffer(struct si_context *sctx)
       key->part.ps.epilog.last_cbuf = 0;
 
    /* ps_uses_fbfetch is true only if the color buffer is bound. */
-   if (sctx->ps_uses_fbfetch && !sctx->blitter_running) {
+   if (sctx->ps_uses_fbfetch) {
       struct pipe_surface *cb0 = sctx->framebuffer.state.cbufs[0];
       struct pipe_resource *tex = cb0->texture;