aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/r600_hw_context.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-08-02 15:06:59 +0200
committerChristian König <[email protected]>2012-08-11 09:58:26 +0200
commit696b6cf46609281711add5331b9c3e1d0240ecbc (patch)
treeaebc01232d3c28b0dcacaec6d13a03d5bdd2bee4 /src/gallium/drivers/radeonsi/r600_hw_context.c
parent7acb194a7bb4534674bccc351771915ea60d0869 (diff)
radeonsi: remove ps_partial_flush
Not needed any more. Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/r600_hw_context.c')
-rw-r--r--src/gallium/drivers/radeonsi/r600_hw_context.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_hw_context.c b/src/gallium/drivers/radeonsi/r600_hw_context.c
index d6b3b74860d..509a8bf7fe1 100644
--- a/src/gallium/drivers/radeonsi/r600_hw_context.c
+++ b/src/gallium/drivers/radeonsi/r600_hw_context.c
@@ -115,19 +115,6 @@ err:
return;
}
-static inline void r600_context_ps_partial_flush(struct r600_context *ctx)
-{
- struct radeon_winsys_cs *cs = ctx->cs;
-
- if (!(ctx->flags & R600_CONTEXT_DRAW_PENDING))
- return;
-
- cs->buf[cs->cdw++] = PKT3(PKT3_EVENT_WRITE, 0, 0);
- cs->buf[cs->cdw++] = EVENT_TYPE(EVENT_TYPE_PS_PARTIAL_FLUSH) | EVENT_INDEX(4);
-
- ctx->flags &= ~R600_CONTEXT_DRAW_PENDING;
-}
-
/* initialize */
void r600_need_cs_space(struct r600_context *ctx, unsigned num_dw,
boolean count_draw_in)