anv: limit render target cache flushing due to color output remapping
What does this MR do and why?
anv: limit render target cache flushing due to color output remapping
Track what render target are accessed by a fragment shader and by
diffing the previous render target use, determine whether a render
target cache flush is required between 2 pipelines.
Fixes a performance regression of 1%/2% introduced in badb3f6301
("anv: Only flush render target cache when detecting RT changes")
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>