summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-07-25 20:21:04 -0400
committerMarek Olšák <[email protected]>2018-07-26 01:45:47 -0400
commit7039d9299e11c69b14c7bb67ad0124ecde751f4a (patch)
tree5b416ef4af989033d4bbabbb59c9d16f6977eb85 /src/gallium/drivers
parent37c3efca29accd1934bbc0a83ac43f460b5f4b9a (diff)
radeonsi: update a comment about cache behavior
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_streamout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_streamout.c b/src/gallium/drivers/radeonsi/si_state_streamout.c
index 8b0dfa5b116..fd7e843bc48 100644
--- a/src/gallium/drivers/radeonsi/si_state_streamout.c
+++ b/src/gallium/drivers/radeonsi/si_state_streamout.c
@@ -116,9 +116,9 @@ static void si_set_streamout_targets(struct pipe_context *ctx,
/* Invalidate the scalar cache in case a streamout buffer is
* going to be used as a constant buffer.
*
- * Invalidate TC L1, because streamout bypasses it (done by
- * setting GLC=1 in the store instruction), but it can contain
- * outdated data of streamout buffers.
+ * Invalidate vL1, because streamout bypasses it (done by
+ * setting GLC=1 in the store instruction), but vL1 in other
+ * CUs can contain outdated data of streamout buffers.
*
* VS_PARTIAL_FLUSH is required if the buffers are going to be
* used as an input immediately.