From b417a9f7b26e46260044ce8adb16166aa0384396 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 3 Dec 2018 15:28:49 -0800 Subject: v3d: Add support for flushing dirty TMU data at job end. This will be needed for SSBOs and image_load_store. --- src/gallium/drivers/v3d/v3d_context.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallium/drivers/v3d/v3d_context.h') diff --git a/src/gallium/drivers/v3d/v3d_context.h b/src/gallium/drivers/v3d/v3d_context.h index 9f52342d2dd..25be07c2437 100644 --- a/src/gallium/drivers/v3d/v3d_context.h +++ b/src/gallium/drivers/v3d/v3d_context.h @@ -308,6 +308,11 @@ struct v3d_job { */ bool needs_flush; + /* Set if any shader has dirtied cachelines in the TMU that need to be + * flushed before job end. + */ + bool tmu_dirty_rcl; + /** * Set if a packet enabling TF has been emitted in the job (V3D 4.x). */ -- cgit v1.2.3