diff options
author | Marek Olšák <[email protected]> | 2012-09-10 23:58:18 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-09-11 00:02:58 +0200 |
commit | 87389d4e5c05008b3fcb8a5d5a324cc44aa3b1c4 (patch) | |
tree | 4459586c568449dad79623472383174f5af29c8a /src | |
parent | 830b6f327307885d77af7441fb06cc5d1e32c12d (diff) |
r600g: remove unused function
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/r600.h | 5 | ||||
-rw-r--r-- | src/gallium/drivers/r600/r600_state_common.c | 17 |
2 files changed, 0 insertions, 22 deletions
diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h index 1c8bd243256..af7b0ca2e74 100644 --- a/src/gallium/drivers/r600/r600.h +++ b/src/gallium/drivers/r600/r600.h @@ -220,11 +220,6 @@ void _r600_pipe_state_add_reg(struct r600_context *ctx, uint32_t offset, uint32_t value, uint32_t range_id, uint32_t block_id); -void r600_pipe_state_add_reg_noblock(struct r600_pipe_state *state, - uint32_t offset, uint32_t value, - struct r600_resource *bo, - enum radeon_bo_usage usage); - #define r600_pipe_state_add_reg_bo(state, offset, value, bo, usage) _r600_pipe_state_add_reg_bo(rctx, state, offset, value, CTX_RANGE_ID(offset), CTX_BLOCK_ID(offset), bo, usage) #define r600_pipe_state_add_reg(state, offset, value) _r600_pipe_state_add_reg(rctx, state, offset, value, CTX_RANGE_ID(offset), CTX_BLOCK_ID(offset)) diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index e67eba8921c..079934074a5 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -1398,23 +1398,6 @@ void _r600_pipe_state_add_reg(struct r600_context *ctx, range_id, block_id, NULL, 0); } -void r600_pipe_state_add_reg_noblock(struct r600_pipe_state *state, - uint32_t offset, uint32_t value, - struct r600_resource *bo, - enum radeon_bo_usage usage) -{ - if (bo) assert(usage); - - state->regs[state->nregs].id = offset; - state->regs[state->nregs].block = NULL; - state->regs[state->nregs].value = value; - state->regs[state->nregs].bo = bo; - state->regs[state->nregs].bo_usage = usage; - - state->nregs++; - assert(state->nregs < R600_BLOCK_MAX_REG); -} - uint32_t r600_translate_stencil_op(int s_op) { switch (s_op) { |