i965: Don't disable CCS for RT dependencies when dispatching compute.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 23 Oct 2017 22:46:47 +0000 (15:46 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 24 Oct 2017 18:31:33 +0000 (11:31 -0700)
commit583ce96c9429e23c33daeb7025210ef73ae51688
treefbaa77bd190fe78ed8713463cf3cf57a1c940254
parente91c3540fc620b39a16d5bce9fd75aa0ddd7ed7e
i965: Don't disable CCS for RT dependencies when dispatching compute.

Compute shaders don't have access to the framebuffer, so there's no
point in worrying whether a texture is bound as a render target.

This saves a bunch of resolves in GFXBench4 Manhattan 3.1, but doesn't
seem to impact performance at all, at least on Apollolake.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_compute.c
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_draw.c