From 49b4f5259bdbfce4f84a6997ccb36376f953068c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 3 Sep 2010 11:35:08 +1000 Subject: r600g: kill r600_context_state function having some sort of locality of code really matters, just create and setup state at time. Not sure if this is just further polishing of a bad thing, but at least it makes it more readable. --- src/gallium/drivers/r600/r600_context.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gallium/drivers/r600/r600_context.h') diff --git a/src/gallium/drivers/r600/r600_context.h b/src/gallium/drivers/r600/r600_context.h index cea08130545..19161e4cf41 100644 --- a/src/gallium/drivers/r600/r600_context.h +++ b/src/gallium/drivers/r600/r600_context.h @@ -179,7 +179,6 @@ static INLINE struct r600_query* r600_query(struct pipe_query* q) return (struct r600_query*)q; } -struct r600_context_state *r600_context_state(struct r600_context *rctx, unsigned type, const void *state); struct r600_context_state *r600_context_state_incref(struct r600_context_state *rstate); struct r600_context_state *r600_context_state_decref(struct r600_context_state *rstate); void r600_flush(struct pipe_context *ctx, unsigned flags, -- cgit v1.2.3