iris: Only do an RT flush for transfer maps if using copy_region.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 20 Jun 2019 04:04:37 +0000 (23:04 -0500)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 20 Jun 2019 18:32:15 +0000 (13:32 -0500)
commitdfff6e10b4296592bae0034e91c633a31b2d2b90
tree70ad6659a1b19b35d8aa884f810ae7275eef1984
parentc4c17ab3ec1d67b0f2fd9816681378bdc8efe220
iris: Only do an RT flush for transfer maps if using copy_region.

If we wrote the data via the CPU, there's no point in doing a render
target flush.  If using BLORP, we do want a render target flush so the
data lands.
src/gallium/drivers/iris/iris_resource.c