iris: Order CS stall and TC invalidate for format reinterpretation hacks
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 17 Jun 2019 11:55:07 +0000 (06:55 -0500)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 17 Jun 2019 21:38:08 +0000 (16:38 -0500)
commita36f1542ae4c8cf86e586cde6c06f298f30d7c0d
tree5d58699aaf264d72f016b7faab5b023a6fdccf7d
parent94b9f50e63c5094ab3784bc6a310c500e5218a2d
iris: Order CS stall and TC invalidate for format reinterpretation hacks

This should ensure the TC invalidate happens after the stall.

Fixes KHR-GL43.copy_image.functional which does a CopyImage (blorp_copy)
from a buffer (using R8G8B8A8_UINT), then GetTexImage to read back the
original image (using R10G10B10A2_UNORM).
src/gallium/drivers/iris/iris_blit.c