radeonsi: don't wait for compute shaders in texture_barrier
authorMarek Olšák <marek.olsak@amd.com>
Mon, 26 Dec 2016 21:33:46 +0000 (22:33 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 6 Jan 2017 20:05:48 +0000 (21:05 +0100)
it doesn't interact with compute shaders in any way

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state.c

index 11f9fb8449f8dfccfd0a747f9f655d8f8684d1f7..6e7d8daceb03a520cbddd3ba07ecbf11a82806c5 100644 (file)
@@ -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. */