summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-12-26 22:33:46 +0100
committerMarek Olšák <[email protected]>2017-01-06 21:05:48 +0100
commit3b98a5dc4749646122f227730ccb37304507ee85 (patch)
tree6dd76e8761aaf221db05dd2461d71718c89e7bc2
parent4b93ba542cdfd6092d84a64e2d2f2bb7c58ec446 (diff)
radeonsi: don't wait for compute shaders in texture_barrier
it doesn't interact with compute shaders in any way Reviewed-by: Bas Nieuwenhuizen <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r--src/gallium/drivers/radeonsi/si_state.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index 11f9fb8449f..6e7d8daceb0 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -3487,8 +3487,7 @@ static void si_texture_barrier(struct pipe_context *ctx)
sctx->b.flags |= SI_CONTEXT_INV_VMEM_L1 |
SI_CONTEXT_INV_GLOBAL_L2 |
- SI_CONTEXT_FLUSH_AND_INV_CB |
- SI_CONTEXT_CS_PARTIAL_FLUSH;
+ SI_CONTEXT_FLUSH_AND_INV_CB;
}
/* This only ensures coherency for shader image/buffer stores. */