radeonsi: ignore blitter when computing the PS shader key

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>
This commit is contained in:
Marek Olšák 2021-08-10 03:10:46 -04:00 committed by Marge Bot
parent 00d1d947ea
commit 7e3c03bc6a

View 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;